Herald
OpenapiBilling

List subscriptions for a realm

GET
/api/bill/subscriptions

Authorization

bearer_auth
headerAuthorizationBearer <token>

Response Body

Subscriptions listed successfully

application/json
  1. response

Response for listing subscriptions

items*array<>
total*integer
Formatint64
Example Request
curl -X GET 'https://example.com/api/bill/subscriptions'
Example Response
{
  "items": [
    {
      "billingType": "string",
      "clientAppId": "d386372c-64d9-49da-bb8b-4b5eda60f56c",
      "createdAt": "string",
      "currentPeriodEnd": "string",
      "currentPeriodStart": "string",
      "entitlementKey": "string",
      "externalPriceId": "string",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "paymentProvider": "string",
      "status": "string",
      "syncedAt": "string",
      "updatedAt": "string"
    }
  ],
  "total": 0
}