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

# Attribute a deposit as spam

`POST /deposit-attributions/{depositTransactionId}/spam`

Permissions required: **Deposit Attribution**.


Attribute a deposit as spam.


Only attributions in `PENDING` status can be attributed.


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


For any spam attribution performed via API, the attributionType will automatically be set to `SPAM` and the deposit's funds will cease to be available.

## Path parameters

- `depositTransactionId` string, required

## Headers

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

## Request body

- object, nullable

## Response `200`

Successfully attributed a deposit as spam

- 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)
