API reference · Moving money
Transaction history
GET Fetch an account holder's transaction history
GET /transaction/history
Every transaction across every account the holder owns, newest first, with fees and discounts nested under the transaction that caused them. Omit userReference for your own feed; supplying somebody else's requires the accounts operator permission.
Headers
| Name | Notes |
|---|---|
Authorization | Bearer token |
X-Tenant | Your tenant |
X-Environment | test or live |
Query parameters
| Name | Default |
|---|---|
userReference | Optional |
from | Optional |
to | Optional |
currencyCode | Optional |
accountReference | Optional |
operation | Optional |
transactionType | Optional |
transactionStatus | Optional |
balanceTier | Optional |
direction | Optional |
minAmount | Optional |
maxAmount | Optional |
counterpartyAccountReference | Optional |
transactionReference | Optional |
narrativeContains | Optional |
includeReversed | true |
onlyReversals | false |
includeSubTransactions | true |
includeSummary | false |
page | 0 |
size | 20 |
ascending | false |
Example
Response: Pager<TransactionHistoryResponse>
curl -X GET "https://api.bridgemoni.com/transaction/history?userReference=value&from=value&to=value¤cyCode=value&accountReference=value&operation=value&transactionType=value&transactionStatus=value&balanceTier=value&direction=value&minAmount=value&maxAmount=value&counterpartyAccountReference=value&transactionReference=value&narrativeContains=value&includeReversed=true&onlyReversals=false&includeSubTransactions=true&includeSummary=false&page=0&size=20&ascending=false" \
-H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
-H "X-Tenant: $BRIDGEMONI_TENANT" \
-H "X-Environment: $BRIDGEMONI_ENV" {
"data": {
"page": 0,
"size": 20,
"totalElements": 128,
"totalPages": 7
},
"description": "Fetch an account holder's transaction history"
} Responses
| Status | When |
|---|---|
200 | History fetched successfully |
400 | No from supplied, to before from, or a summary spanning currencies |
404 | The caller may not read this holder's history. Indistinguishable from a holder that does not exist, deliberately |
Generated from the OpenAPI document. Branch on the HTTP status: there is no machine-readable error code on the wire. Errors