{"info":{"_postman_id":"4c0a9094-0eb2-4405-be2b-3741c0f026e2","name":"Enigma REST API V3.2","description":"<html><head></head><body><p>This document describes the specification of the proprietary<br>Enigma Securities REST API for Cryptocurrency trading features</p>\n<h1 id=\"overview\">Overview</h1>\n<p>Enigma Securities API is a Web based API using Json standard<br>formatting.<br>Requests use HTTPS protocol. The client has to specify the<br>header Authorization” containing the encrypted key received in<br>the response of login function.</p>\n<p>Production url : <a href=\"https://api.enigma-securities.io\">https://api.enigma-securities.io</a></p>\n<p>Test url : <a href=\"https://sb20.rest-api.enigma-securities.io\">https://sb-uat.enigma-securities.io</a></p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>endpoint : POST /auth<br>the response contains the encrypted token that should be specified<br>in the header of each request</p>\n<h1 id=\"http-codes\">Http Codes</h1>\n<p>200 : OK</p>\n<p>403 : login failed</p>\n<p>412 : precheck problem</p>\n<p>500 : internal server error</p>\n<p>513 : liquidity rejection</p>\n<p>error response contains:</p>\n<p>{<br>\"message\" :\"description of the error\"<br>}</p>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>50 per second</p>\n<h1 id=\"release-note-20022022\">Release Note 20/02/2022</h1>\n<p>PUT/auth sample of code updated</p>\n<p>bearer token are unlimited</p>\n<h1 id=\"release-note-25012022\">Release Note 25/01/2022</h1>\n<p>new sandbox environement availabe<br>old test env <a href=\"https://api-test.enigmna-securities.io\">https://sb20rest-api.enigmna-securities.io</a> will be deprecated early 2022<br>Settlement endpoint are deprecated please refer to REST Reporting API</p>\n<h1 id=\"release-note-10122020\">Release Note 10/12/2020</h1>\n<p>new sandbox environement availabe<br>old test env <a href=\"https://api-test.enigmna-securities.io\">https://api-test.enigmna-securities.io</a> will be deprecated early 2021</p>\n<h1 id=\"release-note-15122020\">Release Note 15/12/2020</h1>\n<p>New endpoints availables :</p>\n<p>GET/settlement : retrieve unitary settllements</p>\n<p>GET/settlement_batch : retrieve batches</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Http Codes","slug":"http-codes"},{"content":"Rate limit","slug":"rate-limit"},{"content":"Release Note 20/02/2022","slug":"release-note-20022022"},{"content":"Release Note 25/01/2022","slug":"release-note-25012022"},{"content":"Release Note 10/12/2020","slug":"release-note-10122020"},{"content":"Release Note 15/12/2020","slug":"release-note-15122020"}],"owner":"2962597","collectionId":"4c0a9094-0eb2-4405-be2b-3741c0f026e2","publishedId":"Szzq2u2Z","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-06-26T11:56:07.000Z"},"item":[{"name":"Authentification","item":[{"name":"/auth","id":"bcf1bb0c-34f1-4cab-bc14-679fdc3eaed9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"username\",\r\n    \"password\" :\"password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sb-uat.enigma-securities.io/auth","urlObject":{"protocol":"https","path":["auth"],"host":["sb-uat","enigma-securities","io"],"query":[],"variable":[]}},"response":[{"id":"66580eb5-1a5f-4b77-b8a4-65962a2c7136","name":"/auth","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"client_sandbox","type":"text"},{"key":"password","value":"saQidf_8","type":"text"}]},"url":"https://sandbox.rest-api.enigma-securities.io/auth"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 15 Dec 2020 07:19:28 GMT"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": true,\n    \"key\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MDgxMDMxNjgsImlkIjoxOTMsImxldmVsIjozLCJzdGF0dXMiOjEsInRva2VuX3N0YXR1cyI6MSwidG9rZW5fdHlwZV9pZCI6MX0.-QCRvVq0cK58zQgsZ_3RRnGi8gR3nvd5Tucf9YGh6nA\"\n}"}],"_postman_id":"bcf1bb0c-34f1-4cab-bc14-679fdc3eaed9"},{"name":"/auth","id":"d5da7195-1be1-4a0c-a67e-9fdfdfae5c52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://sb-uat.enigma-securities.io/auth","urlObject":{"protocol":"https","path":["auth"],"host":["sb-uat","enigma-securities","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"d5da7195-1be1-4a0c-a67e-9fdfdfae5c52"}],"id":"59468066-8209-4f9a-a07a-7041b3b4e9ce","description":"<p>login function</p>\n<p>response include permissions</p>\n","_postman_id":"59468066-8209-4f9a-a07a-7041b3b4e9ce"},{"name":"Market","item":[{"name":"/product","id":"71a2e454-dfbb-4326-aebb-41463c4332a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"X-API-KEY","value":"EX_API_KEY","type":"text"}],"url":"https://sb-uat.enigma-securities.io/product/4","urlObject":{"protocol":"https","path":["product","4"],"host":["sb-uat","enigma-securities","io"],"query":[],"variable":[]}},"response":[{"id":"9a92d3a8-f5ed-4148-a96d-55d9d18583eb","name":"/product","originalRequest":{"method":"GET","header":[{"key":"X-API-KEY","value":"EX_API_KEY","type":"text"}],"url":"https://sb-uat.enigma-securities.io/product/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 15 Dec 2020 07:20:19 GMT"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"597"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"product_id\": \"2\",\n        \"product_name\": \"BTC-USD\",\n        \"trading\": \"electronic & otc\",\n        \"min_quantity\": 0.001,\n        \"max_quantity\": 20\n    }\n]"}],"_postman_id":"71a2e454-dfbb-4326-aebb-41463c4332a9"},{"name":"/quote/","id":"5021e901-d2cd-46c7-9887-6015d2ce0758","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"EX_API_KEY","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"side","value":"BUY","description":"<p>BUY | SELL</p>\n","type":"text"},{"key":"product_id","value":"2","description":"<p>from /product endpoint</p>\n","type":"text"},{"key":"quantity","value":"0.001","description":"<p>positive double</p>\n","type":"text"},{"key":"nominal","value":"50","description":"<p>positive double</p>\n","type":"text","disabled":true},{"key":"type","value":"MKT","type":"text","disabled":true}]},"url":"https://sb-uat.enigma-securities.io/quote","urlObject":{"protocol":"https","path":["quote"],"host":["sb-uat","enigma-securities","io"],"query":[],"variable":[]}},"response":[{"id":"3af5d46a-f285-4a21-a092-6de690f66657","name":"/quote/","originalRequest":{"method":"POST","header":[{"key":"X-API-KEY","value":"EX_API_KEY","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"side","value":"SELL","description":"BUY | SELL","type":"text"},{"key":"product_id","value":"2","description":"from /product endpoint","type":"text"},{"key":"quantity","value":"1","description":"positive double","type":"text","disabled":true},{"key":"nominal","value":"10000","description":"positive double","type":"text"}]},"url":"https://sb-uat.enigma-securities.io/quote/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 15 Dec 2020 07:21:15 GMT"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": true,\n    \"message\": \"new indicative quote\",\n    \"quote_id\": \"1cb1cde5-eb03-4b47-914b-894dd8b196d6\",\n    \"product_id\": \"2\",\n    \"product_name\": \"BTC-USD\",\n    \"side\": \"sell\",\n    \"created_at\": \"2020-12-15 07:21:15\",\n    \"quantity\": \"0.52140000\",\n    \"price\": \"19179.13310000\",\n    \"nominal\": \"10000.00\",\n    \"infra\": \"dev\"\n}"},{"id":"d33b160a-bc91-4729-a5c5-e0f4cbd4d5d0","name":"/quote/","originalRequest":{"method":"POST","header":[{"key":"X-API-KEY","value":"EX_API_KEY","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"side","value":"SELL","description":"BUY | SELL","type":"text"},{"key":"product_id","value":"2","description":"from /product endpoint","type":"text"},{"key":"quantity","value":"1","description":"positive double","type":"text"},{"key":"nominal","value":"10000","description":"positive double","type":"text","disabled":true}]},"url":"https://sb-uat.enigma-securities.io/quote/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 15 Dec 2020 07:20:51 GMT"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": true,\n    \"message\": \"new indicative quote\",\n    \"quote_id\": \"e9e0045f-42dc-4ede-84ed-5ca68836b5d7\",\n    \"product_id\": \"2\",\n    \"product_name\": \"BTC-USD\",\n    \"side\": \"sell\",\n    \"created_at\": \"2020-12-15 07:20:51\",\n    \"quantity\": \"1.00000000\",\n    \"price\": \"19184.99580000\",\n    \"nominal\": \"19185.00\",\n    \"infra\": \"dev\"\n}"}],"_postman_id":"5021e901-d2cd-46c7-9887-6015d2ce0758"}],"id":"fb7fca1e-2c04-4fb9-bb7d-f8a0a5eea846","_postman_id":"fb7fca1e-2c04-4fb9-bb7d-f8a0a5eea846","description":""},{"name":"Trade","item":[{"name":"/trade","id":"b9189e93-b0b5-43d1-9455-142f9b9fdf1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"X-API-KEY","value":"EX_API_KEY","type":"text"}],"body":{"mode":"formdata","formdata":[{"description":"<p>MKT | FOK | RFQ </p>\n","key":"type","type":"text","value":"MKT"},{"description":"<p>BUY | SELL</p>\n","key":"side","type":"text","value":"BUY"},{"description":"<p>from /product/ endpoint</p>\n","key":"product_id","type":"text","value":"1"},{"description":"<p>base currency quantity, positive double</p>\n","key":"quantity","type":"text","value":"1"},{"description":"<p>positive double required for FOK type</p>\n","key":"price","type":"text","value":"8419"},{"description":"<p>quote currency nominal , positive double, accepted for MKT type only instead of Quantity</p>\n","key":"nominal","type":"text","value":"100","disabled":true},{"key":"slippage","value":"","description":"<p>non mandatory positive integer [0,20]</p>\n","type":"text","disabled":true},{"key":"quote_id","value":"","description":"<p>mandatory for RFQ</p>\n","type":"text","disabled":true},{"key":"external_id","value":"","description":"<p>non mandatory string max 24 character</p>\n","type":"text","disabled":true}]},"url":"https://sb-uat.enigma-securities.io/trade/","urlObject":{"protocol":"https","path":["trade",""],"host":["sb-uat","enigma-securities","io"],"query":[],"variable":[]}},"response":[{"id":"18163e3a-4c8e-4ca0-b1ac-e27e6ca776f3","name":"/trade","originalRequest":{"method":"POST","header":[{"key":"X-API-KEY","value":"EX_API_KEY","type":"text"}],"body":{"mode":"formdata","formdata":[{"description":"MKT | FOK | RFQ ","key":"type","type":"text","value":"RFQ"},{"description":"BUY | SELL","key":"side","type":"text","value":"SELL"},{"description":"from /product/ endpoint","key":"product_id","type":"text","value":"2"},{"description":"base currency quantity, positive double","key":"quantity","type":"text","value":"1"},{"description":"positive double required for FOK type","key":"price","type":"text","value":"19148.63220000"},{"key":"quote_id","value":"773a8325-5947-41c0-99c7-5d4776ff8feb","description":"mandatory for RFQ","type":"text"},{"key":"slippage","value":"2","description":"non mandatory positive integer [0,20]","type":"text","disabled":true},{"description":"quote currency nominal , positive double, accepted for MKT type only instead of Quantity","key":"nominal","type":"text","value":"1000","disabled":true}]},"url":"https://sb-uat.enigma-securities.io/trade/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 15 Dec 2020 07:32:43 GMT"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"597"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": true,\n    \"message\": \"RFQ executed\",\n    \"order_id\": \"32\",\n    \"quote_id\": \"773a8325-5947-41c0-99c7-5d4776ff8feb\",\n    \"product_id\": \"2\",\n    \"product_name\": \"BTC-USD\",\n    \"side\": \"sell\",\n    \"created_at\": \"2020-12-15 07:32:43\",\n    \"quantity\": \"1\",\n    \"nominal\": \"19148.6322\",\n    \"price\": \"19148.63220000\",\n    \"infra\": \"dev\"\n}"},{"id":"3577ea3b-9af1-46b3-8481-f62c974fa034","name":"/trade","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"MKT | FOK | RFQ ","key":"type","type":"text","value":"MKT"},{"description":"BUY | SELL","key":"side","type":"text","value":"SELL"},{"description":"from /product/ endpoint","key":"product_id","type":"text","value":"2"},{"description":"quote currency nominal , positive double, accepted for MKT type only instead of Quantity","key":"nominal","type":"text","value":"1000"},{"description":"base currency quantity, positive double","key":"quantity","type":"text","value":"1","disabled":true},{"description":"positive double required for FOK type","key":"price","type":"text","value":"8419","disabled":true},{"key":"slippage","value":"","description":"non mandatory positive integer [0,20]","type":"text","disabled":true},{"key":"quote_id","value":"","description":"mandatory for RFQ","type":"text","disabled":true}]},"url":{"raw":"https://sb-uat.enigma-securities.io/trade/?X-API-KEY=EX_API_KEY","protocol":"https","host":["sb-uat","enigma-securities","io"],"path":["trade",""],"query":[{"key":"X-API-KEY","value":"EX_API_KEY"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 15 Dec 2020 07:22:21 GMT"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": true,\n    \"message\": \"MKT Order executed\",\n    \"order_id\": \"28\",\n    \"product_id\": \"2\",\n    \"product_name\": \"BTC-USD\",\n    \"side\": \"sell\",\n    \"sent_at\": \"2020-12-15 07:22:21\",\n    \"quantity\": \"0.05220000\",\n    \"price\": \"19157.08812261\",\n    \"nominal\": \"1000.00\",\n    \"user_name\": \"client_sandbox\",\n    \"infra\": \"dev\"\n}"},{"id":"b3679ddd-e097-402f-af77-21bad526e9a2","name":"/trade","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"MKT | FOK | RFQ ","key":"type","type":"text","value":"FOK"},{"description":"BUY | SELL","key":"side","type":"text","value":"BUY"},{"description":"from /product/ endpoint","key":"product_id","type":"text","value":"2"},{"description":"base currency quantity, positive double","key":"quantity","type":"text","value":"0.25"},{"description":"positive double required for FOK type","key":"price","type":"text","value":"19223.60"},{"key":"slippage","value":"2","description":"non mandatory positive integer [0,20]","type":"text"},{"key":"quote_id","value":"","description":"mandatory for RFQ","type":"text","disabled":true},{"description":"quote currency nominal , positive double, accepted for MKT type only instead of Quantity","key":"nominal","type":"text","value":"1000","disabled":true}]},"url":{"raw":"https://sb-uat.enigma-securities.io/trade/?X-API-KEY=EX_API_KEY","protocol":"https","host":["sb-uat","enigma-securities","io"],"path":["trade",""],"query":[{"key":"X-API-KEY","value":"EX_API_KEY","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 15 Dec 2020 07:23:18 GMT"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"597"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": true,\n    \"message\": \"FOK Order executed\",\n    \"order_id\": \"30\",\n    \"product_id\": \"2\",\n    \"product_name\": \"BTC-USD\",\n    \"side\": \"buy\",\n    \"sent_at\": \"2020-12-15 07:23:17\",\n    \"quantity\": \"0.2500\",\n    \"price\": \"19227.4447\",\n    \"nominal\": \"4805.9000\",\n    \"user_name\": \"client_sandbox\",\n    \"infra\": \"dev\"\n}"},{"id":"bf25469c-3a1d-44b5-9373-142dcf458f34","name":"/trade","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"MKT | FOK | RFQ ","key":"type","type":"text","value":"MKT"},{"description":"BUY | SELL","key":"side","type":"text","value":"BUY"},{"description":"from /product/ endpoint","key":"product_id","type":"text","value":"2"},{"description":"base currency quantity, positive double","key":"quantity","type":"text","value":"1"},{"description":"positive double required for FOK type","key":"price","type":"text","value":"8419","disabled":true},{"description":"quote currency nominal , positive double, accepted for MKT type only instead of Quantity","key":"nominal","type":"text","value":"100","disabled":true},{"key":"slippage","value":"","description":"non mandatory positive integer [0,20]","type":"text","disabled":true},{"key":"quote_id","value":"","description":"mandatory for RFQ","type":"text","disabled":true}]},"url":{"raw":"https://sb-uat.enigma-securities.io/trade/?X-API-KEY=EX_API_KEY","protocol":"https","host":["sb-uat","enigma-securities","io"],"path":["trade",""],"query":[{"key":"X-API-KEY","value":"EX_API_KEY","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 15 Dec 2020 07:21:49 GMT"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"597"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": true,\n    \"message\": \"MKT Order executed\",\n    \"order_id\": \"26\",\n    \"product_id\": \"2\",\n    \"product_name\": \"BTC-USD\",\n    \"side\": \"buy\",\n    \"sent_at\": \"2020-12-15 07:21:48\",\n    \"quantity\": \"1.00000000\",\n    \"price\": \"19223.60440000\",\n    \"nominal\": \"19223.60\",\n    \"user_name\": \"client_sandbox\",\n    \"infra\": \"dev\"\n}"},{"id":"2cdde36d-b47c-4bd6-b8df-a570879ffdb1","name":"/trade","originalRequest":{"method":"POST","header":[{"key":"X-API-KEY","value":"EX_API_KEY","type":"text"}],"body":{"mode":"formdata","formdata":[{"description":"MKT | FOK | RFQ ","key":"type","type":"text","value":"MKT"},{"description":"BUY | SELL","key":"side","type":"text","value":"BUY"},{"description":"from /product/ endpoint","key":"product_id","type":"text","value":"2"},{"description":"base currency quantity, positive double","key":"quantity","type":"text","value":"0.001"},{"description":"positive double required for FOK type","key":"price","type":"text","value":"8419","disabled":true},{"description":"quote currency nominal , positive double, accepted for MKT type only instead of Quantity","key":"nominal","type":"text","value":"100","disabled":true},{"key":"slippage","value":"","description":"non mandatory positive integer [0,20]","type":"text","disabled":true},{"key":"quote_id","value":"","description":"mandatory for RFQ","type":"text","disabled":true},{"key":"external_id","value":"","description":"non mandatory string max 24 character","type":"text","disabled":true}]},"url":"https://sb-uat.enigma-securities.io/trade"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 09 Nov 2022 14:31:11 GMT"},{"key":"Server","value":"Apache/2.4.41 (Ubuntu)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"596"},{"key":"Content-Length","value":"264"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": true,\n    \"message\": \"MKT Order executed\",\n    \"order_id\": \"265499\",\n    \"product_id\": \"2\",\n    \"product_name\": \"BTC-USD\",\n    \"side\": \"buy\",\n    \"sent_at\": \"2022-11-09 14:31:12\",\n    \"quantity\": \"0.00100000\",\n    \"price\": \"17494.05155720\",\n    \"nominal\": \"17.49\",\n    \"user_name\": \"client_test_jon\",\n    \"infra\": \"dev\"\n}"}],"_postman_id":"b9189e93-b0b5-43d1-9455-142f9b9fdf1d"},{"name":"/trade","id":"676a3647-8177-4143-ba8a-309d3ec0b9e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"X-API-KEY","value":"EX_API_KEY","type":"text"}],"url":"https://sb-uat.enigma-securities.io/trade/?items_per_page=20&current_page=1&sort=trade_id desc&start_date=&end_date=&trade_id=&product_id=&execution_type=REST API&already_batched=&status[0]=booked&status[1]=validated&status[2]=canceled&external_id","urlObject":{"protocol":"https","path":["trade",""],"host":["sb-uat","enigma-securities","io"],"query":[{"key":"items_per_page","value":"20"},{"key":"current_page","value":"1"},{"key":"sort","value":"trade_id desc"},{"description":{"content":"<p>format YYYY-MM-DD</p>\n","type":"text/plain"},"key":"start_date","value":""},{"description":{"content":"<p>format YYYY-MM-DD</p>\n","type":"text/plain"},"key":"end_date","value":""},{"key":"trade_id","value":""},{"key":"product_id","value":""},{"description":{"content":"<p>OTC | REST API | </p>\n","type":"text/plain"},"key":"execution_type","value":"REST API"},{"description":{"content":"<p>-1 :all trades | 0: not batched only | 1: batched only</p>\n","type":"text/plain"},"key":"already_batched","value":""},{"key":"status[0]","value":"booked"},{"key":"status[1]","value":"validated"},{"key":"status[2]","value":"canceled"},{"key":"external_id","value":null}],"variable":[]}},"response":[{"id":"f1897a6e-1ed4-4895-94e3-8d044cdd1a79","name":"/trade","originalRequest":{"method":"GET","header":[{"key":"X-API-KEY","value":"EX_API_KEY","type":"text"}],"url":{"raw":"https://sb-uat.enigma-securities.io/trade/?items_per_page=20&current_page=1&sort=trade_id desc&start_date=&end_date=&trade_id=&product_id=&execution_type=REST API&already_batched=&status[0]=booked&status[1]=validated&status[2]=canceled","protocol":"https","host":["sb-uat","enigma-securities","io"],"path":["trade",""],"query":[{"key":"items_per_page","value":"20"},{"key":"current_page","value":"1"},{"key":"sort","value":"trade_id desc"},{"key":"start_date","value":"","description":"format YYYY-MM-DD"},{"key":"end_date","value":"","description":"format YYYY-MM-DD"},{"key":"trade_id","value":""},{"key":"product_id","value":""},{"key":"execution_type","value":"REST API","description":"OTC | REST API | "},{"key":"already_batched","value":"","description":"-1 :all trades | 0: not batched only | 1: batched only"},{"key":"status[0]","value":"booked"},{"key":"status[1]","value":"validated"},{"key":"status[2]","value":"canceled"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 15 Dec 2020 07:33:49 GMT"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"}],"cookie":[],"responseTime":null,"body":"{\n    \"paging\": {\n        \"total_items\": 4,\n        \"number_of_pages\": 1,\n        \"current_page\": 1,\n        \"sort\": \"trade_id desc\",\n        \"items_per_page\": 20\n    },\n    \"items\": [\n        {\n            \"trade_id\": 32,\n            \"date\": \"2020-12-15\",\n            \"side\": \"SELL\",\n            \"counterparty\": \"Client Sandbox\",\n            \"execution_type\": \"REST API\",\n            \"product\": \"BTC-USD\",\n            \"quantity\": \"1.00000000\",\n            \"price\": \"19148.63220000\",\n            \"nominal\": \"19148.63\",\n            \"status\": \"validated\",\n            \"settlement_batch_id\": null,\n            \"exec_by\": \"client_sandbox\",\n            \"sent_at\": \"2020-12-15 07:32:43\"\n        },\n        {\n            \"trade_id\": 30,\n            \"date\": \"2020-12-15\",\n            \"side\": \"BUY\",\n            \"counterparty\": \"Client Sandbox\",\n            \"execution_type\": \"REST API\",\n            \"product\": \"BTC-USD\",\n            \"quantity\": \"0.25000000\",\n            \"price\": \"19227.44470000\",\n            \"nominal\": \"-4805.90\",\n            \"status\": \"validated\",\n            \"settlement_batch_id\": null,\n            \"exec_by\": \"client_sandbox\",\n            \"sent_at\": \"2020-12-15 07:23:17\"\n        },\n        {\n            \"trade_id\": 28,\n            \"date\": \"2020-12-15\",\n            \"side\": \"SELL\",\n            \"counterparty\": \"Client Sandbox\",\n            \"execution_type\": \"REST API\",\n            \"product\": \"BTC-USD\",\n            \"quantity\": \"0.05220000\",\n            \"price\": \"19157.08812261\",\n            \"nominal\": \"1000.00\",\n            \"status\": \"validated\",\n            \"settlement_batch_id\": null,\n            \"exec_by\": \"client_sandbox\",\n            \"sent_at\": \"2020-12-15 07:22:21\"\n        },\n        {\n            \"trade_id\": 26,\n            \"date\": \"2020-12-15\",\n            \"side\": \"BUY\",\n            \"counterparty\": \"Client Sandbox\",\n            \"execution_type\": \"REST API\",\n            \"product\": \"BTC-USD\",\n            \"quantity\": \"1.00000000\",\n            \"price\": \"19223.60440000\",\n            \"nominal\": \"-19223.60\",\n            \"status\": \"validated\",\n            \"settlement_batch_id\": null,\n            \"exec_by\": \"client_sandbox\",\n            \"sent_at\": \"2020-12-15 07:21:48\"\n        }\n    ]\n}"}],"_postman_id":"676a3647-8177-4143-ba8a-309d3ec0b9e8"}],"id":"4ea57732-c8a9-4e48-88ec-ebd6f63e362c","_postman_id":"4ea57732-c8a9-4e48-88ec-ebd6f63e362c","description":""},{"name":"Account","item":[{"name":"/balance","id":"f2f4675c-c526-4c08-aaa5-760029b9cdb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"X-API-KEY","value":"EX_API_KEY","type":"text"}],"url":"https://sb-uat.enigma-securities.io/balance/","urlObject":{"protocol":"https","path":["balance",""],"host":["sb-uat","enigma-securities","io"],"query":[],"variable":[]}},"response":[{"id":"7e557eea-6973-40c7-b231-a9195bf884bf","name":"/balance","originalRequest":{"method":"GET","header":[{"key":"X-API-KEY","value":"EX_API_KEY","type":"text"}],"url":"https://sb-uat.enigma-securities.io/balance/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 15 Dec 2020 07:34:23 GMT"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"}],"cookie":[],"responseTime":null,"body":"{\n    \"BTC\": \"2.44980000\",\n    \"USD\": \"-48324.64\"\n}"}],"_postman_id":"f2f4675c-c526-4c08-aaa5-760029b9cdb9"},{"name":"/risk_limit","id":"7678c8bc-0727-43e7-bd73-c0ee51af3ee6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"X-API-KEY","value":"EX_API_KEY","type":"text"}],"url":"https://sb-uat.enigma-securities.io/risk_limit","urlObject":{"protocol":"https","path":["risk_limit"],"host":["sb-uat","enigma-securities","io"],"query":[],"variable":[]}},"response":[{"id":"5df7328d-318a-4423-946d-4b6b9338df77","name":"/risk_limit","originalRequest":{"method":"GET","header":[{"key":"X-API-KEY","value":"EX_API_KEY","type":"text"}],"url":"https://sb-uat.enigma-securities.io/risk_limit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 15 Dec 2020 07:34:47 GMT"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"597"}],"cookie":[],"responseTime":null,"body":"{\n    \"BTC-USD_max_qty_per_trade\": \"20.0000\",\n    \"USD_max_exposure\": 1000000\n}"}],"_postman_id":"7678c8bc-0727-43e7-bd73-c0ee51af3ee6"}],"id":"e53b2d51-7ad0-409c-a353-4b6d00703cd4","_postman_id":"e53b2d51-7ad0-409c-a353-4b6d00703cd4","description":""}],"event":[{"listen":"prerequest","script":{"id":"06817fe0-7eb4-47da-b5bb-9a4c0487f2f5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"44bca51c-3b38-46df-8e66-e061f41f57f1","type":"text/javascript","exec":[""]}}]}