List accounting records
list_recordsList the account's book of record, newest first: one immutable row per movement of value (payment_received, fee_prepaid, credit_purchase, refund_sent, fee_onchain, conversion, offramp_payout...) valued when it happened. Each record has value (market value at the block time in the reporting currency, rate and source included), value_usd, contract_value (what the customer owed at the invoice's locked rate), tax, the on-chain proof (tx_hash, block_height, addresses, explorer_url) and an invoice snapshot. currency re-values from value_usd at the historical rate. With a test key, rows created by simulate_test_payment appear only with include_simulated=true. Returns { object: 'list', data, has_more, next_cursor }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| asset | No | Records whose received, sent or fee leg is this asset. | |
| chain | No | ||
| limit | No | Page size (default 20). | |
| cursor | No | next_cursor from the previous page. | |
| tx_hash | No | ||
| currency | No | Re-value `value` into this currency (default: the account's reporting currency). | |
| order_id | No | ||
| invoice_id | No | ||
| occurred_gte | No | RFC 3339 timestamp; block time at or after. | |
| occurred_lte | No | RFC 3339 timestamp; block time at or before. | |
| include_simulated | No | Test mode only: include rows created by simulate_test_payment, which the sandbox hides by default. Ignored with a live key. |