Transaction code tables
The transactionClass, transactionState and transactionType values a transaction can carry.
These codes appear on the transaction list endpoint and on the transaction webhook payload.
transactionClass
Transactions are split by the kind of movement they record: deposits and withdrawals of digital assets and fiat, trades agreed with the brokerage desk, and trades executed on the e-Trader service.
| Code | Description |
|---|---|
COIN | Digital-asset deposit or withdrawal |
CASH | Fiat deposit or withdrawal |
RFSTRADE | RFS trade executed on e-Trader |
OTCTRADE | OTC trade agreed with the brokerage desk |
transactionState
Transactions transition through the following states.
| Code | Description |
|---|---|
PENDING | Trade is executed but pending settlement |
CANCELLED | Trade settlement has been cancelled |
PROCESSED | Trade is executed and settled |
REVERSED | A leg of the transaction has been reversed |
transactionType
The type of transaction, which is also what the list endpoint filters on.
| Code | Description |
|---|---|
TRADE_CREDIT | RFS or OTC trade credit (buy transaction) |
TRADE_DEBIT | RFS or OTC trade debit (sell transaction) |
TRADE_CREDIT_REVERSAL | RFS or OTC trade credit reversal (buy transaction) |
TRADE_DEBIT_REVERSAL | RFS or OTC trade debit reversal (sell transaction) |
DEPOSIT | Deposit |
DEPOSIT_REVERSAL | Deposit reversal |
WITHDRAWAL | Withdrawal |
WITHDRAWAL_REVERSAL | Withdrawal reversal |