Skip to content
Guides
API reference
stablebilling:manage

Cancel the current billing subscription

POST/v1/billing/current/subscription/cancel

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth2 access token issued by Ecomiq Auth.

In: header

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/billing/current/subscription/cancel"
{  "id": "string",  "plan": "none",  "status": "incomplete",  "amount": 0.1,  "currencyCode": "string",  "billingInterval": "string",  "startedOn": "2019-08-24T14:15:22Z",  "currentPeriodStartsOn": null,  "currentPeriodEndsOn": null,  "cancelAtPeriodEnd": true,  "cancelledOn": null,  "paymentGraceEndsOn": null,  "failedPaymentCount": 0,  "lastPaymentError": null}