Skip to main content
POST
/
orchestration
/
orchestrations
Create Orchestration
curl --request POST \
  --url https://api.paxos.com/v2/orchestration/orchestrations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "identity_id": "<string>",
  "account_id": "<string>",
  "ref_id": "<string>",
  "source_asset": "<string>",
  "destination_asset": "<string>",
  "source_amount": "<string>",
  "source": {
    "profile": {
      "profile_id": "<string>"
    }
  },
  "destination": {
    "crypto": {
      "address_id": "<string>"
    },
    "fiat": {
      "bank_account_id": "<string>",
      "memo": "<string>"
    },
    "profile": {
      "profile_id": "<string>"
    }
  },
  "metadata": {}
}'
{
  "id": "<string>",
  "profile_id": "<string>",
  "identity_id": "<string>",
  "account_id": "<string>",
  "customer_id": "<string>",
  "ref_id": "<string>",
  "source_asset": "<string>",
  "destination_asset": "<string>",
  "source_amount": "<string>",
  "source_transfer": {
    "transfer_id": "<string>",
    "status": "PENDING"
  },
  "destination_transfer": {
    "transfer_id": "<string>",
    "status": "PENDING"
  },
  "status": "PROCESSING",
  "fail_reason": {
    "detail": "<string>"
  },
  "source": {
    "crypto": {
      "address_id": "<string>",
      "address": "<string>",
      "network": "<string>"
    },
    "fiat": {
      "deposit_instructions_id": "<string>",
      "memo": "<string>"
    },
    "profile": {
      "profile_id": "<string>"
    }
  },
  "destination": {
    "crypto": {
      "address": "<string>",
      "network": "<string>",
      "address_id": "<string>"
    },
    "fiat": {
      "bank_account_id": "<string>",
      "memo": "<string>"
    },
    "profile": {
      "profile_id": "<string>"
    }
  },
  "orchestration_rule_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "metadata": {}
}
OAuth Scope
orchestration:write_orchestration

Authorizations

Authorization
string
header
required

Body

application/json
ref_id
string
required
source_asset
string
required
destination_asset
string
required
source_amount
string
required
identity_id
string
account_id
string
source
object
destination
object
metadata
object

Response

200 - application/json
id
string
profile_id
string
identity_id
string
account_id
string
customer_id
string
ref_id
string
source_asset
string
destination_asset
string
source_amount
string
source_transfer
object
destination_transfer
object
status
enum<string>
Available options:
PROCESSING,
COMPLETED,
FAILED
fail_reason
object
source
object
destination
object
orchestration_rule_id
string
created_at
string<date-time>
updated_at
string<date-time>
metadata
object