PATCH request, you only need to include the fields you want to modify — all omitted fields will remain unchanged. This is ideal for correcting a phone number, updating an email address, or fixing a name without having to resend the full customer payload. Pass the customer UUID in the URL path where {id} appears.
Request
Your CertoPay secret API key. Include it in every request as
X-Api-Key: sk_live_sua_chave_aqui.The UUID of the customer to update. This is the
id returned when the customer was created.Updated full name of the customer. Omit this field to leave the name unchanged.
Updated email address. Omit this field to leave the email unchanged.
Updated phone number in Brazilian format (e.g.
"(11) 88888-8888"). Omit this field to leave the phone unchanged.Response
A successful request returns HTTP 200 OK with the complete updated customer object, reflecting all current field values.Unique UUID identifying the customer (unchanged).
Full name — updated if provided in the request, otherwise the previous value.
Email address — updated if provided in the request, otherwise the previous value.
CPF number (11 digits). This field cannot be changed via PATCH.
Phone number — updated if provided in the request, otherwise the previous value.
ISO 8601 timestamp of the original creation date (unchanged).
Example
200 OK