Pre-authorize Funds
PlannedReserve funds now, capture them later.
/v1/terminal/pre-authRequest body
application/json
typeenumRequiredTransaction type.
SALEPRE_AUTHPRE_AUTH_COMPLETEREFUNDVOIDCARD_READBALANCE_INQUIRYamountintegerRequiredTransaction amount in minor units. For a $25.00 NZD transaction, send 2500. Use 0 for card-read and balance-inquiry.
currencystringRequiredISO 4217 currency code.
cashbackAmountintegerCashback amount in minor units (sale transactions only).
entryModeenumCard entry mode preference. AUTO lets the terminal accept any method.
CONTACTLESSCONTACTAUTOreferenceIdstringPOS-assigned reference identifier for this transaction (max 64 chars).
originalTransactionIdstringRequired for refund, void, and pre-auth completion. The transactionId of the original transaction being referenced.
tipAmountintegerTip amount in minor units.
metadataobjectArbitrary string key-value metadata attached to the transaction. Echoed in the response and available in reconciliation exports. Max 20 keys, 256 chars per value.
Response
application/json
transactionIdstringRequiredUnique identifier for this transaction.
statusenumRequiredTerminal or in-flight state of the transaction.
APPROVEDDECLINEDCANCELLEDERRORREVERSEDPENDING_ONLINEPENDING_COMPLETIONtypeenumRequiredTransaction type (echoed from the request).
SALEPRE_AUTHPRE_AUTH_COMPLETEREFUNDVOIDCARD_READBALANCE_INQUIRYamountintegerRequiredTransaction amount in minor units.
currencystringRequiredISO 4217 currency code.
tipAmountintegerTip amount in minor units.
authorizationCodestringAuthorization code from the issuer.
responseCodestringISO 8583 response code. "00" = approved.
cardSchemeenumCard scheme / network.
VISAMASTERCARDAMEXDISCOVERJCBUNIONPAYEFTPOSOTHERmaskedPanstringMasked primary account number. Only the last 4 digits are visible; all other positions are replaced with asterisks.
entryModeenumActual card entry mode used.
CONTACTLESSCONTACTMAGSTRIPEMANUALaidstringEMV Application Identifier (AID) hex string.
applicationLabelstringEMV application label.
cryptogramTypeenumType of cryptogram generated by the card. TC = Transaction Certificate (offline approved), ARQC = online auth required, AAC = declined.
TCARQCAACtvrstringTerminal Verification Results (10-character hex).
cvmResultenumCardholder Verification Method used.
PINSIGNATURECDCVMNO_CVMFAILEDreferenceIdstringPOS-assigned reference identifier (echoed).
rrnstringRetrieval Reference Number.
timestampstring · ISO 8601RequiredTransaction timestamp (ISO 8601).
receiptDataobjectStructured receipt data for rendering cardholder and merchant receipts. See the Receipt Requirements page for rendering rules.
chipDataobjectEMV chip data for POS-side acquirer routing. Only populated in granular mode (status = PENDING_ONLINE).
metadataobjectArbitrary key-value metadata echoed from the request.
createPreAuth