curl --request POST \
--url https://testapi.fractalpay.com/api/v1/preauth/update \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"merchant_key": "{{merchant_key}}",
"transaction_id": "txn_77c9a625a3",
"last_authorized_amount": "10.00",
"new_authorized_amount": "11.00",
"order_id": "5467"
}
'{
"result": true,
"message": "Amount Updated Successfully",
"data": {
"Status": "Approved",
"Account": "0043",
"Brand": "Visa",
"AuthCode": "",
"Authorized": "11.00",
"transaction_id": "txn_77c9a625a3",
"orderid": "5467"
}
}Preauthorizations
Update Pre-Authorization
Increases or decreases the authorized amount on an existing preauthorization. If new_authorized_amount is greater than last_authorized_amount, an incremental authorization is issued and a preauth.increment webhook fires. If new_authorized_amount is less, a partial reversal is issued and a preauth.decrement webhook fires. last_authorized_amount must match the current authorized amount on the record.
POST
/
preauth
/
update
curl --request POST \
--url https://testapi.fractalpay.com/api/v1/preauth/update \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"merchant_key": "{{merchant_key}}",
"transaction_id": "txn_77c9a625a3",
"last_authorized_amount": "10.00",
"new_authorized_amount": "11.00",
"order_id": "5467"
}
'{
"result": true,
"message": "Amount Updated Successfully",
"data": {
"Status": "Approved",
"Account": "0043",
"Brand": "Visa",
"AuthCode": "",
"Authorized": "11.00",
"transaction_id": "txn_77c9a625a3",
"orderid": "5467"
}
}Authorizations
Body
application/json