Overview
Orchestrations enable seamless conversions between different stablecoins and currencies. These can be triggered through ad-hoc orchestrations from profiles or rule-based orchestrations from external deposits, and then routed to any supported destination.Conversion Flow Options
Creating Conversions
Example 1: PYUSD → USDG (Ad-hoc, Profile to Profile)
Use the Create Orchestration endpoint to convert PYUSD to USDG between Paxos profiles:Example 2: USDG → USDC (Rule-based, External to External)
Use the Create Orchestration Rule endpoint to automatically convert external USDG deposits to USDC and send to an external address. First register the destination address to get acrypto_address_id
:
How It Works
Ad-hoc Conversions
- Call the API: Create an orchestration specifying source and destination assets
- Validation: Paxos validates the request and available balance
- Conversion: Assets are converted
- Delivery: Converted assets are deposited to the specified profile
- Monitor Status: Track your orchestration progress using webhooks or API polling
Rule-based Conversions
- Create the Rule: Set up an orchestration rule for automatic conversion
- Get Deposit Address: Use the address returned in the rule’s
source.crypto.address
field - Receive Deposit: External USDG arrives at your Paxos crypto address
- Automatic Trigger: The rule detects the deposit and initiates conversion
- Conversion: USDG is converted to USDC
- Delivery: USDC is sent to the specified external address
- Monitor Status: Track your orchestration progress using webhooks or API polling
Next Steps
- Learn about minting stablecoins from USD deposits
- Explore redeeming stablecoins back to USD