Scenario 2: Preauthorization with Completion
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.
- Visa sends a preauthorization request for –1.00.
- 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
event message. - When the gas has been pumped, the pump sends a completion for –30.00.
- 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
event message. - Visa sends a batch file with the –30.00 transaction.
- 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
event message.
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_type | transaction_type | trans_amount | auth_id | original_id | available_funds | timestamp |
---|---|---|---|---|---|---|
Auth | Preauth | 75.00 | 5555 | 0 | 1000.00 | 20210413:183718MST |
Advice | Auth | 30.00 | 7722 | 5555 | 925.00 | 20210413:183936MST |
Authorization/Settlement Events
msg_id | type | amount | auth_id | original_auth_id | open_to_buy | timestamp |
---|---|---|---|---|---|---|
BAUT | auth | 75 | 5555 | 0 | 925 | 2021-04-13 18:37:18 MST |
AAAU | auth | 30 | 7722 | 5555 | 970 | 2021-04-13 18:39:36 MST |
SETL | setl | 30 | 7722 | 5555 | 970 | 2021-04-14 15:11:02 MST |
Authorized Transactions RDF
TRANSACTION AMOUNT | AUTHORIZATION CODE | TRANSACTION CODE | REVERSAL ID | TRANSACTION DATE/TIME |
---|---|---|---|---|
75.00- | 5555 | 5 | 0 | 2021-04-13 18:37:18 |
30.00- | 7722 | 5 | 5555 | 2021-04-13 18:39:36 |
Posted Transactions RDF
TRANSACTION AMOUNT | AUTHORIZATION CODE | TRANSACTION CODE/TYPE | SOURCE ID | TRANSACTION DATE/TIME | POST DATE |
---|---|---|---|---|---|
30.00- | 7722 | ISC | 7722 | 2021-04-13 18:39:36 | 2021-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.
amt | auth_id | original_auth_id | type | local_amt | timestamp |
---|---|---|---|---|---|
-75 | 5555 | 0 | A | 000000000100 | 2021-04-13 18:37:18 |
-30 | 7722 | 5555 | C | 000000003000 | 2021-04-13 18:39:36 |
Get Transaction History response
This endpoint returns only settled transactions. These transactions are also returned by Get Account Overview.
amt | source_id | original_auth_id | trans_code | auth_ts | post_ts |
---|---|---|---|---|---|
-30 | 7722 | 5555 | ISC | 2021-04-13 18:37:18 | 2021-04-14 15:11:02 |
Get All Transaction History response
This endpoint returns the same transactions as the All Transactions screen of the CST.
amt | auth_id | prior_id | trans_code | source_id | calculated_balance | credit_ind | auth_ts | post_ts |
---|---|---|---|---|---|---|---|---|
-75.00 | 5555 | 0 | VIL | 5555 | 925.00 | N | 2021-04-13 18:37:18 | 2021-04-13 18:37:18 |
75.00 | None | None | PVPV | 5555 | 1000.00 | None | None | 2021-04-13 18:39:35 |
-30.00 | 7722 | 5555 | VIC | 7722 | 970.00 | N | 2021-04-13 18:37:18 | 2021-04-13 18:39:36 |
30.00 | 7722 | 5555 | BVC | 7722 | 1000.00 | N | 2021-04-13 18:37:18 | 2021-04-14 15:11:02 |
-30.00 | 7722 | 5555 | ISC | 7722 | 970.00 | N | 2021-04-13 18:37:18 | 2021-04-14 15:11:02 |