Get all Transactions
GET/transactions
Get all Transactions in a paginated listing, sorted by ascending requestedAt
.
Request
Query Parameters
Possible values: >= 1
Default value: 1
The page number in a paginated listing.
Possible values: >= 1
and <= 100
Default value: 20
The number of items to return on each page.
Filter records by externalId
Filter records by externalUserId
Possible values: [requested
, settled
, failed
]
Omits the page
query parameter and gets items after specified id or the first available one if left empty.
The next_url
meta key in the response will use the last item in the response.
This is especially useful when fetching state=requested
transactions while simultaneously
PATCHing to avoid page order problems and getting more predictable chunks.
Responses
- 200
All the transactions in a paginated listing.
- application/json
- Schema
- Example (from schema)
Schema
Array [
- transaction.Deposit
- transaction.Withdrawal
- transaction.Internal
]
transactions
object[]
oneOf
Possible values: [Deposit
]
user
object
required
Possible values: [requested
, settled
, failed
]
toAccount
object
required
toDream
object
Possible values: [Withdrawal
]
user
object
required
Possible values: [requested
, settled
, failed
]
fromAccount
object
required
fromDream
object
Possible values: [Internal
]
user
object
required
Possible values: [requested
, settled
, failed
]
fromAccount
object
required
fromDream
object
toAccount
object
required
toDream
object
meta
object
URL for the next page.
The number of returned items on this page.
{
"transactions": [
null,
null,
null
],
"meta": true
}