Pular para o conteúdo

Update an identity

Identity Management v3

This topic describes the v3 identity model. Identity Management v3 is recommended for all new integrations.

For supported payment corridors, see Payout network.

This tutorial shows how to use PUT /v3/identities/{identity-id} to update an existing identity in Identity Management v3. It covers updating metadata, PII fields, and payment rail validation, and explains how identity versioning works and what it means for your integration.


Before you begin

To follow these examples, you need:

  • Base URL for Identity Management (for example, https://{base-url})
  • An access token with participants:update scope
  • An identityId from a previously created identity

In all examples below, replace:

  • {base-url} with your actual PII base URL
  • <access_token> with a valid OAuth2 access token
  • {identity-id} with a real identityId returned by the API

How identity updates work

Immutable versioning

Every successful call to PUT /v3/identities/{identity-id} creates a new version of the identity, and so does every change to the identity's financial instrument: adding it, updating it, or deactivating it. The previous version is preserved and remains available for retrieval and audit. The identityId never changes.

For example, if an identity is currently at version: 2, a successful update produces version: 3. The version 2 record remains accessible via GET /v3/identities/{identity-id}?version=2, and its identityState is DEACTIVATED because version 3 has replaced it.

Full replacement

A PUT request replaces the identity's metadata and PII with the request body. Send every field the identity should keep, not only the fields you're changing:

  • Include internalId. An ORIGINATOR requires it. A BENEFICIARY doesn't, but if you omit it, the new version has no internalId, and another identity can then use the same value.
  • Include the individual or business object with all its required fields.
  • Any optional field you omit, such as nickName, tags, or individual.dateOfBirth, doesn't carry over to the new version.

To change a single field, retrieve the identity with GET /v3/identities/{identity-id}, change the field in the response body, and send the whole body back. The request can include the read-only fields that the GET response returns, such as identityId and version.

Effect on payments

Payments are tied to a specific identityId and version at the time of creation. Updating an identity creates a new version, but does not affect payments that were already created using an earlier version. Those payments continue to reference the identity version they were created with.

What you can and cannot change

Field(s)Can update?Notes
nickNameYes—
tagsYesReplaces the existing tags array entirely
internalIdYesMust remain unique across all ACTIVE identities in your organization
validatePayoutRailsYesRe-validates the identity PII against the specified rails
individual fieldsYesAny field within the individual object (address, contact, documents, etc.)
business fieldsYesAny field within the business object (name, address, contact, registration, etc.)
identityTypeNoSet at creation (INDIVIDUAL or BUSINESS). Cannot be changed.
paymentRoleNoSet at creation (ORIGINATOR or BENEFICIARY). Cannot be changed.
DEACTIVATED identities

Updating a DEACTIVATED identity is not supported, and the request returns 409 Conflict (USR_115). Deactivation is permanent. If you need to resume activity for a deactivated party, create a new identity.


Update identity metadata

To change the metadata fields (nickName and tags), send the identity's current PII along with the new metadata values.

Example: Update nickname and tags

curl -X PUT "https://{base-url}/v3/identities/99254c4f-f207-4792-a846-06928825018c" \
  -H "Authorization: Bearer <access_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "internalId": "customer-12345",
    "nickName": "Alice Chen - Primary USD",
    "tags": ["usd", "high-value", "verified"],
    "validatePayoutRails": ["US_ACH"],
    "individual": {
      "firstName": "Alice",
      "lastName": "Chen",
      "dateOfBirth": "1990-05-14",
      "citizenship": "US",
      "address": {
        "streetAddress": ["123 Main Street"],
        "city": "San Francisco",
        "stateOrProvince": "CA",
        "postalCode": "94105",
        "country": "US"
      }
    }
  }'

Response (200 OK)

{
  "identityId": "99254c4f-f207-4792-a846-06928825018c",
  "identityState": "ACTIVE",
  "version": "2",
  "schemaVersion": "1.0.0",
  "identityType": "INDIVIDUAL",
  "paymentRole": "ORIGINATOR",
  "internalId": "customer-12345",
  "nickName": "Alice Chen - Primary USD",
  "tags": ["usd", "high-value", "verified"],
  "validatePayoutRails": ["US_ACH"],
  "createdAt": "2025-10-01T18:46:41.833Z",
  "updatedAt": "2026-03-10T09:15:10.000Z",
  "individual": {
    "firstName": "Alice",
    "lastName": "Chen",
    "dateOfBirth": "1990-05-14",
    "citizenship": "US",
    "address": {
      "streetAddress": ["123 Main Street"],
      "city": "San Francisco",
      "stateOrProvince": "CA",
      "postalCode": "94105",
      "country": "US"
    }
  }
}

