On-Off Ramp
Last updated
Last updated
CUSD / USDC / USDT
CELO
On-ramp & Off-ramp
$0.01
USDC
OP
On-ramp & Off-ramp
$0.15
USDC
BASE
On-ramp & Off-ramp
$0.10
USDC
MATIC
Off-ramp only
$0.30
USDC
SOL
Off-ramp only
$0.50
* Network fees are deducted from the customer’s payout.
All you need is a public API key. Create one by following the .
The ramp is delivered as a URL you build with query parameters.
Staging
https://staging.useaccrue.com/hosted/ramp
Production
https://useaccrue.com/hosted/ramp
key
Yes
Your public API key.
paymentType
Yes
deposit
or withdrawal
.
address
No
Wallet to receive funds. If omitted, Cashramp tries window.ethereum
.
coin
Yes
Stablecoin symbol (see table above).
network
Yes
Network name from the table.
amount
No
Quantity of the stablecoin.
reference
No
Your idempotent reference.
redirectUrl
No
Where to send the user after completion.
currency
No
ISO-4217 fiat code (e.g., USD
).
phone
No
Customer’s phone number.
hideAddress
No
true
to hide the wallet address field.
isWalletContext
No
Set false
to ignore window.ethereum
and use your own flow. Default true
.
When window.ethereum
is present, Cashramp prompts the user to sign the transfer automatically.
If it isn’t, we emit a postMessage
so you can run your own UX:
After broadcasting the transfer, poll confirmTransaction
until it settles.
Poll in line with block times: CELO & Optimism ≈ 10 s; Ethereum ≈ 60 s.
paymentRequest
Global ID from the earlier crypto.requested
payload.
transactionHash
Hash of your on-chain transfer.
The payment request moves from pending_funding
→ created
.
A webhook fires with the updated status.
Cashramp emails the user a link to withdraw the fiat equivalent.