Re: Thanks So Much Av Managed to Access Visa Direct (PullFundApi)

ezamarichard
Regular Contributor

Thanks So Much Av Managed to Access Visa Direct (PullFundApi)

After weeks and Weeks of Engaging The Team

i have managed to connect to all Apis (Those with x-pay-token)

and Those that only require Basic Authentication

am so greatful to every one who supported my posts

what did it for me was this code which was abled to dig deeper into Response Codes and retrieve the error details

visadirect.PNG

 HttpWebResponse response = (HttpWebResponse)e.Response;
                    statusCode = response.StatusCode.ToString();
                    string desc = response.StatusDescription;
                    using (var reader = new System.IO.StreamReader(response.GetResponseStream(), encoding))
                    {
                        string result = reader.ReadToEnd();

                        so i was able to monitor these errors eg the wrong parameters i was posting to the api which weremt part of   

                        the allowed set of parameters to push payments
                        statusCode = response.StatusCode.ToString();
                        statusCode = result;
                    }

i can now Fully Help a new comer here havig gone through This from CSR to self signing certificates

to all those conversions from pem to .p12 private keys etc

errors such as connection was aborted could not create ssl

Smiley LOL

God Bless am so greatful to the visa family

 

1 REPLY 1
API_Products
Visa Developer Support Specialist

Re: Thanks So Much Av Managed to Access Visa Direct (PullFundApi)

Hi @ezamarichard,

 

Thanks for sharing with us your successes on code testing Visa APIs! Tested and true, you're a really smart guy and look forward to seeing you help other visitors who use the Visa Developer Forum with the knowledge you've gained.

 




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.