# Approve a manual amendment (/docs/api-reference/hotel-manual-amendments/approve-manual-amendment)

`POST /v1/order-items/{id}/manual-amendments/{amendmentId}/approve`

Approves the quoted price of a manual amendment and settles it from your wallet.

Requires an `Idempotency-Key` header (a UUID). Only a `Quoted` request can be approved: show the
quoted `amountToPay` or `amountToRefund` first. On approval `amountToPay` is debited and the
request becomes `PartnerApproved`; `amountToRefund` is credited only after the change is confirmed.
The body is optional; `walletId` picks the wallet to settle from. Returns `{ amendmentId }`.
            
Errors: 400 / 21103 when the request is not `Quoted`; 400 / 21107 when the wallet balance is too low
(the request stays `Quoted`; top up and approve again); 400 / 21106 when changing the wallet while an
approval is in progress; 21105 or 21108–21112 for settlement and concurrency failures (reload the request
and contact support before retrying a 21108).
            
The same key and body after the approval finished returns `{ amendmentId }` again and approves and charges
nothing again. While it is still running the key gives 409 / 12002 with `Retry-After`, and with a
different body 409 / 12001.

## Parameters

| Name | In | Required | Type | Description |
|---|---|---|---|---|
| `id` | path | yes | `string` | The hotel order item's `id`, from `items[].id` of the order. |
| `amendmentId` | path | yes | `string` | The `amendmentId` returned when the request was created. |
| `Idempotency-Key` | header | yes | `string` | UUID idempotency key for safe retries of this operation. |

## Request body

- `application/json`: `ManualAmendmentApproveRequest`
- `text/json`: `ManualAmendmentApproveRequest`
- `application/*+json`: `ManualAmendmentApproveRequest`

## Responses

### 200

OK

- `text/plain`: `ManualAmendmentResult`
- `application/json`: `ManualAmendmentResult`
- `text/json`: `ManualAmendmentResult`

### 400

Invalid partner request or model validation failure.

- `application/json`: `ErrorResponse`

### 409

The idempotency key: a request with this key is still running (12002): send the same request, key and body again after Retry-After seconds; or it was used for a different request (12001). A finished request sent again with the same key and body returns 200 with the result of the first call, rebuilt from the record that call created as it reads now: nothing runs again, and a status that has moved on since shows its current value.

- `application/json`: `ErrorResponse`

### 429

Too many requests from this IP address. Wait for Retry-After seconds, then send the same request again; an order keeps its Idempotency-Key and body.

- `application/json`: `ErrorResponse`

### 503

Idempotency state is temporarily unavailable; retry the same request and key.

- `application/json`: `ErrorResponse`

The full schemas are in the OpenAPI specification at /openapi.json.