Update a customer

Replace the details of a customer under your account. The company is taken from your token, so a customer belonging to another company returns 404. Changing a field used for KYC identity (first, middle or last name, date of birth, or address) pushes the new details to the KYC provider, resets the applicant, and moves the KYC level to REVERIFICATION_REQUIRED, which discards any documents already submitted; the customer must submit them again through a new link from POST /customer/customers/{customerId}/kyc. Sending merchantGroupId moves the customer to that group and clears the current tier; omit it to edit the profile only. Requires the customer.write scope. Send a unique Idempotency-Key header so the request can be safely retried.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Public id of the customer to update.

Body Params
string
required
length ≤ 255
string
required
length ≤ 255
string
length ≤ 255
string
required
length ≤ 255
string
required
length ≤ 15
^\+[1-9][0-9]{1,14}$
string
required
^[0-9]{2}/[0-9]{2}/[0-9]{4}$
string
required
length ≤ 255
string
length ≤ 255
string
required
length ≤ 255
string
required
length ≤ 20
string
required
length ≤ 100
string
required
^[A-Za-z]{3}$
string
length ≤ 255

Required for every companyType except INDIVIDUAL.

string
enum
required
Allowed:
string
length ≤ 255

Required when companyType is PRIVATE_COMPANY, PUBLIC_COMPANY, or TRUST.

string
length ≤ 255

Optional. Moves the customer to this merchant group and clears the current tier. The customer stays in its current group when omitted.

Headers
string
required

Unique key for this request, exactly 32 characters. Replaying the same key with the same body returns the stored response without updating the customer or resetting the applicant again. Reusing a key with a different body, or while the first request is still in flight, returns 409.

string
required
Responses

401

Missing, invalid, or expired token

403

Insufficient token scope, or client certificate/source IP not allowed

404

No customer with this id under your company, or the merchant group was not found

409

Another customer in your company already uses this email, or the Idempotency-Key was reused for a different request or is still in progress

500

Internal server error

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json