Skip to main content
PUT
/
api
/
external
/
customer
/
{id}
Update a customer
curl --request PUT \
  --url https://api-prod.blaaiz.com/api/external/customer/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "first_name": "Oluwatobi",
  "last_name": "Ishola",
  "business_name": "Blaaiz",
  "email": "oluwatobi.ishola+customer@blaaiz.com",
  "phone": "+2348012345678",
  "country": "NG",
  "id_type": "passport",
  "id_number": "A123456789",
  "tin": "12345-ABCDE",
  "dob": "1996-08-21",
  "street": "12 Admiralty Way",
  "city": "Lagos",
  "state": "Lagos",
  "zip_code": "101233",
  "id_expiry_date": "2030-12-31",
  "id_issue_date": "2020-01-15"
}
'
{
  "status": true,
  "message": "Customer updated successfully",
  "data": {
    "id": "customer_123456789",
    "type": "individual",
    "first_name": "John",
    "last_name": "Doe",
    "email": "john@example.com",
    "phone_number": "+2348098765432",
    "status": "verified",
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T11:00:00Z"
  }
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

Use your OAuth client credentials to obtain a short-lived Bearer token from POST /oauth/token.

Path Parameters

id
string
required

Customer ID

Body

application/json
first_name
string
last_name
string
business_name
string
email
string<email>
phone
string
country
string

Country code (e.g., NG, CA, US). This must match the country on the identity document submitted for KYC.

id_type
enum<string>

Identity document type. For individual customers, drivers_license (Driver's License), passport (Passport), or resident_permit (Resident Permit) are accepted. For business customers, only certificate_of_incorporation (Certificate of Incorporation) is accepted. ID cards (National Identity Cards) are not accepted. No other document types are supported.

Available options:
drivers_license,
passport,
resident_permit,
certificate_of_incorporation
id_number
string
tin
string

Tax identification number (varies by country). Where applicable, use the Get Identification Type endpoint to determine the correct label or field to collect for the customer's country and type.

dob
string<date>
street
string
city
string
state
string
zip_code
string
id_expiry_date
string<date>
id_issue_date
string<date>

Response

Customer updated successfully

status
boolean
required
message
string
required
data
object
required