Update Customer

The following endpoint updates the details of a customer.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
🚧

This call replaces the full customer

Send the complete request body of the Create Customer API. Build it from your own copy of the last request body that you sent. If you omit an optional field, the API removes that field.

  • The request body has the same rules as in the Create Customer API. The API checks the base fields of the customerType.
  • If you change a field that Durianpay screens, the status becomes processing again. For these fields and the effect on existing payouts, see What changes the status.
  • If the customer is rejected or inactive, the API returns ACTION_NOT_ALLOWED (4050001). In a setup without customers, the API returns CUSTOMER_NOT_ALLOWED (4030025). See Response Code Handling.
  • Use this endpoint to add the values of customer.fields of the corridor. For example, use it after a REQUIREMENTS_UNMET error with resource: customer.

Other body fields

  • Body (string, Yes): The full create body.
Path Params
string
required

The customer referenceNo.

Body Params
string
string
string
registrationDocument
object
string
string
string
address
object
string
string
associates
array of objects
associates
Headers
string
required

The request time, RFC 3339 with an offset.

string
required

HMAC-SHA512 of the string to sign, with your client secret as the key, in standard base64.

string
required

Your SNAP client key. It must match the token.

string
required

Required. Use a unique ID for each request. It is not an idempotency key: see Idempotency.

string
required

Required. Any non-empty value is accepted, for example 95221.

Responses

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