Passer au contenu principal
POST
/
v1
/
public
/
accounts
/
{account_id}
/
billing
/
topup-session
Créer une session de recharge de facturation
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.

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

account_id
string<uuid>
requis

Corps

application/json

Schema de demande client pour demarrer une session de recharge du portefeuille.

amount
requis

Montant de la recharge

Plage requise: x > 0

Réponse

amount
string
requis

Montant de la recharge

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

Métadonnées de la page de paiement hébergée