Retrieve a ledger entry
Authentication
AuthorizationBearer
A secret key (rl_sk_test_..., rl_sk_live_...) or a restricted key with limited scopes (rl_rk_test_..., rl_rk_live_...). A restricted key can carry agent: true and an expires_at, and is what a coding agent should hold. Keys end in a checksum so secret scanners can recognize them. People create, roll and revoke keys in the dashboard; GET /v1/api_keys lists them, masked.
Path parameters
ledger_entry_id
The ledger entry ID (le_...).
Response
The ledger entry.
id
object
customer
type
grant, grant_expired and grant_voided move credits in and out. hold reserves. usage and outcome charge. outcome_reversed gives back. invoiced moves a postpaid period’s charges onto its invoice.
status
pending counts as held. posted is final. archived is a pending entry that was released and never posted.
Allowed values:
amount
Signed decimal string. Negative entries reduce the balance.
effective_at
Business time, which may be in the past for backdated events.
description
livemode
created_at
credit_type
currency
posted_balance_after
The posted balance after this entry. Present on posted entries.
posted_at
archived_at
credit_grant
hold
event
outcome_charge
reversal
invoice
pool
The pool the entry moved credits in.
member_id
team_id
corrects
The entry this one corrects, if it is a correction.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error