cURL
curl --request GET \ --url https://api.notchpay.co/customers/{id}/payments \ --header 'Authorization: <api-key>'
{ "code": 200, "status": "OK", "message": "Customer payments retrieved", "totals": 10, "last_page": 1, "current_page": 1, "selected": 10, "payments": [ { "id": "pay_123456789", "reference": "ref_123456789", "amount": 5000, "currency": "XAF", "status": "complete", "customer": "cus_123456789", "created_at": "2023-01-01T12:00:00.000Z", "completed_at": "2023-01-01T12:05:00.000Z", "payment_method": "pm.ndzAfIh555VCPML1" } ] }
Unique identifier of the customer
Number of items per page
Page number
Customer payments retrieved
The response is of type object.
object
Was this page helpful?