跳转到主要内容
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
必填

托管支付页面元数据