Skip to main content
GET
/
api
/
v1
/
payment-method
/
{paymentMethodId}
Get payment method by ID
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": {}
  }
}
Retrieve a specific payment method by its unique identifier.

Authorizations

x-api-key
string
header
required

Static business API key from the dashboard

Path Parameters

paymentMethodId
string
required

The unique identifier of the payment method

Response

Payment method retrieved successfully.

data
object