Skip to main content
GET
/
points
/
all-purchase-history
Get all purchase history
curl --request GET \
  --url https://api.sprucecollective.co.uk/points/all-purchase-history \
  --header 'Authorization: <api-key>'
[
  {
    "created_at": "<string>",
    "draw_date": "<string>",
    "item_id": "<string>",
    "payment_transaction_id": "<string>",
    "point_id": "<string>",
    "purchase_cost_cents": 123,
    "purchase_currency": "<string>",
    "quantity": 123,
    "raffle_name": "<string>",
    "raffle_status": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Response

OK

created_at
string
draw_date
string
item_id
string
payment_transaction_id
string
point_id
string
purchase_cost_cents
integer
purchase_currency
string
quantity
integer
raffle_name
string
raffle_status
string