Skip to main content
Integrate Saberโ€™s fiat off-ramp to sell crypto for fiat and deposit it into a userโ€™s bank account.

Prerequisites

  1. Register as a Saber merchant โ€” reach out to our team if you havenโ€™t.
  2. Set up your keys โ€” every API call needs an authentication signature; see Configuring Your Keys.
  3. Create a user โ€” see Registering Users.
  4. Configure your webhooks โ€” Saber sends a webhook at each milestone; see Webhook Configuration.

Implementation

Flowchart of the offramp implementation: fetch a crypto deposit address, deposit crypto, receive a webhook for the deposit, create a sell order, convert crypto to fiat, and deposit fiat in the user's account

Step 1: Deposit crypto into Saber

Fetch a deposit address for the user (or use an internal transfer instead):
Response
Both symbol and network are required; one address is returned per (symbol, network) pair. API Reference.

Step 2: Wait for a success callback

Once your crypto deposit hits our systems, we send a webhook to your configured endpoint:
This also appears on the transaction tab of the Saber dashboard. See Order Lifecycle and Webhooks.

Step 3: Initiate a sell crypto transaction

  • Confirm the userโ€™s KYC is complete โ€” see User KYC if not.
  • Confirm the user has a valid Indian bank account โ€” see Add Bank Account if not.
  • Call the sell API:
Response
API Reference.

Step 4: Wait for a success callback

Once the fiat deposit completes, we send a webhook to your configured endpoint:
This also appears on the transaction tab of the Saber dashboard. For more offramp APIs, see the API reference.