curl --request GET \
--url https://api.sprucecollective.co.uk/raffles/{id}/points \
--header 'Authorization: <api-key>'{
"has_more": true,
"page": 123,
"page_size": 123,
"points": [
{
"amount": 123,
"created_at": "<string>",
"created_by": "<string>",
"id": "<string>",
"payment_transaction_id": "<string>",
"reason": "<string>",
"site_id": "<string>",
"transaction_type": "<string>",
"user_id": "<string>"
}
],
"raffle_id": "<string>",
"raffle_name": "<string>",
"raffle_points_enabled": true,
"raffle_points_multiplier": 123,
"total": 123,
"total_points_awarded": 123,
"total_points_redeemed": 123,
"unique_users": 123
}Get all points transactions associated with a specific raffle (admin only)
curl --request GET \
--url https://api.sprucecollective.co.uk/raffles/{id}/points \
--header 'Authorization: <api-key>'{
"has_more": true,
"page": 123,
"page_size": 123,
"points": [
{
"amount": 123,
"created_at": "<string>",
"created_by": "<string>",
"id": "<string>",
"payment_transaction_id": "<string>",
"reason": "<string>",
"site_id": "<string>",
"transaction_type": "<string>",
"user_id": "<string>"
}
],
"raffle_id": "<string>",
"raffle_name": "<string>",
"raffle_points_enabled": true,
"raffle_points_multiplier": 123,
"total": 123,
"total_points_awarded": 123,
"total_points_redeemed": 123,
"unique_users": 123
}Type "Bearer" followed by a space and JWT token.
Raffle ID
OK