List transaction activity
GET
/v2/activity/{accountId}Request
Use this request to get a list of transactions for a given account, based on itsid. Results are ordered chronologically by creation date, with the most recent transaction appearing first.
Sample request
Request structure
Path parameters
The ID of the account that you want to get a list of transactions for.Allowable values: An existing
accountIdQuery parameters
The maximum amount of results to return. By default, this is set to
100.Allowable values: [ 1 .. 1000 ]The amount of results to skip. By default, this is set to
0.Allowable values: A valid integerOptional additional information to return in the results.Allowable values:
bankFeedDetails, annotations, attachmentsThe ID of the person to filter results by. Use commas to pass multiple values. Has to be URL encoded.Example:
personId=34edaf73-49be-4669-83ee-1b1f8c680d29%2Ceee079a2-5453-4a69-8d5d-223db353f0f3The
type to filter results by. Use commas to pass multiple values. Has to be URL encoded. For example, type=payment%2Cload. For more information about each type, see About transaction types.Allowable values: exchange, payment, deposit, forwardContract, drawdown, card, cardCheck, cardRefund, cashWithdrawal, atm, unload, otherDebit, load, cashback, chargeback, otherCredit, fee, batchPaymentThe type to exclude in the transactions list. Use commas to pass multiple values. Has to be URL encoded.Allowable values:
exchange, payment, deposit, forwardContract, drawdown, card, cardCheck, cardRefund, cashWithdrawal, atm, unload, otherDebit, load, cashback, chargeback, otherCredit, fee, batchPaymentThe
status to filter results by. Use commas to pass multiple values. Has to be URL encoded. For example, status=complete%2Ccancelled. For more information about each status, see About transaction statuses.Allowable values: needsApproval, fundsRequired, pending, complete, declined, reverted, refunded, cancelled, open, cardCheck, fundsSettledThe
budgetId to filter results by. Use commas to pass multiple values. Has to be URL encoded.Allowable values: An existing budgetId (≤ 36 characters)The
budgetName to filter results by. Use commas to pass multiple values. Has to be URL encoded. For example, budgetName=Account%2Cmarketing.Allowable values: An existing budgetName (≤ 36 characters)Filters transactions that include selling these currencies. Use commas to pass multiple values. Has to be URL encoded. For example,
sellCurrency=usd%2Cgbp.Allowable values: 3 charactersFilters transactions that include purchasing these currencies. Use commas to pass multiple values. Has to be URL encoded. For example,
buyCurrency=usd%2Cgbp.Allowable values: 3 charactersThe earliest date from which to retrieve results (includes transactions on this date). For example,
startDate=2021-02-15.Allowable values: Format: YYYY-MM-DDThe latest date until which to retrieve results (includes transactions on this date). For example,
endDate=2021-03-30.Allowable values: Format: YYYY-MM-DDFilters results that include this string. For example,
search=Jane+Doe.Allowable values: A valid stringIf
annotations is included in the include parameter, this will filter the transactions based on the status of the annotations. For example, annotationStatus=draft%2Csubmitted.Allowable values: draft, submitted, unannotatedIf
attachments is included in the include parameter, this will filter the transactions based on whether transactions have attachments or not. For example, attachmentStatus=absent%2CpresentAllowable values: absent, present, lostResponse
If your request is successful, you’ll receive a200 response containing a list of transactions, ordered chronologically with the most recent transaction appearing first.
Pagination
Results are paginated using thelimit and offset query parameters. By default, the API returns up to 100 results starting from offset 0.
To retrieve the next page of results, increase the offset by the limit value. For example, to get the second page of 100 results, set offset=100. You can use the count field in the response to determine the total number of results available.
Example: Get the second page of 50 results
Filtering examples
You can combine query parameters to narrow down results. Here are some common examples. Filter by transaction type:Get only card transactions
Get transactions from January 2024
Get only completed transactions
Get completed card transactions from January 2024