Scenario 2: Preauthorization with Completion

<< Back to the index

A debit cardholder goes to a gas station and pumps $30 worth of gasoline. The issuer has configured an upcharge of $75 for gas pumps (MCC 5542).

The following are true:

  • The original available balance is $1000.
  • The gas pump uses a PIN to validate the debit card.
  • The network is Visa Interlink.

Sequence of events

Events in the same step have the same timestamp.

  1. Visa sends a preauthorization request for –1.00.
  2. Galileo replaces the 1.00 request with a 75.00 upcharge, approves the request and puts a 75.00 hold on the account. The available balance is now 925.00. Galileo sends a BAUT: auth webhook.
  3. When the gas has been pumped, the pump sends a completion for –30.00.
  4. Galileo backs out the 75.00 hold and replaces it with a 30.00 hold. The available balance is now 970.00. Galileo sends an AAAU: auth webhook.
  5. Visa sends a batch file with the –30.00 transaction.
  6. Galileo backs out the 30.00 hold and posts –30.00 to the account. The available balance is still 970.00. Galileo sends a SETL: setl webhook.

Transactions

These tables show how the transactions are represented by various Galileo systems. For an explanation of the trans_code field, see Classifying transactions in the About Transactions guide.

Auth API

auth_typetransaction_typetrans_amountauth_idoriginal_idavailable_fundstimestamp
AuthPreauth75.00555501000.0020210413:183718MST
AdviceAuth30.0077225555925.0020210413:183936MST

Authorization/Settlement Events webhooks

msg_idtypeamountauth_idoriginal_auth_idopen_to_buytimestamp
BAUTauth75555509252021-04-13 18:37:18 MST
AAAUauth30772255559702021-04-13 18:39:36 MST
SETLsetl30772255559702021-04-14 15:11:02 MST

Authorized Transactions RDF

TRANSACTION AMOUNTAUTHORIZATION CODETRANSACTION CODEREVERSAL IDTRANSACTION DATE/TIME
75.00-5555502021-04-13 18:37:18
30.00-7722555552021-04-13 18:39:36

Posted Transactions RDF

TRANSACTION AMOUNTAUTHORIZATION CODETRANSACTION CODE/TYPESOURCE IDTRANSACTION DATE/TIMEPOST DATE
30.00-7722ISC77222021-04-13 18:39:362021-04-14 15:11:02

Get Authorization History response

This endpoint returns only transactions that have not settled, expired or completed. These transactions are also returned by Get Account Overview. This example shows both the authorization and completion; however, in Production you would get only the most recent transaction.

amtauth_idoriginal_auth_idtypelocal_amttimestamp
-7555550A0000000001002021-04-13 18:37:18
-3077225555C0000000030002021-04-13 18:39:36

Get Transaction History response

This endpoint returns only settled transactions. These transactions are also returned by Get Account Overview.

amtsource_idoriginal_auth_idtrans_codeauth_tspost_ts
-3077225555ISC2021-04-13 18:37:182021-04-14 15:11:02

Get All Transaction History response

This endpoint returns the same transactions as the All Transactions screen of the CST.

amtauth_idprior_idtrans_codesource_idcalculated_balancecredit_indauth_tspost_ts
-75.0055550VIL5555925.00N2021-04-13 18:37:182021-04-13 18:37:18
75.00NoneNonePVPV55551000.00NoneNone2021-04-13 18:39:35
-30.0077225555VIC7722970.00N2021-04-13 18:37:182021-04-13 18:39:36
30.0077225555BVC77221000.00N2021-04-13 18:37:182021-04-14 15:11:02
-30.0077225555ISC7722970.00N2021-04-13 18:37:182021-04-14 15:11:02