Scenario 6: Refund After Clearing (Visa)

<< Back to the index

A debit cardholder purchases several items at a home-improvement store for $150. The next day, the cardholder returns one $40 item to the store. The merchant accepts the return and refunds $40 to the cardholder on the card that was used to make the purchase. The following are true:

  • The initial available balance is $1000.
  • The merchant validates the debit card with a PIN.
  • The network is Visa Interlink.
  • The cardholder returned the item after the transaction cleared.

Sequence of events

Events in the same step have the same timestamp.

  1. Visa sends an authorization request for –150.00.
  2. Galileo approves the request and places a 150.00 hold on the account. The available balance is now 850.00. Galileo sends the BAUT: auth webhook.
  3. Visa sends a batch file that contains the –150.00 transaction.
  4. Galileo backs out the 150.00 hold and posts –150.00 to the account. The available balance is still 850.00. Galileo sends a SETL: setl webhook.
  5. Visa sends a merchant credit authorization request for 40.00.
  6. Galileo approves the request but does not credit the account yet. The available balance is still 850.00.
  7. Visa sends a batch file that contains the 40.00 credit. Galileo creates authorization and backout entries for the ledger and credits 40.00 to the account. The available balance is now 890.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
AuthAuth150.0077880100020210411:115310MST
AuthMerchant Credit40.009944085020210412:145448MST

Authorization/Settlement Events webhooks

msg_idtypeamountauth_idoriginal_auth_idopen_to_buytimestamp
BAUTauth150778808502021-04-11 11:53:10 MST
SETLsetl150778808502021-04-12 13:46:02 MST
SETLsetl40994408902021-04-12 14:54:48 MST

Authorized Transactions RDF

TRANSACTION AMOUNTAUTHORIZATION CODETRANSACTION CODEREVERSAL IDTRANSACTION DATE/TIME
150.00-7788502021-04-11 11:53:10
40.00+9944602021-04-12 14:54:48

Posted Transactions RDF

TRANSACTION AMOUNTAUTHORIZATION CODETRANSACTION CODE/TYPESOURCE IDTRANSACTION DATE/TIMEPOST DATE
150.00-7788ISA77882021-04-11 11:53:102021-04-12 13:46:02
40.00+9944ISZ99442021-04-12 14:54:482021-04-13 14:10:39

Get Authorization History response

This endpoint returns only transactions that have not settled or expired. These transactions are also returned by Get Account Overview.

amtauth_idoriginal_auth_idtypelocal_amttimestamp
-15077880A0000000150002021-04-11 11:53:10

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
-15077880ISA2021-04-11 11:53:102021-04-12 13:46:02
4099440ISZ2021-04-12 14:54:482021-04-13 14:10:39

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
-15077880VIA7788850N2021-04-11 11:53:102021-04-11 11:53:10
15077880BVA77881000NNone2021-04-12 13:46:02
-15077880ISA7788850N2021-04-11 11:53:102021-04-12 13:46:02
4099440VIZ9944890N2021-04-12 14:54:482021-04-13 14:10:39
-4099440BVZ9944850NNone2021-04-13 14:10:39
4099440ISZ9944890N2021-04-12 14:54:482021-04-13 14:10:39