Skip to main content
POST
Create credit checkout

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Body

application/json
packageId
enum<string>

Credit package ID in camelCase form

Available options:
small,
medium,
large,
xl
package_id
enum<string>

Credit package ID in snake_case form

Available options:
small,
medium,
large,
xl
project_reference
string

Project UUID or slug for owner-pays top-up

projectId
string

Deprecated project ID or slug alias. Use project_reference.

project_id
string

Deprecated project ID or slug alias. Use project_reference.

successUrl
string<uri>

Checkout success redirect URL in camelCase form

success_url
string<uri>

Checkout success redirect URL in snake_case form

cancelUrl
string<uri>

Checkout cancellation redirect URL in camelCase form

cancel_url
string<uri>

Checkout cancellation redirect URL in snake_case form

Response

Checkout session result

status
enum<string>
required

Checkout creation status

Available options:
checkout_created
checkout_url
string<uri>
required

Stripe checkout URL for the credit purchase