Create Auto-Conversion Rule

Create an Auto-Conversion Rule for fiat<->crypto conversions.

Supported Assets:

  • USD, USDC, USDT, PYUSD, RLUSD, USDG, USDP, EURC, MXNB Supported Networks:
  • Fiat networks: US_ACH, US_FEDWIRE, SWIFT
  • Crypto networks: ETHEREUM, POLYGON, BASE, ARBITRUM, AVALANCHE, BNBCHAIN, SOLANA

Validation Rules:

  • Must be fiat<->crypto conversion (fiat->fiat and crypto->crypto are NOT supported)
  • Idempotency-Key header is required and must be a valid UUID v4
  • Source network must match asset type (fiat asset requires fiat network, crypto asset requires crypto network)
  • For crypto destination: network is required
  • For fiat destination: network will be omitted

Withdrawal Configuration:

  • Fiat->Crypto with withdrawal: provide wallet_address (external crypto wallet address)
  • Crypto->Fiat with withdrawal: provide external_account_id (bank account ID from external-accounts API)
  • Conversion-only (no withdrawal): omit both fields, converted funds remain in customer's account

Response: Returns created Auto-Conversion Rule with source_deposit_info containing bank deposit details or crypto wallet address for funding.

Language
Credentials
Bearer
OneMoney-HMAC-SHA256
Click Try It! to start a request and see the response here!