Skip to main content
Warning
This page is currently deprecated and the functionality it describes will soon be unavailable. To learn more, contact your Marqeta representative.
This feature will be replaced by journal entries. For documentation on journal entries, see: Use the /credit/accounts/{account_token}/ledgerentries endpoint to retrieve ledger entries made on an account on Marqeta’s credit platform. A ledger entry is a record of an entry made on an account ledger, such as a purchase transaction, fee, adjustment, and more. For more on the different types of ledger entries, see About Credit Account Ledger Entries. Ledger entries originate when a ledger entry event occurs, such as a cardholder making a purchase or an account holder making a payment. To receive webhook notifications when ledger entry events occur, see Credit ledger entry events in Event Types.

List account ledger entries

Action: GET
Endpoint: /credit/accounts/{account_token}/ledgerentries
Retrieve an array of ledger 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

Retrieve account ledger entry

Action: GET
Endpoint: /credit/accounts/{account_token}/ledgerentries/{ledger_entry_token}
Retrieve a ledger entry for a credit account.

URL path parameters

Response body

Sample response body

The following code block shows a sample PURCHASE ledger entry.
JSON
The following code block shows a sample interest ledger entry.
JSON
The following code block shows a sample fee ledger entry.
JSON

Resend credit event notification

Action: POST
Endpoint: /credit/webhooks/{event_type}/{resource_token}
Resends a credit event notification to your webhook endpoint. Although you send this request as a POST, all parameters are passed in the URL and the body is empty. The event notification is resent to your webhook endpoint and also returned in the response to this request. For details on how to configure your webhook endpoint, see the About Webhooks tutorial. For the complete /webhooks endpoint reference, see Webhooks.

URL path parameters

Response body

Sample response body

The following code block shows a sample of a resent creditaccounttransitions event.
JSON
The following code block shows a sample of a resent creditaccountstatements event.
JSON
The following code block shows a sample of a resent creditjournalentries event.
JSON
The following code block shows a sample of a resent creditledgerentries event.
JSON
The following code block shows a sample of a resent creditpaymenttransitions event.
JSON
The following code block shows a sample of a resent creditdelinquencytransitions event.
JSON