API Authentication
To ensure secure communication, all API requests require the following:
Header: Authorization: "Basic base64(public_key:secret_key)"
Header:
Content-Type: application/json
Authorization:
The request must include an Authorization header with a Base64 encoded string containing your public_key and secret_key in the format public_key:secret_key. Here's an example of how to generate the Authorization header:
Example:
Authorization: "Basic base64(public_key:secret_key)"For example, if your public_key is your_public_key and your secret_key is your_secret_key, you would encode this into Base64 and use it as the Authorization header.
Example Authorization Header (Base64 encoded):
Authorization: "Basic eW91cl9wdWJsaWNfa2V5OnlvdXJfc2VjcmV0X2tleQ=="Last updated