curl --request GET \
--url https://api.sprucecollective.co.uk/points/history \
--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>"
}
],
"total": 123
}Get the current user’s points transaction history
curl --request GET \
--url https://api.sprucecollective.co.uk/points/history \
--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>"
}
],
"total": 123
}Type "Bearer" followed by a space and JWT token.
OK