API reference
Get the current billing subscription
GET
/v1/billing/current/subscriptionAuthorization
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 GET "https://example.com/v1/billing/current/subscription"{ "currencyCode": "string", "currentPlan": "none", "subscription": null, "pendingPlanPurchase": null, "paymentMethod": null, "automaticCheckoutAvailable": true, "automaticCheckoutMessage": "string"}