Skip to content
Справочник APIConsumerBilling

List subscriptions for the caller's billing account

Эта страница пока доступна только на английском языке. Руководства переведены; автоматически генерируемый справочник API публикуется на английском.

GET
/consumer/v1/billing/subscriptions

Authorization

bearer_auth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/consumer/v1/billing/subscriptions"
[  {    "amount_minor": 0,    "billing_account_id": "db2251e5-5308-40a7-9f48-3aed5a9ce736",    "cancel_at_period_end": true,    "canceled_at": "2019-08-24T14:15:22Z",    "currency": "string",    "current_period_end": "2019-08-24T14:15:22Z",    "current_period_start": "2019-08-24T14:15:22Z",    "grace_period_end": "2019-08-24T14:15:22Z",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "plan_id": "00713021-9aea-41da-9a88-87760c08fa72",    "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",    "state_reason": "new_purchase",    "status": "pending",    "trial_end_at": "2019-08-24T14:15:22Z",    "vendor_type": "stripe"  }]
{  "detail": "Pool slug must be unique.",  "instance": "urn:forestvpn:trace:a1b2c3d4",  "title": "Validation Error",  "type": "https://fvpn.net/errors/validation"}