Path Parameters
Response
OK
curl --request POST \
--url https://platform.versori.com/api/organisations/v1/organisations/{organisation_id}/billing/checkout-session \
--header 'Content-Type: application/json' \
--data '{
"successURL": "<string>",
"cancelURL": "<string>"
}'
{
"sessionId": "<string>"
}
CreateCheckoutSession creates a new checkout session for the given Organisation. This will redirect the user to the Stripe checkout page to complete the payment.
curl --request POST \
--url https://platform.versori.com/api/organisations/v1/organisations/{organisation_id}/billing/checkout-session \
--header 'Content-Type: application/json' \
--data '{
"successURL": "<string>",
"cancelURL": "<string>"
}'
{
"sessionId": "<string>"
}
OK