A shopper should log in to the RKFL system to make and track the payment. The RKFL system provides a seamless login experience with shopper SSO login.
In any case, if SSO is not successful, the RKFL supports a manual login process. The merchant website should display a login form similar to the attached screenshot and ask the shopper to enter the credentials and log in.
The register API accepts data in an encrypted format. The encryption algorithm is RSA, and the encryption key is the merchant's "Public Key."
// The key "encryptedReq" should generate from the below way.
export const encryptedReq = async (toEncrypt, publicKey) => {
const buffer = Buffer.from(toEncrypt);
const encrypted = crypto.publicEncrypt(publicKey, buffer);
return encrypted.toString('base64');
};