Cancel Order
This method is used to close an active Limit Order with its ID. If successful, returns information about the closed order.
Details
POST
https://api.pointpay.io/api/v1/order/cancel
Headers
X-TXC-APIKEY*
STRING
X-TXC-PAYLOAD*
STRING
Сonverted Base64 string containing body JSON
X-TXC-SIGNATURE*
STRING
Encrypted HmacSHA512 string containing body JSON with a API secret key
Content-Type
application/json
Content type
Request Body
market*
STRING
Any public pair
BTC_USDT
orderId*
NUMERIC
Order ID for canceling
1040149431
request*
STRING
A request path without the domain name
/api/v1/order/cancel
nonce*
NUMERIC
A 13-character number that must always be greater than the nonce of the previous completed request (we suggest generating a nonce as the UNIX timestamp in milliseconds)
1704070810000
Request Body Example
Response parameters:
orderId
NUMERIC
Order ID
market
STRING
Order pair
side
STRING
Order side (buy / sell)
type
STRING
Order type
timestamp
NUMERIC
Order creation time
price
STRING
Order price
dealMoney
STRING
Executed order amount (in 2nd ticker of pair)
dealStock
STRING
Executed order amount (in 1st ticker of pair)
amount
STRING
Order amount (in 1st ticker of pair)
takerFee
STRING
Order taker fee
makerFee
STRING
Order maker fee
left
STRING
Available order amount (if = 0 means finished order)
Response example:
Last updated