billing

Start a credit pack purchase

Start a one-time credit pack purchase via Stripe Checkout. Only available on paid plans; the amount must be within the configured minimum and the remaining monthly purchase limit.

post/billing/credit_packs/checkout/

Request

  • Base URL: https://api.getoneprofile.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.getoneprofile.ai/billing/credit_packs/checkout/
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Request body

cancel_pathstring required

Partial path (e.g. /billing) of where the stripe Checkout session should redirect the user if payment is cancelled.

creditsinteger required

The number of credits to purchase.

success_pathstring required

Partial path (e.g. /billing) of where the stripe Checkout session should redirect the user if payment is successful.

Response

Successful Response

checkout_urlstring uri required

The URL to redirect the customer to complete the payment.

Changes

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