Create checkout session
curl --request POST \
--url https://app.alana.shopping/api/workspace/{workspaceId}/billing/checkout \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"billing_period": "monthly",
"coupon_code": "<string>"
}
'{
"checkout_url": "<string>",
"session_id": "<string>"
}Criar Sessão de Checkout
Initiate a Stripe checkout session for plan upgrade or purchase
POST
/
api
/
workspace
/
{workspaceId}
/
billing
/
checkout
Create checkout session
curl --request POST \
--url https://app.alana.shopping/api/workspace/{workspaceId}/billing/checkout \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"billing_period": "monthly",
"coupon_code": "<string>"
}
'{
"checkout_url": "<string>",
"session_id": "<string>"
}Autorizações
Bearer token authentication via Auth0. Users authenticate through Auth0 Universal Login. Include the access token in the Authorization header: Authorization: Bearer <token>
Parâmetros de caminho
The workspace ID
Pattern:
^ws_[a-z0-9]+$Corpo
application/json
Última modificação em 16 de fevereiro de 2026
⌘I