List Subscriptions

Get all subscriptions associated with the merchant account

GET https://<Platform-host>/api/merchant/:merchantId/recurring-payments/subscriptions

Path Parameters

Name
Type
Description

merchant_id*

string

Platform unique merchant ID

Field Name
Types
Description

data[i].subscription_id

string

Unique subscription ID

data[i].subscription_status

string

Status - ACTIVE, CANCELLED

data[i].plan_id

string

Recurring Payment ID

data[i].plan_name

string

Recurring payment plan name

data[i].amount

string

Transaction Amount

data[i].currency_code

string

Currency set for the recurring payments. It will be in ISO Currency code format

data[i].billing_period

string

DAILY, WEEKLY, MONTHLY, YEARLY

data[i].duration

string

The number of recurring payments that will be processed in total

data[i].duration_unit

string

DAYS | WEEKS | MONTHS | YEARS

data[i].billing_start_date

timestamp

Start Date for the subscriptions

data[i].created_at

timestamp

Creation date of the subscription

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>'

Last updated