Skip to content

/api/billing/checkout-session

POST
/api/billing/checkout-session
curl --request POST \
--url https://example.com/api/billing/checkout-session \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "priceId": "example" }'
object
priceId
string
nullable
Example generated
{
"priceId": "example"
}

OK