Skip to main content

Create trading order

POST 

/order/

Place a new trading order.

The parameter destination_type is required only for orders below 1000 chf and can be any of:

  • crypto => destination_crypto_address
  • sepa => destination_bank_address and destination_bank_name
  • swift => destination_bank_address and destination_bank_name and destination_bank_account_number
  • us => `destination_bank_account_number and destination_bank_routing_number

Request

Body

    email emailrequired
    from_amount floatrequired
    from_asset stringrequired
    to_asset stringrequired
    refund_crypto_address string
    destination_type string

    Possible values: [crypto, sepa, swift, us]

    destination_crypto_address string

    required if destination_type is 'crypto'

    destination_bank_address string

    required if destination_type is 'sepa' or 'swift'

    destination_bank_name string

    required if destination_type is 'sepa' or 'swift'

    destination_bank_account_number string

    required if destination_type is 'swift' or 'us'

    destination_bank_routing_number string

    required if destination_type is 'us'

Responses

The details of the new order.

Schema
    order object
    id string
    status string

    Possible values: [WAITING_FOR_DEPOSIT, DEPOSIT_RECEIVED, DEPOSIT_CONFIRMED, APPROVED, COMPLETED, CANCELED, EXPIRED, REJECTED, REFUNDED]

    email email
    refund_crypto_address string
    created_at string
    expires_at string
    confirmed_at string
    approved_at string
    completed_at string
    deposit_crypto_address string

    not null if from_asset is 'crypto'

    deposit_bank_address string

    not null if from_asset is 'fiat'

    deposit_bank_name string

    not null if from_asset is 'fiat'

    deposit_beneficiary string

    not null if from_asset is 'fiat'

    deposit_beneficiary_address string

    not null if from_asset is 'EUR'

    deposit_sepa_address string

    not null if from_asset is 'EUR'

    deposit_swift_address string

    not null if from_asset is 'fiat'

    deposit_swift_intermediary_address string

    not null if from_asset is 'fiat'

    from_amount float
    from_asset string
    to_asset string
    destination_type string

    Possible values: [crypto, sepa, swift, us]

    destination_crypto_address string
    destination_bank_address string
    destination_bank_name string
    destination_bank_account_number string
    destination_bank_routing_number string
    funding object
    txs undefined[]
    deposit_amount float
    trade object
    from_amount float
    from_asset string
    to_amount float
    to_asset string
    fee_amount float
    price float
    timestamp string
Loading...