Create a settlement order
Using the following API, you can create a settlement order on the Copper Network. You need to set the following parameters:
Body
The amount of order in baseCurrency
The currency of the order amount
Unique order identifier from client (should be unique for the portfolio)
The limit type of the order. Used to create settle orders. See details
otc
The order type. See details
buy
, sell
The id of the portfolio where the order should be placed
The currency of the quote amount
The id of the counterparty to transfer money to
Settlement order type only applicable for settle orders. See details
free-of-payment
, payment-vs-payment
The description of the order
Indicates, whether the fee should be included in the withdrawal amount or added on top of it
The price of the order in quote currency, only applicable for settle orders
The amount of order in quoteCurrency
The main currency of the quote currency
Response
Amount of order in baseCurrency
Base currency of the order
Order creation timestamp
The order ID in the external system
Order ID
Order type. See details
sell
, buy
, deposit
, withdraw
, multi-withdraw
, retrieved-deposit
, earn-reward
Portfolio ID
Portfolio type. See details
custody
, trading-vault
, trading
, external
, clearloop
Order status. See details
new
, waiting-funds
, reserved
, working
, waiting-approve
, co-sign-require
, approved
, processing
, executed
, canceled
, rejected
, declining
, declined
, blocked
, action-required
, require-initializer-approve
, waiting-counterparty-approve
, require-counterparty-approve
, ready-for-settlement
, settled
, part-signed-tx-added
, full-signed-tx-added
, rejected-part-signed-tx-added
, rejected-full-signed-tx-added
, awaiting-settlement
, master-password-required
, manual-resolving
, error
, pending-atomic-settlement-confirmation
, atomic-settlement-reservation-completed
Creator user id
Additional order information
Limit type of the order. See details
otc
, rfq
Blockchain network of a baseCurrency
Organization id
The quote currency of the order (in case of a settle order)
Blockchain network of a quoteCurrency
Order termination timestamp
Order update timestamp