Get Account Transactions

Use the Get Account Transactions API endpoint to retrieve a paginated list of transactions for a customer's line of credit account within a specified date range.

📘

Early Access

Credit API endpoints are currently being finalised as part of ongoing product development. While we do not anticipate significant changes, some interfaces, behaviours, and documentation may be refined before general availability.

The Get Account Transactions endpoint enables you to retrieve a paginated list of transactions for a customer's line of credit account within a specified date range. Results can be filtered by transaction status and support cursor-based pagination.

📘

More Information

For more information about the Explorer endpoints, see: Credit Explorer.

Example Request

Retrieve account transactions by making a GET request to the Get Account Transactions endpoint.

GET {{baseUrl}}/api/v1/credit/explorer/accounts/{account_id}/transactions/list

Path Parameters

ParameterDescription
account_idstring. Required. The unique identifier of the account.

Query Parameters

ParameterDescription
fromDatestring. Optional. The start date of the date range, in YYYY-MM-DD format.
toDatestring. Optional. The end date of the date range, in YYYY-MM-DD format.
pageSizeinteger. Optional. The number of results to return per page. Defaults to 50.
pageTokenstring. Optional. The cursor token for the next page of results. Pass the nextPageToken value returned in the previous response.
statusesarray of strings. Optional. Repeat the parameter for each status to filter by (for example, ?statuses=active&statuses=pending). Possible values: active, reversed, dispute, settled, pending.
rewardTypestring. Optional. Returns only transactions with earned or redeemed reward points. Possible values: all (default), earned, redeemed.
publicTokenstring. Optional. Returns only transactions made with the card that has this public token.

Example Response

A successful request returns a 200 HTTP status code with a paginated list of transactions.

{
  "results": [
    {
      "clientAssignedId": "acc_123456",
      "transactionId": "txn_123456",
      "transactionType": "spend",
      "creditCategory": null,
      "amount": "49.99",
      "currency": "USD",
      "description": "Coffee Shop",
      "valueDate": "/Date(1706745600)/",
      "status": "settled",
      "billingCycle": "2025-01",
      "publicToken": "pub_123456",
      "panLastDigits": "1234",
      "rewardPoints": 50,
      "rewardDollarValue": "0.50",
      "rewardsEarnRate": "1.50%",
      "rewardsModifierDescription": "Base Rate"
    },
    {
      "clientAssignedId": "acc_123456",
      "transactionId": "txn_789012",
      "transactionType": "payment",
      "creditCategory": null,
      "amount": "200.00",
      "currency": "USD",
      "description": "Monthly payment",
      "valueDate": "/Date(1706659200)/",
      "status": "active",
      "billingCycle": "2025-01",
      "publicToken": null,
      "panLastDigits": null,
      "rewardPoints": null,
      "rewardDollarValue": null,
      "rewardsEarnRate": null,
      "rewardsModifierDescription": null
    }
  ],
  "nextPageToken": "cursor_abc123"
}

Response Fields

Transaction List Response Object

AttributeDescription
resultsarray. A list of transactions for the account within the specified date range. See Transaction Object.
nextPageTokenstring or null. The cursor token to retrieve the next page of results. Pass this value as the pageToken query parameter in the next request. null if there are no further pages.

Transaction Object

AttributeDescription
clientAssignedIdstring or null. The identifier of the parent line of credit account, as assigned in the loan management system.
transactionIdstring or null. The unique identifier of the transaction.
transactionTypestring or null. The type of transaction. Possible values: fee, spend, payment, credit, interest.
creditCategorystring or null. The credit category of a credit transaction, for example a rewards redemption. Only returned for credit transactions.
amountstring or null. The transaction amount.
currencystring or null. The ISO 4217 alphabetic currency code of the transaction.
descriptionstring or null. A description of the transaction. For swipes, this is the merchant name. For payments, this is the payment memo. For charges, this is the fee label.
valueDatestring or null. The date the transaction was applied to the account, in OData date format: /Date(unix_epoch_seconds)/.
statusstring or null. The current status of the transaction. Possible values: active, reversed, dispute, settled, pending.
billingCyclestring or null. A reference to the billing cycle in which the transaction occurred.
publicTokenstring or null. The public token of the card that made the transaction, when known.
panLastDigitsstring or null. The last digits of the PAN of the card that made the transaction.
rewardPointsnumber or null. The net reward points for this transaction. Positive when earned, negative when redeemed or clawed back.
rewardDollarValuestring or null. The net reward points for this transaction, converted to a dollar value.
rewardsEarnRatestring or null. The rewards earn rate of a spend transaction: the product's base rate plus any modifier, e.g. 1.50%. Null when the transaction is reversed.
rewardsModifierDescriptionstring or null. The modifier applied to the rewards earn rate of a spend transaction, or Base Rate when there is none. Null when the transaction is reversed.

Transaction Status

StatusDescription
activeThe transaction is active and applied to the account.
reversedThe transaction has been reversed.
disputeThe transaction is under dispute.
settledThe transaction has been fully settled.
pendingThe transaction is pending and has not yet been applied to the account.


Did this page help you?