Skip to main content
POST
/
finance
/
device
/
bonus-days
Issue bonus days
curl --request POST \
  --url http://134.209.118.139:3002/finance/device/bonus-days \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "customerid": 123,
  "days": 7
}
'
{
  "message": "No token provided."
}

Authorizations

x-access-token
string
header
required

JWT token obtained from POST /api/auth/signin

Body

application/json
customerid
integer
required
days
integer
required
Example:

7

Response

Bonus days applied