Getting error : Vendor Unique Id is invalid

Solved! Go to solution
reshman21
Dabbler

Getting error : Vendor Unique Id is invalid

Hi 

I am testing the 'Validate' endpoint. When sending request to following

https://sandbox.api.visa.com/visacardeligibilityservices/v1/cardeligibility/validate

I am getting following response

 

{
    "statusCode": "201",
    "statusDescription": "Vendor Unique Id is invalid",
    "CorrelationId": "3605a0e3-93a4-4492-90ad-bb4470060401",
    "responseTimeStamp": "5/2/2022 1:10:37 PM",
    "eligibilityLevel": "0",
    "cardId": "0"
}

 

The X-CORRELATION-ID from response headers is - 1651497037_057_2004860482_-74979967z6_VDP_WS
Please see following screenshot
 
Error_VendorUniqueID.png

 

3 REPLIES 3
jenn_kh
Community Moderator

Re: Getting error : Vendor Unique Id is invalid

Thank you for reaching out, @reshman21! An agent is looking for a solution for you and will get back to you shortly! If any community members know a solution, please feel free to respond in this thread. - Jenn

DianaTran-Yee
Visa Developer Support Specialist

Re: Getting error : Vendor Unique Id is invalid

Hi @reshman21,

 

I ran a sandbox test today and received a successful request/response payload using the below vendorUniqueId. Please see my sample request/response payload below and try your test again using the vendorUniqueId 14096_TstVDPPgm1 and share your result with us. Please let me know if that fixes the error so that I can close the case.

 

End Point https://sandbox.api.visa.com/visacardeligibilityservices/v1/cardeligibility/validate
Method POST
Request
{
"permanentAccountNumber": "4000000000000007",
"vendorUniqueId": "14096_TstVDPPgm1",
"requestTimeStamp": "5/4/2022 6:58:51 PM",
"correlationId": "dfsdfasdsdf",
"extendedData": ""
}
Response
{
"statusDescription": "Success",
"cardId": "121",
"responseTimeStamp": "5/4/2022 6:59:15 PM",
"isEligible": "True",
"CorrelationId": "dfsdfasdsdf",
"eligibilityLevel": "0",
"statusCode": "000"
}
Response Header
Status Code: 200 OK
Server : nginx
Date : Wed, 04 May 2022 18:59:16 GMT
Content-Type : application/json;charset=utf-8
Content-Length : 180
Connection : keep-alive
X-SERVED-BY : -59647d7b68b8
X-CORRELATION-ID : 1651690755_542_1002847001_-59647d7b68b8_VDP_WS
X-Backside-Transport : OK OK,OK OK
Cache-Control : no-cache, no-store, must-revalidate
Pragma : no-cache
Expires : -1
X-OPNET-Transaction-Trace : a2_b4f7b1f9-fa93-471f-b736-ac5e78862bfb-13540-10
X-Content-Type-Options : nosniff
X-Frame-Options : SAMEORIGIN
X-XSS-Protection : 1; mode=block ,0
Content-Security-Policy : default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline';
X-Global-Transaction-ID : 06ae42a46272cd039add6a3d
X-APP-STATUS : 200
Strict-Transport-Security : max-age=31536000;includeSubdomains
X-XSS-Protection : 1; mode=block
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=31536000;includeSubdomains;always

 

 




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.

reshman21
Dabbler

Re: Getting error : Vendor Unique Id is invalid

Hi Diana

Thanks for replying. Yes I am now able to receive the Success response. Please find following request/response.

Endpoint - 

Request
{
    "permanentAccountNumber""4000000000000007",
    "vendorUniqueId""14097_TstVDPPgm3",
    "numberOfAdditionalRedemptions"2,
    "requestTimeStamp""2022-05-05T05:58:57.836Z",
    "correlationId""{{$guid}}"
}
 
Response
{
    "statusCode""000",
    "statusDescription""Success",
    "CorrelationId""20cfa338-fb75-4621-b72e-d37b0b703ae7",
    "responseTimeStamp""5/5/2022 5:59:04 AM",
    "eligibilityLevel""1",
    "isEligible""True",
    "cardId""121"
}
 
Thank you.
-Reshma