# Create and manage financial instruments

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](/products/payments-direct-2/v2026.03/introduction/payout-network).

This tutorial shows how to use the **Identity Management v3** financial instrument endpoints to:

- Create a financial instrument for an identity
- List an identity’s financial instruments
- Retrieve a financial instrument by ID
- Update financial instrument details
- Deactivate a financial instrument


It assumes you’ve read [Financial instruments](/products/payments-direct-2/v2026.03/introduction/concepts/financial-instruments) for payments and [Payment identities](/products/payments-direct-2/v2026.03/introduction/concepts/payment-identities).

One instrument per identity
In Identity Management v3, an identity has **one active financial instrument**. Adding a second instrument to the same identity fails with **422 Unprocessable Entity** (`USR_120`). To change a party's account, deactivate the existing instrument and then add the replacement.

Support for multiple instruments per identity is planned for a future release. For details, see [One financial instrument per identity](/products/payments-direct-2/v2026.03/introduction/concepts/financial-instruments#one-financial-instrument-per-identity).

## Before you begin

To follow these examples, you need:

- Base URL for the Payments Direct API (for example,` https://{base-url}`)
- A valid OAuth2 access token with scopes:
  - `participants:create` – create financial instruments
  - `participants:read` – list and get financial instruments
  - `participants:update` – update and deactivate financial instruments
- An existing `identityId` (created via the identities endpoints)


In all examples, replace:

- `{base-url}` with your PII base URL
- `<access_token>` with a valid access token
- `{identity-id} `and `{financial-instrument-id}` with real IDs from your environment


## Create a financial instrument

Use `POST /v3/identities/{identity-id}/financial-instruments` to create a financial instrument for an existing identity.

You must provide:

- `financialInstrumentType` – the rail, such as `US_ACH`, `MX_SPEI`,` BR_PIX`
- `currency` – ISO 4217 currency code (for example, `USD`, `MXN`, `BRL`)
- Exactly one rail-specific object (for example, `usAch`, `mxSpei`, `brPix`) with the required account details
- Optional metadata such as `label`


### Example: Create a US ACH bank account

```bash
curl -X POST "https://{base-url}/v3/identities/{identity-id}/financial-instruments" \
  -H "Authorization: Bearer <access_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "financialInstrumentType": "US_ACH",
    "currency": "USD",
    "label": "US bank account",
    "usAch": {
      "bankName": "Bank of Example",
      "bankRoutingNumber": "266231608",
      "accountNumber": "60480",
      "accountType": "CHECKING"
    }
  }'
```

### Response (201 Created)

```json
{
  "financialInstrumentId": "2f4ac57f-c5ba-4051-b51f-b3565778717b"
}
```

You’ll use this `financialInstrumentId` when:

- Getting the instrument by ID
- Updating or deactivating the instrument
- Referencing it in payment creation flows


### Example: Create an MX SPEI bank account

```bash
curl -X POST "https://{base-url}/v3/identities/{identity-id}/financial-instruments" \
  -H "Authorization: Bearer <access_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "financialInstrumentType": "MX_SPEI",
    "currency": "MXN",
    "label": "MXN SPEI account",
    "mxSpei": {
      "bankName": "Banco Ejemplo",
      "clabe": "032180000118359719"
    }
  }'
```

Send this request for a different identity from the one in the US ACH example. An identity holds one active financial instrument, so adding a second one fails with **422 Unprocessable Entity** (`USR_120`).

### Example: Create a Nigeria bank payout financial instrument

```bash
curl -X POST "https://{base-url}/v3/identities/{identity-id}/financial-instruments" \
  -H "Authorization: Bearer <access_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "financialInstrumentType": "NG_BANK_PAYOUT",
    "currency": "NGN",
    "label": "NGN bank account",
    "ngBankPayout": {
      "bankName": "Guaranty Trust Bank PLC",
      "bankCode": "RPL:NG:GTBINGLA:BNK",
      "accountNumber": "0123456789",
      "country": "NG"
    }
  }'
```

Bank Codes
The `bankCode` field requires a Ripple Bank Code (RBC), not the bank's own internal code. Use the [Bank Codes lookup](/products/payments-direct-2/v2026.03/api-docs/integration-resources/ripple-bank-codes) to find the correct RBC for the destination bank before creating the instrument.

Missing or invalid fields
If required fields are missing or invalid (for example, CLABE length or routing code format), the API returns **400 Bad Request** with details about the failing fields.

If the `identity-id` does not exist, the API returns **404 Not Found**.

### Identity validation and `validatePayoutRails`

When you create a financial instrument, the associated identity must have all required PII for the specified `financialInstrumentType`.

**If the identity was created with `validatePayoutRails`:**

- The identity's PII was already validated against the specified payment rails at identity creation time.
- Creating a financial instrument for a rail listed in `validatePayoutRails` succeeds immediately (assuming the identity has the required PII).
- Creating a financial instrument for a rail **not** listed in `validatePayoutRails` triggers validation at instrument creation time. If required PII is missing, the request fails with **400 Bad Request**.


**If the identity was created without `validatePayoutRails`:**

- The identity's PII is validated when you create the financial instrument.
- If required fields are missing for the specified `financialInstrumentType`, the request fails with **400 Bad Request** and details about which fields are missing.


**Example: Validation failure due to missing PII**

If you try to create a `US_ACH` financial instrument for an identity that's missing a field the rail requires, such as `address.postalCode`, the API returns:

```json
{
  "status": 400,
  "errors": [
    {
      "code": "USR_111",
      "title": "Invalid request",
      "type": "USER_ERROR",
      "description": "Validation error: [Identity field 'address.postalCode' is required for US_ACH corridor but is missing or empty]",
      "timestamp": "2026-03-10T09:20:00.000Z"
    }
  ]
}
```

To fix this, add the missing fields to the identity with `PUT /v3/identities/{identity-id}` (send the complete identity), and then retry creating the financial instrument.

Unsupported document types
Creating a financial instrument also validates the identity's document types against the instrument's corridor. Some corridors accept only a subset of the `idType` (individual) or `registration.type` (business) enum, so an instrument request can fail with **400 Bad Request** even when all required fields are present. For the accepted values per corridor and role, see [Accepted document types by corridor](/products/payments-direct-2/v2026.03/introduction/concepts/payment-identities#accepted-document-types-by-corridor).

Upfront validation
Using `validatePayoutRails` when creating identities helps catch PII issues early, before you attempt to create financial instruments. For details, see [Validating identities for specific payment rails](/products/payments-direct-2/v2026.03/introduction/concepts/payment-identities#validating-identities-for-specific-payment-rails).

## List financial instruments for an identity

Use `GET /v3/identities/{identity-id}/financial-instruments` to list financial instruments for an identity.

Query parameters:

- `version` – optional identity version. If omitted, the latest identity version is used.
- `limit` – maximum number of instruments to return (1–100, default 10).
- `next-token` – pagination token from a previous response.


### Example: List instruments for an identity

```bash
curl -X GET "https://{base-url}/v3/identities/{identity-id}/financial-instruments?limit=10" \
  -H "Authorization: Bearer <access_token>"
```

### Response (200 OK)

```json
{
  "data": [
    {
      "financialInstrumentId": "2f4ac57f-c5ba-4051-b51f-b3565778717b",
      "financialInstrumentType": "US_ACH",
      "currency": "USD",
      "label": "US bank account",
      "country": "US",
      "createdAt": "2025-10-01T18:46:47.430Z",
      "updatedAt": "2025-10-01T18:46:47.430Z"
    }
  ]
}
```

- Because an identity has one active financial instrument, the `data` array contains at most one entry. It is empty if the identity's instrument was deactivated and not replaced.
- Only metadata is returned; rail-specific objects (such as `usAch` or `mxSpei`) are not included.
- The `limit` and `next-token` parameters are accepted for consistency with the other list operations, but a single-instrument response is not paginated and does not return a `nextToken`.


If the identity or instruments are not found, the API returns **404 Not Found**.

## Get a financial instrument by ID

Use `GET /v3/identities/{identity-id}/financial-instruments/{financial-instrument-id}` to retrieve full details for a specific financial instrument, including the rail-specific object.

### Example: Get a US ACH financial instrument

```bash
curl -X GET "https://{base-url}/v3/identities/{identity-id}/financial-instruments/{financial-instrument-id}" \
  -H "Authorization: Bearer <access_token>"
```

### Response (200 OK)

```json
{
  "financialInstrument": {
    "country": "US",
    "financialInstrumentId": "7f2bac05-42a3-4b26-89fd-333396fdba70",
    "createdAt": "2025-10-01T18:46:47.430Z",
    "updatedAt": "2025-10-01T18:46:47.430Z",
    "usAch": {
      "bankName": "Bank of Example",
      "bankRoutingNumber": "266231608",
      "accountNumber": "60480",
      "accountType": "CHECKING"
    },
    "currency": "USD",
    "label": "US bank account",
    "financialInstrumentType": "US_ACH"
  }
}
```

Errors
If either the `identity-id` or `financial-instrument-id` is invalid or does not exist, the API returns **400** or **404** respectively.

## Update a financial instrument

Use `PUT /v3/identities/{identity-id}/financial-instruments/{financial-instrument-id}` to update editable fields of an existing financial instrument.

**You can:**

- Update metadata such as label.
- Update rail-specific details, such as account number or PIX key.


**You cannot change:**

- `financialInstrumentType`
- `currency`


The request has no fields for these two, so the instrument keeps its original values. The API ignores a `currency` field in the request body.

### Full replacement

The request replaces the instrument's label and rail-specific details:

- Include the rail-specific object (for example, `usAch`) with all its required fields in every request, even when you're changing only the label. Without it, the request fails with **400 Bad Request** (`USR_108`).
- Include `label` to keep it. If you omit `label`, the updated instrument has no label.


### Example: Update the label

```bash
curl -X PUT "https://{base-url}/v3/identities/{identity-id}/financial-instruments/{financial-instrument-id}" \
  -H "Authorization: Bearer <access_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "label": "US bank account (primary)",
    "usAch": {
      "bankName": "Bank of Example",
      "bankRoutingNumber": "266231608",
      "accountNumber": "60480",
      "accountType": "CHECKING"
    }
  }'
```

### Response (200 OK)

```json
{
  "financialInstrumentId": "7f2bac05-42a3-4b26-89fd-333396fdba70",
  "financialInstrumentType": "US_ACH",
  "currency": "USD",
  "label": "US bank account (primary)",
  "country": "US",
  "usAch": {
    "bankName": "Bank of Example",
    "bankRoutingNumber": "266231608",
    "accountNumber": "60480",
    "accountType": "CHECKING"
  },
  "createdAt": "2025-10-01T18:46:47.430Z",
  "updatedAt": "2025-10-02T09:15:10.000Z"
}
```

Response
The update response returns the **instrument entry** (metadata + timestamps) together with the rail-specific object (such as `usAch`).

### Example: Update rail-specific details (US ACH)

This request changes the account number and keeps the label.

```bash
curl -X PUT "https://{base-url}/v3/identities/{identity-id}/financial-instruments/{financial-instrument-id}" \
  -H "Authorization: Bearer <access_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "label": "US bank account (primary)",
    "usAch": {
      "bankName": "Bank of Example",
      "bankRoutingNumber": "266231608",
      "accountNumber": "987654321",
      "accountType": "CHECKING"
    }
  }'
```

Errors
If the update payload is invalid (for example, unsupported account type or invalid routing format), the API returns **400 Bad Request** with error details.

If the identity or instrument is not found, the API returns **404 Not Found**.

If the instrument's identity is deactivated, the API returns **409 Conflict** (`USR_115`).

## Deactivate a financial instrument

Use `DELETE /v3/identities/{identity-id}/financial-instruments/{financial-instrument-id}` to deactivate a financial instrument.

**Deactivation:**

- Is **permanent** for that instrument.
- Prevents the instrument from being used for **new payments**.
- Keeps historical usage and data for audit and reconciliation.


After deactivation, `GET` on the instrument returns **404 Not Found**, and the instrument no longer appears in the list of the identity's instruments. To read the instrument as it was, request an identity version from before the deactivation: `GET /v3/identities/{identity-id}/financial-instruments/{financial-instrument-id}?version={version}`.

Identity deactivation
Deactivating an identity (via the identities endpoints) doesn't change its financial instrument record. The instrument stays readable, but you can no longer update or deactivate it (**409 Conflict**, `USR_115`) or add a new one (**400 Bad Request**, `USR_111`).

### Example: Deactivate a financial instrument

```bash
curl -X DELETE "https://{base-url}/v3/identities/{identity-id}/financial-instruments/{financial-instrument-id}" \
  -H "Authorization: Bearer <access_token>"
```

### Response (204 No Content)

The following errors may occur:

- **400 Bad Request** – malformed identity or instrument ID.
- **404 Not Found** – the identity or instrument does not exist, or the instrument is already deactivated (`USR_112`).
- **409 Conflict** – the instrument's identity is deactivated (`USR_115`).
- **500 Internal Server Error** – unexpected server-side error.


## Error handling

All financial instrument endpoints use the standard error response schema: a top-level `status`, and an `errors` array whose entries each have:

- **code** – machine-readable error code
- **title** – short description
- **type** – error category, such as `USER_ERROR`
- **description** – detailed explanation and remediation hints
- **timestamp** – when the error occurred


Common scenarios:

- **400** – structural validation errors (missing required fields, pattern violations, invalid enum values).
- **404** – identity or financial instrument not found.
- **405** – the identity is an ORIGINATOR, and only BENEFICIARY identities can hold financial instruments (`USR_114`).
- **409** – conflicting state (for example, the instrument's identity is deactivated).
- **422** – the identity already has an active financial instrument (`USR_120`).
- **500** – internal processing error; if persistent, contact Ripple support.


Refer to the [Error handling reference](/products/payments-direct-2/v2026.03/api-docs/error-handling/api-errors) in the API docs for the complete list of error codes.

## Next steps

- To understand how instruments fit into the overall payout setup, see [Financial instruments](/products/payments-direct-2/v2026.03/introduction/concepts/financial-instruments) for payments.
- To review the KYC / PII model that instruments attach to, see [Payment identities](/products/payments-direct-2/v2026.03/introduction/concepts/payment-identities).
- To see how identities and financial instruments are used together when sending money, continue with the [Create a payment](/products/payments-direct-2/v2026.03/api-docs/developer-guides/create-a-payment) tutorial.