Hello.
I created a sandbox and added Visa Account Updater Service API.
After that, I made a test request as said on the page:
https://developer.visa.com/pages/working-with-visa-apis/two-way-ssl
After that, I made a request to Visa Account Updater Service, but I getting an error.
"statusDescription":"VAU Service - Request Data Invalid () ()"
"statusCode":"CDI071"
For request I used the body from example:
https://developer.visa.com/capabilities/vau/reference#vau__vau_issuer_service
and data of credit card from 'Visa Account Updater Service' Test Data:
What is my mistake?
Thanks & Regards.
Hey @EugenePahuschy,
I tested the VAU API today and I got a 200 OK successful response. Can you please confirm if you tested with all of the Test Data that was provided to you? If the first row set of test data has an error then the other test data row sets could give you a 200 OK response.
You can also try the following below request payload, that I've provided below.
Once you try with the request payload that I provided, you should be able to receive a 200 OK, as well.
Request Payload:
{
"requestData": {
"pANs": [
{
"pAN": "1234567890123456",
"expDate": "2101"
}
],
"from": "",
"to": "",
"group": " STANDARD ",
"dateUpdated": "",
"timePeriod": "60"
},
"requestHeader": {
"messageDateTime": "2019-08-19T19:19:27.327",
"requestMessageId": "6da60e1b8b024532a2e0eacb1af58581"
}
}
JSON Response Payload in SoapUI:
{
"responseHeader": {
"requestMessageId": "6da60e1b8b024532a2e0eacb1af58581",
"messageDateTime": "2019-08-19 19:33:28.552",
"numRecordsReturned": "0",
"responseMessageId": "83VAU5526720190819193327444"
},
"status": {
"statusDescription": "VAU Service - No matching records found",
"statusCode": "CDI092"
}
}
Raw Request Payload in SoapUI:
HTTP/1.1 200 OK
Server: nginx
Content-Type: application/json;charset=UTF-8
Content-Length: 288
X-SERVED-BY: l55c014
X-CORRELATION-ID: 1566243207_226_1379559624_l55c014_VDP_WS
X-Backside-Transport: OK OK,OK OK
Pragma: no-cache
Cache-Control: no-cache, no-store, max-age=0 ,no-cache, no-store, must-revalidate
Expires: Thu, 01 Jan 1970 00:00:00 GMT ,-1
Content-Language: en-US
X-Global-Transaction-ID: 3110707589
X-APP-STATUS: 200
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=2592000;includeSubdomains
Date: Mon, 19 Aug 2019 19:33:28 GMT
Connection: keep-alive
{"responseHeader":{"requestMessageId":"6da60e1b8b024532a2e0eacb1af58581","messageDateTime":"2019-08-19 19:33:28.552","numRecordsReturned":"0","responseMessageId":"83VAU5526720190819193327444"},"status":{"statusDescription":"VAU Service - No matching records found","statusCode":"CDI092"}}
Thanks for the answer.
I confirm that your example returns the result:
"statusDescription" : "VAU Service - No matching records found",
But that’s not enough for me.
All cards presented as test data are invalid:
4000004298044051 - 2004
4000004323727829 - 2002
4000005332202951 - 2010
4000009812736545 - 2011
4000000217917145 - 1907
And if I add the parameter "dateUpdated" : "2016-12-01" to the request, I got an error:
"statusDescription" : "VAU Service - Request Data Invalid () ()",
What request do I need to send to get status: VAU Service - Success ?
Thanks & Regards.
Hey @EugenePahuschy,
To further investigate, please provide the following information. Please also make sure to provide the x-correlation-id which will help us troubleshoot the issue.
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.
Hello,
Here are the data you requested:
X-CORRELATION-ID: 1566472621_271_1646844256_l73c012_VDP_WS
1. End Point: https://sandbox.api.visa.com/vau/v1/vauissuer
2. Request Header:
POST https://sandbox.api.visa.com/vau/v1/vauissuer HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/json
Authorization: Basic TzhHU04yRzdDOE9IMUo1U1dHWkcyMUJ5NHpiMkpsSG5CSVdrS0lnNFlYRTA3NzBjTTp1aWZaZEh4a3ZpUm9ON2RxQTVONjdj
Content-Length: 372
Host: sandbox.api.visa.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_181)
3. Request Body:
{
"requestData": {
"pANs": [
{
"pAN": "4000004298044051",
"expDate": "2004"
}
],
"from": "",
"to": "",
"group": " STANDARD ",
"dateUpdated": "2016-12-01",
"timePeriod": "60"
},
"requestHeader": {
"messageDateTime": "2019-08-22T11:12:53.327",
"requestMessageId": "6da60e1b8b024532a2e0eacb1af58581"
}
}
4. Response Header (include the x-correlation-id):
HTTP/1.1 200 OK
Server: nginx
Content-Type: application/json;charset=UTF-8
Content-Length: 289
X-SERVED-BY: l73c012
X-CORRELATION-ID: 1566472621_271_1646844256_l73c012_VDP_WS
X-Backside-Transport: OK OK,OK OK
Pragma: no-cache
Cache-Control: no-cache, no-store, max-age=0 ,no-cache, no-store, must-revalidate
Expires: Thu, 01 Jan 1970 00:00:00 GMT ,-1
Content-Language: en-US
X-Global-Transaction-ID: 2293157837
X-APP-STATUS: 200
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=2592000;includeSubdomains
Date: Thu, 22 Aug 2019 11:17:01 GMT
Connection: keep-alive
5. Response Body:
{
"responseHeader" : {
"requestMessageId" : "6da60e1b8b024532a2e0eacb1af58581",
"messageDateTime" : "2019-08-22 11:17:01.368",
"numRecordsReturned" : "0",
"responseMessageId" : "83VAU5942320190822111701368"
},
"status" : {
"statusDescription" : "VAU Service - Request Data Invalid () ()",
"statusCode" : "CDI071"
}
}
Thanks & Best Regards.
Hey @EugenePahuschy,
Thanks for your patience. I've create case #INC8450792 for the engineering team to investigate. We're currently working to resolve your issue and someone will get back to you soon!
Feel free to reach out to us if you have other questions.
Hey @EugenePahuschy,
Please use the request payload that I have provided below. You will be able to receive a successful response. I have also provided the successful responses from SoapUI below.
After you complete your testing, please confirm that your issue is resolved and I'll close out the ticket. Thanks!
SoapUI Request:
{
"requestHeader": {
"messageDateTime": "2016-01-15T01:02:31.327",
"requestMessageId": "vauissrprod20180710_003"
},
"requestData": {
"group": "STANDARD ",
"bIN": "",
"timePeriod": "",
"from": "2019-07-01",
"to": "2019-07-30",
"dateUpdated": "",
"pANs": [
{
"pAN": "4000004298044051",
"expDate": "2004"
}
]
}
}
JSON SoapUI Response:
{
"responseHeader": {
"requestMessageId": "vauissrprod20180710_003",
"messageDateTime": "2019-08-29 16:36:05.412",
"numRecordsReturned": "1",
"responseMessageId": "83VAU4337720190829163604435"
},
"responseData": {
"panList": [{"panData": {
"panResponseMsg": "Success",
"pAN": "4000004298044051",
"inquiries": [ {
"merchantResponseCode": "V",
"merchantName": "NETFLIX INC",
"subMerchantName": "",
"merchantInquiryDate": "2019-07-01",
"tpaInd": "N"
}],
"expDate": "2004"
}}],
"from": "2019-07-01",
"to": "2019-07-30",
"dateUpdated": "",
"bin": "",
"timeperiod": "",
"group": "STANDARD"
},
"status": {
"statusDescription": "VAU Service - Success",
"statusCode": "CDI000"
}
}
Raw SoapUI Response:
HTTP/1.1 200 OK
Server: nginx
Content-Type: application/json;charset=UTF-8
Content-Length: 613
X-SERVED-BY: l73c016
X-CORRELATION-ID: 1567096564_345_200468951_l73c016_VDP_WS
X-Backside-Transport: OK OK,OK OK
Pragma: no-cache
Cache-Control: no-cache, no-store, max-age=0 ,no-cache, no-store, must-revalidate
Expires: Thu, 01 Jan 1970 00:00:00 GMT ,-1
Content-Language: en-US
X-Global-Transaction-ID: 3104713709
X-APP-STATUS: 200
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=2592000;includeSubdomains
Date: Thu, 29 Aug 2019 16:36:05 GMT
Connection: keep-alive
{"responseHeader":{"requestMessageId":"vauissrprod20180710_003","messageDateTime":"2019-08-29 16:36:05.412","numRecordsReturned":"1","responseMessageId":"83VAU4337720190829163604435"},"responseData":{"panList":[{"panData":{"panResponseMsg":"Success","pAN":"4000004298044051","inquiries":[{"merchantResponseCode":"V","merchantName":"NETFLIX INC","subMerchantName":"","merchantInquiryDate":"2019-07-01","tpaInd":"N"}],"expDate":"2004"}}],"from":"2019-07-01","to":"2019-07-30","dateUpdated":"","bin":"","timeperiod":"","group":"STANDARD"},"status":{"statusDescription":"VAU Service - Success","statusCode":"CDI000"}}
Hey @EugenePahuschy,
How are things going with the VAU API? Can you please confirm if your issue is resolved? If I don't hear back from you, I'll close out the ticket on our end. Feel free to submit your queries to the community forum and someone will gladly help you out!