Orders
It refer to instructions given by a trader to buy or sell a specific cryptocurrency at a certain price or under certain conditions.
Create Order
Create Order
POST
{{BASE_URL}}/orders/place-order
The order which is created at the time of buy or sell crypto.
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | jwt token |
Request Body
Name | Type | Description |
---|---|---|
at_price* | Integer | |
currency* | String | in capital words like "BTC" |
order_type* | String | buy or sell |
quantity* | Integer | |
stop_price* | Integer | |
total* | Integer | |
type* | String | limit , market or stop_limit |
with_currency* | String | capitals words like "USDT" |
Cnacel Order
Cancel Order
POST
{{BASE_URL_NODE}}/orders/cancel-order/1
Here we send order id with API path. And at the base of order id the order is cancel.
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | jwt token |
All Order History
All Orders History
GET
{{BASR_NODE_URL}}/orders/get?type=remaining&page=1&per_page=10
Here we represents the all order of user those are completed , pending or canceled.
Query Parameters
Name | Type | Description |
---|---|---|
type* | String | remaining or completed |
page* | String | |
per_page* | String |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | jwt token |
Last updated