---
title: "Attribute a deposit"
method: PATCH
path: "/deposit-attributions/{depositTransactionId}"
tags: ["Deposit Attribution"]
---

# Attribute a deposit

`PATCH /deposit-attributions/{depositTransactionId}`

Permissions required: **Deposit Attribution**.


Attribute a deposit by providing information about the originator.


Only attributions in `PENDING` status can be attributed.


Once the attribution is successfully performed the attribution status moves from `PENDING` to `UNDER_REVIEW`.


For attributions performed via API the attributionType will always be `CLIENT_API`.

## Path parameters

- `depositTransactionId` string, required

## Headers

- `Api-Signature` string, required
- `Api-Timestamp` integer, required

## Request body

- PerformDepositAttributionRequest
  - `notes` string — Additional notes for the deposit attribution.
  - `originatorCountry` string, required — The country code ([ISO 3166-1 alpha-2](https://www.iso.org/iso-3166-country-codes.html)) of the originator of this deposit. This field is required in order to perform an attribution.
  - `originatorName` string, required — The name of the originator of this deposit. This field is required in order to perform an attribution.
  - `sourceWalletType` 'CUSTODIAL' | 'SELF_HOSTED', required — The type of wallet being used by the deposit originator: * `CUSTODIAL` - The wallet owner does not have complete control over the wallet as they do not have the private key; a third party does. This key is needed to conduct transfers. Examples of custodial wallets include: Binance, Coinbase, Kraken, and Bitgo. * `SELF_HOSTED` - The wallet owner has complete control over the wallet as they have the private key. Examples of self-hosted wallets include: Metamask, Trust Wallet, Ledger Nano X, Trezor One, Electrum, Exodus, and Phantom. This field is required in order to perform an attribution.

## Response `200`

Deposit attributed successfully

- PerformDepositAttributionResponse
  - `data` object
    - `depositTransactionId` string — The transactionId where the transactionType is `DEPOSIT`.
    - `status` 'UNDER_REVIEW' — The confirmation status once the attribution is performed.

## Other responses

- `400` — BadRequest
- `401` — Unauthenticated
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/anchorage/apis/anchorage-digital-api-reference.md) · [All operations](https://skmtc.net/anchorage/apis/anchorage-digital-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/anchorage/anchorage-digital-api-reference/versions/166864b1ec6d/schema)
