Skip to main content
POST
Bonus Configure

Bonus Types

Headers

string
required
A unique identifier associated with operator calling API.
string
required
A SHA256 HMAC signature generated using the request body and timestamp. Format: HMAC_SHA256(JSON.stringify(data) + ’|’ + timestamp), signed using the provided secret key.
string
required
An Unix timestamp (milliseconds) Used to verify the request’s freshness. Ensure the same value is used in signature generation.
The signature will remain valid for only 5 minutes from the provided timestamp.
string
required
Must be set to application/json.

Request Body

object[]
required
Array containing bonus objects. Up to 50 bonuses data are allowed per API call.

Response

string
required
Code indicates status of the request weather it is succeed or failed. We have listed error codes here
array
required
List of bonuses configured in request.