cURL
curl --request POST \ --url https://api-v2.missioninbox.com/billing/cancel_subscription/ \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "at_period_end": true } '
{ "subscription_id": "<string>", "status": "<string>", "cancel_at_period_end": true, "canceled_at": 123 }
Cancel user’s subscription, optionally at period end.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Cancel at period end (default: true)