Billing

Mint a Stripe Checkout URL to add balance (API-key auth; works from a test-mode key)

The agent-facing twin of /requestor/billing/checkout: returns a hosted Stripe Checkout URL for a HUMAN to open and pay by card. Accepted with test-mode keys too, so a sandboxed agent can fund its account to go live. Min $5.

post/requestor/billing/topup-link

Request

  • Base URL: https://www.getabrain.ai/api/v1
  • URL: https://www.getabrain.ai/api/v1/requestor/billing/topup-link
  • Auth: API key in header X-API-Key and API key in header X-API-Secret

Request body

amount_centsinteger required

Response

Checkout URL

checkout_urlstring uri

Changes

No recorded changes to this operation across all 1 revision of this API.