Ramps
Sell stablecoin balances for fiat through Coinbase or PayPal, funded from CeFi when needed.
post
/rampsCreate an offrampCreates 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.get/rampsList user rampsReturns a paginated list of ramps for the authenticated user, newest firstget/ramps/{id}Get ramp by IDReturns the current state of a ramppost/ramps/{id}/bridge/executeExecute a ramp's bridge planExecutes the bridge_plan returned by ramp creation, moving the user's own funds from other chains or stablecoins onto the settlement chain. Sign every payload in the plan and submit the signatures in the same order.post/ramps/{id}/preparePrepare a ramp's on-chain transferReturns the unsigned payloads that send the user's stablecoin to the provider's deposit address. Call this once the provider page has been completed, and after the bridge plan if the create response returned one.post/ramps/{id}/executeExecute a ramp's on-chain transferSubmits the signed transfer, sending the stablecoin to the provider. Once it lands, the provider settles the fiat leg and the ramp's status follows.