billing
Create checkout session
Creates a Dodo Payments subscription checkout. There is no trial: the Free plan is what a customer tries the product on, and checkout charges immediately.
post/api/v1/billing/checkout
Request
- Base URL: https://api.cadencz.com (the document declares no server; this is the origin it was published from)
- URL: https://api.cadencz.com/api/v1/billing/checkout
- Auth: HTTP bearer
Request body
Example request
{
"cancel_url": "http://localhost:3000/billing",
"return_url": "http://localhost:3000/billing/success",
"tier": "solo"
}Response
Successful Response
Example response
{
"action": "checkout",
"checkout_url": "https://test.dodopayments.com/checkout/chk_123",
"mode": "test",
"session_id": "chk_123"
}Changes
No recorded changes to this operation across all 1 revision of this API.