> For the complete documentation index, see [llms.txt](https://piqpay.gitbook.io/merchant-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://piqpay.gitbook.io/merchant-integration/other-api-requests/order-adjustment.md).

# Order adjustment

You can send an API POST request to change order details if a client has transferred an incorrect amount (more or less than specified in the order), transferred funds to an incorrect bank account, or transferred funds to a different bank. Using this API request, you can also attach a receipt to the order.

**Request field descriptions**

**requisites** (array) - the changed payment details the client transferred to:

instruction - PHONE or CARD\_NUMBER,

value - the changed payment details themselves;

if the payment details have not changed, enter null in the field;

**amount** (object) - the changed amount the client transferred:

minorAmount - the changed amount,

currency - the transfer currency;

if the amount has not changed, enter null in the field;

**receipt** (object) - receipt details:

data - receipt in base64 format,

contentType - application/pdf or image/jpg,

name - receipt file name.

\
**Example request to change order details**

{% code overflow="wrap" %}

```json
POST https://eha.piqpay.codes/v1/orders/<order_id>/adjust
Authorization: Bearer ${secretKey}

{
    "requisites": null,
    "amount": {
        "minorAmount": 50000,
        "currency": "BDT"
    },
    "receipt": {
        "data":"MTIz",
        "contentType":"image/jpg",
        "name":"receipt"
    }
}
```

{% endcode %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://piqpay.gitbook.io/merchant-integration/other-api-requests/order-adjustment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
