Encrypting and Decrypting Payload
Secure Data Transmission for Payout APIs
1.
2.
Request and Response Format
Request Format:
{
"request":"{ecrypted_request_string}"
}
Response Format:
{
"request":"{ecrypted_response_string}"
}
Encryption Logic
Java
Javascript (NodeJs)
PHP
.Net
Python
Parameters:
strToEncrypt
: The payload string that you want to encrypt.secretKey
: The client's secret key used for encryption. This should be provided by the client.Usage:
NOTE
Decryption Logic
Java
Javascript (NodeJs)
PHP
.Net
Python
Parameters:
strToDecrypt
: The encrypted payload string that you want to decrypt.secretKey
: The client's secret key used for decryption. This should match the secret key used for encryption.Usage:
NOTE
Modified at 2025-01-09 20:13:19