OpenapiBilling
List current user's subscription history with filtering and pagination
GET
bearer_authheader
AuthorizationBearer <token>entitlementKey?stringFilter by entitlement key
eventType?stringFilter by event type
subscriptionStatus?stringFilter by subscription status
fromDate?stringFilter by date range start (ISO 8601)
toDate?stringFilter by date range end (ISO 8601)
page?integerPage number (1-based, default: 1)
Format
int64Range
0 <= valuepageSize?integerItems per page (default: 20, max: 100)
Format
int64Range
0 <= valuesortBy?stringSort field (default: timestamp)
sortOrder?stringSort order - asc or desc (default: desc)
Subscription history list retrieved
application/json- response
Subscription history list response with user and subscription details
events*array<>pagination*curl -X GET 'https://example.com/api/bill/my/subscriptions/history'Example Response
{
"events": [
{
"actor": "string",
"changes": null,
"eventType": "string",
"id": "string",
"newState": null,
"previousState": null,
"subscription": {
"entitlementKey": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"status": "string"
},
"subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
"timestamp": "2019-08-24T14:15:22Z",
"user": null
}
],
"pagination": {
"page": 0,
"pageSize": 0,
"totalCount": 0,
"totalPages": 0
}
}