curl --request GET \
--url https://api.paygentic.io/v0/subscriptions/{id} \
--header 'Authorization: Bearer <token>'
{
"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"
}
curl --request GET \
--url https://api.paygentic.io/v0/subscriptions/{id} \
--header 'Authorization: Bearer <token>'
{
"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"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Subscription details
The response is of type object
.