curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/integration/rewards/{rewardId}/purchase \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '
{
"amount": 1,
"nonce": "<string>",
"communityId": "<string>"
}
'{
"success": true,
"rewardEntryId": "<string>",
"assetIds": [
"<string>"
]
}Purchase entries or assets for a reward using points.
curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/integration/rewards/{rewardId}/purchase \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '
{
"amount": 1,
"nonce": "<string>",
"communityId": "<string>"
}
'{
"success": true,
"rewardEntryId": "<string>",
"assetIds": [
"<string>"
]
}1Was this page helpful?