post
https://api.sandbox.1money.com/v1/customers//auto-conversion-rules
Create an Auto-Conversion Rule for fiat<->crypto conversions.
Supported Assets:
USD,USDC,USDT,PYUSD,RLUSD,USDG,USDP,EURC,MXNBSupported 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-Keyheader 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:
networkis required - For fiat destination:
networkwill 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.
