curl --request GET \
--url https://api.paygentic.io/v0/subscriptions \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"object": "subscription",
"customerId": "<string>",
"planId": "<string>",
"walletId": "<string>",
"name": "<string>",
"status": "active",
"createdAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"endingAt": "2023-11-07T05:31:56Z",
"terminatedAt": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}
curl --request GET \
--url https://api.paygentic.io/v0/subscriptions \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"object": "subscription",
"customerId": "<string>",
"planId": "<string>",
"walletId": "<string>",
"name": "<string>",
"status": "active",
"createdAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"endingAt": "2023-11-07T05:31:56Z",
"terminatedAt": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Unique identifier for a customer
Unique identifier for an organization
Unique identifier for an organization
active
, terminated
Number of subscriptions to return
1 <= x <= 100
Number of subscriptions to skip
x >= 0
List of subscriptions
The response is of type object
.