Skip to main content
PATCH
/
api
/
v1
/
customer
/
{customerId}
/
kyc
curl --request PATCH \
  --url https://sandbox.api.afriex.com/api/v1/customer/{customerId}/kyc \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "BVN": "22222222222",
  "DATE_OF_BIRTH": "1990-05-15",
  "COUNTRY": "NG"
}
'
{
  "data": {
    "name": "Test User KYC",
    "email": "test.kyc.user@example.com",
    "phone": "+2348192837001",
    "customerId": "69d5fff7ab82306f11b0330e",
    "countryCode": "NG",
    "meta": {
      "kyc": {
        "data": {
          "BVN": "22222222222",
          "DATE_OF_BIRTH": "2000-01-15",
          "COUNTRY": "NG"
        }
      }
    },
    "createdAt": "2026-04-08T07:12:55.888Z",
    "updatedAt": "2026-04-08T07:17:18.638Z"
  }
}
Update a customer’s KYC (Know Your Customer) information. Use this endpoint to add or update verification documents for a customer.

Authorizations

x-api-key
string
header
required

Static business API key issued from the dashboard. A business can provision multiple API keys, each scoped to a configurable set of permissions (e.g. read transactions, create deposits, etc). Permissions are chosen per key at creation time in the dashboard and may be revoked by deleting the key. Requests made with a key that does not include the permission required by the target endpoint will be rejected with a 403 Forbidden response; an unrecognised, malformed or revoked key returns 401 Unauthorized. Manage your keys and their permissions under Developer → API keys in the dashboard.

Headers

x-api-version
string

API version in ISO 8601 format (e.g. 2025-12-28). Defaults to latest stable.

Path Parameters

customerId
string
required

The unique identifier of the customer

Body

application/json

A flat map of KYC document types to their values. Send the document map directly as the request body (do not wrap it in a kyc field). Each key must be one of the allowed KYC document types and each value is a string.

{key}
string

Response

Customer updated successfully.

data
object