Ramps
Sell stablecoin balances for fiat through Coinbase or PayPal, funded from CeFi when needed.
post
/rampsCreate a rampCreates an onramp that buys crypto with fiat, or an offramp that converts the user's stablecoin balance to fiat, through the given provider. The response's redirect_url is the provider page the user completes the ramp on.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. Offramps only.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. Offramps only.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. Offramps only.