Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.sertexity.com/llms.txt

Use this file to discover all available pages before exploring further.

List Operations

Return a paginated list of operations for the authenticated user. GET /operations  ·  🔒 Auth required

Query parameters

ParameterTypeDefaultDescription
wallet_idstringFilter by wallet
typestringincome, expense, or transfer
statusstringpending, completed, or failed
assetstringFilter by asset ticker (e.g. BTC)
fromstringISO 8601 start date (inclusive)
tostringISO 8601 end date (inclusive)
pageinteger1Page number
per_pageinteger20Max 100
sortstringcreated_at:desccreated_at or amount, with :asc / :desc

Response 200 OK

{
  "data": [
    {
      "id": "op_01hz8f3k9m2p6q7r",
      "wallet_id": "wal_01hy2c4n8j5r3d6e",
      "type": "expense",
      "status": "completed",
      "amount": 150000,
      "asset": "BTC",
      "description": "Hardware wallet purchase",
      "category": "equipment",
      "reference": "ORD-8821",
      "created_at": "2024-09-15T10:30:00Z",
      "completed_at": "2024-09-15T10:30:02Z"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 20,
    "total": 74,
    "total_pages": 4
  }
}

Example

curl "https://api.sertexity.com/v1/operations?asset=BTC&type=expense&per_page=10" \
  -H "Authorization: Bearer <access_token>"