Client billing portal
Start Client Billing Plan
Starts an offered billing plan for the own organization: a trial saves the card, a day-one start opens payment of its first invoice.
POSThttps://api.toku.com/platform/start-client-billing-plan
Not available to API keys.
curl --request POST \
--url 'https://api.toku.com/platform/start-client-billing-plan' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"catalogVersion": "string",
"acceptedAgreement": true,
"agreementVersion": "string"
}'200 response
{
"url": "string",
"needsFinance": true
}Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is an access token from a Toku sign-in. See Authentication in the API reference.
Body
application/json
catalogVersionstringrequiredAllowed: matches ^[a-z0-9][a-z0-9._-]{0,31}$
acceptedAgreementbooleanrequiredagreementVersionstringAllowed: at most 64 characters
Response
200Successful response
urlstring | null<uri>requiredneedsFinancebooleanrequired400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits