Skip to main content
POST
/
rewards
/
{rewardId}
/
redemption-values
Process reward redemption values from CSV
curl --request POST \
  --url https://{subdomain}.nudj.cx/api/v2/admin/rewards/{rewardId}/redemption-values \
  --header 'Content-Type: application/json' \
  --header 'x-api-token: <api-key>' \
  --data '{
  "csvUrl": "<string>"
}'
{
  "success": true,
  "data": {
    "totalProcessed": 123,
    "updatedAssetsSupply": 123,
    "hasDuplicates": true
  },
  "message": "<string>"
}

Authorizations

x-api-token
string
header
required

Path Parameters

rewardId
string
required

Body

application/json
csvUrl
string<uri>
required

Response

Successful response

success
boolean
required
data
object | null
message
string
I