Skip to main content
POST
/
bonus-types
Create a new bonus type
curl --request POST \
  --url https://mock-api.cevro.ai/v1/bonus-types \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "WELCOMEBONUS",
  "code": "WELCOME50",
  "benefit_type": "Cash",
  "amount": 10,
  "description": "Welcome bonus for new players",
  "wager_requirement": 500
}
'

Authorizations

Authorization
string
header
required

API Bearer token. For this demo, any non-empty string is accepted.

Body

application/json
name
string
required
Example:

"WELCOMEBONUS"

code
string
required
Example:

"WELCOME50"

benefit_type
enum<string>
required
Available options:
Cash,
Bonus Money,
Free Spins
amount
number
required
Example:

10

description
string
Example:

"Welcome bonus for new players"

wager_requirement
number
Example:

500

Response

Bonus type created successfully