Assign Bonus
POST/api/bonus/v1/assign-bonus
Assign a bonus to players, please take into consideration that you as an operator need to validate this request as idempotent, we send a special property called eventDate and requestId to help you identify duplicate requests. For example, if your API returns an error (timeout, econnreset, rate-limit, 400, 500, etc), our platform performs a retry using a backoff mechanism and we send the entire request again until one of the following conditions are met: 1- The request succeed 2- The max retry is reached the platform perform up to 5 retry operations
We always send the entire request back and we expect you process the bonus in background since this API expects a 202 status code (202 Accepted status code means that the request has been accepted for processing, but the processing has not been finished yet).
Request
Responses
- 202
- 400
- 401
- 500
- default
Accepted
400 (BAD REQUEST) error with some field in the request
401 Unauthorized
500 (Error) Internal server Error
An unexpected error response.