Skip to main content
POST
/
credits
/
grantAdReward
Grant ad reward (development)
curl --request POST \
  --url http://api.superwize.ai/api/credits/grantAdReward \
  --header 'Content-Type: application/json' \
  --data '
{
  "adId": "obj_01JHKZ0PV2WX123456789",
  "amount": 10
}
'
{
  "granted": true,
  "bonusBalance": 250
}

Body

application/json
adId
string
required
Minimum string length: 1
amount
number
default:10
Required range: 1 <= x <= 25

Response

Ad reward grant processed.

granted
boolean
required
bonusBalance
number
required