Get Account Statements

Use the Get Account Statements API endpoint to retrieve a paginated list of billing cycle statements for a customer's line of credit account.

📘

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 Statements endpoint enables you to retrieve a paginated list of billing cycle statements for a customer's line of credit account. Each statement includes billing cycle dates, balances, and payment information. Results are returned in descending order, with the most recent statement first.

To download a PDF copy of a specific statement, pass its statementId to the Get Statement Download URL endpoint.

📘

More Information

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

Example Request

Retrieve account statements by making a GET request to the Get Account Statements endpoint.

GET {{baseUrl}}/api/v1/credit/explorer/accounts/{account_id}/statements

Path Parameters

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

Query Parameters

ParameterDescription
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.
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.

Example Response

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

{
  "results": [
    {
      "accountId": "acc_123456",
      "statementId": "stmt_001",
      "cycleNumber": 12,
      "currency": "USD",
      "cycleStartDate": "2025-01-01",
      "cycleEndDate": "2025-01-31",
      "dueDate": "2025-02-15",
      "startingBalance": 1000.00,
      "endingBalance": 1200.00,
      "minimumPayment": 25.00
    }
  ],
  "nextPageToken": "cursor_abc123"
}

Response Fields

Statement Response Object

AttributeDescription
resultsarray. A list of billing cycle statements. See Statement 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.

Statement Object

AttributeDescription
accountIdstring. The unique identifier of the account.
statementIdstring. The unique identifier of the statement. Pass this value to the Get Statement Download URL endpoint to retrieve a PDF download link.
cycleNumberinteger or null. The billing cycle number.
currencystring. The currency of the account.
cycleStartDatestring or null. The start date of the billing cycle.
cycleEndDatestring or null. The end date of the billing cycle.
dueDatestring or null. The payment due date for the billing cycle.
startingBalancenumber or null. The account balance at the start of the billing cycle.
endingBalancenumber or null. The account balance at the end of the billing cycle.
minimumPaymentnumber or null. The minimum payment amount due for the billing cycle.


Did this page help you?