Skip to main content
POST
/
admin
/
stripe
/
org-subscription
Create organization subscription
curl --request POST \
  --url https://nimbussuite.com/api/v1/admin/stripe/org-subscription \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "orgId": "<string>",
  "planId": "<string>",
  "interval": "month",
  "email": "[email protected]",
  "coupon": "<string>"
}
'
{
  "subscriptionId": "<string>",
  "hostedInvoiceUrl": "<string>",
  "status": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
orgId
string
required
planId
string
required
interval
enum<string>
required
Available options:
month,
year
email
string<email>
required
coupon
string

Response

Subscription created successfully

subscriptionId
string
hostedInvoiceUrl
string
status
string
message
string