Skip to main content
POST
Buy net credits with a hosted Stripe Invoice

Authorizations

Authorization
string
header
required

Gateway API key (imp-rt-...) from POST /v1/accounts or /v1/keys.

Body

application/json
amount_usd
number

Desired net credit amount in USD; fractional dollars are rounded down

Required range: x >= 5

Response

Hosted invoice URL and pre-tax billing breakdown

invoice_url
string
invoice_id
string
credit_amount_cents
integer

Net prepaid credits purchased

Example:

1000

platform_fee_cents
integer

Fixed 5% platform fee

Example:

50

invoice_amount_cents
integer

Credits plus platform fee before tax

Example:

1050