Transactions
Retrieve day passes transactions
Getting Started
Endpoints
- Benefit Applications
- Benefits
- Bookings
- Companies
- Event Tickets
- Feed Posts
- Invoices
- Invoice Items
- Locations
- Memberships
- Networks
- Orders
- Plans
- Products
- Resources
- Subscriptions
- Support Tickets
- Transactions
- Visitors
Transactions
Retrieve day passes transactions
Retrieve day passes transactions.
OAuth
Required scopes:transactions.readonly
or transactions
GET
/
transactions
/
day_passes
/
v1
curl --request GET \
--url https://api.spacebring.com/transactions/day_passes/v1 \
--header 'Authorization: Basic <encoded-value>'
{
"transactions": [
{
"amount": 123,
"booking": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resource": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
}
},
"company": {
"createDate": "<string>",
"id": "<string>",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {},
"notes": "<string>",
"subscriptionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"companyRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membershipRefCreator": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membershipRefOwner": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"refund": {
"amount": 123,
"createDate": "2023-11-07T05:31:56Z"
},
"type": "booking",
"userCreator": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
},
"userOwner": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
},
"userRefCreator": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userRefOwner": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"nextPageToken": "<string>"
}
Authorizations
See our authentication documentation for how to authorize your requests
Headers
The id of the network. Required when using bearer token authentication
Query Parameters
The number of items to return
Required range:
1 < x < 100
nextPageToken retrieved from a previous request
The id of the membership to get transactions for
The id of the company to get transactions for
Response
200
application/json
OK
Use to attach key-value data to the object. Available only for admins.
Available options:
booking
, chargeExpiringDayPasses
, refund
, subscriptionExpiration
, subscriptionRenewal
, transferExpiringDayPasses
curl --request GET \
--url https://api.spacebring.com/transactions/day_passes/v1 \
--header 'Authorization: Basic <encoded-value>'
{
"transactions": [
{
"amount": 123,
"booking": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resource": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
}
},
"company": {
"createDate": "<string>",
"id": "<string>",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {},
"notes": "<string>",
"subscriptionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"companyRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membershipRefCreator": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membershipRefOwner": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"refund": {
"amount": 123,
"createDate": "2023-11-07T05:31:56Z"
},
"type": "booking",
"userCreator": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
},
"userOwner": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
},
"userRefCreator": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userRefOwner": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"nextPageToken": "<string>"
}