---
title: "Claim a treasury payment (Robinhood Chain)"
method: POST
path: "/api/v1/deposits/claim"
tags: ["Deposits"]
---

# Claim a treasury payment (Robinhood Chain)

`POST /api/v1/deposits/claim`

## Request

- Base URL: `https://spoofy.social`
- URL: `https://spoofy.social/api/v1/deposits/claim`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `better-auth.session_token`

Robinhood Chain only, when a treasury is set (`treasury` on its method): after paying the treasury, send the transaction hash; it is verified on chain and credited. Paying your own deposit address needs no claim — prefer it (and `POST /deposits/check` to see it now).

## Request body

- object
  - `txHash` string, required

## Response `200`

Credited.

- object
  - `deposit` Deposit
    - `id` string
    - `asset` string
    - `amount` string: In the coin, as it arrived.
    - `value` string: Value at deposit time. USD as a decimal string.
    - `credit` string: Added to the balance. USD as a decimal string.
    - `txHash` string: Transaction hash (EVM) or signature (Solana).
    - `status` 'seen' | 'credited': seen = received, waiting for confirmations or the minimum; credited = in the balance.
    - `createdAt` string, date-time
    - `creditedAt` string, date-time, nullable
    - `network` object
      - `key` string
      - `name` string
    - `explorerUrl` string: The transaction on the network’s explorer.

## Other responses

- `400`: The request is not valid. `error.message` says why.
- `401`: No valid API key or session.
- `413`: The request body is too big (uploads up to 4 MB, everything else up to 64 KB).
- `429`: Slow down: too many requests in a short time. Wait `Retry-After` seconds and carry on.

---

[API](https://skmtc.dev/spoofy/apis/spoofy-api.md) · [All operations](https://skmtc.dev/spoofy/apis/spoofy-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spoofy/apis/spoofy-api/revisions/58adc986f826?raw)
