POST
/
orders
curl --request POST \
  --url https://api.copper.co/platform/orders/ \
  --header 'Content-Type: application/vnd.create-orders+json' \
  --data '{
  "orders": [
    {
      "amount": "0.1",
      "baseCurrency": "BTC",
      "blockchainTransactionType": "send",
      "deliveryType": "payment-vs-payment",
      "description": "Withdrawal to my wallet",
      "externalBroadcast": "false",
      "externalOrderId": "<string>",
      "feeLevel": "low",
      "includeFeeInWithdraw": "false",
      "limitType": "otc",
      "mainCurrency": "<string>",
      "nextTransferTo": [
        {
          "cryptoAddressId": "<string>",
          "portfolioId": "<string>",
          "targetType": "external"
        }
      ],
      "orderType": "sell",
      "payload": "<string>",
      "payloads": [
        "<string>"
      ],
      "portfolioId": "<string>",
      "priceLimit": "<string>",
      "quoteAmount": "10",
      "quoteCurrency": "USD",
      "quoteMainCurrency": "<string>",
      "toCounterpartyId": "<string>",
      "toCryptoAddressId": "<string>",
      "toPortfolioId": "<string>"
    }
  ]
}'
{
  "orders": [
    {
      "amount": "<string>",
      "baseCurrency": "<string>",
      "createdAt": "<string>",
      "createdBy": "<string>",
      "externalOrderId": "<string>",
      "extra": {
        "availableCoSigners": [
          "<string>"
        ],
        "availableSnapshot": "<string>",
        "balanceSnapshot": "<string>",
        "blockchainTransactionType": "send",
        "clearLoop": true,
        "clientAccountId": "<string>",
        "coSigners": [
          "<string>"
        ],
        "coSignersNumber": "<string>",
        "confirmations": "<string>",
        "counterpartyPortfolioId": "<string>",
        "deliveryType": "free-of-payment",
        "depositOrderId": "<string>",
        "depositTargetId": "<string>",
        "description": "<string>",
        "estimatedFees": {
          "estimatedTime": "<string>",
          "fee": "<string>",
          "feeCurrency": "<string>",
          "feePerByte": {},
          "gasLimit": {},
          "gasPriceGwei": "<string>",
          "reportingCurrencyRate": "<string>",
          "transactionBytes": "<string>"
        },
        "externalBroadcast": true,
        "feeLevel": "low",
        "fromAddresses": [
          "<string>"
        ],
        "fromCounterpartyId": "<string>",
        "fromCryptoAddress": {
          "acceptTokens": true,
          "address": "<string>",
          "addressType": "externally-owned-account",
          "category": "smart-contract",
          "createdAt": "<string>",
          "createdBy": "<string>",
          "cryptoAddressId": "<string>",
          "currency": "<string>",
          "extra": {},
          "isWhitelist": true,
          "lastUsedAt": "<string>",
          "mainCurrency": "<string>",
          "memo": "<string>",
          "name": "<string>",
          "organizationId": "<string>",
          "portfolioIds": [
            "<string>"
          ],
          "updatedAt": "<string>",
          "updatedBy": "<string>"
        },
        "fromCryptoAddressId": "<string>",
        "fromPortfolioId": "<string>",
        "includeFeeInWithdraw": true,
        "invoiceId": "<string>",
        "marketPrice": "<string>",
        "memo": "<string>",
        "nextTransferTo": [
          {
            "cryptoAddressId": "<string>",
            "portfolioId": "<string>",
            "targetType": "external"
          }
        ],
        "partSigned": {},
        "payload": "<string>",
        "payloads": [
          "<string>"
        ],
        "reportingCurrencyRate": "<string>",
        "reportingQuoteCurrencyRate": "<string>",
        "signed": {},
        "spenderAddress": "<string>",
        "terminatedReportingCurrencyRate": "<string>",
        "toAddress": "<string>",
        "toCounterpartyId": "<string>",
        "toCryptoAddress": {
          "acceptTokens": true,
          "address": "<string>",
          "addressType": "externally-owned-account",
          "category": "smart-contract",
          "createdAt": "<string>",
          "createdBy": "<string>",
          "cryptoAddressId": "<string>",
          "currency": "<string>",
          "extra": {},
          "isWhitelist": true,
          "lastUsedAt": "<string>",
          "mainCurrency": "<string>",
          "memo": "<string>",
          "name": "<string>",
          "organizationId": "<string>",
          "portfolioIds": [
            "<string>"
          ],
          "updatedAt": "<string>",
          "updatedBy": "<string>"
        },
        "toCryptoAddressId": "<string>",
        "toInvoiceId": "<string>",
        "toLendingInvoiceId": "<string>",
        "toPortfolioId": "<string>",
        "totalQuoteAmount": "<string>",
        "transactionId": "<string>",
        "transactionRequest": {},
        "transferChainId": "<string>",
        "withdrawFee": "<string>",
        "withdrawOrderId": "<string>"
      },
      "limitType": "otc",
      "mainCurrency": "<string>",
      "orderId": "<string>",
      "orderType": "sell",
      "organizationId": "<string>",
      "portfolioId": "<string>",
      "portfolioType": "custody",
      "quoteCurrency": "<string>",
      "quoteMainCurrency": "<string>",
      "status": "new",
      "terminatedAt": "<string>",
      "updatedAt": "<string>"
    }
  ]
}

Headers

Content-Type
string

application/vnd.create-orders+json

Body

application/vnd.create-orders+json
orders
object[]
required

List of orders to create

Response

200
application/vnd.create-orders+json
OK
orders
object[]
required