[DEPRECATED] Purchase additional credits via PaymentIntent
Deprecated
POST /api/v1/billing/credits/topoff
POST
/api/v1/billing/credits/topoff
DEPRECATED: Prefer POST /api/v1/billing/topup which returns a hosted Stripe Checkout URL with SCA handling and webhook idempotency. This route is kept for backwards compatibility with legacy clients and will be removed in a future release.
Authorizations
Request Body required
Request body for purchasing additional credits.
Attributes: amount: Number of credits to purchase. Must be a positive integer.
object
amount
required
Number of credits to purchase
integer
Responses
200
Successful Response
Response schema for credit top-off.
Attributes: data: Top-off result payload including payment_intent_id.
object
data
object
key
additional properties
any
422
Validation Error
object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string