mVisa Receiver Side - Decrypting Merchant PAN

Regular Visitor

mVisa Receiver Side - Decrypting Merchant PAN

Following is the documentation from mVisa Receiver API. Where can we find encryption/decryption java code samples which satisfies this criteria - AES GCM 256-bit key. Request your support


encMerchantPAN - Merchant PAN. This is a 16-digit PAN. The field is sent in encrypted format using the AES GCM (i.e. Advanced Encryption Standard (AES) in Galois/Counter Mode (GCM)) algorithm for JSON Web Encryption (JWE) objects with 256-bit key (i.e. the shared secret between Visa and client for encryption and decryption of payload data). The field data type will be string(16-19) after decryption.

Visa Developer Support Specialist

Re: mVisa Receiver Side - Decrypting Merchant PAN



Thanks for helping the Visa Developer Community every time you post questions and solutions to this forum! 

We're happy to hear that you're interested in learning more about the Visa Direct mVisa API but before moving forward with the next step, it's important to review the Visa Direct documentation via this link -


In particular, please see the top few paragraphs that are shaded in yellow that discuss the requirements to use Visa Direct.


After having read the documentation, if you meet those requirements, then please click through the link in those paragraphs to the Visa Direct Program Implementation Questionnaire, fill it out, and submit to the email address listed on that form.


Please let us know if you have other questions.


Thank you,




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