Skip to main content

Enums

Values are returned as strings and compared exactly, in upper case.

Transaction state

ValueMeaning
QUEUEDCreated. The sender's funds are reserved
PENDINGValidated, preparing to settle
PROCESSINGIn flight, or held in escrow with the dispute window open
DISPUTEDDisputed during the window
BLOCKEDHeld for review
PROCESSEDSettled. Funds are spendable by the recipient
FAILTerminal failure. Reservations released

PROCESSED and FAIL are the only terminal states. Treat anything else as in progress.

Transaction type

ValueMeaning
DEPOSITBank into a wallet
WITHDRAWALWallet out to a bank
P2PWallet to wallet
PURCHASEWallet to merchant
FEEFee charged for a protected transfer
UNDOReversing entry from a refund or dispute resolution
SELFReserved. Not currently accepted
EARNReserved for rewards

FEE and UNDO rows appear in history alongside the transaction they relate to.

Card status

ValueMeaning
UNISSUEDIssued but not activated by the holder
ACTIVEUsable, unless frozen is true
BLOCKEDTerminal. Issue a replacement instead

frozen is a separate boolean, not a status.

Dispute case status

ValueMeaning
OPENUnder discussion. The thread accepts messages
RESOLVEDClosed. The thread is read-only

KYC status

ValueMeaning
PENDINGNot yet verified
VERIFIEDApproved
REJECTEDDeclined

Health status

ValueMeaning
UpHealthy
DegradedSlow but responding
DownUnavailable

Gas tiers

Tier names are returned by GET /api/v1/Transaction/gas-tiers, from cheapest and slowest to most expensive and fastest.

Value
ExtraSlow
Slow
Normal
Medium
Quick
Fast
Immediate

Read the list at request time rather than hardcoding it. Fees and window lengths vary with network conditions.