Deposit onChain
Crypto Deposits (On-Chain)
Deposit On-Chain (Receive Crypto)
deprecated
Crypto deposits are where a customer’s mobile money wallet account is deducted a specific fiat amount which is then converted to a specified stablecoin amount and sent to the integrator’s specified public wallet address.
POST
Deposit onChain
Use Case
This endpoint is for e-commerce platforms and businesses that want to accept mobile money payments and receive the equivalent in cryptocurrency. Perfect for:- E-commerce platforms accepting crypto payments
- Merchants wanting to receive payments in stablecoins
- Platforms converting fiat payments to crypto automatically
- Selling crypto to customers (use
/onrampinstead) - Running a crypto exchange
How It Works
- Your customer pays via mobile money (STK push)
- We collect the mobile money payment
- We convert the fiat to crypto at current rates
- Your crypto wallet receives the USDT/crypto
- You fulfill the customer’s order
Flow
Key Differences
| Aspect | This Endpoint (Deposit On-Chain) | Onramp Endpoint |
|---|---|---|
| Who receives crypto? | ✅ You (the merchant) | Customer |
| Who receives fiat? | Payment processor | ✅ You (the merchant) |
| Crypto inventory needed? | ❌ No | ✅ Yes (must have crypto to sell) |
| Use case | Accept payments in crypto | Sell crypto to customers |
Examples
Receive crypto to your wallet
When you DON’T providepublic_address, crypto goes to your wallet:
Send crypto to customer’s address
When you providepublic_address, crypto goes directly to that address:
Supported Chains & Tokens
Get supported chains and tokens:Status Tracking
Track your deposit status:Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
supported chain
Available options:
ETHEREUM, CELO, AVALANCHE, POLYGON, ARBITRUM, OPTIMISM, STELLAR, TRON, FUSE, LIGHTNING, SOLANA, PROVENANCE, CARDANO, HEDERA, BASE, LISK, VICTION, SCROLL supported token
Available options:
CUSD, USDC, USDT, USDT0, SAT, BTC, HASH, FUSE, HBAR, USDGLO, CKES, CGHS, MSAT, XLM, ADA The wallet id
The amount to deposit
The customer key
The transaction public address
The callback url
Optional reference id