Skip to main content
POST
/
v1
/
billing
/
topup
Create a Stripe Checkout session for a credit top-up
curl --request POST \
  --url https://billing.runtools.ai/v1/billing/topup \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amountCents": 501,
  "orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "successUrl": "<string>",
  "cancelUrl": "<string>"
}
'
{
  "data": {
    "checkoutUrl": "<string>",
    "sessionId": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

WorkOS session token or RunTools API key (rt_live_* / rt_test_*). Used in Authorization: Bearer <token> header.

Body

application/json
amountCents
integer
required
Required range: x >= 500
orgId
string<uuid>
successUrl
string
cancelUrl
string

Response

Checkout URL.

data
object