Herald
OpenapiBilling

Get a specific subscription

GET
/api/bill/subscriptions/{subscriptionId}

Authorization

bearer_auth
headerAuthorizationBearer <token>

Path Parameters

subscriptionId*string

Subscription ID

Formatuuid

Response Body

Subscription found

application/json
  1. response

Response for subscription detail

billingType*string

Billing type snapshot ("recurring" / "non_renewing"). Lets the admin subscription view distinguish non-renewing subscriptions and hide

cancelAt?string|null
cancelAtPeriodEnd?boolean|null
clientAppId?|
Formatuuid
createdAt*string
currentPeriodEnd?string|null
currentPeriodStart?string|null
entitlementKey*string
externalPriceId?string|null
id*string
Formatuuid
paymentProvider*string
providerMetadata?unknown
status*string
syncedAt?string|null
updatedAt*string
Example Request
curl -X GET 'https://example.com/api/bill/subscriptions/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{
  "billingType": "string",
  "cancelAt": "string",
  "cancelAtPeriodEnd": true,
  "clientAppId": "d386372c-64d9-49da-bb8b-4b5eda60f56c",
  "createdAt": "string",
  "currentPeriodEnd": "string",
  "currentPeriodStart": "string",
  "entitlementKey": "string",
  "externalPriceId": "string",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "paymentProvider": "string",
  "providerMetadata": null,
  "status": "string",
  "syncedAt": "string",
  "updatedAt": "string"
}