v1
latestOpenAPI 3.0.02026-07-144010.1 KBSubscriptions
Fetch Subscription Payments
Fetches all subscription payments made against a Subscription item. Developers should use the customer's email address to filter out payments made by a single customer. The creation date can be used to decide whether a customer should be kept on the same plan or downgraded to a lower / free one.
get/subscriptions/{subscriptionId}/payments
Path parameters
subscriptionIdstring required
Subscription ID
Headers
Content-Typestring
Authorizationstring
Response
Successful response
Example response
[
{
"amount": 3453,
"business_name": "Integration Test Business",
"customer_email": "johns@gmails.com",
"customer_name": "Johns Sullivan",
"customer_first_name": "Johns",
"customer_last_name": "Sullivan",
"currency": "AED",
"customer_phone": "+971581234567",
"gateway_response_code": null,
"identifier": "MPB-CHRG-894558D35C",
"payment_purpose": "",
"payment_url": "https://staging.business.mamopay.com/pay/mybusiness",
"status": "captured",
"created_at": "2022-08-17-13-51-42"
}
]