I want to transfer money from one card to another using push & pull fund transfer api , please guide

priya2302
Regular Visitor

I want to transfer money from one card to another using push & pull fund transfer api , please guide

I want to transfer money from one card to another using push & pull fund transfer api , please guide what are request parameters , headers and also will this api authenticate bank account number or not ?

5 REPLIES 5
API_Products
Visa Developer Support Specialist

Re: I want to transfer money from one card to another using push & pull fund transfer api , plea

Hey @priya2302,

 

For Visa Direct push and pull request parameters, please navigate to its API Reference page and its Code Explorer here - https://developer.visa.com/capabilities/visa_direct/reference

 

The Code Explorer is located on the right side of the page and you will be able to review the request and response of this API.

 

Also, with Visa Direct, in your request you can ask for the sender's account number, sender's 16-digit PAN or token of the sender's account, identify the sender's account type (e.g. Saving account, Checking account, Credit card account, etc.), as well as many other attributes can be requested, as well. 

 

 




Thanks,

Diana H.



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

priya2302
Regular Visitor

Re: I want to transfer money from one card to another using push & pull fund transfer api , plea

Screenshot_18.pngScreenshot_17.pngHello Diana , 

I am using POSTMAN to test API, till now i have added Headers (Content-type : application/json) and in Authorization choosed type Basic Auth filled username and password from credentials and  added body part .

Getting this error

{
"responseStatus": {
"status": 400,
"code": "9124",
"severity": "ERROR",
"message": "Expected input credential was not present",
"info": ""
}
}

API_Products
Visa Developer Support Specialist

Re: I want to transfer money from one card to another using push & pull fund transfer api , plea

Hey @priya2302,

 

I'm happy to help you resolve the issue. Please provide the following information so I can provide you with further assistance:

1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.

 




Thanks,

Diana H.



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Products
Visa Developer Support Specialist

Re: I want to transfer money from one card to another using push & pull fund transfer api , plea

Hey @priya2302,

 

I ran a successful test on VDP Playground for Visa Direct Pull FundsTransactions. Can you please take a look at my Request and Response payload below and try to test again? Please share your results with us.

 

The error 400 - 9124 Expected input credential was not present usually occurs when the credentials used are invalid. Can you please confirm if you are using valid credentials?
 
To access your project credentials, please login to your VDP account > My Account > Dashboard > project app > Credentials

20190614 VMORC Credentials UserID PW.png

 

Furthermore, please make sure you are using valid Test Data from your project app.

20190905 Test Data.png

 

Below you will find the Visa Direct Pull Funds Transactions test I ran on VDP Playground and I got successful results.

 

Please Note:  To get successful results, you may need to change the localTransactionDateTime to the date and time that you are running the test. Notice, how I rant the test on December 5, 2019 so I changed it to that date/time.    "localTransactionDateTime": "2019-12-05T23:33:23"

 

Method: Post

EndPoint: https://sandbox.api.visa.com/visadirect/fundstransfer/v1/pullfundstransactions 

 

Request:

 

{
"surcharge": "11.99",
"amount": "124.02",
"localTransactionDateTime": "2019-12-05T23:33:23",
"cpsAuthorizationCharacteristicsIndicator": "Y",
"colombiaNationalServiceData": {
"addValueTaxReturn": "10.00",
"taxAmountConsumption": "10.00",
"nationalNetReimbursementFeeBaseAmount": "20.00",
"addValueTaxAmount": "10.00",
"nationalNetMiscAmount": "10.00",
"countryCodeNationalService": "170",
"nationalChargebackReason": "11",
"emvTransactionIndicator": "1",
"nationalNetMiscAmountType": "A",
"nationalReimbursementFee": "20.00",
"costTransactionIndicator": "0"
},
"riskAssessmentData": {
"traExemptionIndicator": true,
"trustedMerchantExemptionIndicator": true,
"scpExemptionIndicator": true,
"delegatedAuthenticationIndicator": true,
"lowValueExemptionIndicator": true
},
"cardAcceptor": {
"address": {
"country": "USA",
"zipCode": "94404",
"county": "081",
"state": "CA"
},
"idCode": "ABCD1234ABCD123",
"name": "Visa Inc. USA-Foster City",
"terminalId": "ABCD1234"
},
"acquirerCountryCode": "840",
"acquiringBin": "408999",
"retrievalReferenceNumber": "330000550000",
"senderCurrencyCode": "USD",
"addressVerificationData": {
"street": "XYZ St",
"postalCode": "12345"
},
"cavv": "0700100038238906000013405823891061668252",
"systemsTraceAuditNumber": "451001",
"businessApplicationId": "AA",
"senderPrimaryAccountNumber": "4895142232120006",
"settlementServiceIndicator": "9",
"visaMerchantIdentifier": "73625198",
"foreignExchangeFeeTransaction": "11.99",
"senderCardExpiryDate": "2015-10",
"nationalReimbursementFee": "11.22"
}

 

 

Response:

 

{
"transmissionDateTime": "2019-12-05T19:03:11.000Z",
"approvalCode": "98765X",
"cavvResultCode": "8",
"settlementFlags": {
"settlementServiceFlag": "9",
"givUpdatedFlag": "false",
"settlementResponsibilityFlag": "true",
"givPreviouslyUpdatedFlag": "true"
},
"cpsAuthorizationCharacteristicsIndicator": "3333",
"transactionIdentifier": 146512495285258,
"actionCode": "00",
"responseCode": "5"
}

 

 

Response Header:

 

Status Code: 200 OK
Server : nginx
Content-Type : application/json;charset=UTF-8
Content-Length : 368
X-SERVED-BY : l55c017
X-CORRELATION-ID : 1575572591_427_430125873_l55c017_VDP_WS
X-APP-STATUS : 200
X-APP-STATUS : 200
X-Backside-Transport : OK OK,OK OK
X-Global-Transaction-ID : 18dcb9c45de9546f1e936fdf
X-Frame-Options : SAMEORIGIN
X-XSS-Protection : 1; mode=block
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=2592000;includeSubdomains
Cache-Control : no-cache, no-store, must-revalidate
Pragma : no-cache
Expires : -1
Content-Language : en-US
Date : Thu, 05 Dec 2019 19:03:11 GMT
Connection : keep-alive

 

20191205 Visa Direct Pull Funds Transactions 200 OK.png

 

 




Thanks,

Diana H.



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Re: I want to transfer money from one card to another using push & pull fund transfer api , plea

THanks gusy