Skip to main content
POST
/
billing
/
subscription
Create subscription
curl --request POST \
  --url https://nimbussuite.com/api/v1/billing/subscription \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "customerId": "<string>",
  "priceId": "<string>"
}
'
{
  "subscriptionId": "<string>",
  "clientSecret": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
customerId
string
required
priceId
string
required

Response

Subscription created

subscriptionId
string
clientSecret
string