Skip to main content
GET
/
points
/
history
Get points 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
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Query Parameters

page
integer
default:1

Page number

page_size
integer
default:10

Page size

Response

OK

has_more
boolean
page
integer
page_size
integer
points
object[]
total
integer