Skip to main content
GET
/
subscriptions
/
credit-history
Get credit usage history
curl --request GET \
  --url https://api.sprucecollective.co.uk/subscriptions/credit-history \
  --header 'Authorization: <api-key>'
[
  {
    "created_at": "<string>",
    "credits_used": 123,
    "entries_created": 123,
    "id": "<string>",
    "raffle_id": "<string>",
    "raffle_name": "<string>",
    "subscription_id": "<string>",
    "usage_type": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Query Parameters

limit
integer
default:20

Limit number of results

Response

OK

created_at
string
credits_used
integer
entries_created
integer
id
string
raffle_id
string
raffle_name
string
subscription_id
string
usage_type
string