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
Represents how much money (in cents or the smallest currency subunit) the User wants to save to complete this Dream.
(Optional) DateTime before which the User wants to complete this Dream.
Represents when the dream was completed
Current balance cents for dream
Represents when the dream was deleted
Current count of active savehacks
user
object
groupDream
object
(Optional) GroupDream this Dream is a part of.
account
object
Identifies the account where all money towards this dream is stored
dreamInspiration
object
nullable
(Optional) The Dream Inspiration this Dream was created from.
translatedName
object
Possible values: >= 1
and <= 9223372036854776000
Default value: 0
Possible values: [DreamInspiration
]
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
}