Notice that version has incremented from 1 to 2, and updatedAt reflects the time of the update. Each field you sent has the value you sent, and createdAt keeps its original value.

Tags are replaced, not merged

The tags field is replaced in full on each update. If you send "tags": ["usd"], all previous tags are removed and replaced with the new value. If you omit tags, the new version has no tags. Fetch the current identity first to keep existing tags.


Update PII fields

Update an INDIVIDUAL identity

Use this to correct or update personal details such as address, contact information, or identity documents.

Example: Update address

curl -X PUT "https://{base-url}/v3/identities/99254c4f-f207-4792-a846-06928825018c" \
  -H "Authorization: Bearer <access_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "internalId": "customer-12345",
    "nickName": "Alice Chen - Primary USD",
    "tags": ["usd", "high-value", "verified"],
    "validatePayoutRails": ["US_ACH"],
    "individual": {
      "firstName": "Alice",
      "lastName": "Chen",
      "dateOfBirth": "1990-05-14",
      "citizenship": "US",
      "address": {
        "streetAddress": ["500 Market Street", "Suite 200"],
        "city": "San Francisco",
        "stateOrProvince": "CA",
        "postalCode": "94103",
        "country": "US"
      }
    }
  }'

Response (200 OK)

{
  "identityId": "99254c4f-f207-4792-a846-06928825018c",
  "identityState": "ACTIVE",
  "version": "3",
  "schemaVersion": "1.0.0",
  "identityType": "INDIVIDUAL",
  "paymentRole": "ORIGINATOR",
  "internalId": "customer-12345",
  "nickName": "Alice Chen - Primary USD",
  "tags": ["usd", "high-value", "verified"],
  "validatePayoutRails": ["US_ACH"],
  "createdAt": "2025-10-01T18:46:41.833Z",
  "updatedAt": "2026-03-10T10:22:05.000Z",
  "individual": {
    "firstName": "Alice",
    "lastName": "Chen",
    "dateOfBirth": "1990-05-14",
    "citizenship": "US",
    "address": {
      "streetAddress": ["500 Market Street", "Suite 200"],
      "city": "San Francisco",
      "stateOrProvince": "CA",
      "postalCode": "94103",
      "country": "US"
    }
  }
}

Update a BUSINESS identity

Example: Update email and phone

curl -X PUT "https://{base-url}/v3/identities/0116bacc-ffbf-4fa2-a29c-ecd9ea346806" \
  -H "Authorization: Bearer <access_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "internalId": "counterparty-7890",
    "nickName": "Widgets Org MX",
    "tags": ["beneficiary", "mx"],
    "validatePayoutRails": ["MX_SPEI"],
    "business": {
      "businessName": "Widgets Org",
      "incorporationCountry": "US",
      "email": "ops@widgetsorg.com",
      "phone": "+14155550199",
      "registration": [
        {
          "number": "123ABC",
          "type": "INCORPORATION_CERTIFICATE"
        }
      ],
      "address": {
        "streetAddress": ["123 Example Street"],
        "city": "Boston",
        "stateOrProvince": "MA",
        "postalCode": "02110",
        "country": "US"
      }
    }
  }'

Response (200 OK)

{
  "identityId": "0116bacc-ffbf-4fa2-a29c-ecd9ea346806",
  "identityState": "ACTIVE",
  "version": "2",
  "schemaVersion": "1.0.0",
  "identityType": "BUSINESS",
  "paymentRole": "BENEFICIARY",
  "internalId": "counterparty-7890",
  "nickName": "Widgets Org MX",
  "tags": ["beneficiary", "mx"],
  "validatePayoutRails": ["MX_SPEI"],
  "createdAt": "2025-10-01T16:14:13.200Z",
  "updatedAt": "2026-03-10T11:05:30.000Z",
  "business": {
    "businessName": "Widgets Org",
    "incorporationCountry": "US",
    "email": "ops@widgetsorg.com",
    "phone": "+14155550199",
    "registration": [
      {
        "number": "123ABC",
        "type": "INCORPORATION_CERTIFICATE"
      }
    ],
    "address": {
      "streetAddress": ["123 Example Street"],
      "city": "Boston",
      "stateOrProvince": "MA",
      "postalCode": "02110",
      "country": "US"
    }
  }
}

