cURL
curl --request GET \ --url https://api.notchpay.co/customers/{id}/payment_methods \ --header 'Authorization: <api-key>'
{ "code": 200, "status": "OK", "message": "Payment methods retrieved", "items": [ { "id": "pm_123456789", "type": "Mobile Money", "channel": "cm.mtn", "created_at": "2023-01-01T12:00:00.000Z", "phone": 237680000000 } ] }
Unique identifier of the customer
Payment methods retrieved
200
"OK"
"Payment methods retrieved"
Show child attributes
"pm_123456789"
"Mobile Money"
"cm.mtn"
"2023-01-01T12:00:00.000Z"
237680000000
Was this page helpful?