الانتقال إلى المحتوى الرئيسي
POST
/
v1
/
public
/
accounts
/
{account_id}
/
billing
/
topup-session
إنشاء جلسة شحن فوترة
curl --request POST \
  --url https://api.hybridbox.io/v1/public/accounts/{account_id}/billing/topup-session \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 1
}'
{
  "amount": "<string>",
  "hosted_page": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.hybridbox.io/llms.txt

Use this file to discover all available pages before exploring further.

التفويضات

Authorization
string
header
مطلوب

Public API bearer credential sent as Authorization: Bearer <token>. Use either an OAuth access token or a Hybridbox Service account token.

معلمات المسار

account_id
string<uuid>
مطلوب

الجسم

application/json

مخطط طلب عميل لبدء جلسة شحن محفظة.

amount
مطلوب

مبلغ التعبئة

النطاق المطلوب: x > 0

الاستجابة

amount
string
مطلوب

مبلغ التعبئة

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
hosted_page
الصفحة المستضافة · object
مطلوب

البيانات الوصفية لصفحة الدفع المستضافة