Add or change payment rail validation

Use validatePayoutRails to validate an identity's PII against additional payment rails. This is useful when you are onboarding a beneficiary to a new corridor that requires specific PII fields.

Example: Add EU SEPA and GB FPS validation

curl -X PUT "https://{base-url}/v3/identities/99254c4f-f207-4792-a846-06928825018c" \
  -H "Authorization: Bearer <access_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "internalId": "customer-12345",
    "nickName": "Alice Chen - Primary USD",
    "tags": ["usd", "high-value", "verified"],
    "validatePayoutRails": ["US_ACH", "EU_SEPA", "GB_FPS"],
    "individual": {
      "firstName": "Alice",
      "lastName": "Chen",
      "dateOfBirth": "1990-05-14",
      "citizenship": "US",
      "address": {
        "streetAddress": ["500 Market Street", "Suite 200"],
        "city": "San Francisco",
        "stateOrProvince": "CA",
        "postalCode": "94103",
        "country": "US"
      }
    }
  }'

If the PII in the request satisfies all requirements for the specified rails, the update succeeds and returns the new version. If a field that one of the rails requires is missing, the request returns 400 Bad Request, and the error description names each missing field. For example, EU_SEPA and GB_FPS require dateOfBirth, so the same request without it returns:

{
  "status": 400,
  "errors": [
    {
      "code": "USR_111",
      "title": "Invalid request",
      "type": "USER_ERROR",
      "description": "Validation error: [Identity field 'dateOfBirth' is required for EU_SEPA corridor but is missing or empty, Identity field 'dateOfBirth' is required for GB_FPS corridor but is missing or empty]",
      "timestamp": "2026-03-10T10:30:00.000Z"
    }
  ]
}

To resolve this, add the missing fields and send the complete request again.

validatePayoutRails is advisory

Including a rail in validatePayoutRails does not prevent you from adding financial instruments for other rails, and omitting a rail does not block you from using it later. Validation is performed at the point of financial instrument creation and payment initiation regardless.


Update internalId

You can change an identity's internalId using a PUT request. The new value must not already be in use by another ACTIVE identity in your organization.

Example: Rename an internalId

curl -X PUT "https://{base-url}/v3/identities/99254c4f-f207-4792-a846-06928825018c" \
  -H "Authorization: Bearer <access_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "internalId": "customer-12345-v2",
    "nickName": "Alice Chen - Primary USD",
    "tags": ["usd", "high-value", "verified"],
    "validatePayoutRails": ["US_ACH"],
    "individual": {
      "firstName": "Alice",
      "lastName": "Chen",
      "dateOfBirth": "1990-05-14",
      "citizenship": "US",
      "address": {
        "streetAddress": ["500 Market Street", "Suite 200"],
        "city": "San Francisco",
        "stateOrProvince": "CA",
        "postalCode": "94103",
        "country": "US"
      }
    }
  }'

If the requested internalId is already used by a different ACTIVE identity, the request returns 409 Conflict:

{
  "status": 409,
  "errors": [
    {
      "code": "USR_118",
      "title": "Identity already exists",
      "type": "USER_ERROR",
      "description": "This internal ID (customer-12345-v2) is already in use by identityId 7ea3399c-1234-5678-8d8f-d320ea406630. Please retrieve the existing identity or use a unique internal ID.",
      "timestamp": "2026-03-10T10:45:00.000Z"
    }
  ]
}

For guidance on handling 409 conflicts, see Create and manage identities.


Error reference

HTTP statusWhen it occursWhat to do
400 Bad RequestMissing or invalid fields, or PII fails validation for specified validatePayoutRailsRead the description of each entry in the errors array, which names the field at fault. Correct the request and retry.
404 Not FoundThe identity-id does not existVerify the identityId and retry.
409 ConflictThe internalId in the request is already used by a different ACTIVE identity (USR_118), or the identity is DEACTIVATED (USR_115)For USR_118, use the existing identity, or choose a different internalId. For USR_115, create a new identity.
500 Internal Server ErrorProcessing error on the Ripple sideRetry after a short delay. Contact support if the error persists.

Next steps