Scenario 5: Reversal on Preauthorization Before Clearing (Visa)
A debit cardholder attempts to pump some gas. The pump gets a pre-authorization for $50 but a few seconds later reverses out the transaction because of a technical problem. The following are true:
- The initial available balance is $1000.
- The merchant validates the debit card with a PIN.
- The network is Visa Interlink.
- Transactions for this merchant type and amount are configured to expire after seven days.
Sequence of events
Events in the same step have the same timestamp.
- Visa sends an authorization request for –50.00.
- Galileo approves the request and places a 50.00 hold on the account. The available balance is now 950.00. Galileo sends the
BAUT: auth
event message. - Visa sends a reversal for 50.00.
- Galileo reverses out the 50.00 hold. The available balance is now 1000.00. Galileo sends an
AAAU: auth
event message. - After seven days, the authorization and its reversal expire. Galileo sends the
BEXP: auth_exp
andBEXR: auth_exp_reversal
event messages.
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 | Auth | 50.00 | 1166 | 0 | 1000 | 20210414:104131MST |
Reversal | Auth | 50.00 | 9933 | 1166 | 950 | 20210414:104458MST |
Authorization/Settlement Events
msg_id | type | amount | auth_id | original_auth_id | open_to_buy | timestamp |
---|---|---|---|---|---|---|
BAUT | auth | 50 | 1166 | 0 | 950 | 2021-04-14 10:41:31 MST |
AAAU | auth | 50 | 9933 | 1166 | 1000 | 2021-04-14 10:44:58 MST |
BEXR | auth_exp_reversal | 50 | 9933 | 1166 | 950 | 2021-04-22 06:01:12 MST |
BEXP | auth_exp | 50 | 1166 | 0 | 1000 | 2021-04-22 06:01:12 MST |
Authorized Transactions RDF
TRANSACTION AMOUNT | AUTHORIZATION CODE | TRANSACTION CODE | REVERSAL ID | TRANSACTION DATE/TIME |
---|---|---|---|---|
50.00- | 1166 | 5 | 0 | 2021-04-14 10:41:31 |
50.00+ | 9933 | 5 | 1166 | 2021-04-14 10:44:58 |
Posted Transactions RDF
The transaction does not appear in this RDF.
Get Authorization History response
This endpoint returns only transactions that have not settled or expired. These transactions are also returned by Get Account Overview. In this table both the authorization and reversal are shown; however, in Production you would get only the most recent transaction.
amt | auth_id | original_auth_id | type | local_amt | timestamp |
---|---|---|---|---|---|
-50 | 1166 | 0 | A | 000000005000 | 2021-04-14 10:41:31 |
50 | 9933 | 1166 | R | 000000005000 | 2021-04-14 10:44:58 |
Get Transaction History response
The transactions are not returned by this endpoint.
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 |
---|---|---|---|---|---|---|---|---|
-50 | 2233 | 0 | VIA | 1166 | 950 | N | 2021-04-14 10:41:31 | 2021-04-14 10:41:31 |
50 | 990 | 2233 | VIR | 9933 | 1000 | N | 2021-04-14 10:44:58 | 2021-04-14 10:44:58 |
-50 | None | None | VXR | 1166 | 950 | None | None | 2021-04-22 06:01:12 |
50 | None | None | VXA | 9933 | 1000 | None | None | 2021-04-22 06:01:12 |