Loyalty Card Cancel Subscription

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Cancels a loyalty card subscription or a secondary loyalty card. It first checks the type of the loyalty card. If it's a primary card, it checks for the existence of an active subscription and marks it for cancellation if found. It updates the subscription status, cancellation timestamp, and auto-renewal flag. Additionally, it interacts with the Stripe API to schedule the subscription cancellation. If it's a secondary card, If the card is found and active, it updates its status to canceled and blocks associated freebie items. Finally, it returns a success response containing the ID of the updated current card if applicable.

Path Params
string
required
Defaults to default
string
required
Defaults to default
Body Params
string
required

Identifier for the customer. Can be phone, email or custom ID

string
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json