Wallets

Your ProphetX account has a single wallet that tracks your available balance, open exposure, and transaction history. All monetary values are in USD.


Checking your balance

GET /partner/v4/mm/get_balance

Response

{
  "data": {
    "balance": 1000.00,
    "gec_balance": 500.00,
    "matched_order_balance": 200.00,
    "unmatched_order_balance": 50.00,
    "unmatched_order_balance_status": "succeed",
    "unmatched_order_last_synced_at": "2026-08-10T14:12:40.307908108Z"
  }
}
FieldDescription
balanceYour available cash balance.
gec_balanceGlobal Exposure Credit available on your account. See Exposure Credits below.
matched_order_balanceFunds currently locked in matched (filled) positions.
unmatched_order_balanceFunds reserved for open orders that have not yet been matched.
unmatched_order_balance_statusSync status of the unmatched balance (succeed or failed).
unmatched_order_last_synced_atTimestamp of the last successful unmatched balance sync.

Transaction history

GET /partner/v4/mm/get_transactions

Returns a paginated list of wallet transactions. Each entry covers one lifecycle event on an order — placement, match, settlement, cancellation, or commission.

Query parameters

ParameterTypeDescription
next_cursorstringCursor for pagination. Pass the next_cursor value from the previous response to get the next page. Omit for the first page.
limitintegerNumber of records to return. Defaults to 20, max 1000.
fromintegerUnix timestamp. Only return transactions created at or after this time.
tointegerUnix timestamp. Only return transactions created at or before this time.
market_idstringFilter to transactions on this market.
trade_idstringFilter to transactions on this trade.
event_idstringFilter to transactions on this event.
transaction_typestringFilter on transaction_type. See transaction types below.

Response

{
  "data": {
    "transactions": [
      {
        "status": "Completed",
        "user_id": "550e8400-e29b-41d4-a716-446655440000",
        "transaction_type": "PAY",
        "transaction_sub_type": "OTHER",
        "amount": 150.00,
        "change": 150.00,
        "balance": 1150.00,
        "balance_before": 1000.00,
        "details": "550e8400-e29b-41d4-a716-446655440000",
        "market_id": "219",
        "event_id": "44285780",
        "trade_id": "abc123",
        "description": "...",
        "created_at": "2026-08-10T14:00:00Z"
      }
    ],
    "next_cursor": "..."
  }
}
FieldDescription
statusThe transaction's status: Completed, Pending, Processing, Failed, Expired, or Invalid.
user_idYour participant ID.
transaction_typeWhat triggered this transaction. See transaction types below.
transaction_sub_typeFurther classification of the transaction type.
amountThe unsigned magnitude of this transaction.
changeThe signed change applied to your balance for this transaction.
balanceYour balance after this transaction.
balance_beforeYour balance before this transaction.
detailsThe client-supplied transaction ID used when this transaction was created (idempotency key).
market_idThe market this transaction relates to.
event_idThe event this transaction relates to.
trade_idThe trade this transaction relates to, if any.
descriptionHuman-readable detail.
created_atWhen this transaction was created.
next_cursorCursor for the next page. Absent on the last page.

Transaction types

transaction_typeDescription
TRADEFunds moved when an order (or part of it) is matched.
DEPOSITFunds added to the wallet.
PAYPayout credited when an order settles as a win.
WITHDRAWFunds withdrawn from the wallet.
REJECT_WITHDRAWA withdrawal request was rejected and the funds were returned.
APPROVE_WITHDRAWA withdrawal request was approved and the payout was sent. This step doesn't change your balance — the funds were already deducted when the withdrawal was requested.
REFUNDAn explicit refund issued on an order.
CANCELReserved funds returned after an order was cancelled.
ADJUSTMENT_REDUCEA manual/administrative balance reduction.
COMMISSIONCommission fee charged on a transaction.
ADJUSTMENT_INCREASEA manual/administrative balance increase.
VOIDFunds returned after a market or order was voided.
PUSHStake returned with no profit or loss after a push (tie) result.

Exposure credits

Exposure credits are credit lines extended by ProphetX to select accounts. They are not funded by you and do not appear in your deposit history. Two types exist: Global Exposure Credit (GEC) and Loss Exposure Credit (LEC).

Global Exposure Credit (GEC)

GEC is a general-purpose credit balance usable across markets. If your account has been granted GEC, it appears as gec_balance in the get_balance response.

GEC is drawn down when you place orders and returned when those orders are cancelled or settled. If a refund exceeds the GEC spent on a position, the difference is returned as cash.

Loss Exposure Credit (LEC)

LEC is a credit line scoped to specific market positions rather than your account as a whole. It is market-type aware — moneyline, spread, and total positions each have independent LEC availability. LEC does not appear as a field in get_balance; its consumption is tracked per position internally.

Comparing GEC and LEC

GECLEC
ScopeAccount-widePer market position
Visible in get_balanceYes (gec_balance)No
Market type awareNoYes

Both credit types are granted at ProphetX's discretion. Contact your ProphetX account manager if you have questions about exposure credit eligibility.


Did this page help you?