Skip to content
Last updated

Use Cases (Examples)

Use case A — FIAT -> FIAT (Payout)

  1. POST /quotes with railType=FIAT_FIAT
  2. POST /payouts with the beneficiary details and optional quoteId
  3. Receive payout.completed via webhook

Use case B — FIAT -> CRYPTO (Payment)

  1. POST /quotes with railType=FIAT_CRYPTO
  2. POST /payments (destination is a crypto address/handle/phone)
  3. Receive payment.succeeded via webhook

Use case C — CRYPTO -> FIAT (Off-ramp payout)

  1. POST /quotes with railType=CRYPTO_FIAT
  2. POST /payouts with beneficiary details
  3. Receive payout.completed via webhook

Use case D — CRYPTO -> CRYPTO (On-chain transfer)

  1. (Optional) POST /chain/estimate-fee
  2. POST /payments with railType=CRYPTO_CRYPTO
  3. (If you manage signing) POST /chain/tx/broadcast with signedTx
  4. Receive payment.succeeded via webhook (or poll tx status if your product does so)