Payload Data Structure
There are two payload structures, encrypted and plain text. Both are JSON objects, and examples are shown below.
-
Encrypted: For information on how to process this payload, see the How to decrypt credentials
section.
{ "encryptedKey": "<encrypted-data>", "encryptedPayload":"<encrypted-data>", "iv":"<value>", "sigKeyID":"<value>", "signature":"<encrypted-data>" }
-
Plain text: For information on how to process this payload, see the How to process plain text
credentials section.
{ "merchant_id":"YOUR_MERCHANT_ID", "access_key":"YOUR_ACCESS_KEY", "secret_key":"YOUR_SECRET_KEY", "client_id":"YOUR_CLIENT_ID", "client_secret":"YOUR_CLIENT_SECRET" }