> ## Documentation Index
> Fetch the complete documentation index at: https://docs.easner.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Transactions

> List and retrieve `txn_` rows for Banking and Checkout.

A transaction is a row on `GET /v1/transactions`. Receive writes vault credits (`deposit`, `chain`, `onramp`). Send writes vault debits (`transfer`). Checkout website payments also appear here when you used a merchant secret key — those land on **your** business balance, not a customer vault.

In Console, these rows are **Payments**. Open a `txn_` for type, source, destination, and the related `tr_` / `cs_`.

> [!NOTE]
>
> **Scope:** `accounts.read`

## Fields

Every field is on [List transactions](https://docs.easner.com/api-reference/transactions/list-transactions.md) and [Retrieve a transaction](https://docs.easner.com/api-reference/transactions/retrieve-a-transaction.md). Those pages are the contract. `amount` is cents and always positive. `direction` is `in` or `out`.

## Types

| `type` | Product | Meaning |
| - | - | - |
| `deposit` | Banking | Bank credit to a customer `acct_` |
| `onramp` | Banking | Card onramp credit to a customer `acct_` |
| `chain` | Banking | Chain credit to a customer `acct_` |
| `transfer` | Banking | Send from a customer `acct_` |
| `checkout` | Checkout | Online payment on your website. Lands on **your** business balance |

`checkout` is not Receive. It does not credit a customer `acct_`. Banking mode in the app also shows that payment.

## List

```bash theme={null}
curl https://api.easner.com/v1/transactions \
  -H "Authorization: Bearer $EASNER_SECRET_KEY"
```

```json theme={null}
{ "data": [ /* Transaction */ ] }
```

Newest first, 20 a page by default and up to 100, with the usual `limit` and `starting_after` cursor ([Reference](https://docs.easner.com/reference.md#pagination)). Only the key's mode is listed.

Filters, all optional and combinable:

| Parameter | Keeps |
| - | - |
| `account` | One `acct_…`'s activity |
| `customer` | One `cus_…`'s activity |
| `type` | `transfer`, `deposit`, `onramp`, `chain` or `checkout` |
| `direction` | `in` or `out` |
| `created[gte]`, `created[lte]` | A date range, both ends included |

### Build a statement

A statement is one account over a date range. Page it until `has_more` is false, then render it in your own app, since the layout and branding are yours:

```bash theme={null}
curl -G https://api.easner.com/v1/transactions \
  -H "Authorization: Bearer $EASNER_SECRET_KEY" \
  --data-urlencode "account=acct_…" \
  --data-urlencode "created[gte]=2026-10-01" \
  --data-urlencode "created[lte]=2026-10-31" \
  -d "limit=100"
```

Show each amount with its sign from `direction` and the same money format as balances ([Show the balance](https://docs.easner.com/accounts.md#show-the-balance)). Easner does not produce a PDF statement over the API.

## Retrieve

`GET /v1/transactions/:id` → Transaction. `404` if missing or the other mode.

## Events

| Event | When |
| - | - |
| `transaction.created` | A row was written. Webhook `data` is **narrower** than this GET object — see [Webhooks](https://docs.easner.com/webhooks.md) |
| `account.updated` | The account totals changed |
| `payment.available` | A Checkout payment became usable |

## Expected

* Reconcile your product against this list.
* `direction: "in"` with `deposit` / `onramp` / `chain` is Receive on a customer account.
* `direction: "in"` with `checkout` is a website payment on your business balance.
* `direction: "out"` is a transfer.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.