Saltar al contenido
Guías
Referencia de API
establebilling:manage

Cancelar suscripción de facturación actual

POST/v1/billing/current/subscription/cancel

Autorización

bearerAuth
AutorizaciónBearer <token>

Token de acceso OAuth 2.0 emitido por Ecomiq Auth.

Ubicación: header

Cuerpo de la respuesta

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}