API Reference
List customer's payment methods
Introduction
Core Resources
Additional Resources
API Specification
- API Reference
- GETList all payments
- POSTInitialize a payment
- GETRetrieve a payment
- PUTProcess a payment
- POSTProcess a payment
- DELCancel a payment
- GETList all transfers
- POSTInitiate a transfer
- GETRetrieve a transfer
- GETList all beneficiaries
- POSTCreate a beneficiary
- GETRetrieve a beneficiary
- DELDelete a beneficiary
- GETList all customers
- POSTCreate a customer
- GETRetrieve a customer
- POSTUpdate a customer
- DELDelete a customer
- GETList customer's payment methods
- GETList customer's payments
- POSTBlock a customer
- POSTUnblock a customer
- GETList all webhooks
- POSTCreate a webhook
- GETRetrieve a webhook
- PUTUpdate a webhook
- DELDelete a webhook
- GETRetrieve account balance
- GETList all payment channels
- GETList all countries
- GETList all currencies
- GET
API Reference
List customer's payment methods
GET
/
customers
/
{id}
/
payment_methods
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",
"phone": 237680000000,
"created_at": "2023-01-01T12:00:00.000Z"
}
]
}
Authorizations
Path Parameters
Unique identifier of the customer
Response
200
application/json
Payment methods retrieved
The response is of type object
.
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",
"phone": 237680000000,
"created_at": "2023-01-01T12:00:00.000Z"
}
]
}