Skip to main content
GET
List account journal entries
GET////
Retrieve an array of journal entries on a credit account. This endpoint supports sorting and pagination and object expansion.

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 you want to retrieve journal entries.

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

Query Parameters

count
integer
default:5

Number of journal entry 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
start_date
string

Starting date of the date range from which to return journal entries.

end_date
string

Ending date of the date range from which to return journal entries.

start_impact_time
string

Starting impact_time of the date range from which to return journal entries.

end_impact_time
string

Ending impact_time of the date range from which to return journal entries.

start_created_time
string

Starting created_date of the date range from which to return journal entries.

end_created_time
string

Ending created_date of the date range from which to return journal entries.

statuses
enum<string>[]

Array of statuses by which to filter journal entries.

Available options:
POSTED,
PENDING
detail_token
string

Detail token of the journal entries to return.

groups
enum<string>[]

Array of groups by which to filter journal entries.

To return all journal entry groups, do not include this query parameter.

Available options:
PURCHASE,
ORIGINAL_CREDIT,
FEE,
BALANCE_REFUND,
PAYMENT,
INTEREST,
DISPUTE,
REFUND,
ADJUSTMENT,
REWARD
expand
enum<string>[]

Embeds the specified object into the response.

Available options:
detailObject,
originalCurrency
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,
impactTime,
-impactTime
card_tokens
string[]

Array of card tokens by which to filter journal entries. Returns journal entries associated with the specified card tokens.

Send a GET request to /credit/accounts/{account_token}/cards/ to retrieve existing card tokens.

user_tokens
string[]

Array of user tokens by which to filter journal entries. Returns journal entries associated with the specified user tokens.

Send a GET request to /users to retrieve existing user tokens.

types
enum<string>[]

Array of <</core-api/event-types#_credit_journal_entry_events, event types>> by which to filter journal entries.

To return all event types, do not include this query parameter.

Available options:
authorization,
authorization.advice,
authorization.incremental,
authorization.reversal,
authorization.reversal.issuerexpiration,
authorization.clearing,
refund,
refund.authorization,
refund.authorization.advice,
refund.authorization.reversal,
refund.authorization.clearing,
refund.authorization.reversal.issuerexpiration,
originalcredit.authorization,
originalcredit.authorization.clearing,
originalcredit.authorization.reversal,
originalcredit.authpluscapture,
originalcredit.authpluscapture.reversal,
originalcredit.authorization.reversal.issuerexpiration,
account.balancerefund,
account.reward.cashback,
account.reward.auto.cashback,
account.reward.auto.cashback.reversal,
account.payment,
account.payment.completed,
account.payment.returned,
account.payment.canceled,
account.payment.refunded,
account.payment.completed.hold.released,
account.payment.completed.hold,
account.interest,
account.fee.payment.late,
account.fee.payment.returned,
account.fee.interest.minimum,
account.dispute,
account.dispute.reversal,
account.dispute.won,
account.dispute.lost,
account.dispute.lost.graceperiod,
account.adjustment,
account.adjustment.purchase,
account.adjustment.fee,
account.adjustment.interest,
account.adjustment.reward,
pindebit,
pindebit.authorization.clearing,
pindebit.refund

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.