cURL
curl --request GET \ --url https://staging.afx-server.com/api/v1/payment-method/{paymentMethodId} \ --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": {} } }
Retrieves a specific payment method by its unique identifier.
Static business API key from the dashboard
The unique identifier of the payment method
Payment method retrieved successfully.
Show child attributes