Charge the saved card to top up prepaid balance
Changed onCharges the org's default saved card off-session for amountCents and returns the PaymentIntent id and status, which tells the client what to do next. The balance credit is applied by the payment_intent.succeeded webhook (the authoritative money signal), not this response: poll the balance after success.
Requires the billing.manage permission. See Permissions for the roles and API key permissions that include it.
Request
- Base URLhttps://api.openrelay.inc
- URLhttps://api.openrelay.inc/v1/orgs/{orgId}/billing/deposit
- AuthHTTP bearer
Path parameters
Request body
Response
Charge outcome (status drives the dashboard's next step)
Example response
{
"declineCode": "insufficient_funds"
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the optional property
to the response with the status
- info