Skip to main content
GET
/
api
/
v1
/
payment-method
/
{paymentMethodId}
Get payment method by ID
curl --request GET \
  --url https://sandbox.api.afriex.com/api/v1/payment-method/{paymentMethodId} \
  --header 'x-api-key: <api-key>'
{
  "data": {
    "paymentMethodId": "6936b8774f987b2994865b73",
    "channel": "BANK_ACCOUNT",
    "customerId": "6922e4520a53e858ab42efa8",
    "institution": {
      "institutionCode": "000013",
      "institutionName": "GTBank"
    },
    "accountName": "John Doe",
    "accountNumber": "1234567890",
    "countryCode": "NG"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.afriex.com/llms.txt

Use this file to discover all available pages before exploring further.

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