v1
latestOpenAPI 3.0.32026-07-248257161.1 KBSubscription
Returns list of found subscriptions
This API returns the list of found subscription for a merchant.
get/subscriptions/search
Query parameters
referencestring
search by subscription reference
customer_namestring
search subscription by customer name
Headers
X-Amzn-Trace-Idstring
HTTP request identifier allow to trace individual request sent from client to service.
Response
returns list of found subscription.
Example response
[
{
"id": "fbd2053b-638d-4133-957e-3caf63e6b79c",
"reference": "yourplan_CF34509",
"subscriptionPlanId": "fbd2053b-638d-4133-957e-3caf63e6b79c",
"startDate": "2023-05-22",
"customerId": "fbd2053b-638d-4133-957e-3caf63e6b79c",
"status": "completed",
"nextInstallmentDueDate": "2023-05-22",
"nbrPaidInstallments": 2,
"nbrUnpaidInstallments": 1,
"customerName": "John Dao",
"createdAt": "2022-03-29 10:00:00,000"
}
]