Cancel All Session Orders
POSThttps://api.gemini.com/v1/order/cancel/session
This will cancel all orders opened by this session. This will have the same effect as heartbeat expiration if "Require Heartbeat" is selected for the session.
POST
curl --request POST \
--url https://api.gemini.com/v1/order/cancel/session \
--header 'Content-Type: application/json' \
--header 'X-GEMINI-APIKEY: <string>' \
--header 'X-GEMINI-PAYLOAD: <string>' \
--header 'X-GEMINI-SIGNATURE: <string>' \
--data '
{
"request": "/v1/order/cancel/session",
"nonce": "<nonce>"
}
'Roles
The API key you use to access this endpoint must have the Trader role assigned. See Roles for more information.
The OAuth scope must have orders:create assigned to access this endpoint. See OAuth Scopes for more information.
Headers
Request Body
Responses
JSON response
Last modified on