> For the complete documentation index, see [llms.txt](https://docs.50spays.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.50spays.com/ko/orders/order-info.md). Agents can also search and read this documentation through its [MCP server](https://docs.50spays.com/~gitbook/mcp).

# Info

## Order Information

<mark style="color:green;">`POST`</mark> /api/merchant/order

This method returns detailed information about a specific merchant order.

**Request Body**

<table><thead><tr><th width="263">Name</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>orderUid</td><td>string <mark style="color:$danger;"><strong>(required </strong></mark><sub><mark style="color:$danger;"><strong>if not set</strong></mark></sub> <sub><mark style="color:$danger;">merchantOrderId</mark></sub><mark style="color:$danger;"><strong>)</strong></mark></td><td>Order UID in our system</td></tr><tr><td>merchantOrderId</td><td>string <mark style="color:$danger;"><strong>(required </strong></mark><sub><mark style="color:$danger;"><strong>if not set</strong></mark></sub> <sub><mark style="color:$danger;">orderUid</mark></sub><mark style="color:$danger;"><strong>)</strong></mark></td><td>Merchant order ID</td></tr><tr><td></td><td></td><td></td></tr></tbody></table>

**Example Request Body**

```json
{
    "orderUid": "c8c45f60-9ba6-4e2c-b7ca-59225f24f0a6"
}
or
{
    "merchantOrderId": "412233"
}
```

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
    "ok": true,
    "order": {
        "orderUid": "c8c45f60-9ba6-4e2c-b7ca-59225f24f0a6",
        "createdAt": 1738187600,
        "action": "payIn",
        "paymentType": "p2p",
        "paymentMethod": "card",
        "merchantOrderId": "36",
        "expireAt": 1741949782,
        "status": "paid",
        "currencyIdRequested": "RUB",
        "amountRequested": 5000,
        "currencyIdPaid": "RUB",
        "amountPaid": 5000,
        "amountPaidAfterFee": 4500,
        "fee": 500,
        "currencyIdPaidFinal": "USDT",
        "amountPaidFinal": 55.556,
        "amountPaidFinalAfterFee": 50,
        "feeFinal": 5.556,
        "accountName": "Vasiliy Gulnur Gulnurovich",
        "accountNumber": "1111222233334444",
        "bankName": "Alfa-Bank"
    }
}
```

| Name                    | Type    | Description                                                                                                                                                                                   |
| ----------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| orderUid                | string  | Order UID in our system                                                                                                                                                                       |
| createdAt               | integer | Order creation time (Unix timestamp)                                                                                                                                                          |
| action                  | string  | <p>Order action:<br><code>payIn, payOut</code></p>                                                                                                                                            |
| paymentType             | string  | <p>Payment type:<br><code>p2p, ecom</code></p>                                                                                                                                                |
| paymentMethod           | string  | <p>Payment method:<br><strong><code>card, card\_transgran, sbp, sbp\_transgran</code></strong></p>                                                                                            |
| merchantOrderId         | string  | Unique order ID in the merchant’s system                                                                                                                                                      |
| expireAt                | integer | Order expiration time (Unix timestamp)                                                                                                                                                        |
| status                  | string  | <p>Order status:<br><code>wait\_payment, paid, failed, error</code></p>                                                                                                                       |
| currencyIdRequested     | string  | <p>Requested currency:<br><code>RUB, USD, EUR, UAH...</code></p>                                                                                                                              |
| amountRequested         | number  | Amount the customer should send                                                                                                                                                               |
| currencyIdPaid          | string  | <p>Currency used for payment:<br><code>RUB, USD, EUR, UAH...</code></p>                                                                                                                       |
| amountPaid              | number  | Amount sent by the customer                                                                                                                                                                   |
| amountPaidAfterFee      | number  | Amount after service fee                                                                                                                                                                      |
| fee                     | number  | Service fee                                                                                                                                                                                   |
| currencyIdPaidFinal     | string  | <p><a data-footnote-ref href="#user-content-fn-1">Final currency that will be credited to the merchant’s balance:<br><code>RUB, USD, EUR, UAH...</code></a></p>                               |
| amountPaidFinal         | number  | Final amount in the final currency                                                                                                                                                            |
| amountPaidFinalAfterFee | number  | Final amount after fee, credited to merchant’s balance in final currency                                                                                                                      |
| feeFinal                | number  | Service fee in the final currency                                                                                                                                                             |
| exchangeRate            | number  | <p>Exchange rate used to convert the paid currency into the final settlement currency.<br>The field may be null or omitted if both currencies are the same and no conversion is required.</p> |
| accountNumber           | string  | Account to which the customer must send funds                                                                                                                                                 |
| accountName             | string  | Account holder’s name                                                                                                                                                                         |
| bankName                | string  | Name of the bank to which the payment should be made                                                                                                                                          |
| {% endtab %}            |         |                                                                                                                                                                                               |

{% tab title="4xx/5xx Errors" %}

```json
{
    "ok": false,
    "code": 402,
    "message": "human readable error message"
}
```

[**All Error Codes**](https://docs.50spays.com/ko/reference/error-codes.md)
{% endtab %}
{% endtabs %}

[^1]: We have trader teams that convert the payment currency to USDT at the moment of payment, in which case the merchant’s balance will be credited in USDT.

    There are also teams that perform the conversion to USDT at the moment of settlement.

    Depending on which team is assigned to you, your merchant balance will be credited either in the original payment currency or directly in USDT.


---

# 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.50spays.com/ko/orders/order-info.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.
