Skip to main content
GET
List an account's statements

Authorizations

Authorization
string
header
required

Basic HTTP authentication. Allowed headers-- Authorization: Basic <base64(api_key_id:api_key_secret)>

Path Parameters

customer_id
string
required

The unique identifier for the Imprint customer

Example:

"2EE24580-B97B-4949-A65C-929CCB9B9B8D"

account_id
string
required

The unique identifier for the account, as returned by list accounts

Example:

"7C1F9A34-2D6B-4E58-8A03-B15E7D9C4620"

Query Parameters

limit
integer<int32>
default:10

Limits the number of returned statements

Required range: 1 <= x <= 100
starting_after
string

A cursor for use in pagination. Unlike other list endpoints, this takes the opaque next_page_token from the previous response rather than a statement id. Omit it for the first page.

Response

List of customer statements

data
object[]
has_more
boolean
next_page_token
string

Opaque cursor for the next page, present only when has_more is true. Pass it back as starting_after to fetch the following page. Treat it as opaque — its contents are not a statement id and may change.

Example:

"eyJsYXN0X3N0YXRlbWVudF9pZCI6MTAzfQ"