Skip to main content
GET
Retrieve credit transactions

Authorizations

Authorization
string
header
required

See our authentication documentation for how to authorize your requests

Headers

spacebring-network-id
string<uuid>

The id of the network. Required when using bearer token authentication

Query Parameters

companyRef
string<uuid>
deprecated

Deprecated. Use customerRef instead. The id of the company to get transactions for.

createDate[gte]
string

Get transactions with greater or equal createDate. Example: createDate[gte]=2021-05-21T10:00:00Z

createDate[lte]
string

Get transactions with less or equal createDate. Example: createDate[lte]=2021-05-21T10:00:00Z

customerRef
string<uuid>

UUID of the company or membership whose credits transactions to list.

limit
integer

Maximum number of transactions per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100.

Required range: 1 <= x <= 100
locationRef
string<uuid>

UUID of the location whose credits transactions to list.

membershipRef
string<uuid>
deprecated

Deprecated. Use customerRef instead. The id of the membership to get transactions for.

nextPageToken
string

Token to retrieve the next page of results.

status
string

Filter by transaction status. Comma-separated status values, e.g. status=succeeded,pending.

type
string

Filter by transaction type. Comma-separated storage type values, e.g. type=refund,booking. Matches analytics report type filters.

Response

OK

transactions
object[]
required

List of credits transactions.

nextPageToken
string

Pagination token to fetch the next page of results.

searchQueryNext
string

Ready-to-use query string with the current filters and nextPageToken to fetch the next page of results.