Cancel Subscription

How to cancel an active Stripe subscription for the logged user

POST https://mburger.cloud/api/subscriptions/cancel

curl https://mburger.cloud/api/subscriptions/cancel
-X POST
-H "Accept: application/json" 
-H "X-MBurger-Token: <token>" 
-H "X-MBurger-Version: 3"
-H "Authorization: Bearer <JWT>"
-d '<data>' 

Parameters

Name

Type

Required

Description

subscription

string

Yes

Subscription identifier from the Stripe dashboard.

Last updated