---
title: "Set an AML customer reference ID for an external wallet"
method: POST
path: "/external_wallets/{walletId}/set_customer_ref_id"
tags: ["External wallets"]
---

# Set an AML customer reference ID for an external wallet

`POST /external_wallets/{walletId}/set_customer_ref_id`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/external_wallets/{walletId}/set_customer_ref_id`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/external_wallets/:walletId/set_customer_ref_id/post.ts> (a function with typed inputs; its response is checked against the schema)

Sets an AML/KYT customer reference ID for the specific external wallet. External Wallet is a whitelisted address of a wallet that belongs to your users/counterparties. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

## Path parameters

- `walletId` string, required

## Headers

- `Idempotency-Key` string

## Request body

- SetCustomerRefIdRequest
  - `customerRefId` string: Customer reference ID

## Response `201`

OK

## Other responses

- `default`: Error Response

---

[API](https://skmtc.dev/fireblocks/apis/fireblocks-api.md) - [All operations](https://skmtc.dev/fireblocks/apis/fireblocks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireblocks/apis/fireblocks-api/revisions/4eba9965659a?raw)
