The Transaction History endpoint returns a paginated list of your transactions, with optional filters for date range, payment status, app token, and terminal. Each row includes aDocumentation Index
Fetch the complete documentation index at: https://docs.flouci.com/llms.txt
Use this file to discover all available pages before exploring further.
settlement_status field indicating where the transaction sits in the settlement lifecycle.
The endpoint has two branches selected by the type query parameter:
type=online(default) — returns card, wallet, and mobile-switch payments created through the online payment API.type=pos— returns transactions processed by a POS terminal.
Query Parameters
Identifier of the merchant whose history to query. The merchant must have developer API access enabled.
Which branch of the history to query. Either
online (returns online payments — card, wallet, mobile switch) or pos (returns POS terminal transactions).ISO-8601 datetime. Inclusive lower bound on the transaction creation time. Unbounded if omitted.
ISO-8601 datetime. Inclusive upper bound on the transaction creation time. Must be ≥
start_date and cannot be in the future.Optional status filter. Accepts the codes in the table below for both branches — POS queries map them internally to POS payment statuses.
Online only. Filter results to a specific app token recorded on the payment payload.
POS only. Restrict results to a single terminal. Maximum 16 characters. Returns a
1004 validation error if combined with type=online.operation_status accepted values
The endpoint accepts the same status codes regardless of type. For POS queries the code is mapped internally.
| Code | Online (type=online) | POS (type=pos) |
|---|---|---|
S (Success) | matches Success | matches PAYMENT_SUCCEEDED |
AS (All success) | matches Success, FlouciSuccess, MobileSwitchSuccess | matches PAYMENT_SUCCEEDED |
PF (Payment failure) | matches PaymentFailure | matches PAYMENT_FAILED |
P (Pending) | matches Pending | matches PAYMENT_PENDING |
Validation errors
| Code | Reason |
|---|---|
1002 | start_date is later than end_date. |
1003 | start_date or end_date is in the future. |
1004 | terminal_id supplied together with type=online. |
Response
The endpoint returns a paginated list. Each element is shaped according to the requestedtype.
- Online (type=online)
- POS (type=pos)
Payment method used. One of
card, flouci (wallet), mpayment (mobile switch), or NA.Amount in millimes.
Payment status. One of
SUCCESS, PENDING, EXPIRED, FAILURE, PREAUTH_SUCCESS, or SYSTEM_FAILURE.Buyer information. Shape depends on the payment
type.Your merchant-supplied reference. May be
null.Per-transaction fee in millimes. Returns an empty string
"" until the fee has been computed.VAT in millimes. Returns an empty string
"" until computed.Settlement lifecycle state for this transaction. See Settlement Status.
