Re: C# Example make a payment

mibuswolf
New Contributor

C# Example make a payment

Hello , i need make an example of credit card payment using c#, but i don't know how

3 REPLIES 3
API_Products
Visa Developer Support Specialist

Re: C# Example make a payment

Hey @mibuswolf,

 

Please visit our API Browser page for a list of our API products using this link -  https://developer.visa.com/apibrowser.

 

Per your payments use case, please view our Payment Methods APIs to choose the API that best fits your use case - https://developer.visa.com/site/payment-methods 

 

You can download Sample Code, if you login to your Visa Developer Portal account and go to “My Account” > “Dashboard” > select Project > “Sample Code” > then select the code language and click on the “Download … Code” button (refer to screenshot example below).

20200311 Sample Code.png

 




Thanks,

Diana H.



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

mibuswolf
New Contributor

Re: C# Example make a payment

Hello , this example its only hello example, i need the payment method examplet, because the hello example i tested and funcionaly correct, but the payment says "{
"responseStatus": {
"status": 401,
"code": "9159",
"severity": "ERROR",
"message": "Token Validation Failed",
"info": ""
}
}"

API_Products
Visa Developer Support Specialist

Re: C# Example make a payment

Hey @mibuswolf,

 

We're happy to help. Sorry for the delayed response. Please provide the following information so that we can provide further assistance: 

1. Endpoint
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.

 

Please navigate to our Visa Developer Error Codes page to learn more on how to resolve issues - https://developer.visa.com/pages/visa-developer-error-codes 

 

If you don't find an error code listed here, please refer to the API-specific error codes in its respective documentation pages.




Thanks,

Diana H.



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