AurionAI Docs

Create Credit Checkout Session

Create a Stripe Checkout Session for a one-time credit purchase.

POST
/api/v1/billing/credits/checkout-session

Create a Stripe Checkout Session for a one-time credit purchase.

Authorization

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/billing/credits/checkout-session" \  -H "Content-Type: application/json" \  -d '{    "bundles": 1,    "cancel_url": "string",    "success_url": "string"  }'
{}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}