curl --request POST \
--url https://nimbussuite.com/api/v1/admin/stripe/plan \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"monthlyPrice": 123,
"yearlyDiscount": 123,
"requests": 123
}
'{
"plan": {
"id": "<string>",
"name": "<string>",
"requests": 123
},
"stripe_id": "<string>",
"stripe_price_id": "<string>"
}curl --request POST \
--url https://nimbussuite.com/api/v1/admin/stripe/plan \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"monthlyPrice": 123,
"yearlyDiscount": 123,
"requests": 123
}
'{
"plan": {
"id": "<string>",
"name": "<string>",
"requests": 123
},
"stripe_id": "<string>",
"stripe_price_id": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?