> For the complete documentation index, see [llms.txt](https://docs.synfutures.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.synfutures.com/rwa-trading-apis/cash-operations/operation-status.md).

# Operation Status

Shared fields for deposit and withdrawal detail responses.

Cash operations can be instant or queued depending on Cashier buffers. See [buffer-mechanism.md](/rwa-trading-apis/cash-operations/buffer-mechanism.md) for the buffer mechanism explanation.

## Response shape

`TradingCashOperationDetailRespDto`:

| Field                 | Type          | Description                |
| --------------------- | ------------- | -------------------------- |
| `mappingStatus`       | string / null | TX mapping status.         |
| `operationStatus`     | string / null | On-chain operation status. |
| `mapping`             | object        | Mapping record.            |
| `depositOperation`    | object / null | Deposit details.           |
| `withdrawalOperation` | object / null | Withdrawal details.        |

## depositOperation fields

| Field          | Type          | Description                                 |
| -------------- | ------------- | ------------------------------------------- |
| `operationId`  | string        | Deposit operation ID.                       |
| `userAddress`  | string        | User address.                               |
| `tokenAddress` | string        | Token address.                              |
| `status`       | string        | Operation status.                           |
| `isInstant`    | boolean       | Whether the operation used instant buffers. |
| `amount`       | number        | Token amount.                               |
| `creditAmount` | number        | `mUSD` amount.                              |
| `feeAmount`    | number        | Fee amount.                                 |
| `createTxHash` | string        | Creation tx.                                |
| `settleTxHash` | string / null | Settlement tx.                              |

## withdrawalOperation fields

| Field                | Type          | Description                                  |
| -------------------- | ------------- | -------------------------------------------- |
| `operationId`        | string        | Withdrawal operation ID.                     |
| `userAddress`        | string        | User address.                                |
| `tokenAddress`       | string        | Token address.                               |
| `status`             | string        | Operation status.                            |
| `isInstant`          | boolean       | Whether the operation used instant buffers.  |
| `creditAmount`       | number        | `mUSD` amount deducted.                      |
| `amount`             | number        | Token amount to pay out.                     |
| `feeAmount`          | number        | Fee amount.                                  |
| `failedPayoutAmount` | number / null | Token amount that failed to pay out, if any. |
| `createTxHash`       | string        | Creation tx.                                 |
| `settleTxHash`       | string / null | Settlement tx.                               |

`isInstant` indicates whether the operation used Cashier buffers. Queued operations can remain `processing` until final cash settlement completes.

## Status enums

| operationStatus | Description |
| --------------- | ----------- |
| `requested`     | Requested.  |
| `processing`    | Processing. |
| `settled`       | Settled.    |
| `closed`        | Closed.     |

`mappingStatus` reuses order mapping statuses — see [reference/enums.md](/rwa-trading-apis/reference/enums.md).

## Query endpoints

| Operation | List                           | Detail                                       |
| --------- | ------------------------------ | -------------------------------------------- |
| Deposit   | `GET /api/v1/cash/deposits`    | `GET /api/v1/cash/deposits/{operationId}`    |
| Withdraw  | `GET /api/v1/cash/withdrawals` | `GET /api/v1/cash/withdrawals/{operationId}` |

After self-submit, poll by `operationId` once the indexer backfills it from `txHash`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.synfutures.com/rwa-trading-apis/cash-operations/operation-status.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
