Skip to main content
GET
List files for an account
GET/////
Retrieve an array of statement files for a specific credit account.

URL path parameters

URL query parameters

Response body

Sample response body

JSON

Authorizations

Authorization
string
header
required

Token used to verify user identity and also authorize user to use service

Path Parameters

account_token
string
required

Unique identifier of the credit account for which to retrieve statement files.

Send a GET request to /credit/accounts to retrieve existing credit account tokens.

Query Parameters

start_date
string<date-time>

Start date of the date range for which to return statement files.

Example:

"2024-01-01T00:00:00Z"

end_date
string<date-time>

End date of the date range for which to return statement files.

Example:

"2024-03-01T03:59:59Z"

count
integer
default:5

Number of statement file resources to retrieve.

Required range: 1 <= x <= 100
start_index
integer
default:0

Sort order index of the first resource in the returned array.

Required range: x >= 0
sort_by
enum<string>
default:-createdTime

Field on which to sort. Prefix the field name with a hyphen (-) to sort in descending order. Omit the hyphen to sort in ascending order.

NOTE: You must sort using system field names such as createdTime, and not by the field names appearing in response bodies such as created_time.

Available options:
createdTime,
-createdTime

Response

A JSON object containing a list of statement files.

Returns paginated statement files.

data
object[]
required

List of statement files.

count
integer
required

Number of resources returned.

is_more
boolean
required

A value of true indicates that more unreturned resources exist.

end_index
integer
required

Sort order index of the last resource in the returned array.

start_index
integer
required

Sort order index of the first resource in the returned array.