Set the reward’s state to ‘paid’
cURL
curl --request PUT \ --url https://api.getreditus.com/api/v1/rewards/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "state": "paid" } '
{ "data": { "id": "<string>", "type": "<string>", "attributes": { "id": "<string>", "advocate_id": "<string>", "advocate_uid": "<string>", "lead_id": "<string>", "amount": 123, "currency": "<string>", "state": "<string>", "created_at": 123, "updated_at": 123 } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Reward ID
New state to set (currently only 'paid' is supported)
paid
Reward updated successfully
Show child attributes
Amount in cents (e.g., 1000 = $10.00)