Skip to content
Get started

List

transactions.list(TransactionListParams**kwargs) -> TransactionListResponse
GET/transactions

Lists all transactions for the workspace

ParametersExpand Collapse
account: Optional[str]

Filter by account. Encoded account ID (ext_account_xxx) or external_id. If the account does not exist, returns an empty list.

reconciliation_status: Optional[Literal["reconciled", "unreconciled"]]

Filter by reconciliation state. reconciled = unallocated_amount === 0; unreconciled = unallocated_amount !== 0. Omit for all transactions.

Accepts one of the following:
"reconciled"
"unreconciled"
ReturnsExpand Collapse
class TransactionListResponse:

List of transactions

data: List[Data]
id: str

User-facing encoded transaction ID.

account: DataAccount
id: str

User-facing encoded account ID.

external_id: str

External account reference ID.

allocations: List[DataAllocation]
amount: str

Amount to allocate in smallest currency unit as stringified bigint.

invoice_id: str

The invoice to allocate against.

type: Literal["invoice_payin", "invoice_payout"]

The type of allocation.

Accepts one of the following:
"invoice_payin"
"invoice_payout"
user: DataAllocationUser

User reference. Provide either id or external_id.

Accepts one of the following:
class DataAllocationUserID:
id: str

Internal user ID.

class DataAllocationUserExternalID:
external_id: str

External user ID.

amount: str

Amount in smallest currency unit as stringified bigint (can be positive or negative).

created: datetime

Creation timestamp.

formatdate-time
currency: Literal["ADA", "BTC", "DAI", 176 more]

Currency code (ISO 4217 or crypto)

Accepts one of the following:
"ADA"
"BTC"
"DAI"
"ETH"
"SOL"
"USDC"
"USDT"
"USDG"
"EURC"
"CADC"
"CADT"
"XLM"
"UNI"
"BCH"
"LTC"
"AAVE"
"LINK"
"MATIC"
"PTS"
"AED"
"AFN"
"ALL"
"AMD"
"ANG"
"AOA"
"ARS"
"AUD"
"AWG"
"AZN"
"BAM"
"BBD"
"BDT"
"BGN"
"BHD"
"BIF"
"BMD"
"BND"
"BOB"
"BRL"
"BSD"
"BTN"
"BWP"
"BYR"
"BZD"
"CAD"
"CDF"
"CHF"
"CLP"
"CNY"
"COP"
"CRC"
"CUC"
"CUP"
"CVE"
"CZK"
"DJF"
"DKK"
"DOP"
"DZD"
"EGP"
"ERN"
"ETB"
"EUR"
"FJD"
"FKP"
"GBP"
"GEL"
"GGP"
"GHS"
"GIP"
"GMD"
"GNF"
"GTQ"
"GYD"
"HKD"
"HNL"
"HRK"
"HTG"
"HUF"
"IDR"
"ILS"
"IMP"
"INR"
"IQD"
"IRR"
"ISK"
"JMD"
"JOD"
"JPY"
"KES"
"KGS"
"KHR"
"KMF"
"KPW"
"KRW"
"KWD"
"KYD"
"KZT"
"LAK"
"LBP"
"LKR"
"LRD"
"LSL"
"LYD"
"MAD"
"MDL"
"MGA"
"MKD"
"MMK"
"MNT"
"MOP"
"MUR"
"MVR"
"MWK"
"MXN"
"MYR"
"MZN"
"NAD"
"NGN"
"NIO"
"NOK"
"NPR"
"NZD"
"OMR"
"PAB"
"PEN"
"PGK"
"PHP"
"PKR"
"PLN"
"PYG"
"QAR"
"RON"
"RSD"
"RUB"
"RWF"
"SAR"
"SBD"
"SCR"
"SDG"
"SEK"
"SGD"
"SHP"
"SLL"
"SOS"
"SPL"
"SRD"
"SVC"
"SYP"
"STN"
"SZL"
"THB"
"TJS"
"TMT"
"TND"
"TOP"
"TRY"
"TTD"
"TVD"
"TWD"
"TZS"
"UAH"
"UGX"
"USD"
"UYU"
"UZS"
"VEF"
"VND"
"VUV"
"WST"
"XAF"
"XCD"
"XOF"
"XPF"
"YER"
"ZAR"
"ZMW"
"LOGICAL"
"CUSTOM"
external_id: str

External idempotency key provided by the user.

posted: datetime

Posted timestamp in ISO 8601 format.

formatdate-time
unallocated_amount: str

Read-only amount not yet allocated.

modified: Optional[datetime]

Last modified timestamp.

formatdate-time

List

from fragment import Fragment

client = Fragment()
transactions = client.transactions.list()
print(transactions.data)
{
  "data": [
    {
      "id": "txn_dHhuX2ZyYWdfMDAx",
      "account": {
        "id": "ext_account_YWJjMTIz",
        "external_id": "acct_external_123"
      },
      "allocations": [
        {
          "amount": "1000",
          "invoice_id": "inv_abc123",
          "type": "invoice_payin",
          "user": {
            "id": "user_abc123"
          }
        }
      ],
      "amount": "-1000",
      "created": "2026-02-12T00:00:00.000Z",
      "currency": "USD",
      "external_id": "bank_txn_123",
      "posted": "2026-02-12T00:00:00.000Z",
      "unallocated_amount": "-1000",
      "modified": "2026-02-12T01:00:00.000Z"
    }
  ]
}
Returns Examples
{
  "data": [
    {
      "id": "txn_dHhuX2ZyYWdfMDAx",
      "account": {
        "id": "ext_account_YWJjMTIz",
        "external_id": "acct_external_123"
      },
      "allocations": [
        {
          "amount": "1000",
          "invoice_id": "inv_abc123",
          "type": "invoice_payin",
          "user": {
            "id": "user_abc123"
          }
        }
      ],
      "amount": "-1000",
      "created": "2026-02-12T00:00:00.000Z",
      "currency": "USD",
      "external_id": "bank_txn_123",
      "posted": "2026-02-12T00:00:00.000Z",
      "unallocated_amount": "-1000",
      "modified": "2026-02-12T01:00:00.000Z"
    }
  ]
}