Skip to main content

Reverse Funds Transaction

The Reverse Funds Transaction API is used to create a reverse funds transaction.


Endpoint

Method: POST
URL: http://localhost:4041/rpc/VisaDirectService/Reverse


Request

Payload Parameters
ParameterTypeDescription
acquirerCountryCodeInteger (Mandatory)3-digit numeric country code for the BIN country under Visa Direct registration.
acquiringBinInteger (Mandatory)Bank Identification Number (BIN) under which Visa Direct is registered.
amountFloat (Mandatory)Total amount to be sent to the recipient.
businessApplicationIdString (Mandatory)Identifies the program's business application type for VisaNet transaction processing.
cardAcceptorObjectContains details of the card acceptor.
cardAcceptor.addressObjectAddress details of the card acceptor.
cardAcceptor.address.countryString (Mandatory)Country of the card acceptor (should match the original transaction).
cardAcceptor.address.countyString (Mandatory)County of the card acceptor.
cardAcceptor.address.stateString (Mandatory)State of the card acceptor.
cardAcceptor.address.zipCodeString (Mandatory)Zipcode of the card acceptor.
cardAcceptor.idCodeString (Mandatory)Unique identifier for the card acceptor.
cardAcceptor.nameString (Mandatory)Name of the card acceptor.
cardAcceptor.terminalIdString (Mandatory)Terminal identifier at the card acceptor location.
localTransactionDateTimeStringLocal transaction date and time.
retrievalReferenceNumberString (Mandatory)Used to tie together service calls related to a single financial transaction.
senderCurrencyCodeString (Mandatory)3-character currency code of the sender.
senderPrimaryAccountNumberString (Mandatory)Primary account number of the sender.
systemTraceAuditNumberInteger (Mandatory)Unique value used for each API method.
transactionIdentifierInteger (Mandatory)VisaNet reference number for the transaction.
senderCardExpiryDateString (Mandatory)Expiration date of the sender’s Visa account.
serviceProcessingTypeObjectContains processing type details.
serviceProcessingType.requestTypeStringReserved for future use.
settlementServiceIndicatorInteger (Mandatory)Flag enabling the originator to request a settlement service.
visaMerchantIdentifierStringVisa Merchant Identifier assigned by Visa.
programIdStringTenant ID for the bank.
endToEndIdStringUnique ID tracking transaction from end to end.
referenceNumberStringUnique reference number assigned to the transaction.

Sample Request

{
"amount": "124.02",
"pointOfServiceData": {
"panEntryMode": "90",
"posConditionCode": "00",
"motoECIIndicator": "0"
},
"cardAcceptor": {
"address": {
"country": "USA",
"zipCode": "94404",
"county": "San Mateo",
"state": "CA"
},
"idCode": "VMT200911026070",
"name": "Visa Inc. USA-Foster City",
"terminalId": "365539"
},
"transactionIdentifier": "159032109605920",
"acquirerCountryCode": "840",
"acquiringBin": "408999",
"senderCurrencyCode": "USD",
"retrievalReferenceNumber": "330000550013",
"systemsTraceAuditNumber": "452012",
"businessApplicationId": "AA",
"senderPrimaryAccountNumber": "4104920120500001",
"settlementServiceIndicator": "9",
"senderCardExpiryDate": "2023-10"
}

Sample Response

{
"actionCode": "00",
"responseCode": "V",
"transactionIdentifier": "134313546834208",
"transmissionDateTime": "2024-08-05T10:01:03.000Z",
"approvalCode": "98765X"
}