Attempt API is used for PLAIN_CARD use case where card is not tokenized with Juspay and merchant wants to retry on failed attempt. Merchant can pass card details in this authenticated API from merchant's server.
Payload can be generated using the JWE encryption algorithm.
Please refer Encryption Guide for request payload. https://developer.juspay.in/reference/encryption-guide
The below params have to be stringified before encryption: