cURL
curl --request POST \ --url https://api.shuriken.trade/api/v2/perp/position/margin \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "amount": "<string>", "coin": "<string>", "walletId": "<string>" } '
{ "data": { "success": true, "error": "<string>" }, "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}
Margin update result
V2 success response envelope
Show child attributes
Page-based pagination info (per RFC)