Problem with request for testing VAU service.

TouchCR
Helper

Problem with request for testing VAU service.

Hello.

 

I encountered the same problems as in the case:

https://community.developer.visa.com/t5/Getting-Started-with-Visa/VAU-Service-Request-Data-Invalid/m...

 

Снимок экрана 2019-08-21 в 18.56.14.png

 

Снимок экрана 2019-08-21 в 18.58.49.png

 

We get any status except positive:

'VAU Service - No matching records found' and 'VAU Service - Request Data Invalid () ()'.

 

What request do we need to send in order to receive a positive response (VAU Service - Success) ?

 

Thanks & Regards.

 

14 REPLIES 14
API_Products
Visa Developer Support Specialist

Re: Problem with request for testing VAU service.

Hey @TouchCR,

 

To further investigate, please provide the following information. Please also make sure to provide the x-correlation-id because that will allow us to look at the logs which will help us troubleshoot the issue.

 

Instructions to get the x-correlation-id are provided below and if you need a guide to help you get SoapUI setup please go here - https://developer.visa.com/pages/working-with-visa-apis 

Then click on the Authentication box from the Working with Visa APIs page and select Two-Way SSL because that's the Authentication for Visa Account Updater API.

 

Please provide the following:

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



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

TouchCR
Helper

Re: Problem with request for testing VAU service.

Hello, 

 

1. End Point - POST 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 OEo5R1VNMTA5WlFaVkRRRlcxMksyMWp5TEdZZHR5NWtkamxOZzQ2MFlLdUZBVUJ5TTo1SXhVSVpjbDg5V0FpWjM1cjBaWA==
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": "4000004323727829",
          "expDate": "2002"
          }
       ],
       "from": "",
       "to": "",
       "group": " STANDARD ",
       "dateUpdated": "2016-12-01",
       "timePeriod": "60"

    },
    "requestHeader": {
    "messageDateTime": "2019-08-22T12:19:54.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: l73c015
X-CORRELATION-ID: 1566476507_153_668323518_l73c015_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: 4267826283
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 12:21:47 GMT
Connection: keep-alive

 

5. Response Body:

{
    "responseHeader" : {
       "requestMessageId" : "6da60e1b8b024532a2e0eacb1af58581",
       "messageDateTime" : "2019-08-22 12:21:47.225",
       "numRecordsReturned" : "0",
       "responseMessageId" : "83VAU8493620190822122147225"
    },
    "status" : {
       "statusDescription" : "VAU Service - Request Data Invalid () ()",
       "statusCode" : "CDI071"
    }
}

 

 

X-CORRELATION-ID: 1566476507_153_668323518_l73c015_VDP_WS

 

Снимок экрана 2019-08-22 в 15.22.25.png

 

 

API_Products
Visa Developer Support Specialist

Re: Problem with request for testing VAU service.

Hey @TouchCR,
 
Thanks for your patience. I've created case #INC8451180 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.

 




Thanks,

Diana



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: Problem with request for testing VAU service.

Hey @TouchCR,

 

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"
}

]
}

}

 

20190829 EugenePahuschy Successful SoapUI Request pic1.png

 

20190829 EugenePahuschy Successful SoapUI Raw Request pic3.png

 

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"
}
}

 

20190829 EugenePahuschy Successful SoapUI JSON Response pic4.png

 

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"}}

 

20190829 EugenePahuschy Successful SoapUI RAW Response pic5.png

 




Thanks,

Diana



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: Problem with request for testing VAU service.

Hey @TouchCR,

 

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!

 




Thanks,

Diana



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

TouchCR
Helper

Re: Problem with request for testing VAU service.

Hello.

I confirm that this request works. Thanks.

Perhaps you can provide other requests to help me check out the various answers.

API_Products
Visa Developer Support Specialist

Re: Problem with request for testing VAU service.

Hey @TouchCR,

 

Can you please confirm what other requests you would like me to test?

 

Also, instead of using Soap UI, you can also start testing with the VDP Playground application, which is downloadable from your VDP project under the "Assets" section.

20190917 Assets VDP Playground.png

 

The VDP Playground is an application that makes testing VDP APIs easy and quick and it creates the JKS file for you quickly.

 

I got a successful response using the VDP Playground, refer to the screenshot example on Merchant Search API below.

 

Please note, to create the JKS file just browse for your public key (cert.pem) and private key and click on the JKS button. After you click on the JKS button a message will appear saying that your JKS file is created. Also, make sure to enter your credentials, host, port and EndPoint. You will also need to enable the Proxy.

20190917 VDP Playground merchantsearch v1 200 ok.png

 




Thanks,

Diana



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

TouchCR
Helper

Re: Problem with request for testing VAU service.

Hello,

 

Thanks for the VDP Playground, I will use for development.

I have only one valid request for Visa Account Updater Service.

{
"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"
}
]
}
}

Other examples continue doesn't work:

 

Снимок экрана 2019-09-23 в 10.34.43.png

 

I want to get other examples.

I would like to see the response with a new number of the reissued card.

Ideally, I would like to get all the requests that are needed to test all possible answers.

API_Products
Visa Developer Support Specialist

Re: Problem with request for testing VAU service.

Hey @TouchCR,

 

Can you please clarify what it is that you are trying to do? Since you provided a screenshot of your VDP project's Test Data, are you saying that you would like valid VAU Test Data so that you can continue sandbox testing with different Test Data PANs, etc.?

 

                              




Thanks,

Diana



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