Authorizations
Path Parameters
Minimum length:
1
Body
application/json
Required range:
x > 0
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
}'
{
"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
}'
{
"success": true,
"rewardEntryId": "<string>",
"assetIds": [
"<string>"
]
}
1
x > 0
Was this page helpful?