Re: 404 Error while Auth v3 Request.

ndtheo
Regular Visitor

404 Error while Auth v3 Request.

Hello Guys,


Facing strange issue with Authorization Request with Version 3.0 API. 

 

Using Payload from user guide as following

 

https://developer.visa.com/capabilities/vpp/reference#operation/Authorizations%20v3_v3%20-%20Latest

 

ERROR:

System.Net.WebException: The remote server returned an error: (404) Not Found.

 

=====

Response Status:
NotFound
Response Headers:
Server: nginx
Date: Mon, 13 Jun 2022 11:56:08 GMT
Connection: keep-alive
X-SERVED-BY: c6795c5g7
X-CORRELATION-ID: 1655121368_704_777407521_c6795c5g7_VDP_WS
X-ERROR-ORIGIN: 9900
X-APP-STATUS: 404
Cache-Control: no-store, must-revalidate, no-cache
Pragma: no-cache
encrypted: true
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0

 

Same code working fine with version 2.0 API. Can any one guide me to resolve this issue?

 

Sending here URL as well the payload I am using.

 

//Auth v3
string requestURL = "https://sandbox.api.visa.com/acs/v3/payments/authorizations"; 


//Auth v3
string requestBody = "{\"msgIdentfctn\":{\"clientId\":\"1VISAGCT000001\",\"correlatnId\":\"Gg6yTAyWkmhyq0jPKHziafe\"},\"Body\":{\"Tx\":{\"TxAttr\":[\"INST\"],\"TxDesc\":\"transactiondescription\",\"TxId\":{\"LclDtTm\":\"2016-11-25T01:02:03\"},\"AddtlData\":{\"Val\":\"freeformdata\",\"Tp\":\"FreeFormDescData\"},\"TxAmts\":{\"AmtQlfr\":\"ESTM\",\"TxAmt\":{\"Ccy\":\"008\",\"Amt\":\"123.45\"}}},\"Envt\":{\"Accptr\":{\"PaymentFacltId\":\"52014057\",\"CstmrSvc\":\"14155552235\",\"ShrtNm\":\"ABCSupplies\",\"Id\":\"999999999999999\",\"FrgnRtlrInd\":true,\"Adr\":{\"PstlCd\":\"78463\",\"CtrySubDvsnMjr\":\"03\",\"Ctry\":\"US\",\"CtrySubDvsnMnr\":\"011\"}},\"Termnl\":{\"TermnlId\":{\"Id\":\"99999999\"}},\"Wllt\":{\"Prvdr\":{\"Id\":\"VCIND\"}},\"Card\":{\"XpryDt\":\"2312\",\"PAN\":\"4000220177656623\"}},\"Cntxt\":{\"Vrfctn\":[{\"VrfctnInf\":{\"Val\":{\"HexBinryVal\":\"099010618111100000000788400707000000000\"},\"Tp\":\"authenticationValue\"},\"Tp\":\"THDS\"},{\"VrfctnInf\":{\"Val\":{\"TxtVal\":\"321\"}},\"Tp\":\"CSCV\"},{\"VrfctnInf\":{\"Val\":{\"TxtVal\":\"POBox12345\"}},\"Tp\":\"ADDB\"},{\"VrfctnInf\":{\"Val\":{\"TxtVal\":\"12345\"}},\"Tp\":\"PCDV\"}],\"TxCntxt\":{\"MrchntCtgyCd\":\"3501\",\"MrchntCtgySpcfcData\":\"B\",\"AuthntcnOutgInd\":true},\"PtOfSvcCntxt\":{\"CardDataNtryMd\":\"CDFL\"},\"SaleCntxt\":{\"GoodsAndSvcsTp\":\"ELEC\",\"GoodsAndSvcsSubTp\":\"CRCU\"}},\"SplmtryData\":[{\"Envlp\":{\"StrngCstmrAuthntcn\":{\"Xmptn\":[{\"Val\":\"CLAI\",\"Tp\":\"TMBE\"},{\"Val\":\"NCLA\",\"Tp\":\"LOWA\"}],\"DlgtdAuthrty\":\"CLAI\"}},\"PlcAndNm\":\"EUPSD2SCADataSD1V01\"}],\"AdddmData\":{\"AddtlData\":{\"Val\":\"1234567890\",\"Tp\":\"PlanRegSysId\"},\"Instlmt\":{\"PmtSeqNb\":\"12\",\"Plan\":[{\"DfrrdInstlmtInd\":true,\"PrdUnit\":\"WEEK\",\"SbsqntAmt\":\"9999.99\",\"TtlNbOfPmts\":24,\"InstlmtCcy\":840,\"NbOfPrds\":\"2\",\"PlanOwnr\":\"ISSR\",\"GrdTtlAmt\":\"234.56\"}]}}}}";

 

 

 

//Auth v2
 string requestURL = "https://sandbox.api.visa.com/acs/v2/payments/authorizations"; 

 

//Auth v2
string requestBody = "{\"msgIdentfctn\":{\"correlatnId\":\"15bc567d90f23e56a8f179\"},\"Hdr\":{\"TracData\":{\"Val\":\"anyroundtripinfo\",\"Tp\":\"AddtnlTraceData\"}},\"Body\":{\"Tx\":{\"TxAttr\":\"eCom\",\"TxDesc\":\"MRANSACTIONDESCRIPTION\",\"TxId\":{\"LocalDateTime\":\"2018-02-16T10:03:21\"},\"AddtlData\":{\"Val\":\"ANYBI-LATERALAGREEMENTDATAGOESHERE\",\"Tp\":\"FreeFormDescData\"},\"TxAmts\":{\"TxAmt\":{\"Ccy\":\"840\",\"Amt\":\"51.29\"}}},\"Envt\":{\"Accptr\":{\"Id\":\"1VISAGCT000001\"},\"Wllt\":{\"Prvdr\":{\"Id\":\"VCIND\"}},\"Card\":{\"XpryDt\":\"2312\",\"PAN\":\"4131710003275053\"}},\"Cntxt\":{\"Vrfctn\":[{\"VrfctnInf\":{\"Val\":{\"TxtVal\":\"514\"}},\"Tp\":\"CSCV\"},{\"VrfctnInf\":{\"Val\":{\"TxtVal\":\"POBox12345\"}},\"Tp\":\"ADDB\"},{\"VrfctnInf\":{\"Val\":{\"TxtVal\":\"12345\"}},\"Tp\":\"PCDV\"}],\"PtOfSvcCntxt\":{\"PrtlApprvlSpprtd\":\"false\",\"EComrcData\":[{\"Val\":\"7\",\"Tp\":\"ECI\"}]}}}}";

 

 

Regards,

Nikos.

3 REPLIES 3
jenn_kh
Community Moderator

Re: 404 Error while Auth v3 Request.

Thank you for reaching out, @ndtheo! An agent is looking for a solution for you and will get back to you shortly. Until then, if anyone has any ideas that you feel may help, please reply here to share them with Nikos. -Jenn

API_Products
Visa Developer Support Specialist

Re: 404 Error while Auth v3 Request.

Hi @ndtheo,

 

I've logged incident INC13776683 for our engineering team to investigate the error. I'll provide you with an update once I hear back from engineering. 




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: 404 Error while Auth v3 Request.

Hi @ndtheo,

 

After checking with the product team, your only options are as follows:

1. You can send an email to developer@visa.com to be given restricted API access to the integrated sandbox for VPP. In this way, the request would hit the product backend rather than the VSS (Visa Services Simulator - which has NOT been upgraded to v3)
2. Try v2 instead of v3
3. Move up to the CERTIFICATION/PRODUCTION environment instead




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.