Skip to main content
POST
/
subscriptions
cURL
curl --request POST \
  --url https://api.example.com/subscriptions \
  --header 'Content-Type: application/json' \
  --data '
{
  "subscriptionPlanId": "<string>",
  "customerReference": "<string>",
  "cardId": "<string>",
  "autocharge": true
}
'

Body

application/json
subscriptionPlanId
string
customerReference
string
cardId
string
autocharge
boolean

Response

401

Missing API credentials