Encryption Guide

Please refer below implementation guide for JWE encryption

https://www.npmjs.com/package/node-jose#handling-crit-header-members-1

alg : The alg (algorithm) identifies the cryptographic algorithm used to secure the JWE Encrypted Key. Please use below algo:
RSA-OAEP

enc : The enc (encryption method) identifies the symmetric encryption algorithm used to secure the Ciphertext. Please use below enc:
A128CBC-HS256

Please refer below request body params for encrypted request:

Param nameTypeDescription
payloadStringEncrypted body payload
kidStringJuspay private key identifier shared by Juspay
sidStringMerchant public key identifier shared by merchant
formatStringPlease pass compact always.