Re: Regarding Push provisioning with JWT encryption

contistech
Regular Visitor

Regarding Push provisioning with JWT encryption

Hi Support,

 

  We are try to generate Encrypted Payment Instrument  with JWE , can you please help us for below point.

 

1) What will be the value for Additional Authenticated Data in CEK encryption  and for data encryption.

2) Is any example encryption sample you can provide to use , so we can validate our logic .

 

We have try with below request  but it failed with error message

 
{   "clientAppID": "androidpay",   "locale": "en_US",   "panSource": "ISSUER_PUSH_PROVISION",   "encPaymentInstrument": "eyJhbGciOiAiQUdDTTI1NktXIiwiaXYiOiAiZkdfcHM3dm9uRE5BYkctRyIsInRhZyI6ICI3ZGViWVpLblZsZFJidzdfekltUzZnIiwia2lkIjogIlhQUVM1QjBWNUlERFpJUVlXTVJGMTNXMFVEcUVPdUxuUDh2Ukhnbm5PT3BTS1BSZGsiLCJjaGFubmVsU2VjdXJpdHlDb250ZXh0IjogIlNIQVJFRF9TRUNSRVQiLCJlbmMiOiAiQUdDTTI1NiIsImlhdCI6ICIxNTkwNzMzMjI3IiwidHlwIjogIkpPU0UifQ.d-Lcn_UTGoqn_tw1X7YbD2jafX1Xt0xUH0C3ULUahs.SDGgdTZfGAIJhfjR.t2Cqef24VE38dhAROg6d1quYzRDPHwGcJT7b5zqXZv1g1j1Ko8rEVo0osLEWQLqF-W-8ukW5iSTGRlVKhcCoD7_CGhBncl6bUeESLZzJKJV7CzdJyBgbAEmQbezxatn_IdAEpCXN3gCOppUCS9_NIwugaDPYdufcV3MXW7Ub_vM9qkyntWKJlvBwW2OyV0YTn7dRLDHqkFuzfHHW9VT0NUicm_dMwEmKYtXcFAcnaNj1o1vL1r6ZMCi0ZE1H-hFUg4sZsrXzokhIkezVMeeP3_mA1IW5to0eCPHapC6X5-VXtccCvSmlnWxYWEqPI3_O9FqAKa-8l-KsPtlk4WyMdFPmvYp1iGqTIndGuTUJXg7-aoWCC1ma46H0srdHG9Hrdq7KNeqKJoyI9cLJvblSukKP2tMPh7p-kTREt3Fw0WFPeXYIsqCEucC8sqmIw1xxZ1TnBU1yRDHo-c4xeotRSeeUVCWg7zJ_Xh5nkx3nsx2PoLvcDkfOGVopwKMkb9ok-BAgFbwmBBVRbyyrrpsGWFTSYbafmmVkOdnE-6smGpMPFTcYYCdOH5htgc77t-dD7NQCOgnz0tY05-6nafzAx2cZYONe6l2g5w6zG_6YYHdufmUT32LTW2ZeyrLMLe6uVBAFCiU.FCV_AxSjhKTtE1JxkOiYRg",   "clientWalletAccountID": "Zmn0D_WHF6BuLGaGYceiq1Zl",   "clientDeviceID": "6Sr-ObOcUhJccNzE-fsrK7Qc" }
 
{   "errorResponse": {     "status": 400,     "message": "Input for encPaymentInstrument is invalid or inconsistent with the profile.",     "reason": "invalidParameter",     "details": [       {         "location": "encPaymentInstrument"       }     ]   } }

 

 

 

 

 

1 REPLY 1
API_Managers
Visa Developer Support Specialist

Re: Regarding Push provisioning with JWT encryption

Hey @contistech,

 

Please refer to this guide - https://developer.visa.com/pages/encryption_guide and let us know if you have other questions. 

 




Thanks,

Tee



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