List Subscriptions
Get all subscriptions associated with the merchant account
Path Parameters
Name
Type
Description
Field Name
Types
Description
curl --location --request GET '<API_HOST>/api/merchant/1cc7b594-b80f-4227-a0fa-299c4c6ce8ab/scheduled-payments/plans?page=1&limit=10' \
--header 'Authorization: Basic <API_KEY>'{
"data": [
{
"subscription_id": "1c6aa155-3917-46af-93d2-73e0d0ab2a39",
"subscription_status": "ACTIVE"
"plan_id": "8049a73c-2ac4-431c-b9a0-2e60acd937eb",
"name": "Basic",
"amount": 100,
"currency_code": "USD",
"billing_period": "MONTHLY",
"duration": 2,
"duration_unit": "MONTHS",
"billing_start_date": "2024-10-09T00:21:07.000Z",
"created_at": "2024-10-09T00:21:07.123Z"
},
{
"subscription_id": "1020c780-e4e5-4457-a0e3-b709d7223231",
"subscription_status": "CANCELLED"
"plan_id": "8049a73c-2ac4-431c-b9a0-2e60acd937eb",
"name": "Basic",
"amount": 100,
"currency_code": "USD",
"billing_period": "MONTHLY",
"duration": 2,
"duration_unit": "MONTHS",
"billing_start_date": "2024-10-09T00:05:09.000Z",
"created_at": "2024-10-09T00:05:09.488Z"
}
]
}Last updated