I am trying to consume Visa card on file API using IBM DataPower. I have followed instructions on developer portal and it works good for me. Also I have seen Java sample code for MLE and JWT creation and found it good. However, when I hit the endpoint with my message, I am getting following response: { "responseStatus": { "status": 401, "code": "9209", "severity": "ERROR", "message": "Token validation failed", "info": "" } } So the JWT token validation is failing at VISA end. Upon further investigation, it looks like VISA is expecting 'iat' to be a number but the one contained in my message is a string? Here is my JWT token: { "encData": "eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2Iiwia2lkIjoiN2VlYzI1YmYtNjA4YS00YTliLWFiOTMtYzI1ZTU0ZGUxMzgzYiIsImlhdCI6IjE1NDAyMTAzOTI4NjYiLCJ0eXBlIjoiSldUIn0.YRkUEoKdtTNyc_vfPDu65OAFd7ul6MIVS_2xts2p9zrSg0F9Cnrew9lmrJZi-Vk3lBRqoK1iFP077q0u5lzOABkmRu8xWYFY04atlgUfiGTZ07TwW02yy-LEHS5qhuS1934O-ig2G4RzcBvvok1PXGVJQCig00O_GCT51VmcqnL_EZeg3ftUgStzX2L7vdy4V-dskfyBQo0pxECeWhAcinZ2n_ROyoSec18DZrNBFi8-oI-_wAGNhm4t6rXRwZ1FciQ_vjYQ37ecfLemKUqfdRoju9Zj6EKPY-dbvaNEbEZZyREzDeOLaDsNZpEAqefZSgAJi4QHo9jd9DdTTCwB0w.oFajG9QdtMPwWmXn.dXN5LIR0efxtXFYHWM7hO4j704UXVJvd-Pl8WJZ-5WC9xWJyI0caDKWoDQq-7q-vtUb6uW7P69eJJ9GbyI2TEkew_PDkEVnPcan49xqjIhtZNXV4UnXgtg2TsWMmWkldmWaP9Uvuzc6xi_4MEqPz5EwrkH3BB4cOA4pdhX_lTIdtew3fzuQ2EHAhXK7I20qetTlwpqhza3yRAh6dsiEe0-Y2zzit0t1u9kUIzfM4nNPutym-hQ.8axp6mYu2fpH7LE20XqbvQ" } I won't be able to send 'iat' as a number from my side (tool limitation). Is there a way around it?
... View more