Skip to main content
POST
Start a Stripe Checkout

Authorizations

Authorization
string
header
required

Your API key: Authorization: Bearer <your API key>. Authorization: Token <your API key> works too.

Body

application/json
amount_usd
integer
required

How much to add to your balance, in whole dollars. Add $50 to your account: you get $50 of API PLUS the flat file (the co-op files in GET /files/).

Required range: 5 <= x <= 10000
Example:

50

Response

{"checkout_url": ...}: send the browser there

checkout_url
string
required

The Stripe Checkout page for this payment: open it, or hand it to a human to pay. The funds land in funds_usd once Stripe confirms the payment.