billing

Create Topup

Create a credit top-up checkout for a user-chosen whole-dollar amount.

The amount is validated by TopupRequest (1–500). The top-up product is $1/unit so we pass quantity = amount_dollars; the payment.succeeded webhook credits topup_cents to the local balance.

post/billing/topup

Request body

return_urlstring required
amount_dollarsinteger
cancel_urlstring nullable

Response

Successful Response

checkout_urlstring required

Changes

No recorded changes to this endpoint across all 1 revision of this API.