Skip to main content
PUT
Update Customer
The email field is only accepted while the customer’s KYC has not been approved yet: no email set, no KYC submitted, one currently IN_REVIEW, or a previous attempt that FAILED — any of these still allow changing it. Once the KYC is approved, the email is frozen: this endpoint answers 400 with error code 20081 (CustomerEmailFrozenException) and leaves the email untouched. Contact Ripio support to change it in that case.

Authorizations

Authorization
string
header
required

Access token obtained via /oauth2/token/. Use as Authorization: Bearer <access_token>.

Path Parameters

customerId
string<uuid>
required

Unique identifier for the customer.

Body

application/json

Customer update payload.

Payload for updating an existing customer.

email
string<email>
required

The new email for the customer. Accepted while the customer's KYC has not been approved yet. Once the KYC is approved, this field is rejected with 400 and error code 20081 (CustomerEmailFrozenException); contact Ripio support to change it in that case. On the unified KYC flow, while the customer is waiting on the OTP, this change is also forwarded to the identity provider, which resends the same still-valid code to the new address; if the provider rejects it, the update answers 400 with error code 20098 (KycServiceChangeEmailException) and the email is left untouched.

Response

Customer updated successfully.

Response payload for a customer.

customerId
string<uuid>

A unique customer's ID. Either the one you supplied on creation or the one Ripio generated for you.

Example:

"7142b065-79c4-4f48-9e33-11b23bc689e2"

email
string<email>

The email of the individual or juridical person.

phoneNumber
string

The phone number of the individual or juridical person. null if not provided.

Example:

"+5491112345678"

isActive
boolean

Whether the customer account is active. Returns false after the customer has been deactivated; in that case, operations on the customer's resources (KYC, fiat accounts, transactions, sessions) return 404.

Example:

true

createdAt
string<date-time>

The date and time of customer's creation.

Example:

"2024-04-10T18:17:07.702533Z"