---
title: "Update an external wallet"
method: PATCH
path: "/v1/external-wallets/{id}"
tags: ["External Wallets"]
---

# Update an external wallet

`PATCH /v1/external-wallets/{id}`

## Path parameters

- `id` string, required

## Headers

- `X-API-Key` string

## Request body

- UpdateExternalWalletDto
  - `chains` string[] — Supported chains
  - `currencies` string[] — Supported currencies
  - `metadata` AccountMetadataDto
    - `nickname` string — Account nickname
    - `purpose` string — Account purpose
    - `tags` string[] — Account tags

## Response `200`

External wallet updated successfully

- ExternalWalletResponseDto
  - `id` string, required — Account ID
  - `customerId` string, required — Customer ID
  - `counterpartyId` string, nullable — Counterparty ID when this is a third-party recipient wallet
  - `type` 'EXTERNAL_WALLET', required — Account type
  - `status` 'IN_REVIEW' | 'ACTIVE' | 'CLOSED', required — Account status
  - `metadata` AccountMetadataDto
    - `nickname` string — Account nickname
    - `purpose` string — Account purpose
    - `tags` string[] — Account tags
  - `walletAddress` string, required — Wallet address
  - `addressType` 'EVM' | 'TRON' | 'BITCOIN' | 'SOLANA', required — Wallet address type
  - `chains` string[] — Supported blockchain chains
  - `currencies` array[], required
    - string[] — Supported currencies
  - `custodyType` 'SELF_HOSTED' | 'ANCHORAGE' | 'BINANCE' | 'BITGO' | 'CIRCLE' | 'COINBASE' | 'FIREBLOCKS' | 'GEMINI' | 'KRAKEN' | 'ROBINHOOD' | 'OTHER_EXCHANGE' — Wallet custody type used for provider custodian mapping.
  - `createdAt` string, date-time, required — Account creation date
  - `updatedAt` string, date-time, required — Account last update date
  - `created` boolean — Whether this account was newly created in this request or returned from an existing match

## Other responses

- `401` — Unauthorized - Invalid or missing authentication credentials

---

[API](https://skmtc.dev/infinite/apis/infinite-api.md) · [All operations](https://skmtc.dev/infinite/apis/infinite-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infinite/infinite-api/revisions/5426f2706725/schema)
