Re: Bad Request Visa Direct Api

nawaraj
Regular Visitor

Bad Request Visa Direct Api

https://sandbox.api.visa.com/visadirect/fundstransfer/v1/pushfundstransactions/
Request Body
{"systemsTraceAuditNumber":350420,"retrievalReferenceNumber":"401010350420","localTransactionDateTime":"2018-08-07T06:54:28","acquiringBin":409999,"acquirerCountryCode":"101","senderAccountNumber":"1234567890123456","senderCountryCode":"USA","transactionCurrencyCode":"USD","senderName":"John Smith","senderAddress":"44 Market St.","senderCity":"San Francisco","senderStateCode":"CA","recipientName":"Adam Smith","recipientPrimaryAccountNumber":"4957030420210454","amount":"112.00","businessApplicationId":"AA","transactionIdentifier":234234322342343,"merchantCategoryCode":6012,"sourceOfFundsCode":"03","cardAcceptor":{"name":"John Smith","terminalId":"13655392","idCode":"VMT200911026070","address":{"state":"CA","county":"081","country":"USA","zipCode":"94105"}},"feeProgramIndicator":"123"}System.Net Verbose: 0 : [15456] Entering WebRequest::Create(https://sandbox.api.visa.com/visadirect/fundstransfer/v1/pushfundstransactions/)
System.Net Verbose: 0 : [15456] Entering HttpWebRequest#2383799::HttpWebRequest(https://sandbox.api.visa.com/visadirect/fundstransfer/v1/pushfundstransactions/#857040239)
System.Net Information: 0 : [15456] Current OS installation type is 'Client'.
System.Net Information: 0 : [15456] RAS supported: True
System.Net Verbose: 0 : [15456] Exiting HttpWebRequest#2383799::HttpWebRequest()
System.Net Verbose: 0 : [15456] Exiting WebRequest::Create() -> HttpWebRequest#2383799
System.Net Verbose: 0 : [15456] Entering HttpWebRequest#2383799::GetRequestStream()
System.Net Error: 0 : [15456] Can't retrieve proxy settings for Uri 'https://sandbox.api.visa.com/visadirect/fundstransfer/v1/pushfundstransactions/'. Error code: 12180.
System.Net Verbose: 0 : [15456] Entering ServicePoint#58870012::ServicePoint(sandbox.api.visa.com:443)
System.Net Information: 0 : [15456] Associating HttpWebRequest#2383799 with ServicePoint#58870012
System.Net Information: 0 : [15456] Associating Connection#60068066 with HttpWebRequest#2383799
System.Net Information: 0 : [15456] Connection#60068066 - Created connection from 192.168.68.170:52723 to 23.199.129.172:443.

11 REPLIES 11
vkamboj
Community Moderator

Re: Bad Request Visa Direct Api

Hi @nawaraj

 

I am currently working on your inquiry, I will get back to you soon. 

 

Thank you, 

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.
vkamboj
Community Moderator

Re: Bad Request Visa Direct Api

Hi @nawaraj

 

It looks like you are using a proxy server in your code. You need to specify the proxy parameters as shown in the following examples:

C#

HttpWebRequest.Proxy property needs to be set in the code

Java

        HttpRequest request = null;

        request = new HttpPost(url);

        HttpHost proxy = new HttpHost("proxy.test.com", 8080, "http"); 

        RequestConfig config = RequestConfig.custom().setProxy(proxy).build();

       ((HttpPost) request).setConfig(config);

 

Thank you, 

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.
VidyaVox
Newbie

Re: Bad Request Visa Direct Api

I'm also having the same problem most of the people are having this bug it's really annoying Please help!

Thanks in Advance!

Regards from Vidya Vox (Jio4GVoice)

rajkumarraj102
Regular Visitor

Re: Bad Request Visa Direct Api

Hi,

I got this error. 

Exception when calling Funds_transferApi->getmultipullfundstransactions: API call to https://sandbox.api.visa.com/visadirect/fundstransfer/v1/multipullfundstransactions/status_identifie... failed: Received HTTP code 302 from proxy after CONNEC

 

$config->setUsername("Username");
$config->setPassword("Password");

// Configure proxy
$config->setCurlProxyHost("Proxy_host");
$config->setCurlProxyPort("Proxy_port");
$config->setCurlProxyUser("Proxy_user");
$config->setCurlProxyPassword("Proxy_password");

This is for php. I am not understanding.

test17
Regular Visitor

Re: Bad Request Visa Direct Api

same here
API_Managers
Visa Developer Support Specialist

Re: Bad Request Visa Direct Api

Hey @VidyaVox and @test17

 

Can you please let us know what the specific issue is and how you are trying to run this sandbox test? What is your request and response payload? What is the error you are receiving? Are you using the VDC Playground tool to test or what programming language are you trying to test in?

 




Thanks,

Tee



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_Managers
Visa Developer Support Specialist

Re: Bad Request Visa Direct Api

Hey @rajkumarraj102,

 

I'd be happy to help you resolve the issue. Can you please confirm if you are still experiencing an issue or is the issue resolved?

 




Thanks,

Tee



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

test17
Regular Visitor

Re: Bad Request Visa Direct Api

Hi i am currently using the PHP language's without  proxy config i got error 

 

 

Exception when calling Funds_transferApi->getmultipullfundstransactions: API call to https://sandbox.api.visa.com/visadirect/fundstransfer/v1/multipullfundstransactions/status_identifie... failed: SSL certificate problem: unable to get local issuer certificate

API_Managers
Visa Developer Support Specialist

Re: Bad Request Visa Direct Api

Hey @test17

 

Thanks for providing this info. I've logged case INC9184897 for the engineering team to investigate. We're currently working to resolve your issue and someone will get back to you soon.




Thanks,

Tee



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