Update all fields of an existing identity. Supports updates to PII fields and metadata.
The request body replaces the identity's metadata and PII, so send every field the identity should keep. Optional fields you omit are removed from the new version. The individual or business object is required, and so is internalId for an ORIGINATOR.
For a BENEFICIARY, internalId is optional and provides idempotency. If the identity has one, include it in every update. A PUT without it removes the internalId, and another identity can then use the same value.
Each successful PUT creates a new version and preserves prior versions for audit.
Client-provided unique identifier for idempotency and deduplication. Required for ORIGINATOR identities; optional for BENEFICIARY identities. Must be unique across all active identities in your organization. Duplicate values will result in a 409 Conflict error.
This is your own reference key, not the originator's account number. Use originatorAccountNumber for that.
The originator's account number, or your customer identifier for the originator. Required for ORIGINATOR identities on USD payments to China (CN_CFXPS); optional elsewhere. Only sent to payout partners for ORIGINATOR identities.
Must be unique across all active identities in your organization, including BENEFICIARY identities. Duplicate values return a 409 Conflict error.
Corridor length and character limits apply to this value but are not enforced on this field. See the corridor's Integration resources page.
- Mock serverhttps://docs.ripple.com/_mock/pt-br/products/payments-direct-2/api-docs/payments-direct-api/payments-direct-2-api/v3/identities/{identity-id}
- UAT environment with simulated currencyhttps://api.test.ripple.com/v3/identities/{identity-id}
- Production environmenthttps://api.ripple.com/v3/identities/{identity-id}
curl -i -X PUT \
https://docs.ripple.com/_mock/pt-br/products/payments-direct-2/api-docs/payments-direct-api/payments-direct-2-api/v3/identities/2f4ac57f-c5ba-4051-b51f-b3565778717b \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"internalId": "customer-12345",
"nickName": "Alice Sender USD - Updated",
"tags": [
"usd",
"high-value"
],
"individual": {
"firstName": "Alice",
"lastName": "Chen",
"address": {
"streetAddress": [
"123 Main Street"
],
"city": "San Francisco",
"stateOrProvince": "CA",
"postalCode": "94105",
"country": "US"
}
}
}'Identity updated. Latest version returned.
The type of the identity
| Enum Value | Description |
|---|---|
| BUSINESS | Identity associated with an institution or business |
| INDIVIDUAL | Identity associated with an individual |
The payment role of the identity
| Enum Value | Description |
|---|---|
| ORIGINATOR | Refers to originator identity |
| BENEFICIARY | Refers to beneficiary identity |
Client-provided unique identifier for idempotency and deduplication. Required for ORIGINATOR identities; optional for BENEFICIARY identities. Must be unique across all active identities in your organization. Duplicate values will result in a 409 Conflict error.
This is your own reference key, not the originator's account number. Use originatorAccountNumber for that.
The originator's account number, or your customer identifier for the originator. Required for ORIGINATOR identities on USD payments to China (CN_CFXPS); optional elsewhere. Only sent to payout partners for ORIGINATOR identities.
Must be unique across all active identities in your organization, including BENEFICIARY identities. Duplicate values return a 409 Conflict error.
Corridor length and character limits apply to this value but are not enforced on this field. See the corridor's Integration resources page.
Server-generated unique identifier of the identity.
The state of the identity
- ACTIVE
- DEACTIVATED
| Enum Value | Description |
|---|---|
| ACTIVE | The identity requested exists and is active. |
| DEACTIVATED | The identity requested has been deactivated. |
List of payout methods where this identity is considered valid. Use this to indicate which payout methods (for example, US_ACH, EU_SEPA) the identity can be used with in payments.
RFC 3339 timestamp when the identity was created.
{ "identityId": "2f4ac57f-c5ba-4051-b51f-b3565778717b", "identityState": "ACTIVE", "nickName": "nickName", "tags": [ "tag1" ], "validatePayoutRails": [ "BR_PIX" ], "version": "2", "schemaVersion": "1.0.0", "createdAt": "2023-11-02T18:26:00.000Z", "updatedAt": "2023-11-03T18:26:00.000Z", "identityType": "BUSINESS", "paymentRole": "BENEFICIARY", "internalId": "customer-12345-uuid", "originatorAccountNumber": "6222021001125874", "business": { "businessName": "Widgets Org", "address": { … }, "email": "fake@example.com", "phone": 1234567890, "registration": [ … ], "incorporationCountry": "US", "incorporationDate": "2020-01-15", "legalEntityType": "BANK_CENTRAL", "localized": { … } }, "individual": { "firstName": "John", "lastName": "Smith", "address": { … }, "email": "fake@example.com", "phone": 1234567890, "identityDocuments": [ … ], "dateOfBirth": "2001-01-24", "countryOfBirth": "US", "citizenship": "US", "gender": "FEMALE", "localized": { … } } }