> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paybyrd.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Adjust

Adjust increases the reserved amount of a pre-authorisation. Use it when the final order amount grows after the initial pre-auth — for example, when a customer adds items or extends a rental period.

> [!TIP]
>
> You can only adjust an uncaptured pre-authorisation.

## API request

```bash Request theme={null}
curl --request POST \
  --url https://gateway.paybyrd.com/api/v2/adjust/{transactionId} \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: {your_api_key}' \
  --data '{"amount": "5.00"}'
```

```json Response theme={null}
{
  "code": "BYRD200",
  "description": "Operation successfully completed",
  "transactionId": "c16ce479-319d-4e7b-a966-7735c34b2cc5",
  "amount": "15.00",
  "previousAmount": "10.00"
}
```

| Parameter | Location | Description |
| - | - | - |
| `transactionId` | URL path | ID of the pre-authorised transaction to adjust |
| `amount` | Request body | The **additional** amount to add to the reserved total |

| Field | Description |
| - | - |
| `code` | `BYRD200` = success |
| `transactionId` | ID of the adjusted transaction |
| `amount` | Updated total reserved amount after the adjustment |
| `previousAmount` | Reserved amount before the adjustment |

See the [full API reference](https://docs.paybyrd.com/api-reference/transactions/adjust-amount) for all request parameters and response fields.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.