Buy order status

Endpoint for checking buy order status by order id

Check buy order status by order id

GET https://papi.swapin.com/api/buy/<ORDER_ID>

Query Parameters

Name
Type
Description

<ORDER_ID>*

String

Id of buy order that was created with create buy order API call

{
  "ok": true,
  "exchange_order": {
    "order_id": "BBHT7HQ-EO-TNRASHV-3WZPETI",
    "status": "W",
    "ready_to_send": false,
    "deposit_order_id": "BBHT7HQ-DO-5AVBLHZ-28QMPMR",
    "from_currency": "EUR",
    "from_account_id": "ABZBLRQ-4L05DEL",
    "from_amount": 100,
    "to_coin": "BTC",
    "to_coin_address": "1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2",
    "to_amount": null,
    "to_amount_indicative": 0.00295642,
    "to_coin_network": "bitcoin",
    "rate": null,
    "rate_target": null,
    "rate_indicative": 102676.93,
    "rate_final": null,
    "fee_amount": 21,
    "network_fee_amount": 4.56,
    "transaction_fee_amount": 1.12,
    "created_time": "2023-06-02 11:22:38 +00:00",
    "status_time": "2023-06-02 11:22:38 +00:00",
    "trade_time": null,
    "completed_time": null,
    "wallet_withdraw_sent": null,
    "wallet_withdraw_txid": null,
    "cancelled_reason": null,
    "client_reference": null,
    "receiver_name": null,
    "receiver_external_id": null,
	  "additional_data": null
  }
}

Last updated