English
Get checkout session url for a self-hosted license
cURL
curl --request POST \ --url http://127.0.0.1:3000/api/billing/subscription/license/checkout \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "instanceId": "<string>", "priceId": "<string>", "quantity": 123, "successUrl": "<string>", "cancelUrl": "<string>", "clientReferenceId": "<string>" } '
{ "url": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Returns checkout session url about a self-hosted license.
Was this page helpful?