Settlement Lines
Settlement Lines
This guide covers settlement lines, a short-term facility that allows entitled clients to trade using funds up to a predefined limit.
Overview
Settlement lines act as short-term lending facilities for PRIME platform clients. If you are entitled to a settlement line, you can trade using funds up to the limit of the settlement line without having the full balance available upfront. PRIME tracks your consumption (exposure) and periodically notifies you via email about the exposure to be covered through deposits and subsequent settlement actions.
Key Concepts
How It Works
- Line Allocation: A settlement line is configured for your sub-account with a maximum limit in a quotation currency (e.g., USD, CHF)
- Trading: You can place trades even without sufficient balance, up to your settlement line limit
- Exposure Tracking: As trades execute, your exposure increases
- Notifications: PRIME sends daily email reports showing your outstanding positions
- Settlement: You deposit funds and settle the exposure, either manually or automatically
Prerequisites
- Authenticated session (JWT or API key)
- Sub-account with an active settlement line (configured by platform operator)
CanTradepermission for settlement operations
Step 1: Check Your Settlement Line
Retrieve the settlement line configuration for your sub-account.
Endpoint: GET /api/rest/v1/exposure-lines/by-sub-account/{subAccountId}
Request
Response (200 OK)
Settlement Line Fields
Response (404 Not Found)
If the sub-account does not have a settlement line:
Step 2: Update Automatic Settlement
Control whether deposits automatically settle your exposure.
Endpoint: PUT /api/rest/v1/exposure-lines/by-sub-account/{subAccountId}
Request
Request Fields
Response (200 OK)
Returns the updated settlement line:
Step 3: View Exposure Calls
List the pending exposure calls (outstanding amounts to settle) for your sub-account.
Endpoint: GET /api/rest/v1/exposure-calls/by-sub-account/{subAccountId}
Request
Query Parameters
Response (200 OK)
Exposure Call Fields
Exposure Call Status Values
Understanding Exposure Calls
demandQuantity: The total amount you need to deposit in this instrumentcoverQuantity: The amount you’ve already settled- Outstanding amount:
demandQuantity - coverQuantityis what you still owe - When
coverQuantityequalsdemandQuantity, the status changes toSTATUS_CLOSED
Step 4: Settle Exposure
Manually settle an open exposure by using your available funds.
Endpoint: POST /api/rest/v1/exposure-calls/by-sub-account/{subAccountId}/settle
Request
Request Fields
Response (200 OK)
Empty response on success. The exposure call will be updated with the new coverQuantity.
Error Responses
Real-Time Exposure Updates
Subscribe to exposure updates via WebSocket to monitor your usage in real-time.
Topic: {subAccountId}@exposures
Subscribe
Exposure Update Message
Message Fields
Balance Fields
When querying balances, the following fields relate to settlement lines:
See Wallet Information for details on balance queries.
Email Notifications
PRIME sends email notifications to help you manage your settlement line:
Daily Report
A daily summary sent at noon (Europe/Zurich timezone) containing:
- Limit: Your total settlement line limit
- Outstanding: Remaining available limit
- Used: Current usage amount and percentage
- Pending settlements in favor of PRIME: Assets you owe (deposits needed)
- Pending settlements in your favor: Assets PRIME owes you (on external addresses)
Warning Notice
An urgent notification sent when your settlement line is almost fully consumed, warning you to fund your account to avoid trading disruption.
Typical Workflow
Error Scenarios
Related
- Wallet Information - Balance queries including exposure fields
- Deposits & Withdrawals - Depositing funds to cover exposure
- WebSocket Topics - Real-time exposure updates