Error
A valid request URL is required to generate request examples{
"success": true,
"message": "Request has been successfully created",
"data": {
"id": "<string>",
"referenceId": "<string>",
"referenceNumber": 123,
"message": "<string>",
"customerKey": "<string>",
"redirectUrl": "<string>"
}
}{
"success": false,
"message": "Bad Request",
"data": {}
}{
"success": false,
"message": "Invalid API Key",
"data": {}
}Onramp (Buy Crypto)
Create Onramp
You can create an onramp request with either mobile money or bank checkout
POST
/
api
/
v3
/
onramp
Error
A valid request URL is required to generate request examples{
"success": true,
"message": "Request has been successfully created",
"data": {
"id": "<string>",
"referenceId": "<string>",
"referenceNumber": 123,
"message": "<string>",
"customerKey": "<string>",
"redirectUrl": "<string>"
}
}{
"success": false,
"message": "Bad Request",
"data": {}
}{
"success": false,
"message": "Invalid API Key",
"data": {}
}You can create an onramp request with either mobile money or bank checkout to convert fiat to crypto.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Fiat amount
The currency of the wallet
Example:
"KES"
Chain
Available options:
ETHEREUM, CELO, AVALANCHE, POLYGON, ARBITRUM, OPTIMISM, BINANCE, STELLAR, TRON, FUSE, LIGHTNING, SOLANA, PROVENANCE, CARDANO, HEDERA, BASE, LISK, VICTION, SCROLL, ICP Stable Coin
Available options:
CUSD, USDC, USDT, USDT0, SAT, BTC, HASH, FUSE, HBAR, USDGLO, CKES, CGHS, MSAT, XLM, ADA, CKUSDT Receiver address
Reference ID
Mobile Money details
Show child attributes
Show child attributes
Bank Checkout details
Show child attributes
Show child attributes
Webhook URL for the terminal status. Falls back to your default webhook URL.
Rate ID
Links this transaction to a fiat wallet for currency resolution. No fiat is debited.