v1
latestOpenAPI 3.0.02026-07-26117342409.6 KBOrchestration Rules
Create Orchestration Rule
Creates a persistent orchestration rule that automatically triggers orchestrations when matching deposits are received.
The rule will:
- Generate deposit instructions associated with the rule.
- Continuously monitor incoming deposits to those instructions.
- Automatically execute orchestrations to the specified destination.
Supported Sources:
- Crypto deposit
- Fiat deposit
Supported Destinations:
- Crypto address on a supported network
- Bank account
- Profile ID
Error conditions:
- Already Exists: Returned if a rule with the same ref_id already exists.
post/orchestration/rules
Request body
Example request
{
"ref_id": "my-rule-001",
"nickname": "USDC to USDG conversion",
"profile_id": "e8ea8b1c-4e8d-4c59-9e7a-c985194ba2e8",
"source_asset": "USDC",
"destination_asset": "USDG",
"source": {
"crypto": {
"network": "ETHEREUM"
}
},
"destination": {
"profile": {
"profile_id": "e8ea8b1c-4e8d-4c59-9e7a-c985194ba2e8"
}
}
}Response
A successful response.