The PreAuth transaction processes a standard authorisation transaction to hold funds from the customer's card. Follow this with a Capture to complete the transaction.
End Point : /preauth
{
"siteid":"123456",
"txndate":"2023-02-01:16:13:20",
"terminalserialnumber":"6789654678",
"type":"preauth",
"amount":"60.00",
"refid":"89045432",
"wait":"y"
}
{
"siteid":"123456",
"terminalserialnumber":"6789654678",
"resultcode":"Approved",
"amount":"60.00",
"authcode":"abc1234",
"refid":"123456789876543212345",
"topuptoken":"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"expiry":"2023-02-08:04:13:20",
"cardtype":"Visa",
"last4":"0026",
"receipt":"Sample output",
"finalamount":"60.00",
"merchantreceipt":"Sample output"
}
- This transaction type will handle PreAuth CP and CNP. For CNP transactions, the Card number can be entered on the PED.
- The topuptoken returned in the response can be used to increase the amount authorized at a later time. Submit the value in the field topuptoken in a new PreAuth request and the new amount specified will be added to the total pre-authorized amount. This functionality is currently only limited to some Visa/Mastercard issuers. If the issuer doesn't support top ups, the transaction will decline.