Different response formats for the same /payment api using different CallId and apiKey

Solved! Go to solution
jaxx303
Regular Visitor

Different response formats for the same /payment api using different CallId and apiKey

I'm using API:  https://sandbox.secure.checkout.visa.com/wallet-services-web/payment/data/4762xxxxxxxx7302?apikey=xx...

 

I am getting two different response formats when using different CallId and apiKey. 

One response contains the encKey and encPaymentData fields, while the other response has completely different data like externalClientId, userName, userEmail which is all in the clear.  

Any idea what causes this?  

6 REPLIES 6
jaxx303
Regular Visitor

Re: Different response formats for the same /payment api using different CallId and apiKey

After looking at the API Response more, it looks like it's the same response, with just different fields populated.  What could be different about the CallId that allows the encKey and encPaymentData to be returned on one and not another?

API_Products
Visa Developer Support Specialist

Re: Different response formats for the same /payment api using different CallId and apiKey

Hi @jaxx303,

 

Which API product your query relates to? For a list of our API products, please visit our API Browser page here: https://developer.visa.com/apibrowser 




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.

jaxx303
Regular Visitor

Re: Different response formats for the same /payment api using different CallId and apiKey

My question is regarding the Visa Checkout API, and what determines if encKey and encPaymentData is returned in the response.  
I looked at the openApi file, but I think I need more details regarding the field descriptions or specific responses types. 

jaxx303
Regular Visitor

Re: Different response formats for the same /payment api using different CallId and apiKey

Disregard, I found the VisaCheckoutIntegrationGuideV1901.pdf document, which has the additional details I needed.  Thanks

Asupreme
Dabbler

Re: Different response formats for the same /payment api using different CallId and apiKey

Visa checkout templates, is there an app or link to access a Visa checkout template and customize it? 
I need to setup a visa check pout page for my website, and link to my international bank account to keep the taxable income separate from the Canadian income..
Is there a template where I can just add the Public & Secret API-Keys in the back end, and setup the check out page for each of my digital eBook downloads? with individual titles, cover pic, price product code?
Please share a Visa checkout template link...for easy drag & drop customization of my product info... contact me at *****, Thank you
Thank you
I_Doroteo3
Visa Developer Support Specialist

Re: Different response formats for the same /payment api using different CallId and apiKey

Hi @Asupreme

 

Please check out the documentation on the Visa Checkout product page, specifically the How to Use Visa Checkout and UI Guidelines tabs. 

 

There is also a  Visa Checkout Getting Started zip file you can download that has more details regarding Visa Checkout set up- this link is located on the How to Use Visa Checkout tab.

 

Hope this helps!

Thanks, 

Illana