Skip to main content

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 a crypto_address_id:

How It Works

Ad-hoc Conversions

  1. Call the API: Create an orchestration specifying source and destination assets
  2. Validation: Paxos validates the request and available balance
  3. Conversion: Assets are converted
  4. Delivery: Converted assets are deposited to the specified profile
  5. Monitor Status: Track your orchestration progress using webhooks or API polling

Rule-based Conversions

  1. Create the Rule: Set up an orchestration rule for automatic conversion
  2. Get Deposit Address: Use the address returned in the rule’s source.crypto.address field
  3. Receive Deposit: External USDG arrives at your Paxos crypto address
  4. Automatic Trigger: The rule detects the deposit and initiates conversion
  5. Conversion: USDG is converted to USDC
  6. Delivery: USDC is sent to the specified external address
  7. Monitor Status: Track your orchestration progress using webhooks or API polling

Next Steps

I