List company token transactions
Returns a paginated list of token transactions for a user or company, depending on the authenticated actor, with optional filtering by user and transaction type.
Required permissions:
- company_token_transaction:read
- member:basic:read
- company:basic:read
Query parameters
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Filter transactions to only those involving this specific user.
The type of token transaction
The unique identifier of the company to list token transactions for.
Response
A successful response
Example response
{
"data": [
{
"amount": 6.9,
"company": {
"id": "biz_xxxxxxxxxxxxxx"
},
"created_at": "2023-12-01T05:00:00.401Z",
"description": "Reward for completing onboarding",
"idempotency_key": "txn_reward_usr_123_2024",
"user": {
"id": "user_xxxxxxxxxxxxx",
"name": "John Doe",
"username": "johndoe42"
}
}
]
}Changes
Changed in 2 of the 74 revisions of this API.214
- ▲
added the new required
queryrequest parameteraccount_idnew-required-request-parameter
- ●
deleted the
queryrequest parametercompany_idrequest-parameter-removed
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
queryrequest parametertransaction_typewas restricted to a list of enum valuesrequest-parameter-became-enum
- ○
added the new enum value
addto thequeryrequest parametertransaction_typerequest-parameter-enum-value-added
- ○
added the new enum value
subtractto thequeryrequest parametertransaction_typerequest-parameter-enum-value-added
- ○
added the new enum value
transferto thequeryrequest parametertransaction_typerequest-parameter-enum-value-added
- ○
for the
queryrequest parametertransaction_type, the type was generalized from no type tostringrequest-parameter-type-generalized
- ▲
Of the 74 revisions, 1 has no diff computed.