Cancel subscription

Ends a subscription for everyone. It deactivates the subscription's payment link, so no one new can subscribe, and unsubscribes every active subscriber, so no further charges are made. Mamo emails the affected customers and you.

Returns {"success": true} when done. If the subscription doesn't exist or isn't attached to a payment link, the call returns 404.

PUT /subscriptions/{subscriptionId}/cancel is a legacy alias with the same behaviour.

🚧

This affects every subscriber

To stop billing a single customer, use Unsubscribe instead.

Recipes
🔁
Bill a customer every month
Open Recipe
Path Params
string
required

Subscription ID

Headers
string

A unique key, such as a UUID, that makes it safe to retry this request. Reuse the same key when you retry. See Idempotency.

Responses

429

Too many requests. You sent more than 100 requests in 30 seconds from one IP address. This response has no JSON body. See Rate limits.

500

Unexpected error

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