v1

latestOpenAPI 3.0.02026-07-17339.2 KB
ledger

List Transactions

List an Account Transactions

List Transactions from an Account.

get/transactions

Query parameters

accountstring required
Example:Alice

The id of the Account.

Response

OK

idstring uuid

The id of the transaction.

fromstring required

The id of payer of the transaction. It can be any id you choose, if never used before, it will be created.

tostring required

The id of payee of the transaction. It can be any id you choose, if never used before, it will be created.

datestring date-time

The date the transaction was created.

metadatastring[]

A list of metadata you can add to the transaction.

currencystring required
amountinteger required
balanceinteger

The Balance after the Transaction.

Example response

[
  {
    "from": "Alice",
    "to": "Bob",
    "currency": "usd",
    "amount": 1000,
    "balance": 5000
  }
]
All 3 operations