accountEncrypted
section of your request to Real-Time Account Updater. Note that this must happen before calculating the authentication header.
The response Pagos returns will similarly be encrypted as a JWE token; you’ll decrypt the response using your ResponseDecryptionKey.
Key Type | KeyAsBase64 | Key Id (KID) |
---|---|---|
RequestEncryptionKey | YWJjZGVmMTIzNDU2Nzg5YWJjZGVmMTIzNDU2Nzg5MQo= | merchant-1-uuid-pagos-bound |
ResponseDecryptionKey | QWJjRGVmMTIwNDU2Nzg5QWJjRGVmLTEyNDU2NzgwMAo= | merchant-1-uuid-merchant-bound |
account
object with your RequestEncryptionKey. Use the JWE token produced from the encryption process as the value for the accountEncrypted
key in the payload you will send to Pagos.
Your HTTP client will then send the following encrypted payload to Pagos for updates:
accountEncrypted
section with your ResponseDecryptionKey.
You receive the following example response:
accountEncrypted
key. Your response will now be decrypted into the following account object: