Cancel subscription
Cancels a subscription. Has regret period logic (up to 7 days after creation).
Regret Period (up to 7 days):
- Full automatic refund
- Access revoked immediately
Regular Cancellation (after 7 days):
- No automatic refund
- Access continues until end of current period
Authorizations
HTTP Basic authentication. Use your secret key as the username and an empty string as password. The API key should be base64 encoded in the format 'username:' when sending the Authorization header.
Path Parameters
Unique subscription identifier
Body
Cancellation reason (max 500 characters)
500"Customer requested cancellation"
Response
Subscription successfully cancelled
- Option 1
- Option 2
Subscription ID
"2RhQg9M7ZCg3X3nMb9W1kX8Q"
Subscription status
cancelled "cancelled"
Type of cancellation
regret "regret"
Whether the subscription was refunded
true
Refund ID
"2RhQg9M7ZCg3X3nMb9W1kX8Q"
When access was revoked
"2024-01-16T10:30:00.000Z"