List customer's payment methods
Changed onget/customers/{id}/payment_methods
Request
- Base URLhttps://api.notchpay.co
- URLhttps://api.notchpay.co/customers/{id}/payment_methods
- Auth
- API key in header Authorization
- or API key in header X-Sync
Path parameters
idstring required
Unique identifier of the customer
Response
Payment methods retrieved
Example response
{
"code": 200,
"status": "OK",
"message": "Payment methods retrieved",
"items": [
{
"id": "pm_123456789",
"type": "Mobile Money",
"channel": "cm.mtn",
"created_at": "2023-01-01T12:00:00Z"
}
]
}Changes
- breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking