Skip to main content
POST
/
billing
/
subscription
/
setupIntent
Create setup intent
curl --request POST \
  --url https://api.getcargo.io/v1/billing/subscription/setupIntent \
  --header 'Authorization: Bearer <token>'
{
  "setupIntent": {
    "clientSecret": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Response

Successful response

setupIntent
Setup intent · object
required

Payment setup intent details.