Skip to main content
PATCH
/
v1
/
customers
/
{id}
Update customer
curl --request PATCH \
  --url https://api.platnova.com/v1/customers/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "first_name": "Jane",
  "phone": "+2348012345678",
  "documents": [
    {
      "id_type": "passport",
      "id_number": "A12345678",
      "front_doc": "<base64-encoded image>"
    }
  ],
  "proof_of_funds": {
    "employment_status": "employed",
    "occupation": "151252",
    "primary_purpose": "payments_to_friends_or_family_abroad",
    "source_of_funds": "salary",
    "expected_monthly_pay": "0_4999"
  }
}
'
{
  "status": true,
  "data": {},
  "error": [
    "<unknown>"
  ],
  "message": "<string>"
}

Overview

Update an existing customer with a partial JSON body. Only include fields you want to change. Typical uses include correcting profile data, refreshing identity documents, and submitting proof-of-funds details.

Request body

All fields are optional:
FieldDescription
date_of_birthYYYY-MM-DD
addressSame shape as on create customer; address.document is a base64 string when provided
first_name, last_name, phone, gender, country_codeProfile fields
documentsArray of document objects (see below)
proof_of_fundsEmployment and source-of-funds fields

documents items

Each element uses the same shape as on create (see Identity documents):
  • id_type — One of: passport, resident_id, drivers_license, national_id, voters_card, nin, bvn, or a tax ID type (see Tax ID document)
  • id_number — Value on the document
  • front_doc — Base64-encoded image of the front
  • back_doc — Base64-encoded image of the back when needed
For passport, resident_id, drivers_license, national_id, voters_card, and nin, you need at most front_doc (base64); back_doc is not required for those types.

proof_of_funds

Optional object with: employment_status, occupation, primary_purpose, source_of_funds, expected_monthly_pay. Use the Field values from the reference tables in your JSON (not free-text labels). See Proof of funds options.

Authorizations

X-API-KEY
string
header
required

API key for authentication.

Path Parameters

id
string
required

The ID of the customer to retrieve.

Body

application/json

Partial update payload. All properties are optional.

date_of_birth
string<date>

Date of birth (YYYY-MM-DD)

address
object
first_name
string

Customer first name

last_name
string

Customer last name

phone
string

Customer phone number

gender
string

Customer gender

country_code
string

ISO country code

documents
object[]

Identity documents to attach or replace (see DocumentInput)

proof_of_funds
object

Proof-of-funds / source-of-wealth fields. Use allowed field values from Proof of funds options in the Customers guides.

Response

Customer updated successfully

status
boolean
data
object
error
any[]
message
string