Skip to main content
POST
/
billing
/
subscription
/
stripeCreditsCheckoutSession
Create credits checkout session
curl --request POST \
  --url https://api.getcargo.io/v1/billing/subscription/stripeCreditsCheckoutSession \
  --header 'Authorization: Bearer <token>'
{
  "checkoutSession": {
    "url": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successful response

checkoutSession
Checkout session · object
required

Stripe checkout session details.