curl --request GET \
--url https://api.sprucecollective.co.uk/points/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>"
}
]Get the current user’s purchase history (point items with raffle info)
curl --request GET \
--url https://api.sprucecollective.co.uk/points/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>"
}
]Type "Bearer" followed by a space and JWT token.