Skip to main content
GET
List account statement journal entries
GET//////
Retrieve an array of journal entries on a credit account’s statement summary. This endpoint supports sorting.

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 the statement journal entries.

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

statement_summary_token
string
required

Unique identifier of the statement summary from which to retrieve journal entries.

Send a GET request to /credit/accounts/{token}/statements/ to retrieve existing statement summary tokens.

Query Parameters

count
integer
default:5

Number of journal entry resources to return.

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
expand
enum<string>[]

Embeds the specified object into the response.

Available options:
detailObject,
originalCurrency
sort_by
enum<string>
default:lastModifiedTime

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 lastModifiedTime, and not by the field names appearing in response bodies such as last_modified_time.

Available options:
lastModifiedTime,
-lastModifiedTime

Response

Expected response to a valid request.

Return filtered transactions.

data
object[]
required

Contains one or more journal entries on a credit account.

Maximum array length: 100
count
integer
required

Number of resources returned.

Required range: 0 <= x <= 100
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.