Get subscriptions history
GET
/v2/user/subscriptions_historyLast modified: 3 days ago
Get subscriptions history
Request
Query Params
page
integer
optional
Page number. Default: 1
per_page
integer
optional
Number of records per page. Default: 10. Max: 100
q
string
optional
Search by [:status]. Usage q[column]='word'
Request samples
Responses
OK(200)
Unauthorized(401)
HTTP Code: 200
Content Type : JSONapplication/json
default response
Data Schema
data
array [object {3}]
optional
id
string <uuid>
optional
type
string
optional
attributes
object
optional
Example
{
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "string",
"attributes": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"price": "9.99",
"status": "active",
"start_date": "2023-12-27T18:50:24.193Z",
"end_date": "2023-12-27T18:50:24.193Z",
"created_at": "2023-12-27T18:50:24.193Z",
"updated_at": "2023-12-27T18:50:24.193Z",
"trial_enabled": false,
"trial_duration_days": 7,
"auto_renewal": false,
"cancellation_reason": "Authentication issue",
"product": {
"code": "pci",
"name": "PCI",
"description": "PCI product"
}
}
}
]
}
Last modified: 3 days ago