Skip to main content
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.
You can only adjust an uncaptured pre-authorisation.

API request

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"}'
ParameterLocationDescription
transactionIdURL pathID of the pre-authorised transaction to adjust
amountRequest bodyThe additional amount to add to the reserved total

Response

{
  "code": "BYRD200",
  "description": "Operation successfully completed",
  "transactionId": "c16ce479-319d-4e7b-a966-7735c34b2cc5",
  "amount": "15.00",
  "previousAmount": "10.00"
}
FieldDescription
codeBYRD200 = success
transactionIdID of the adjusted transaction
amountUpdated total reserved amount after the adjustment
previousAmountReserved amount before the adjustment