---
title: Bind the customer's on-chain transaction to this order
endpoint: POST /api/v3/orders/{id}/deposit-transaction
description: Nothing about this is direction-specific; only the legacy path said so.
---

`POST /api/v3/orders/{id}/deposit-transaction`

When a customer sends crypto themselves, this is how you tell us which transfer
belongs to which order. We then watch that transaction rather than trying to
match an arrival to an open order by amount and timing.

Bind it as soon as you have the transaction id. Until something names it, an
arrival has nothing to attribute it to, and attribution by amount alone is what
makes a sell sit unmatched.

> **Nothing here is direction-specific**
>
> The legacy path said sell in its URL, which suggested a rule that never existed.
> This endpoint binds a transaction to an order, whichever way the order runs.

A `400` means the transaction id itself did not parse, not that the transaction
is unknown to the chain.

## Parameters

| Field | Type | Required | Example | Description |
| --- | --- | --- | --- | --- |
| `id` | uuid (path) | required |  |  |

## Responses

| Status | Meaning |
| --- | --- |
| 200 | Bound. |
| 400 | Invalid transaction id. |
| 409 | The order already has a different transaction id, or the transaction id names a deposit that was not sent for this order: one we recorded before the order was created, or more than 10 minutes after it. Submit the transaction id of the deposit made for this order. |
| 503 | `maintenance` — full maintenance is on, and every endpoint refuses every request until it ends (`endsAt`, when it has an end). Nothing is wrong with the request and nothing was done; the same request is accepted afterwards. Told apart from any other 503 by `code`. |
