cURL
curl --request GET \ --url https://staging.afx-server.com/api/v1/payment-method \ --header 'x-api-key: <api-key>'
{ "data": [ { "paymentMethodId": "<string>", "customerId": "<string>", "institution": { "institutionId": "<string>", "institutionName": "<string>", "institutionCode": "<string>", "institutionAddress": "<string>" }, "transaction": { "transactionInvoice": "<string>", "transactionNarration": "<string>" }, "channel": "BANK_ACCOUNT", "countryCode": "<string>", "accountName": "<string>", "accountNumber": "<string>", "meta": {} } ], "page": 123, "total": 123 }
Retrieves a paginated list of payment methods.
Static business API key from the dashboard
Page number for pagination (starting from 1)
x >= 0
Number of items per page
1 <= x <= 50
List of payment methods retrieved successfully.
Show child attributes
Current page number
Total number of pages