Decrypt
Decryption Step by step
- Decrypt key that has been sent via Key header with the private key.
- Decrypt payload using the key from step no.1
- If it is a payment request, save decrypted payload along with Signature (see 7. Signature)
Examples
For other programming language examples, please refer to this: https://github.com/tokopedia/cryptography-example/tree/main/encryption
Full Flow
API Request Flow
API Response Flow