APIEndpoint referenceStripe
/stripe/pause-subscription
Pausing marks invoices uncollectible for the chosen window rather than cancelling, so the subscription and its billing date survive.
Pausing marks invoices uncollectible for the chosen window rather than cancelling, so the subscription and its billing date survive.
AuthorizationBearer <token>
Supabase access token.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/stripe/pause-subscription" \ -H "Content-Type: application/json" \ -d '{ "duration": "string" }'{ "resumesAt": "string", "success": true}