Visa Developer Community

Highlighted
Helper

Test Question

Hello,

I have developed an application and I want to integrate the visa payment with my application. When I test "Performing Sale" wiht this request (for example)

 

{
"amount":200,
"currency": "EUR",
"purchasingLevel":"2",
      "payment":{  
         "cardExpirationMonth":"12",
         "cardExpirationYear":"2017",
         "cardNumber":"4111111111111111",
         "cvn":"111"
      }
}

using the "EUR" currency I get the following error:

 

{
 	"responseStatus": {
 		"status": 400,
 		"reason": "invalid_data",
 		"message": "Request field(s) contain invalid data.",
 		"correlationId": "12163572-f584-47ef-a2d7-7fb0b1600a1b",
 		"details": [{
				"location": "reasonCode",
 				"message": "102"
 			}
 		]
 	}
 }

When I use the "USD" currency I already get a response with success. Is it only possible to use the "USD" currency? In my application I really need to use the "EUR" currency. Any help?

 

Thanks

2 REPLIES 2
Visa Dev Moderator

Re: Test Question

Hi Niks,

Could you please let us know the exact URI and your test application name registered in here?

 

Thanks 

Lakshan

Occasional Visitor

Re: Test Question

Hey,

 

Thanks for your reply.

 

URI: 

https://sandbox.api.visa.com/cybersource/payments/v1/sales?apikey=

Application name: channels-integrationV2

 

Thanks