The Orchestrations API replaces this API, offering additional capabilities including rule-based orchestrations, and flexible routing to profiles, external crypto addresses, and fiat accounts.New customers should use the Orchestrations API instead. Existing customers should follow the migration guide below.
Migration Guide
This guide covers migrating profile-to-profile conversions — the only flow supported by the old API. For additional capabilities like rule-based orchestrations and crypto or fiat withdrawals, see the Orchestrations developer guides. The Orchestrations API is the replacement for the Stablecoin Conversions API. It supports the same 1:1 conversions between USD and stablecoins, plus:- Rule-based orchestrations — automatically convert incoming deposits without API calls
- Flexible routing — send converted funds to profiles, external crypto addresses, or fiat accounts
- Webhook notifications — get notified when orchestrations complete instead of polling
- Approvals — require multi-party sign-off on sensitive actions like conversions
➊ Update OAuth Scopes
Add the orchestration scopes to your API credentials in API Management (Admin > API Management): Before:➋ Update the Request
The Orchestrations API usessource and destination objects to specify where funds come from and go to, and destination_asset instead of target_asset.
In the old API,Before — Create Stablecoin Conversion:profile_idserved as both source and destination. In the Orchestrations API,sourceanddestinationexplicitly define the flow. For a same-profile conversion, use the same profile ID for both.
➌ Update Response Handling
Before — Create Stablecoin Conversion Response:- Renamed fields:
amount→source_amounttarget_asset→destination_asset
- Source/destination split:
profile_id→source.profile.profile_idanddestination.profile.profile_id
- Status values — see all Orchestration statuses:
CREATED→PROCESSINGSETTLED→COMPLETED
➍ Update Status Monitoring
The Orchestrations API supports webhook notifications, so you no longer need to poll for status updates. If you prefer polling, switch from List Stablecoin Conversions to List Orchestrations: Before — List Stablecoin Conversions:Questions about migration? Contact Support.