Skip to main content
This topic is responsible for notifying the user when a fiat or cryptocurrency deposit occurs.
This is an authenticated stream. You must provide a valid ticket from authentication to subscribe.

Subscription Request

string
required
Subscribe method. Must be subscribe
array
required
Array of topics to subscribe to. Must include depositExample: ["deposit"]
string
required
Ticket created using the endpoint POST https://api.ripio.com/trade/ticket

Stream Response

integer
Message identifier
string
Topic name (always deposit)
integer
Server timestamp in milliseconds
object
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

Blockchain Networks

Timing by Currency

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