Skip to main content
POST
Purchase a reward

Authorizations

x-api-token
string
header
required

Path Parameters

rewardId
string
required
Minimum string length: 1

Body

application/json
amount
number
required
Required range: x > 0
nonce
string
required
Minimum string length: 1
communityId
string

Optional communityId to track which community the purchase was made from. Used for cross-community rewards.

Response

Successful response

success
boolean
required
rewardEntryId
string
assetIds
string[]