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.

Data Models

Schemas for all objects returned by the API.

User

{
  "id": "usr_01hx3k9j2e4m7n8p",
  "email": "alice@example.com",
  "name": "Alice",
  "timezone": "UTC",
  "language": "en",
  "created_at": "2024-09-15T10:30:00Z",
  "updated_at": "2024-11-02T08:15:44Z"
}
FieldTypeDescription
idstringusr_ prefix
emailstring
namestring
timezonestringIANA timezone
languagestringISO 639-1
created_atstringISO 8601
updated_atstringISO 8601

Asset

{
  "ticker": "BTC",
  "name": "Bitcoin",
  "symbol": "₿",
  "decimals": 8,
  "network": "Bitcoin",
  "active": true
}
FieldTypeDescription
tickerstringAsset ticker
namestringFull name
symbolstringDisplay glyph
decimalsintegerDecimal precision
networkstringUnderlying blockchain
activebooleanAvailability

Wallet

{
  "id": "wal_01hy2c4n8j5r3d6e",
  "name": "Main BTC",
  "asset": "BTC",
  "balance": 500000000,
  "active": true,
  "created_at": "2024-09-15T10:30:00Z",
  "updated_at": "2024-11-01T09:00:00Z"
}
FieldTypeDescription
idstringwal_ prefix
namestringDisplay name
assetstringAsset ticker
balanceintegerSmallest unit (satoshis, wei, lamports…)
activebooleanfalse = archived
created_atstringISO 8601
updated_atstringISO 8601

Operation

{
  "id": "op_01hz8f3k9m2p6q7r",
  "wallet_id": "wal_01hy2c4n8j5r3d6e",
  "type": "expense",
  "status": "completed",
  "amount": 150000,
  "asset": "BTC",
  "description": "Hardware wallet purchase",
  "category": "equipment",
  "reference": "ORD-8821",
  "metadata": {},
  "created_at": "2024-09-15T10:30:00Z",
  "completed_at": "2024-09-15T10:30:02Z"
}
FieldTypeDescription
idstringop_ prefix
wallet_idstringOwning wallet
typestringincome / expense / transfer
statusstringpending / completed / failed
amountintegerSmallest unit
assetstringAsset ticker
descriptionstring|null
categorystring|null
referencestring|nullExternal ID
metadataobjectArbitrary key/value
created_atstringISO 8601
completed_atstring|nullSet when status → completed

Webhook

{
  "id": "wh_01jz1b2k4n7p9q0r",
  "url": "https://yourapp.com/hooks/sertexity",
  "events": ["operation.completed"],
  "active": true,
  "created_at": "2024-09-15T10:30:00Z"
}
FieldTypeDescription
idstringwh_ prefix
urlstringDelivery endpoint
eventsarraySubscribed event types
activeboolean
created_atstringISO 8601