Initiates a Stripe checkout session for user subscription purchases.
curl --request POST \
--url https://api.fluxer.app/v1/stripe/checkout/subscription \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"price_id": "<string>"
}
'{
"url": "<string>"
}Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
The Stripe price ID for the subscription plan
Success
The URL to redirect to
curl --request POST \
--url https://api.fluxer.app/v1/stripe/checkout/subscription \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"price_id": "<string>"
}
'{
"url": "<string>"
}