Skip to main content
POST
/
v1
/
public
/
accounts
/
{account_id}
/
billing
/
topup-session
Create 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.

Authorizations

Authorization
string
header
required

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

Path Parameters

account_id
string<uuid>
required

Body

application/json

Customer request schema for starting a wallet top-up session.

amount
required

Top-up amount

Required range: x > 0

Response

amount
string
required

Top-up amount

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
hosted_page
Hosted Page · object
required

Hosted payment page metadata