Re: Opaque payment card (OPC)

Lakshmi1
Regular Visitor

Opaque payment card (OPC)

I am developing an android application. In that, I am trying to add Credit/Debit cards(all are Visa cards) to the Google pay. For that, I need to create OPC for that. I got to know that Visa developed a code sample to build OPCs and they can share that with you directly. Can I get the code?

5 REPLIES 5
API_Products
Visa Developer Support Specialist

Re: Opaque payment card (OPC)

Hey @Lakshmi1,

 

I'm happy to help answer your question. Please let us know the API that your question relates to so that we can assist you further. Please check our website for specific APIs relevant to your business case.
https://developer.visa.com/ 
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.

Lakshmi1
Regular Visitor

Re: Opaque payment card (OPC)

Hi @diana

I think the below API is relevant to my requirement. Adding Credit/Debit cards to Google Pay.

https://developer.visa.com/capabilities/visa-in-app-provisioning/reference#visa-in-app-provisioning_...

Thanks,
Lakshmi

kaoutar
Helper

Re: Opaque payment card (OPC)

hello @Lakshmi! i wonder if you could consume that api? because i also need to generate an OPC but no matter how i debug the API i always get a 401 error saying "token validation faied"
if you managed to generate the OPC can you please share with me how did you achieve that?
thanks a lot

API_Products
Visa Developer Support Specialist

Re: Opaque payment card (OPC)

HI @kaoutar and @Lakshmi1 ,

 

Please refer to the answer posted on 06-16-2023 03:39 PM here: https://community.developer.visa.com/t5/Implementation-API-Sample-Code/Field-Level-Encryption-univer... 




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.

Lakshmi1
Regular Visitor

Re: Opaque payment card (OPC)

Hi @API_Products 

 

Adding Credit/Debit cards to Google Pay.

https://developer.visa.com/capabilities/visa-in-app-provisioning/reference#visa-in-app-provisioning_...

 

can u please send me sample code(As soon as possible), I am waiting for your response.

Thanks,
Lakshmi