Skip to main content

Create an offramp

POST 

/ramps

Creates an offramp that converts the user's stablecoin balance to fiat through the given provider. If the user's on-chain holdings do not cover the amount, the shortfall is topped up from their CeFi balance first, which requires a completed KYC and enough CeFi PYUSD — otherwise the request fails with 403 or 400.

The response's redirect_url is the provider page the user completes the sale on. A bridge_plan is present when the user's own cross-chain funds must move first; sign its payloads and submit them to POST /ramps/{id}/bridge/execute before calling POST /ramps/{id}/prepare.

Only offramp is supported here — onramps are served by the DeFi API directly.

Request

Responses

Ramp created successfully