Subscription Request
Subscribe method. Must be
subscribeArray of topics to subscribe to. Must include
depositExample: ["deposit"]Ticket created using the endpoint POST https://api.ripio.com/trade/ticket
Stream Response
Message identifier
Topic name (always
deposit)Server timestamp in milliseconds
Deposit details object
Subscription Example
Stream Response Example - Cryptocurrency Deposit
Stream Response Example - Fiat Deposit
Deposit Status Lifecycle
- pending: Deposit received but not yet confirmed
- confirmed: Deposit finalized and added to your balance
- failed: Deposit failed and was not credited
Deposit Types
External Deposits
- From external blockchain addresses
- Include transaction hash
- May take time to confirm (network dependent)
- Bitcoin: ~10 minutes (6 confirmations)
- Ethereum: ~2 minutes (12 confirmations)
Internal Transfers
- Between BitcoinTrade accounts
- No blockchain involved
- Confirm immediately
- Marked with
is_internal: true
Key Fields
| Field | Description |
|---|---|
| amount | How much was deposited |
| currency_code | What was deposited |
| status | Current state of deposit |
| hash | Transaction ID on blockchain |
| network | Which blockchain network |
| is_internal | Whether it’s an internal transfer |
Blockchain Networks
| Network | Code | Currency |
|---|---|---|
| Bitcoin | bitcoin | BTC |
| Ethereum | ethereum | ETH |
| Bitcoin Cash | bitcoincash | BCH |
| And others | - | - |
Timing by Currency
| Currency | Type | Typical Confirmation |
|---|---|---|
| BTC | External | 10-30 minutes |
| ETH | External | 2-5 minutes |
| BCH | External | 3-10 minutes |
| BRL | Internal | Immediate |
| Others | Variable | Variable |
Usage Notes
- Authentication Required: Requires valid ticket from WebSocket authentication
- Real-time Updates: Receive notification when deposit is received
- Multiple Notifications: Receive updates as status changes (pending → confirmed)
- Complete Info: All deposit details provided
- Address Stored: Can view which address was used
Pending vs Confirmed
- Pending: Received but not yet verified on blockchain
- Confirmed: Fully confirmed and added to balance
- Recommended: Wait for confirmed status before trading
Use Cases
- Balance Updates: Get notified when deposits arrive
- Fund Tracking: Monitor incoming funds
- Deposit Confirmation: Confirm deposit success
- Accounting: Record deposits for bookkeeping
- Alert System: Notify users of large deposits
- Fund Reconciliation: Reconcile with bank records