Skip to main content
POST
Award Wallet XP

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
address
string
required

Ethereum wallet address to award the reward to

Example:

"0x1234567890abcdef1234567890abcdef12345678"

pid
string
required

Campaign/Project ID to award the reward for

Example:

"campaign_001"

id
string
required

Unique identifier for this reward (prevents duplicate rewards)

Example:

"reward_task_001"

xp
number
required

Amount of XP points to award

Example:

100

Response

Reward successfully awarded to wallet.

success
boolean
required
Example:

true