Re: Visa Direct - MultiPullFunds

Solved! Go to solution
jamesc1
Regular Visitor

Visa Direct - MultiPullFunds

Hi there,

 

I am testing Visa Direct API, and I can success to work with "PullFundsTransaction POST" with Visa test data. But while I do the "MultiPullFundsTransaction POST", I always get back the error message of 400 with error code "9501"  that's Invalid input found, please correct the input data. Can anyone help me to solve this? Thanks.

 

The following are the request and response messages:

[Request]

POST https://sandbox.api.visa.com/visadirect/fundstransfer/v1/multipullfundstransactions HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/json
Authorization: Basic UElTUURPMlowSzA5Qzc5UzlDWEYyMWFqc0l1VU9kek1mZVFoQWVMbmY0...................M4azVtaDRKS1M0VXJQ
Accept: application/json,application/octet-stream
Content-Length: 1159
Host: sandbox.api.visa.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

{
"acquirerCountryCode": "608",
"acquiringBin": "408999",
"businessApplicationId": "AA",
"localTransactionDateTime": "2018-03-27T05:40:55",
"merchantCategoryCode": "6012",
"request": [
{
"amount": "100.00",
"cardAcceptor": {
"address": {
"country": "USA",
"county": "00",
"state": "CA",
"zipCode": "94454"
},
"idCode": "5678",
"name": "Mr Smith",
"terminalId": "1234"
},
"cavv": "0700020718799100000002980179911000000000",
"localTransactionDateTime": "2018-03-27T05:40:55",
"retrievalReferenceNumber": "401010101011",
"senderCardExpiryDate": "2020-12",
"senderCurrencyCode": "USD",
"senderPrimaryAccountNumber": "4895140000066666",
"systemsTraceAuditNumber": "101011"
},
{
"amount": "100.00",
"cardAcceptor": {
"address": {
"country": "USA",
"county": "00",
"state": "CA",
"zipCode": "94454"
},
"idCode": "5678",
"name": "Mr Smith",
"terminalId": "1234"
},
"cavv": "0700020718799100000002980179911000000000",
"localTransactionDateTime": "2018-03-27T05:40:55",
"retrievalReferenceNumber": "401010101011",
"senderCardExpiryDate": "2020-12",
"senderCurrencyCode": "USD",
"senderPrimaryAccountNumber": "4895140000066666",
"systemsTraceAuditNumber": "101011"
}
]
}

[Response]

HTTP/1.1 400 Bad Request
Server: Apache
X-SERVED-BY: l55c005
X-CORRELATION-ID: 1522136748_061_72_l55c005_VDP_ARM
X-Backside-Transport: FAIL FAIL,FAIL FAIL
X-APP-STATUS: 400
X-Application-Error-Code: 3001
X-Global-Transaction-ID: 3619676861
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
X-Cnection: close
Content-Security-Policy-Report-Only: default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-Content-Security-Policy-Report-Only: default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-WebKit-CSP-Report-Only: default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
Content-Type: application/json;charset=UTF-8
Content-Language: en-US
Content-Length: 141
X-Cnection: close
Date: Tue, 27 Mar 2018 07:45:48 GMT
Connection: close

{"responseStatus":{"code":"9501","severity":"ERROR","message":"Invalid input found, please correct the input data","info":"","status":"400"}}

 

  

4 REPLIES 4
vkamboj
Community Moderator

Re: Visa Direct - MultiPullFunds

Hi, 

 

Please add x-client-transaction-id to the header field and try again. This should fix the issue.

 

X-Client-Transaction-ID

A unique value for this transaction (unique at the level of the individual service invoker and can be recycled every 24 hours). This identifies the transaction uniquely and can help reference the results of the original transaction.

 

Request Header

 See the attachement

 

Request Payload used in Postman is given below.

 

{

"acquirerCountryCode": "608",

"acquiringBin": "408999",

"businessApplicationId": "AA",

"localTransactionDateTime": "2018-03-27T05:40:55",

"merchantCategoryCode": "6012",

"request": [

{

"amount": "100.00",

"cardAcceptor": {

"address": {

"country": "USA",

"county": "00",

"state": "CA",

"zipCode": "94454"

},

"idCode": "5678",

"name": "Mr Smith",

"terminalId": "1234"

},

"cavv": "0700020718799100000002980179911000000000",

"localTransactionDateTime": "2018-03-27T05:40:55",

"retrievalReferenceNumber": "401010101011",

"senderCardExpiryDate": "2020-12",

"senderCurrencyCode": "USD",

"senderPrimaryAccountNumber": "4895140000066666",

"systemsTraceAuditNumber": "101011"

},

{

"amount": "100.00",

"cardAcceptor": {

"address": {

"country": "USA",

"county": "00",

"state": "CA",

"zipCode": "94454"

},

"idCode": "5678",

"name": "Mr Smith",

"terminalId": "1234"

},

"cavv": "0700020718799100000002980179911000000000",

"localTransactionDateTime": "2018-03-27T05:40:55",

"retrievalReferenceNumber": "401010101011",

"senderCardExpiryDate": "2020-12",

"senderCurrencyCode": "USD",

"senderPrimaryAccountNumber": "4895140000066666",

"systemsTraceAuditNumber": "101011"

}

]

}

 

Thanks, 

Vaibhav 

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

Re: Visa Direct - MultiPullFunds

Hi Vaibhav ,

 

It works very well now, thanks your help very much.

jay
Newbie

Re: Visa Direct - MultiPullFunds

I'm currently receiving the same error. what was the solution? 

PaulK
Newbie

Re: Visa Direct - MultiPullFunds

Hi James, I would like to consult with you in regards to a succesful integration of the Visa Direct API. My Contact is pkirungi@chizo.net

 

Thanks