Overview /
Customers & loyalty /
Wallet ledger
Wallet ledger
get
https://api.flactrum.com/v1/customers/{customer}/transactions
Every movement of money and points on the account, newest first.
| Required scope | customers.read |
| Success status | 200 |
| Returns | A paginated list of CustomerTransaction objects |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| customer * | path | string | ULID of the record. |
| ledger | query | string | — |
| type | query | string | — |
| page | query | integer | Page number. |
| per_page | query | integer | Page size. Values above the maximum are rejected rather than silently clamped. |
Response fields
| Field | Type | Description |
|---|---|---|
| id | string | — |
| customer_id | string | — |
| ledger | string | — |
| type | string | — |
| amount | number | Signed: negative means it left the account. |
| balance_after | number | The balance after this entry, stored so the ledger can be audited without replaying it. |
| order_id | string|null | — |
| description | string|null | — |
| created_at | string | — |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X GET 'https://api.flactrum.com/v1/customers/01m43mxxtypmnjpb64f9am3nky/transactions' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · application/json
{
"data": [
{
"id": "01m43mxxvc5mf5tkvaccty8yfx",
"customer_id": "01m43mxxtypmnjpb64f9am3nky",
"ledger": "balance",
"type": "topup",
"amount": 500,
"balance_after": 500,
"branch_id": null,
"order_id": null,
"description": "Kasadan yükleme",
"created_at": "2026-10-04T14:26:18+00:00"
}
],
"meta": {
"total": 1,
"page": 1,
"per_page": 25,
"last_page": 1
}
}