😊Update Customer

Endpoint

POST https://api.xixapay.com/api/customer/updatearrow-up-right

πŸ“„ Description

Updates a customer's KYC information based on their customer_id, email, or phone_number. If the customer exists but has incomplete KYC data, this endpoint allows the business to complete or modify their details, including updating files (ID or utility bill).

Request Headers

Authorization

Beaerer {Secrete_KEY}

api-key

{API_KEY}

Content-Type

application/json

🧾 Request Body

Field
Type
Required
Description

first_name

string

βœ…

Customer's first name

last_name

string

βœ…

Customer's last name

email

string

βœ…

Valid email address

phone_number

string

βœ…

Nigerian phone number (11 digits)

address

string

βœ…

Residential address

state

string

βœ…

State of residence

city

string

βœ…

City of residence

postal_code

string

βœ…

Postal code

date_of_birth

string

βœ…

Must be at least 14 years old (YYYY-MM-DD)

id_type

string

βœ…

One of: bvn, nin

id_number

string

βœ…

ID number, validated based on id_type

id_card

file

βœ…

JPEG, PNG, or PDF file (max: 5MB)

utility_bill

file

βœ…

JPEG, PNG, or PDF file (max: 5MB)

businessId

string

βœ…

The business ID this customer belongs to

πŸ” Note: Files like id_card and utility_bill should be submitted as part of a multipart/form-data request.

βœ… Successful Response

Last updated