cURL
curl --request POST \ --url https://api.shuriken.trade/api/v2/perp/position/close \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "coin": "<string>", "walletId": "<string>", "percentage": 1 } '
{ "data": { "results": [ { "status": "<string>", "cloid": "<string>", "error": "<string>", "oid": 1 } ] }, "requestId": "<string>", "pagination": { "hasMore": true, "limit": 1, "page": 1, "total": 1 } }
Use Authorization: Bearer <jwt> for user auth or Authorization: Bearer sk_{keyId}_{secret} for API key auth.
Authorization: Bearer <jwt>
Authorization: Bearer sk_{keyId}_{secret}
x >= 0
Close result
V2 success response envelope
Show child attributes
Page-based pagination info (per RFC)