メインコンテンツへスキップ
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
必須

ホストされた支払いページのメタデータ