Herald
OpenapiBilling

Get current user's subscription history for a specific subscription

GET
/api/bill/my/subscriptions/{subscriptionId}/history

Authorization

bearer_auth
headerAuthorizationBearer <token>

Path Parameters

subscriptionId*string

Subscription ID

Formatuuid

Response Body

Subscription history retrieved

application/json
  1. response

Subscription history response for a single subscription

events*array<>
subscriptionId*string
Formatuuid
total*integer
Range0 <= value
Example Request
curl -X GET 'https://example.com/api/bill/my/subscriptions/497f6eca-6276-4993-bfeb-53cbbbba6f08/history'
Example Response
{
  "events": [
    {
      "actor": "string",
      "changes": null,
      "eventType": "string",
      "id": "string",
      "newState": null,
      "previousState": null,
      "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
      "timestamp": "2019-08-24T14:15:22Z"
    }
  ],
  "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
  "total": 0
}