Update a customer

POST {{baseUrl}}/customers/:customerId

Update an existing direct debit customer.

ParameterTypeRequiredDescription
firstnamestringtrueYour user's first name.
lastnamestringtrueYour user's last name.
documentTypestringtrueYour user's ID document type. For 🇲🇽 Mexico, this can be one of the following:

- mx_rfc: Tax Identification Number (Registro Federal de Contribuyentes)
- mx_curp: Unique Population Registry Code (Clave Única de Registro de Población)
documentNumberstringtrueThe document number of the user.
emailstringtrueThe email of the user.
phonestringfalseThe phone number of the user (including country code).

Request Body

{"firstname"=>"first_name", "lastname"=>"last_name", "email"=>"email", "documentType"=>"mx_rfc_or_mx_curp", "documentNumber"=>"document_number", "phone"=>"optional_phone_number"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"customerId":"0d1a377b-b4c5-4a94-9e2e-83e59d1f6a9c"}