{"info":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","description":"<html><head></head><body><h3 id=\"public-api-for-interacting-with-trenergy\"><em>Public API for interacting with</em> <a href=\"https://tr.energy\">Trenergy</a></h3>\n<h2 id=\"authentication\">Authentication</h2>\n<p>Trenergy uses Bearer Tokens for authentication.</p>\n<p>According to the OAuth 2.0 specification (RFC 6750), Bearer tokens must be passed via the Authorization header.</p>\n<p>The Bearer Token tells the API server that the request came from you. Everything that you have access to in Trenergy is accessible with your Bearer Token. You can generate an Bearer Token in your Trenergy account settings.</p>\n<h2 id=\"test-server\">Test server</h2>\n<p>We also have a server running <strong>nile testnet</strong>.</p>\n<p>You can check this API at <a href=\"https://nile-core.tr.energy/api/\">https://nile-core.tr.energy/api/</a></p>\n<p>Or use the web interface at <a href=\"https://nile.tr.energy/en/\">https://nile.tr.energy/en/</a></p>\n<h2 id=\"about-the-trenergy-api\">About the Trenergy API</h2>\n<ul>\n<li><p>You must use a valid Bearer Token to send requests to the API endpoints.</p>\n</li>\n<li><p>The API returns requests responses in <a href=\"https://en.wikipedia.org/wiki/JSON\">JSON format</a>. When an API request returns an error, it is sent in the JSON response as an error key.</p>\n</li>\n<li><p>Server time GMT+0</p>\n</li>\n</ul>\n<h2 id=\"support\">Support</h2>\n<p>For help regarding accessing the Trenergy API, you can contact us <a href=\"https://mailto:support@tr.energy\">support@tr.energy</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"7317157","collectionId":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","publishedId":"2s9YRGw8qy","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-03-04T13:47:25.000Z"},"item":[{"name":"1. Account","item":[{"name":"1.1. Show","id":"61c5625e-b998-4d36-a551-07db432a52c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/api/account","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Account field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>balance</code></td>\n<td>Account balance</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","account"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"65b0fea1-54b3-46fa-894d-145d504cf830","name":"200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/api/account"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Tue, 07 Nov 2023 10:33:11 GMT"},{"key":"Date","value":"Tue, 07 Nov 2023 10:33:11 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {\n        \"name\": \"User Name\",\n        \"email\": \"example@domain.com\",\n        \"has_password\": true,\n        \"has_telegram\": true,\n        \"lang\": \"en\",\n        \"the_code\": \"TE123456\",\n        \"invitation_code\": null,\n        \"credit_limit\": 0,\n        \"leader_name\": null,\n        \"leader_level\": 0,\n        \"ref_enabled\": true,\n        \"is_banned\": false,\n        \"balance_restricted\": false,\n        \"balance\": 1713.367036,\n        \"energy_balance\": 0,\n        \"photo\": \"http://tr.energy/img/default-avatar.png\",\n        \"stakes_sum\": 70000,\n        \"stakes_profit\": 316.454796,\n        \"available_to_unstake_sum\": 1000,\n        \"active_stakers_count\": 2,\n        \"subscription\": {\n            \"created_at\": \"2024-10-14 09:35:56\",\n            \"expires_at\": \"2025-10-14 09:35:54\"\n        },\n        \"2fa\": false,\n        \"onboarding\": 1,\n        \"created_at\": \"18-04-2024 19:08:19\",\n        \"updated_at\": \"26-09-2024 07:05:26\",\n        \"deletion_at\": null,\n        \"reinvestment\": {\n            \"wallet\": false,\n            \"balance\": true,\n            \"created_at\": \"11-11-2024 15:53:42\",\n            \"updated_at\": \"11-11-2024 15:53:42\"\n        },\n        \"notification_settings\": [\n            {\n                \"id\": 1,\n                \"name\": \"newPartner\",\n                \"value\": false\n            },\n            {\n                \"id\": 2,\n                \"name\": \"consumerThresholdActivation\",\n                \"value\": false\n            }\n        ]\n    }\n}"}],"_postman_id":"61c5625e-b998-4d36-a551-07db432a52c7"},{"name":"1.2. Top Up","id":"4a32e029-6e48-43b8-8dba-bb719110450d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/api/account/top-up","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","account","top-up"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"ef59af06-6a2b-4fd7-a89c-0a2c20c5cdaf","name":"200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/api/account/top-up"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Tue, 01 Aug 2023 06:47:20 GMT"},{"key":"Date","value":"Tue, 01 Aug 2023 06:47:20 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {\n        \"address\": \"TT7Eu4MJxdmiHwAvpH91n65Erg6Wk12345\",\n        \"qr_code\": \"https://chart.googleapis.com/chart?chs=250x250&cht=qr&chl=TT7Eu4MJxdmiHwAvpH91n65Erg6Wk12345\",\n        \"time_left\": 3599\n    }\n}"}],"_postman_id":"4a32e029-6e48-43b8-8dba-bb719110450d"}],"id":"ef59926b-b870-4e93-992b-1de17b5c0203","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Endpoint</strong></th>\n<th><strong>Action</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1.1. Show</td>\n<td>Show account info</td>\n</tr>\n<tr>\n<td>1.2. Top Up</td>\n<td>Get a wallet address to top up your account balance</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"ef59926b-b870-4e93-992b-1de17b5c0203","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}}},{"name":"2. Consumers","item":[{"name":"2.0. Create & Activate","id":"04bba551-6b9b-4cbd-bb88-bb5b8af9a45f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"payment_period","value":"15","description":"<p>Required. Payment period in minutes (15/60/1440)</p>\n","type":"text"},{"key":"address","value":"TY3dRk4eQ75dCrW7tUcCzggU9rnz4V1111","description":"<p>Required. Wallet address</p>\n","type":"text"},{"key":"auto_renewal","value":"0","description":"<p>Required. Auto renewal</p>\n","type":"text"},{"key":"resource_amount","value":"200000","description":"<p>Required. Resource amount</p>\n","type":"text"},{"key":"name","value":"My second consumer","description":"<p>Optional. Name</p>\n","type":"text","disabled":true},{"key":"webhook_url","value":"https://url.com","description":"<p>Optional. URL to receive notification when order is fulfilled</p>\n","type":"text","disabled":true},{"key":"resource","value":"0","description":"<p>Optional. 0 - BANDWIDTH, 1 - ENERGY (default)</p>\n","type":"text","uuid":"c5f03b5e-0f6f-46b8-b478-e3907e4ff21d","disabled":true}]},"url":"{{url}}/api/consumers/bootstrap-order","description":"<p>Before sending energy, our system will automatically check whether the address is activated on the TRON network. If not, it will activate it and deduct the payment for this service from the user's balance.</p>\n<p>When the \"webhook_url\" parameter is set. After the order is completed, the server will send a POST request:</p>\n<p><code>{</code></p>\n<p><code>\"status\": true,</code></p>\n<p><code>\"address\": your_consumer_wallet_address</code></p>\n<p><code>}</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","consumers","bootstrap-order"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"9d4b2dcc-c872-47e9-a96e-a9f5a38f60c3","name":"200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"payment_period","value":"15","description":"Required. Payment period","type":"text"},{"key":"address","value":"TY3dRk4eQ75dCrW7tUcCzggU9rnz4V1111","description":"Required. Wallet address","type":"text"},{"key":"auto_renewal","value":"0","description":"Required. Autorenewal","type":"text"},{"key":"resource_amount","value":"200000","description":"Required. Resource amount","type":"text"},{"key":"name","value":"My second consumer","description":"Optional. Name","type":"text","disabled":true},{"key":"webhook_url","value":"https://url.com","description":"Optional. URL to receive notification when order is fulfilled","type":"text","uuid":"b4c8f5dc-8403-4500-9de2-4aa2643c2ce5","disabled":true},{"key":"resource","value":"1","description":"Optional. 0 - BANDWIDTH, 1 - ENERGY (default)","type":"text","uuid":"0d92a7b6-220f-41ba-ae6d-cc8c7e808f83","disabled":true}]},"url":"{{url}}/api/consumers/bootstrap-order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Mon, 30 Oct 2023 06:58:18 GMT"},{"key":"Date","value":"Mon, 30 Oct 2023 06:58:18 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"My second consumer\",\n        \"address\": \"TY3dRk4eQ75dCrW7tUcCzggU9rnz4V1111\",\n        \"resource\": \"ENERGY\",\n        \"resource_amount\": 200000,\n        \"desired_resource_amount\": 250000,\n        \"creation_type\": 2,\n        \"payment_period\": 15,\n        \"auto_renewal\": false,\n        \"is_active\": false,\n        \"order\": null,\n        \"webhook_url\": \"https://url.com\",\n        \"created_at\": \"30-10-2023 06:58:17\",\n        \"updated_at\": \"30-10-2023 06:58:17\"\n    }\n}"}],"_postman_id":"04bba551-6b9b-4cbd-bb88-bb5b8af9a45f"},{"name":"2.1. Index","id":"feaa1d57-b465-4b8a-b732-b1affad6e9ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/api/consumers","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Consumer field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>creation_type</code></td>\n<td><strong>1</strong> (File uploading), <strong>2</strong> (Manual creation)</td>\n</tr>\n<tr>\n<td><code>payment_period</code></td>\n<td><strong>15/60/1440</strong> (minutes)</td>\n</tr>\n<tr>\n<td><code>auto_renewal</code></td>\n<td><strong>true</strong> / <strong>false</strong></td>\n</tr>\n<tr>\n<td><code>is_active</code></td>\n<td><strong>true</strong> / <strong>false</strong> (Has active and paid order)</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Order/Boost field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>status</code></td>\n<td><strong>1</strong> =&gt; 'New' (no executors),  <br /><strong>2</strong> =&gt; 'Pending' (has executors),  <br /><strong>3</strong> =&gt; 'Filled' (all energy delivered),  <br /><strong>4</strong> =&gt; 'Canceled' (deactivated),</td>\n</tr>\n<tr>\n<td><code>completion_percentage</code></td>\n<td>Percentage of delegated energy from total amount</td>\n</tr>\n<tr>\n<td><code>valid_until</code></td>\n<td>End date of the paid period</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","consumers"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>Optional. Filter by name</p>\n","type":"text/plain"},"key":"name","value":"Your consumer name"},{"disabled":true,"description":{"content":"<p>Optional. Filter by activity</p>\n","type":"text/plain"},"key":"is_active","value":"1"},{"disabled":true,"description":{"content":"<p>Optional. Filter by auto renewal</p>\n","type":"text/plain"},"key":"auto_renewal","value":"1"},{"disabled":true,"description":{"content":"<p>Optional. Filter by payment periods</p>\n","type":"text/plain"},"key":"payment_periods[]","value":"15"},{"disabled":true,"description":{"content":"<p>Optional. Filter by wallet addresses</p>\n","type":"text/plain"},"key":"wallets[]","value":"TY3dRk4eQ75dCrW7tUcCzggU9rnz4V1111"},{"disabled":true,"description":{"content":"<p>Optional. Filter by resource</p>\n","type":"text/plain"},"key":"resource","value":"1"},{"disabled":true,"description":{"content":"<p>Optional. Pagination page</p>\n","type":"text/plain"},"key":"page","value":"2"},{"disabled":true,"description":{"content":"<p>Optional. Pagination per page</p>\n","type":"text/plain"},"key":"per_page","value":"5"},{"disabled":true,"description":{"content":"<p>Optional. Sorting field</p>\n","type":"text/plain"},"key":"sort","value":"name"},{"disabled":true,"description":{"content":"<p>Optional. Sorting direction</p>\n","type":"text/plain"},"key":"direction","value":"desc"}],"variable":[]}},"response":[{"id":"163780d1-3108-4bb7-b0a6-5650d8457dce","name":"200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"localhost/api/consumers","host":["localhost"],"path":["api","consumers"],"query":[{"key":"per_page","value":"5","description":"Optional. Pagination","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Fri, 27 Oct 2023 14:52:14 GMT"},{"key":"Date","value":"Fri, 27 Oct 2023 14:52:13 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"First consumer\",\n            \"address\": \"TWoHLT3JkUB1gwF745JuQmtcJ6rZ712345\",\n            \"resource\": \"ENERGY\",\n            \"resource_amount\": 245000,\n            \"creation_type\": 2,\n            \"payment_period\": 15,\n            \"auto_renewal\": true,\n            \"is_active\": true,\n            \"order\": {\n                \"status\": 3,\n                \"completion_percentage\": 93,\n                \"created_at\": \"2023-10-11 16:06:23\",\n                \"updated_at\": \"2023-10-22 09:18:02\",\n                \"valid_until\": \"2023-11-24 12:55:00\"\n            },\n            \"webhook_url\": \"https://url.com\",\n            \"created_at\": \"11-10-2023 16:06:23\",\n            \"updated_at\": \"20-10-2023 12:47:49\"\n        },\n        {\n            //Next consumer\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://core.tr.energy/api/consumers?page=1\",\n        \"last\": \"http://core.tr.energy/api/consumers?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://core.tr.energy/api/consumers?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://core.tr.energy/api/consumers\",\n        \"per_page\": 20,\n        \"to\": 1,\n        \"total\": 1\n    }\n}"}],"_postman_id":"feaa1d57-b465-4b8a-b732-b1affad6e9ac"},{"name":"2.1.1. Download Consumer List","id":"97430033-aaa6-4b6a-bb74-63c1ac550f15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/api/consumers/download","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Consumer field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>creation_type</code></td>\n<td><strong>1</strong> (File uploading), <strong>2</strong> (Manual creation)</td>\n</tr>\n<tr>\n<td><code>payment_period</code></td>\n<td><strong>15/60/1440</strong> (minutes)</td>\n</tr>\n<tr>\n<td><code>auto_renewal</code></td>\n<td><strong>true</strong> / <strong>false</strong></td>\n</tr>\n<tr>\n<td><code>is_active</code></td>\n<td><strong>true</strong> / <strong>false</strong> (Has active and paid order)</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","consumers","download"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>Optional. Filter by name (3-40 symbols)</p>\n","type":"text/plain"},"key":"name","value":"new_name"},{"disabled":true,"description":{"content":"<p>Optional. Filter by order activity (1/0)</p>\n","type":"text/plain"},"key":"is_active","value":"1"},{"disabled":true,"description":{"content":"<p>Optional. Filter by auto renewal (1/0)</p>\n","type":"text/plain"},"key":"auto_renewal","value":"1"},{"disabled":true,"description":{"content":"<p>Optional. Filter by payment period (15/60/1440)</p>\n","type":"text/plain"},"key":"payment_periods[]","value":"15"},{"disabled":true,"key":"payment_periods[]","value":"60"},{"disabled":true,"description":{"content":"<p>Optional. Filter by addresses</p>\n","type":"text/plain"},"key":"wallet[]","value":"TY3dRk4eQ75dCrW7tUcCzggU9rnz4V1234"},{"disabled":true,"description":{"content":"<p>Optional. File extension (csv/xlsx). Xlsx by default</p>\n","type":"text/plain"},"key":"format","value":"xlsx"}],"variable":[]}},"response":[{"id":"0bd9179b-a71f-4c9e-9146-2f5317b166b6","name":"BinaryFileResponse","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/api/consumers/download","host":["{{url}}"],"path":["api","consumers","download"],"query":[{"key":"name","value":"new_name","description":"Optional. Filter by name (3-40 symbols)","type":"text","disabled":true},{"key":"is_active","value":"1","description":"Optional. Filter by order activity (1/0)","type":"text","disabled":true},{"key":"auto_renewal","value":"1","description":"Optional. Filter by auto renewal (1/0)","type":"text","disabled":true},{"key":"payment_periods[]","value":"1","description":"Optional. Filter by payment period (1/3/7/30)","type":"text","disabled":true},{"key":"payment_periods[]","value":"7","type":"text","disabled":true},{"key":"wallet[]","value":"TY3dRk4eQ75dCrW7tUcCzggU9rnz4V1234","description":"Optional. Filter by addresses","disabled":true},{"key":"format","value":"xlsx","description":"Optional. File extension (csv/xlsx). Xlsx by default","type":"text","disabled":true}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"FILE"}],"_postman_id":"97430033-aaa6-4b6a-bb74-63c1ac550f15"},{"name":"2.2. Create","id":"f6f6568d-9ab4-42aa-8af7-5bbd8fd3eccd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"payment_period","value":"15","description":"<p>Required. Payment period in minutes (15/60/1440)</p>\n","type":"text"},{"key":"address","value":"TY3dRk4eQ75dCrW7tUcCzggU9rnz4V1111","description":"<p>Required. Wallet address</p>\n","type":"text"},{"key":"auto_renewal","value":"0","description":"<p>Required. Auto renewal</p>\n","type":"text"},{"key":"resource_amount","value":"200000","description":"<p>Required. Resource amount</p>\n","type":"text"},{"key":"name","value":"My second consumer","description":"<p>Required. Nullable</p>\n","type":"text"},{"key":"webhook_url","value":"https://url.com","description":"<p>Optional. URL to receive notification when order is fulfilled</p>\n","type":"text","disabled":true},{"key":"resource","value":"0","description":"<p>Optional. 0 - BANDWIDTH, 1 - ENERGY (default)</p>\n","type":"text","uuid":"e8d3f37c-2b09-4414-bfc2-0f7eb797a1b4","disabled":true}]},"url":"{{url}}/api/consumers","description":"<p><strong>Attention</strong>! To receive energy, you also need to <strong>activate</strong> the order after creation, using <strong>2.4 method</strong></p>\n<p>When the \"webhook_url\" parameter is set. After the order is completed, the server will send a POST request:</p>\n<p><code>{</code></p>\n<p><code>\"status\": true,</code></p>\n<p><code>\"address\": your_consumer_wallet_address</code></p>\n<p><code>}</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","consumers"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"ddaff6a6-face-4d5b-a843-0e4d12975acf","name":"201","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"payment_period","value":"15","description":"Required. Payment period","type":"text"},{"key":"address","value":"TY3dRk4eQ75dCrW7tUcCzggU9rnz4V1111","description":"Required. Wallet address","type":"text"},{"key":"auto_renewal","value":"0","description":"Required. Autorenewal","type":"text"},{"key":"resource_amount","value":"200000","description":"Required (If consumption_type = 1). Energy amount","type":"text"},{"key":"name","value":"My second consumer","description":"Required. Nullable","type":"text"},{"key":"resource","value":"1","description":"Optional. 0 - BANDWIDTH, 1 - ENERGY (default)","type":"text","uuid":"d0fdeaf4-e279-488e-9fbd-3585aba70614"}]},"url":"localhost/api/consumers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Mon, 30 Oct 2023 06:58:18 GMT"},{"key":"Date","value":"Mon, 30 Oct 2023 06:58:18 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"My second consumer\",\n        \"address\": \"TY3dRk4eQ75dCrW7tUcCzggU9rnz4V1111\",\n        \"resource\": \"ENERGY\",\n        \"resource_amount\": 200000,\n        \"desired_resource_amount\": 250000,\n        \"creation_type\": 2,\n        \"payment_period\": 15,\n        \"auto_renewal\": false,\n        \"is_active\": false,\n        \"order\": null,\n        \"webhook_url\": \"https://url.com\",\n        \"created_at\": \"30-10-2023 06:58:17\",\n        \"updated_at\": \"30-10-2023 06:58:17\"\n    }\n}"}],"_postman_id":"f6f6568d-9ab4-42aa-8af7-5bbd8fd3eccd"},{"name":"2.3. Show","id":"0e4ce931-2218-4b56-b1cb-e24e302fb511","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/api/consumers/:consumer_id","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","consumers",":consumer_id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"2","key":"consumer_id"}]}},"response":[{"id":"63073cc7-3149-446c-92e5-94ab372fa917","name":"200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"localhost/api/consumers/:consumer_id","host":["localhost"],"path":["api","consumers",":consumer_id"],"variable":[{"key":"consumer_id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Mon, 30 Oct 2023 07:15:03 GMT"},{"key":"Date","value":"Mon, 30 Oct 2023 07:15:03 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"My second consumer\",\n        \"address\": \"TY3dRk4eQ75dCrW7tUcCzggU9rnz4V1111\",\n        \"resource\": \"ENERGY\",\n        \"resource_amount\": 200000,\n        \"estimated_cost_trx\": 20.044,\n        \"creation_type\": 2,\n        \"payment_period\": 7,\n        \"auto_renewal\": false,\n        \"is_active\": false,\n        \"order\": {\n            \"status\": 3,\n            \"completion_percentage\": 100,\n            \"created_at\": \"2023-10-30 16:06:23\",\n            \"updated_at\": \"2023-10-30 16:06:23\",\n            \"valid_until\": \"2023-10-30 16:21:23\"\n        },\n        \"webhook_url\": \"https://url.com\",\n        \"created_at\": \"30-10-2023 06:58:17\",\n        \"updated_at\": \"30-10-2023 06:58:17\"\n    }\n}"}],"_postman_id":"0e4ce931-2218-4b56-b1cb-e24e302fb511"},{"name":"2.4. Activate order","id":"87518b84-4082-4b1a-b2e3-00fb80ac9c71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/api/consumers/:consumer_id/activate","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","consumers",":consumer_id","activate"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"2","key":"consumer_id"}]}},"response":[{"id":"7249aa07-9c77-4206-855a-a4eb09cc5d81","name":"200","originalRequest":{"method":"POST","header":[],"url":{"raw":"localhost/api/consumers/:consumer_id/activate","host":["localhost"],"path":["api","consumers",":consumer_id","activate"],"variable":[{"key":"consumer_id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Fri, 20 Oct 2023 13:39:23 GMT"},{"key":"Date","value":"Fri, 20 Oct 2023 13:39:23 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {}\n}"}],"_postman_id":"87518b84-4082-4b1a-b2e3-00fb80ac9c71"},{"name":"2.5. Deactivate","id":"20c6510c-8237-4a7d-aac6-47bfdaacefa8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/api/consumers/:consumer_id/deactivate","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","consumers",":consumer_id","deactivate"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"2","key":"consumer_id"}]}},"response":[{"id":"560de258-1f9b-449f-b0fb-5cc97959516b","name":"200","originalRequest":{"method":"POST","header":[],"url":{"raw":"localhost/api/consumers/:consumer_id/deactivate","host":["localhost"],"path":["api","consumers",":consumer_id","deactivate"],"variable":[{"key":"consumer_id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Fri, 20 Oct 2023 13:39:40 GMT"},{"key":"Date","value":"Fri, 20 Oct 2023 13:39:40 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {}\n}"}],"_postman_id":"20c6510c-8237-4a7d-aac6-47bfdaacefa8"},{"name":"2.6. Update","id":"6ed2fa49-7c7f-45cf-9bc5-918a364ff7b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"New consumer name","type":"text","description":"<p>Optional. Name</p>\n"},{"key":"payment_period","value":"15","description":"<p>Optional. Payment period in minutes (15/60/480/1440)</p>\n","type":"text","disabled":true},{"key":"auto_renewal","value":"1","description":"<p>Optional. Auto renewal</p>\n","type":"text","disabled":true},{"key":"resource_amount","value":"120000","type":"text","description":"<p>Required if consumption_type = 1. Energy amount</p>\n","disabled":true}]},"url":"{{url}}/api/consumers/:consumer_id","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","consumers",":consumer_id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"2","key":"consumer_id"}]}},"response":[{"id":"c636f0ad-847c-42e7-b3e9-8f039a194d41","name":"200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"New consumer name","type":"text","description":"Optional. Name"},{"key":"payment_period","value":"15","description":"Optional. Payment period in minutes","type":"text","disabled":true},{"key":"auto_renewal","value":"1","description":"Optional. Autorenewal","type":"text","disabled":true},{"key":"resource_amount","value":"120000","type":"text","description":"Required if consumption_type = 1. Energy amount","disabled":true}]},"url":{"raw":"localhost/api/consumers/:consumer_id","host":["localhost"],"path":["api","consumers",":consumer_id"],"variable":[{"key":"consumer_id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Mon, 30 Oct 2023 07:29:10 GMT"},{"key":"Date","value":"Mon, 30 Oct 2023 07:29:10 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {}\n}"}],"_postman_id":"6ed2fa49-7c7f-45cf-9bc5-918a364ff7b7"},{"name":"2.7. Destroy","id":"eee0d5f8-9200-4b0b-a44b-b1970e070f83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/api/consumers/:consumer_id","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","consumers",":consumer_id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"2","key":"consumer_id"}]}},"response":[{"id":"3df532b5-ca4a-4f55-9635-73b9b48a441a","name":"200","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost/api/consumers/:consumer_id","host":["localhost"],"path":["api","consumers",":consumer_id"],"variable":[{"key":"consumer_id","value":"28"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Tue, 27 Jun 2023 13:57:36 GMT"},{"key":"Date","value":"Tue, 27 Jun 2023 13:57:36 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {}\n}"}],"_postman_id":"eee0d5f8-9200-4b0b-a44b-b1970e070f83"},{"name":"2.8. Consumer Payments","id":"b4b5f8f0-0738-49c6-983c-1a15344046a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/consumers/:consumer_id/payments","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","consumers",":consumer_id","payments"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>Optional. Payment coin (1 - main, 3 - energy)</p>\n","type":"text/plain"},"key":"coin","value":"1"},{"disabled":true,"description":{"content":"<p>Optional. Date filter</p>\n","type":"text/plain"},"key":"from_date","value":"2025-10-10"},{"disabled":true,"description":{"content":"<p>Optional. Date filter</p>\n","type":"text/plain"},"key":"to_date","value":"2025-10-23"},{"disabled":true,"description":{"content":"<p>Optional. Pagination</p>\n","type":"text/plain"},"key":"per_page","value":"5"},{"disabled":true,"description":{"content":"<p>Optional. Payment type filter</p>\n","type":"text/plain"},"key":"type","value":"202"}],"variable":[{"id":"67d43ff6-41e3-4460-ae40-eef71f3a73dc","type":"any","value":"4850","key":"consumer_id"}]}},"response":[{"id":"6c43112e-38d4-47d9-999e-a78bfcc85196","name":"200","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/api/consumers/:consumer_id/payments","host":["{{url}}"],"path":["api","consumers",":consumer_id","payments"],"query":[{"key":"coin","value":"1","description":"Optional. Payment coin (1 - main, 3 - energy)","disabled":true},{"key":"from_date","value":"2025-10-10","description":"Optional. Date filter","type":"text","disabled":true},{"key":"to_date","value":"2025-10-23","description":"Optional. Date filter","type":"text","disabled":true},{"key":"per_page","value":"5","description":"Optional. Pagination","disabled":true},{"key":"type","value":"205","description":"Optional. Payment type filter","type":"text","disabled":true}],"variable":[{"key":"consumer_id","value":"4850"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.4.10"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 23 Oct 2025 14:02:05 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"X-RateLimit-Limit","value":"3000"},{"key":"X-RateLimit-Remaining","value":"2999"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Retry-After, X-RateLimit-Reset"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": [\n        {\n            \"amount\": 3.77,\n            \"type\": 205,\n            \"coin\": 1,\n            \"quantity\": 130000,\n            \"created_at\": \"2025-09-04 03:49:59\"\n        },\n        {\n            \"amount\": 3.77,\n            \"type\": 205,\n            \"coin\": 1,\n            \"quantity\": 65000,\n            \"created_at\": \"2025-09-04 03:49:00\"\n        },\n        {\n            \"amount\": 3.77,\n            \"type\": 205,\n            \"coin\": 1,\n            \"quantity\": 65000,\n            \"created_at\": \"2025-09-04 03:48:00\"\n        },\n        {\n            \"amount\": 3.77,\n            \"type\": 205,\n            \"coin\": 1,\n            \"quantity\": 65000,\n            \"created_at\": \"2025-09-04 03:47:32\"\n        },\n        {\n            \"amount\": 3.77,\n            \"type\": 205,\n            \"coin\": 1,\n            \"quantity\": 65000,\n            \"created_at\": \"2025-09-04 03:47:30\"\n        },\n        {\n            \"amount\": 3.77,\n            \"type\": 205,\n            \"coin\": 1,\n            \"quantity\": 65000,\n            \"created_at\": \"2025-09-04 03:47:00\"\n        },\n        {\n            \"amount\": 3.77,\n            \"type\": 205,\n            \"coin\": 1,\n            \"quantity\": 65000,\n            \"created_at\": \"2025-09-04 03:46:00\"\n        },\n        {\n            \"amount\": 8.12,\n            \"type\": 205,\n            \"coin\": 1,\n            \"quantity\": 65000,\n            \"created_at\": \"2025-09-04 03:45:09\"\n        },\n        {\n            \"amount\": 3.77,\n            \"type\": 205,\n            \"coin\": 1,\n            \"quantity\": 65000,\n            \"created_at\": \"2025-09-04 03:45:03\"\n        },\n        {\n            \"amount\": 3.77,\n            \"type\": 205,\n            \"coin\": 1,\n            \"quantity\": 65000,\n            \"created_at\": \"2025-09-04 03:45:01\"\n        },\n        {\n            \"amount\": 7.6,\n            \"type\": 205,\n            \"coin\": 1,\n            \"quantity\": 65000,\n            \"created_at\": \"2025-09-04 03:44:41\"\n        },\n        {\n            \"amount\": 3.77,\n            \"type\": 205,\n            \"coin\": 1,\n            \"quantity\": 65000,\n            \"created_at\": \"2025-09-04 03:44:35\"\n        },\n        {\n            \"amount\": 3.77,\n            \"type\": 205,\n            \"coin\": 1,\n            \"quantity\": 65000,\n            \"created_at\": \"2025-09-04 03:44:33\"\n        },\n        {\n            \"amount\": 3.77,\n            \"type\": 205,\n            \"coin\": 1,\n            \"quantity\": null,\n            \"created_at\": \"2025-09-04 03:44:30\"\n        },\n        {\n            \"amount\": 7.46,\n            \"type\": 205,\n            \"coin\": 1,\n            \"quantity\": null,\n            \"created_at\": \"2025-09-04 03:43:38\"\n        },\n        {\n            \"amount\": 3.77,\n            \"type\": 205,\n            \"coin\": 1,\n            \"quantity\": null,\n            \"created_at\": \"2025-09-04 03:43:30\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://core.tr.energy/api/consumers/4850/payments?page=1\",\n        \"last\": \"http://core.tr.energy/api/consumers/4850/payments?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"page\": null,\n                \"active\": false\n            },\n            {\n                \"url\": \"http://core.tr.energy/api/consumers/4850/payments?page=1\",\n                \"label\": \"1\",\n                \"page\": 1,\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"page\": null,\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://core.tr.energy/api/consumers/4850/payments\",\n        \"per_page\": 20,\n        \"to\": 16,\n        \"total\": 16\n    }\n}"}],"_postman_id":"b4b5f8f0-0738-49c6-983c-1a15344046a6"},{"name":"2.10. Mass Top Up TRX","id":"e6e448cd-4bbe-4426-83e2-6ea1ce493da3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"amount","value":"50","description":"<p>Required. TRX amount to send for each address (&lt;=100)</p>\n","type":"text"},{"key":"consumers[]","value":"832","description":"<p>Required. Consumer Ids</p>\n","type":"text"},{"key":"consumers[]","value":"833","type":"text","disabled":true}]},"url":"{{url}}/api/consumers/mass/trx","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","consumers","mass","trx"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"52e33130-c673-446a-9dfc-48de90521732","name":"200","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"amount","value":"50","description":"Required. TRX amount to send for each address (<=100)","type":"text"},{"key":"consumers[]","value":"832","description":"Required. Consumer Ids","type":"text"},{"key":"consumers[]","value":"833","type":"text","disabled":true}]},"url":"{{url}}/api/consumers/mass/trx"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Tue, 09 Apr 2024 19:35:40 GMT"},{"key":"Date","value":"Tue, 09 Apr 2024 19:35:40 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {}\n}"}],"_postman_id":"e6e448cd-4bbe-4426-83e2-6ea1ce493da3"},{"name":"2.11. Activate TRON Address","id":"66d894d3-9886-44f6-9488-8c1914cd6792","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"address","value":"TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t","description":"<p>Required. Wallet address</p>\n","type":"text"}]},"url":"{{url}}/api/extra/activate-address","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","extra","activate-address"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"b06d8e0d-759b-46f0-9f43-cac368f52ec0","name":"200","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"address","value":"TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t","description":"Required. Wallet address","type":"text"}]},"url":"{{url}}/api/extra/activate-address"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Tue, 09 Apr 2024 16:44:05 GMT"},{"key":"Date","value":"Tue, 09 Apr 2024 16:44:05 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {}\n}"}],"_postman_id":"66d894d3-9886-44f6-9488-8c1914cd6792"},{"name":"2.12. Create Recharge Consumer","id":"b1b5ccd9-acd4-4569-baef-19bb8524cfcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"address","value":"TDumg3e9woV4dixGzY2DYUYdFFKBJBDDXS","type":"text","description":"<p>Required|string. Address</p>\n"},{"key":"recharge_type","value":"1","type":"text","description":"<p>Required|int. Recharge type (See method description)</p>\n"},{"key":"weekday_only","value":"0","description":"<p>Optional. Active on weekdays only (1/0)</p>\n","type":"text","uuid":"4f441511-8616-4412-ae0d-f598da775f6c","disabled":true}]},"url":"{{url}}/api/consumers/recharge","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Recharge type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>S</td>\n</tr>\n<tr>\n<td>2</td>\n<td>M</td>\n</tr>\n<tr>\n<td>3</td>\n<td>L</td>\n</tr>\n<tr>\n<td>4</td>\n<td>XL</td>\n</tr>\n<tr>\n<td>5</td>\n<td>XXXL</td>\n</tr>\n<tr>\n<td>6</td>\n<td>XXL</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","consumers","recharge"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"b9c68df3-f1c8-4c8b-a610-1006f55db428","name":"200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"address","value":"TDumg3e9woV4dixGzY2DYUYdFFKBJBDDXS","type":"text","description":"Required|string. Address"},{"key":"recharge_type","value":"1","type":"text","description":"Required|int. Recharge type (See method description)"},{"key":"weekday_only","value":"0","description":"Optional. Active on weekdays only (1/0)","type":"text","uuid":"4f441511-8616-4412-ae0d-f598da775f6c","disabled":true}]},"url":"{{url}}/api/consumers/recharge"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.4.10"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 31 Mar 2026 08:37:47 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"X-RateLimit-Limit","value":"3000"},{"key":"X-RateLimit-Remaining","value":"2998"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Retry-After, X-RateLimit-Reset"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {\n        \"id\": 4867,\n        \"name\": \"TDumg3...JBDDXS\",\n        \"address\": \"TDumg3e9woV4dixGzY2DYUYdFFKBJBDDXS\",\n        \"resource\": \"ENERGY\",\n        \"resource_amount\": 150000,\n        \"estimated_cost_trx\": 18,\n        \"desired_resource_amount\": 150000,\n        \"creation_type\": 6,\n        \"recharge_type\": \"S\",\n        \"payment_period\": 1440,\n        \"weekday_only\": false,\n        \"auto_renewal\": true,\n        \"is_active\": false,\n        \"activation_queue\": false,\n        \"order\": null,\n        \"webhook_url\": null,\n        \"activated_at\": null,\n        \"deactivated_at\": null,\n        \"created_at\": \"31-03-2026 08:37:47\",\n        \"updated_at\": \"31-03-2026 08:37:47\"\n    }\n}"}],"_postman_id":"b1b5ccd9-acd4-4569-baef-19bb8524cfcb"},{"name":"2.13. Consumers Summary","id":"c712a62e-0b40-4d04-9967-e97da2bf9b4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/consumers/summary","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","consumers","summary"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"e3995bd3-8f7b-4a81-857c-f88feb129306","name":"200","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/consumers/summary"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.4.10"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 24 Sep 2025 13:01:48 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"X-RateLimit-Limit","value":"3000"},{"key":"X-RateLimit-Remaining","value":"2999"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Retry-After, X-RateLimit-Reset"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {\n        \"total_count\": 33,\n        \"total_energy_count\": 33,\n        \"total_bandwidth_count\": 0,\n        \"active_count\": 0,\n        \"active_energy_count\": 0,\n        \"active_bandwidth_count\": 0,\n        \"total_energy_consumption\": 5900000,\n        \"total_bandwidth_consumption\": 0,\n        \"active_energy_consumption\": 130000,\n        \"active_bandwidth_consumption\": 0,\n        \"period_prices_energy\": {\n            \"15\": 93.6,\n            \"60\": 90,\n            \"480\": 114.3,\n            \"1440\": 114.3,\n            \"4320\": 114.3\n        },\n        \"period_prices_bandwidth\": {\n            \"60\": 700,\n            \"1440\": 900\n        },\n        \"trx_top_up_fee\": 1,\n        \"address_activation_fee\": 2,\n        \"recharge_price_sun\": 108,\n        \"daily_expenses_avg\": 0\n    }\n}"}],"_postman_id":"c712a62e-0b40-4d04-9967-e97da2bf9b4c"},{"name":"2.16. Mass Change Payment Period","id":"74a4cb01-840d-48de-9ca9-734abb19297e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"consumer_ids[]","value":"1","description":"<p>Required. Consumer id list</p>\n","type":"text","uuid":"d1ad9b86-719b-4943-b111-b680253d99a1"},{"key":"payment_period","value":"1440","description":"<p>Required. Payment period (15, 60, 1440)</p>\n","type":"text","uuid":"a41d1228-961f-4666-b740-9f6cc08889bd"},{"key":"auto_renewal","value":"1","type":"text","uuid":"f559409a-c8ab-48e4-a1b0-9290867444d9","description":"<p>Required. Auto renewal (1/0)</p>\n"}]},"url":"{{url}}/api/consumers/mass/payment-period","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","consumers","mass","payment-period"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"c0d83ecf-cbd7-4c27-9ba0-01508260b099","name":"200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"consumer_ids[]","value":"1","description":"Required. Consumer id list","type":"text","uuid":"d1ad9b86-719b-4943-b111-b680253d99a1"},{"key":"payment_period","value":"1440","description":"Required. Payment period (15, 60, 1440)","type":"text","uuid":"a41d1228-961f-4666-b740-9f6cc08889bd"},{"key":"auto_renewal","value":"1","type":"text","uuid":"f559409a-c8ab-48e4-a1b0-9290867444d9","description":"Required. Auto renewal (1/0)"}]},"url":"{{url}}/api/consumers/mass/payment-period"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.24"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Jun 2025 14:03:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"299"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Retry-After, X-RateLimit-Reset"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {}\n}"}],"_postman_id":"74a4cb01-840d-48de-9ca9-734abb19297e"}],"id":"6a768f96-6bf2-4662-be72-3b3d0762e963","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Endpoint</strong></th>\n<th><strong>Action</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>2.0. Create &amp; Activate</td>\n<td>Create, activate address if needed, activate order</td>\n</tr>\n<tr>\n<td>2.1. Index</td>\n<td>Get consumer list</td>\n</tr>\n<tr>\n<td>2.1.1. Download Consumer List</td>\n<td>Get consumer list as file</td>\n</tr>\n<tr>\n<td>2.2. Create</td>\n<td>Create a new consumer</td>\n</tr>\n<tr>\n<td>2.3. Show</td>\n<td>Show consumer detail</td>\n</tr>\n<tr>\n<td>2.4. Activate</td>\n<td>Consumer activation</td>\n</tr>\n<tr>\n<td>2.5. Deactivate</td>\n<td>Consumer deactivation</td>\n</tr>\n<tr>\n<td>2.6. Update</td>\n<td>Update consumer</td>\n</tr>\n<tr>\n<td>2.7. Destroy</td>\n<td>Delete consumer</td>\n</tr>\n<tr>\n<td>2.8. Consumer Payments</td>\n<td>Get consumer payments</td>\n</tr>\n<tr>\n<td>2.10. Mass Top Up TRX</td>\n<td>Send some TRX to blockchain wallets</td>\n</tr>\n<tr>\n<td>2.11. Activate Address</td>\n<td>Activate blockchain address</td>\n</tr>\n<tr>\n<td>2.12. Create Recharge Consumer</td>\n<td>Create and activate recharge consumer</td>\n</tr>\n<tr>\n<td>2.13. Consumers Summary</td>\n<td>Get consumers summary info</td>\n</tr>\n<tr>\n<td>2.16. Mass Change Payment Period</td>\n<td>Change consumer payment periods</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"6a768f96-6bf2-4662-be72-3b3d0762e963","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}}},{"name":"3. AML","item":[{"name":"3.1. Index","id":"70a43245-d6b1-44ac-a936-983edde34a06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/api/aml?per_page=5","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","aml"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Optional. Pagination</p>\n","type":"text/plain"},"key":"per_page","value":"5"}],"variable":[]}},"response":[{"id":"cb99fd0e-4cc0-4535-a530-126da9555daa","name":"200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/api/aml"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0"},{"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, 20 Feb 2024 15:25:58 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Robots-Tag","value":"noindex, nofollow, nosnippet, noarchive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": [\n        {\n            \"address\": \"TUL2KAA34K6W3bDsGb9S1QLVEqTKHj1234\",\n            \"txid\": null,\n            \"context\": {\n                \"pending\": false,\n                \"entities\": [\n                    {\n                        \"level\": \"MEDIUM_RISK\",\n                        \"entity\": \"EXCHANGE_UNLICENSED\",\n                        \"riskScore\": 0.052\n                    },\n                    {\n                        \"level\": \"HIGH_RISK\",\n                        \"entity\": \"SANCTIONS\",\n                        \"riskScore\": 0.023\n                    },\n                    {\n                        \"level\": \"MEDIUM_RISK\",\n                        \"entity\": \"GAMBLING\",\n                        \"riskScore\": 0.004\n                    },\n                    {\n                        \"level\": \"LOW_RISK\",\n                        \"entity\": \"PAYMENT\",\n                        \"riskScore\": 0.006\n                    },\n                    {\n                        \"level\": \"LOW_RISK\",\n                        \"entity\": \"EXCHANGE_LICENSED\",\n                        \"riskScore\": 0.889\n                    },\n                    {\n                        \"level\": \"LOW_RISK\",\n                        \"entity\": \"OTHER\",\n                        \"riskScore\": 0.012\n                    },\n                    {\n                        \"level\": \"LOW_RISK\",\n                        \"entity\": \"WALLET\",\n                        \"riskScore\": 0.012\n                    }\n                ],\n                \"riskScore\": 0.297\n            }\n        }\n    ],\n    \"links\": {\n        \"first\": \"https://core.tr.energy/api/aml?page=1\",\n        \"last\": \"https://core.tr.energy/api/aml?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://core.tr.energy/api/aml?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"https://core.tr.energy/api/aml\",\n        \"per_page\": 15,\n        \"to\": 1,\n        \"total\": 1\n    }\n}"}],"_postman_id":"70a43245-d6b1-44ac-a936-983edde34a06"},{"name":"3.2. Create","id":"e0a520e1-b685-47bc-bbcc-864a183427b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"blockchain","value":"tron","type":"text","description":"<p>Required. (tron/btc)</p>\n"},{"key":"address","value":"TLtdMb7kneyw3dN3t78cSJTdxQPaDxr123","type":"text","description":"<p>Required if blockchain = btc</p>\n"},{"key":"txid","value":"ac76dad6df1b01cc9cf8f3d90f98d0fed3a4d12beeca3625e01cfc4d3fb734be","type":"text","description":"<p>Required without address</p>\n","disabled":true},{"key":"webhook_url","value":"http://client-url.com","type":"text","description":"<p>Optional. URL(https) for webhook when filling an order</p>\n","disabled":true}]},"url":"{{url}}/api/aml/check","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","aml","check"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"aedf4180-f893-435a-8c0b-74af01351ae7","name":"200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"txid","value":"496d5381c7cc88d0336d39b8d8dea39157b48fd4b1944462db33fc4ab8131244","type":"text","disabled":true},{"key":"address","value":"TUL2KAA34K6W3bDsGb9S1QLVEqTKHjR9Js","type":"text"}]},"url":"{{url}}/api/aml/check"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0"},{"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, 20 Feb 2024 15:25:50 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"X-Robots-Tag","value":"noindex, nofollow, nosnippet, noarchive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {\n        \"address\": \"TUL2KAA34K6W3bDsGb9S1QLVEqTKHjR123\",\n        \"txid\": null,\n        \"context\": {\n            \"pending\": false,\n            \"riskScore\": 0.297,\n            \"entities\": [\n                {\n                    \"level\": \"MEDIUM_RISK\",\n                    \"entity\": \"EXCHANGE_UNLICENSED\",\n                    \"riskScore\": 0.052\n                },\n                {\n                    \"level\": \"HIGH_RISK\",\n                    \"entity\": \"SANCTIONS\",\n                    \"riskScore\": 0.023\n                },\n                {\n                    \"level\": \"MEDIUM_RISK\",\n                    \"entity\": \"GAMBLING\",\n                    \"riskScore\": 0.004\n                },\n                {\n                    \"level\": \"LOW_RISK\",\n                    \"entity\": \"PAYMENT\",\n                    \"riskScore\": 0.006\n                },\n                {\n                    \"level\": \"LOW_RISK\",\n                    \"entity\": \"EXCHANGE_LICENSED\",\n                    \"riskScore\": 0.889\n                },\n                {\n                    \"level\": \"LOW_RISK\",\n                    \"entity\": \"OTHER\",\n                    \"riskScore\": 0.012\n                },\n                {\n                    \"level\": \"LOW_RISK\",\n                    \"entity\": \"WALLET\",\n                    \"riskScore\": 0.012\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"e0a520e1-b685-47bc-bbcc-864a183427b2"},{"name":"3.3. Show","id":"690e92d2-af1e-4d1f-a0bd-654782a91acb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/api/aml/:aml_id","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","aml",":aml_id"],"host":["{{url}}"],"query":[],"variable":[{"id":"a5eaad15-76fa-4445-990f-d74e697502ab","type":"any","value":"38","key":"aml_id"}]}},"response":[{"id":"4428f2eb-85e6-4d06-959a-482a75a9141a","name":"200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/api/aml/:aml_id","host":["{{url}}"],"path":["api","aml",":aml_id"],"variable":[{"key":"aml_id","value":"38"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.24"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 17 Mar 2025 11:22:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"299"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {\n        \"address\": \"TGSH9H1x1wAFRpCSJAzSWCXr9idQRJxMws\",\n        \"blockchain\": null,\n        \"txid\": null,\n        \"status\": \"completed\",\n        \"context\": {\n            \"pending\": false,\n            \"entities\": [\n                {\n                    \"level\": \"LOW_RISK\",\n                    \"entity\": \"OTHER\",\n                    \"riskScore\": 0.01\n                },\n                {\n                    \"level\": \"MEDIUM_RISK\",\n                    \"entity\": \"EXCHANGE_P2P_UNLICENSED\",\n                    \"riskScore\": 0.001\n                },\n                {\n                    \"level\": \"LOW_RISK\",\n                    \"entity\": \"PAYMENT\",\n                    \"riskScore\": 0.015\n                },\n                {\n                    \"level\": \"HIGH_RISK\",\n                    \"entity\": \"SANCTIONS\",\n                    \"riskScore\": 0.137\n                },\n                {\n                    \"level\": \"LOW_RISK\",\n                    \"entity\": \"WALLET\",\n                    \"riskScore\": 0.001\n                },\n                {\n                    \"level\": \"LOW_RISK\",\n                    \"entity\": \"EXCHANGE_LICENSED\",\n                    \"riskScore\": 0.686\n                },\n                {\n                    \"level\": \"MEDIUM_RISK\",\n                    \"entity\": \"EXCHANGE_UNLICENSED\",\n                    \"riskScore\": 0.147\n                }\n            ],\n            \"riskScore\": 0.561\n        },\n        \"created_at\": \"2024-02-20 08:19:07\"\n    }\n}"}],"_postman_id":"690e92d2-af1e-4d1f-a0bd-654782a91acb"},{"name":"3.4. Repeat Declined Report Request","id":"989b0ccc-88d7-4e13-87ff-fe9ca2de2b98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/api/aml/:aml_id","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","aml",":aml_id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"38","key":"aml_id"}]}},"response":[{"id":"5aad119a-074e-4351-adf2-7e18c6a4d098","name":"200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/api/aml/:aml_id","host":["{{url}}"],"path":["api","aml",":aml_id"],"variable":[{"key":"aml_id","value":"38"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.24"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Mar 2025 09:47:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"299"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {}\n}"}],"_postman_id":"989b0ccc-88d7-4e13-87ff-fe9ca2de2b98"},{"name":"3.5 Delete","id":"a00788ca-ad93-4017-b261-654c9d6b0389","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Service-Lang","value":"ru","description":"<p>ru/en</p>\n","type":"text"}],"url":"{{url}}/api/aml/:aml_id","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","aml",":aml_id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"422","key":"aml_id"}]}},"response":[{"id":"1f261c9c-f66e-4c2b-b2bd-5f6153a73b1e","name":"200","originalRequest":{"method":"DELETE","header":[{"key":"Service-Lang","value":"de","description":"ru/en","type":"text"}],"url":{"raw":"{{url}}/api/aml/:aml_id","host":["{{url}}"],"path":["api","aml",":aml_id"],"variable":[{"key":"aml_id","value":"422"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.0"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.4.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 29 Aug 2025 10:12:18 GMT"},{"key":"X-RateLimit-Limit","value":"3000"},{"key":"X-RateLimit-Remaining","value":"2999"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Retry-After, X-RateLimit-Reset"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {}\n}"}],"_postman_id":"a00788ca-ad93-4017-b261-654c9d6b0389"}],"id":"a7ca2ca0-2488-42cf-93e1-01b43d31c9e1","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Endpoint</strong></th>\n<th><strong>Action</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>3.1. Index</td>\n<td>Get all your AML reports</td>\n</tr>\n<tr>\n<td>3.2. Create</td>\n<td>Make new AML report</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"a7ca2ca0-2488-42cf-93e1-01b43d31c9e1","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}}},{"name":"4. Withdrawals","item":[{"name":"4.1. Index","id":"a29cc1ac-2fae-4c68-821f-0b23916bc0db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/api/withdrawals","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","withdrawals"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>Optional. Pagination</p>\n","type":"text/plain"},"key":"per_page","value":"5"}],"variable":[]}},"response":[{"id":"6bdb9bd0-1117-4743-ac6d-6f13d3257cfd","name":"200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/api/withdrawals","host":["{{url}}"],"path":["api","withdrawals"],"query":[{"key":"per_page","value":"5","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Tue, 26 Sep 2023 12:34:04 GMT"},{"key":"Date","value":"Tue, 26 Sep 2023 12:34:04 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"trx_amount\": 100,\n            \"status\": \"Completed\",\n            \"address\": \"TMP3f4UtGBc3dMAj7eA2afzyULaehN3uhZ\",\n            \"created_at\": \"30-06-2025 06:10:05\",\n            \"updated_at\": \"30-06-2025 06:10:49\"\n        },\n        {\n            \"id\": 2,\n            \"trx_amount\": 150,\n            \"status\": \"Completed\",\n            \"address\": \"TMP3f4UtGBc3dMAj7eA2afzyULaehN3uhZ\",\n            \"created_at\": \"03-06-2025 07:54:04\",\n            \"updated_at\": \"03-06-2025 07:54:34\"\n        }\n        // ...\n    ],\n    \"links\": {\n        \"first\": \"https://core.tr.energy/api/withdrawals?page=1\",\n        \"last\": \"https://core.tr.energy/api/withdrawals?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://core.tr.energy/api/withdrawals?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"https://core.tr.energy/api/withdrawals\",\n        \"per_page\": 20,\n        \"to\": 8,\n        \"total\": 8\n    }\n}"}],"_postman_id":"a29cc1ac-2fae-4c68-821f-0b23916bc0db"},{"name":"4.2. Store","id":"b5df7284-a386-4760-893d-cf8ef199e857","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"trx_amount","value":"100","description":"<p>Required. Amount</p>\n","type":"text","disabled":true},{"key":"address","value":"TXX12Cyutn8zBjQJK1Ypj9PzNCXLPFTC9o","description":"<p>Required if the user doesn't have an attached wallet. Wallet address</p>\n","type":"text","disabled":true},{"key":"one_time_password","value":"160866","description":"<p>Required when 2FA is enabled. 2FA code</p>\n","type":"text","disabled":true}]},"url":"{{url}}/api/withdrawals","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","withdrawals"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"0a6a3f0b-f0af-4818-878a-fa63e07b8a6f","name":"200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"trx_amount","value":"100","type":"text","description":"Required. Amount","disabled":true},{"key":"address","value":"TXX12Cyutn8zBjQJK1Ypj9PzNCXLPFTC9o","type":"text","description":"Required if the user doesn't have an attached wallet. Tron wallet address","disabled":true},{"key":"one_time_password","value":"160866","type":"text","description":"Required when 2FA is enabled. 2FA code","disabled":true}]},"url":"{{url}}/api/withdrawals"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Tue, 22 Aug 2023 07:31:34 GMT"},{"key":"Date","value":"Tue, 22 Aug 2023 07:31:34 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"4"},{"key":"X-RateLimit-Remaining","value":"3"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {}\n}"}],"_postman_id":"b5df7284-a386-4760-893d-cf8ef199e857"}],"id":"19291fe5-47ac-496e-8694-e0082c8f992d","description":"<p>Creating and viewing withdrawal requests</p>\n","_postman_id":"19291fe5-47ac-496e-8694-e0082c8f992d","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}}},{"name":"5. Stakes","item":[{"name":"5.1. Index","id":"176b8f06-67b0-4e60-8b87-fe3487407953","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/api/stakes?per_page=10","description":"<p>Stake types:</p>\n<p>1 - Main</p>\n<p>2 - Freeze (Waiting to be put into operation)</p>\n<p>3 - Unfreeze (Awaiting decommissioning)</p>\n","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","stakes"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Optional. Pagination</p>\n","type":"text/plain"},"key":"per_page","value":"10"}],"variable":[]}},"response":[{"id":"c09c52b7-f71f-44aa-bb6e-7c9d18331ca0","name":"200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/api/stakes?per_page=10","host":["{{url}}"],"path":["api","stakes"],"query":[{"key":"per_page","value":"10","description":"Optional. Pagination"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.26.0"},{"key":"Date","value":"Mon, 14 Jul 2025 14:01:40 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.4.3"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"3000"},{"key":"X-RateLimit-Remaining","value":"2999"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Retry-After, X-RateLimit-Reset"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-Robots-Tag","value":"noindex, nofollow, nosnippet, noarchive"},{"key":"X-Frame-Options","value":"DENY"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"total_rewards\": 7408.1183,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"resource\": \"ENERGY\",\n            \"trx_amount\": 100000,\n            \"type\": 1,\n            \"is_closes\": false,\n            \"closes_at\": null,\n            \"defrosted_at\": null,\n            \"created_at\": \"17-09-2025\",\n            \"available_at\": \"18-09-2025\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"https://core.tr.energy/api/stakes?page=1\",\n        \"last\": \"https://core.tr.energy/api/stakes?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://core.tr.energy/api/stakes?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"https://core.tr.energy/api/stakes\",\n        \"per_page\": 10,\n        \"to\": 1,\n        \"total\": 1\n    }\n}"}],"_postman_id":"176b8f06-67b0-4e60-8b87-fe3487407953"},{"name":"5.2. Stake","id":"772fdef1-95d3-4da1-974d-8777cf094ac4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"trx_amount","value":"10000","description":"<p>Required. TRX amount to stake</p>\n","type":"text"}]},"url":"{{url}}/api/stakes","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","stakes"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"1628767f-9232-4eea-b94e-a183e5318368","name":"200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"trx_amount","value":"10000","description":"Required. TRX amount to stake","type":"text"}]},"url":"{{url}}/api/stakes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Tue, 30 May 2023 14:58:06 GMT"},{"key":"Date","value":"Tue, 30 May 2023 14:58:06 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {}\n}"}],"_postman_id":"772fdef1-95d3-4da1-974d-8777cf094ac4"},{"name":"5.3. Unstake","id":"f572093f-b5f2-449e-8553-af053d25051b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"trx_amount","value":"3000","description":"<p>Required. TRX amount to unstake</p>\n","type":"text"},{"key":"one_time_password","value":"277222","type":"text","description":"<p>Optional. 2FA code</p>\n","disabled":true}]},"url":"{{url}}/api/stakes/unstake","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","stakes","unstake"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"81151237-920d-482e-9616-d7ad789e753b","name":"200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"trx_amount","value":"3000","description":"Required. TRX amount to unstake","type":"text"},{"key":"one_time_password","value":"277222","type":"text","description":"Optional. 2FA code","disabled":true}]},"url":"{{url}}/api/stakes/unstake"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {\n        \"unstake_date\": \"2023-05-31\"\n    }\n}"}],"_postman_id":"f572093f-b5f2-449e-8553-af053d25051b"},{"name":"5.4. Sync","id":"b1f44373-82f7-442b-b9fa-90388e349fa9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{url}}/api/stakes/sync","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","stakes","sync"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"f6ac1356-bdf1-4b06-b5a9-9ed8b0597e8b","name":"200","originalRequest":{"method":"POST","header":[],"url":"{{url}}/api/stakes/sync"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.24"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 21 Mar 2025 11:27:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"299"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {}\n}"}],"_postman_id":"b1f44373-82f7-442b-b9fa-90388e349fa9"},{"name":"5.5. Profitability","id":"28217b21-10ed-475a-8f38-1d3f8cc15b44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/api/stakes/profitability","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","stakes","profitability"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>Optional. Reporting period (7/30/365)</p>\n","type":"text/plain"},"key":"period","value":"30"}],"variable":[]}},"response":[{"id":"161e4cbd-5ec2-4021-b59c-2f84a7697299","name":"200 (all)","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/api/stakes/profitability","host":["{{url}}"],"path":["api","stakes","profitability"],"query":[{"key":"period","value":"30","description":"Optional. Reporting period (7/30/365)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Wed, 01 Nov 2023 13:36:00 GMT"},{"key":"Date","value":"Wed, 01 Nov 2023 13:36:00 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"55"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": [\n        {\n            \"received\": 2500,\n            \"date\": \"06-2023\"\n        },\n        {\n            \"received\": 1500,\n            \"date\": \"07-2023\"\n        },\n        {\n            \"received\": 1000,\n            \"date\": \"08-2023\"\n        },\n        {\n            \"received\": 1500,\n            \"date\": \"09-2023\"\n        },\n        {\n            \"received\": 2500,\n            \"date\": \"10-2023\"\n        }\n    ]\n}"},{"id":"8c4e02e2-b5ca-4634-bfb0-815e7cdf5b5d","name":"200 (365 days)","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/api/stakes/profitability?period=365","host":["{{url}}"],"path":["api","stakes","profitability"],"query":[{"key":"period","value":"365","description":"Optional. Reporting period (7/30/365)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Mon, 30 Oct 2023 15:21:30 GMT"},{"key":"Date","value":"Mon, 30 Oct 2023 15:21:30 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": [\n        {\n            \"received\": 2500,\n            \"date\": \"06-2023\"\n        },\n        {\n            \"received\": 1500,\n            \"date\": \"07-2023\"\n        },\n        {\n            \"received\": 1000,\n            \"date\": \"08-2023\"\n        },\n        {\n            \"received\": 1500,\n            \"date\": \"09-2023\"\n        },\n        {\n            \"received\": 2500,\n            \"date\": \"10-2023\"\n        }\n    ]\n}"},{"id":"874e743a-c612-4516-8c0c-cd7d845c9d86","name":"200 (7/30 days)","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/api/stakes/profitability?period=30","host":["{{url}}"],"path":["api","stakes","profitability"],"query":[{"key":"period","value":"30","description":"Optional. Reporting period (7/30/365)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Mon, 30 Oct 2023 15:22:03 GMT"},{"key":"Date","value":"Mon, 30 Oct 2023 15:22:03 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.6"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": [\n        {\n            \"received\": 1000,\n            \"date\": \"25-10-2023\"\n        },\n        {\n            \"received\": 1500,\n            \"date\": \"30-10-2023\"\n        }\n    ]\n}"}],"_postman_id":"28217b21-10ed-475a-8f38-1d3f8cc15b44"}],"id":"dc272851-3107-4db3-b12b-9c5e68486418","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>Action</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>5.1. Index</td>\n<td>Show all stakes</td>\n</tr>\n<tr>\n<td>5.2. Stake</td>\n<td>Make a new stake or increase the current one</td>\n</tr>\n<tr>\n<td>5.3. Unstake</td>\n<td>Unstake in full or in part</td>\n</tr>\n<tr>\n<td>5.4. Sync</td>\n<td>Sync existing stake from TRON blockchain to TR.ENERGY</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"dc272851-3107-4db3-b12b-9c5e68486418","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}}},{"name":"6. Structure","item":[{"name":"6.1. Partners","id":"6523dbbf-9e7e-46e3-86a7-0f00f22ea620","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/api/structure/partners","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","structure","partners"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>Optional. Partner ID to show nested partners</p>\n","type":"text/plain"},"key":"leader","value":"1"}],"variable":[]}},"response":[{"id":"1644f0e4-eb9a-4821-8ef7-efc3d61c6c17","name":"200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/api/structure/partners","host":["{{url}}"],"path":["api","structure","partners"],"query":[{"key":"leader","value":"1","description":"Optional. Partner ID to show nested partners","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.4.10"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 14 Jul 2025 15:08:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"3000"},{"key":"X-RateLimit-Remaining","value":"2999"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"Retry-After, X-RateLimit-Reset"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": [\n        {\n            \"line\": 1,\n            \"users\": [\n                {\n                    \"id\": 14,\n                    \"name\": \"Dr. Russell Hills I\",\n                    \"photo\": \"http://core.tr.energy/img/default-avatar-1.png\",\n                    \"leader_level\": 0,\n                    \"level_name\": \"-\",\n                    \"leader_id\": null,\n                    \"stake\": 13000,\n                    \"active_stakers_count\": 2,\n                    \"total_stakes_in_structure\": 0,\n                    \"total_active_stakers_in_structure\": 0,\n                    \"total_partners_in_structure\": 0\n                }\n            ]\n        },\n        {\n            \"line\": 2,\n            \"users\": [\n                {\n                    \"id\": 15,\n                    \"name\": \"John Doe\",\n                    \"photo\": \"http://core.tr.energy/img/default-avatar-1.png\",\n                    \"leader_level\": 0,\n                    \"level_name\": \"-\",\n                    \"leader_id\": null,\n                    \"stake\": 13000,\n                    \"active_stakers_count\": 2,\n                    \"total_stakes_in_structure\": 0,\n                    \"total_active_stakers_in_structure\": 0,\n                    \"total_partners_in_structure\": 0\n                }\n            ]\n        },\n        {\n            \"line\": 3,\n            \"users\": [\n                {\n                    \"id\": 23,\n                    \"name\": \"Russell Bond\",\n                    \"photo\": \"http://core.tr.energy/img/default-avatar-1.png\",\n                    \"leader_level\": 0,\n                    \"level_name\": \"-\",\n                    \"leader_id\": null,\n                    \"stake\": 13000,\n                    \"active_stakers_count\": 2,\n                    \"total_stakes_in_structure\": 0,\n                    \"total_active_stakers_in_structure\": 0,\n                    \"total_partners_in_structure\": 0\n                },\n                {\n                    \"id\": 16,\n                    \"name\": \"Jerod Fahey\",\n                    \"photo\": \"http://core.tr.energy/img/default-avatar-1.png\",\n                    \"leader_level\": 0,\n                    \"level_name\": \"-\",\n                    \"leader_id\": null,\n                    \"stake\": 41000,\n                    \"active_stakers_count\": 4,\n                    \"total_stakes_in_structure\": 0,\n                    \"total_active_stakers_in_structure\": 0,\n                    \"total_partners_in_structure\": 0\n                },\n                {\n                    \"id\": 19,\n                    \"name\": \"Charlotte Watsica\",\n                    \"photo\": \"http://core.tr.energy/img/default-avatar-1.png\",\n                    \"leader_level\": 0,\n                    \"level_name\": \"-\",\n                    \"leader_id\": null,\n                    \"stake\": 0,\n                    \"active_stakers_count\": 0,\n                    \"total_stakes_in_structure\": 0,\n                    \"total_active_stakers_in_structure\": 3,\n                    \"total_partners_in_structure\": 1\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"6523dbbf-9e7e-46e3-86a7-0f00f22ea620"}],"id":"f417fd0c-ac98-4d5a-a103-494baeb2b37c","description":"<p>View referral structure</p>\n","_postman_id":"f417fd0c-ac98-4d5a-a103-494baeb2b37c","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}}},{"name":"7. Wallet","item":[{"name":"7.1. Index","id":"97d57f6d-5f59-40bd-ab64-2923a0e85fe8","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/api/wallets","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","wallets"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"b738b7af-36c2-4309-9a3f-a8dc750d29cf","name":"200","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/wallets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Thu, 20 Apr 2023 10:54:21 GMT"},{"key":"Date","value":"Thu, 20 Apr 2023 10:54:21 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.17"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"address\": \"TY3dRk4eQ75dCrW7tUcCzggU9rnz4V1111\",\n            \"created_at\": \"20-04-2023 10:53:33\",\n            \"updated_at\": \"20-04-2023 10:53:33\"\n        }\n    ]\n}"}],"_postman_id":"97d57f6d-5f59-40bd-ab64-2923a0e85fe8"},{"name":"7.2. Store","id":"f358daae-7b43-408e-9edf-2c9a67bf245d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"address","value":"TY3dRk4eQ75dCrW7tUcCzggU9rnz4V1111","description":"<p>Required. Wallet address</p>\n","type":"text"}]},"url":"{{url}}/api/wallets","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","wallets"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"06f9face-013f-4a39-9712-d7920b98735a","name":"200","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"address","value":"TY3dRk4eQ75dCrW7tUcCzggU9rnz4V1111","description":"Required. Wallet address","type":"text"}]},"url":"{{url}}/api/wallets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Thu, 20 Apr 2023 10:53:33 GMT"},{"key":"Date","value":"Thu, 20 Apr 2023 10:53:33 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.17"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {\n        \"id\": 1\n    }\n}"}],"_postman_id":"f358daae-7b43-408e-9edf-2c9a67bf245d"},{"name":"7.3. Destroy","id":"ce835266-42e0-4765-80a7-ac60d29154bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/api/wallets/:wallet_id?one_time_password=058217","description":"<p>Deleting an active wallet will break the whole system of working with stake, further accruals and resource delegation.<br />It is necessary to make an unstaking before deleting the address.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","wallets",":wallet_id"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Required if 2FA is enabled</p>\n","type":"text/plain"},"key":"one_time_password","value":"058217"}],"variable":[{"id":"3247bb2e-6dfb-4b75-a436-3a7724086e80","description":{"content":"<p>Required. Wallet ID</p>\n","type":"text/plain"},"type":"any","value":"1","key":"wallet_id"}]}},"response":[{"id":"e2aeae9c-1886-454d-bf44-50f12b439fb4","name":"200","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{url}}/api/wallets/:wallet_id","host":["{{url}}"],"path":["api","wallets",":wallet_id"],"variable":[{"key":"wallet_id","value":"1","description":"Required. Wallet ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Thu, 20 Apr 2023 10:55:30 GMT"},{"key":"Date","value":"Thu, 20 Apr 2023 10:55:30 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.17"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {}\n}"}],"_postman_id":"ce835266-42e0-4765-80a7-ac60d29154bc"}],"id":"cd661437-3b1a-421b-b578-be58d6a42aa7","_postman_id":"cd661437-3b1a-421b-b578-be58d6a42aa7","description":"","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}}},{"name":"8. Internal TXs (Operations)","item":[{"name":"8.1. Internal Transactions","id":"cd75528f-8b8a-4485-bc7d-bee783627a60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/api/transactions/internal","description":"<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>115    Compensation for PRO order cancellation\n120    Profit for a stake\n131    Referral fee for energy purchase - line 1\n132    Referral fee for energy purchase - line 2\n133    Referral fee for energy purchase - line 3\n151    Referral fee for staking - line 1\n152    Referral fee for staking - line 2\n153    Referral fee for staking - line 3\n154    Referral fee for staking - line 4\n155    Referral fee for staking - line 5\n156    Referral fee for staking - line 6\n157    Referral fee for staking - line 7\n158    Referral fee for staking - line 8\n159    Referral fee for staking - line 9\n160    Referral fee for staking - line 10\n199(coin 1)  TRX Balance replenishment\n199(coin 3)  TR.ENERGY Balance replenishment\n//\n201    Withdrawal of funds\n205    Payment for Energy - 15 minutes\n213    Payment for Energy - 1 hour\n202    Payment for Energy - 1 day\n216    Payment for Bandwidth - 1 hour\n217    Payment for Bandwidth - 1 day\n215    Energy level maintenance (PRO order)\n230    Write-off by the administrator\n208    Payment for AML Check\n209    Payment for TRON address activation\n210    Sending TRX from balance\n211    Fee for sending TRX\n\n</code></pre>","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}},"urlObject":{"path":["api","transactions","internal"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>Optional. Filter by type</p>\n","type":"text/plain"},"key":"types[]","value":"120"},{"disabled":true,"description":{"content":"<p>Optional. Filter by date (Y-m-d)</p>\n","type":"text/plain"},"key":"date","value":"2023-05-28"},{"disabled":true,"description":{"content":"<p>Optional. Sort field (created_at/amount)</p>\n","type":"text/plain"},"key":"sort_by","value":"amount"},{"disabled":true,"description":{"content":"<p>Optional. Sort direction asc/desc</p>\n","type":"text/plain"},"key":"sort_direction","value":"asc"},{"disabled":true,"description":{"content":"<p>Optional. Pagination</p>\n","type":"text/plain"},"key":"per_page","value":"5"},{"disabled":true,"description":{"content":"<p>Optional. Filter by coin (1 - main, 3 - energy)</p>\n","type":"text/plain"},"key":"coin","value":"3"},{"disabled":true,"description":{"content":"<p>Disables the presence of coin and types. Mandatory. Filter by coin</p>\n","type":"text/plain"},"key":"complex_filters[1][coin]","value":"1"},{"disabled":true,"description":{"content":"<p>Disables coin and types. Mandatory. Filter by type</p>\n","type":"text/plain"},"key":"complex_filters[1][type]","value":"199"}],"variable":[]}},"response":[{"id":"b2d8eb40-ed32-4c36-9100-ed911feb2ae1","name":"200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/api/transactions/internal","host":["{{url}}"],"path":["api","transactions","internal"],"query":[{"key":"types[]","value":"120","description":"Фильтр по типам","disabled":true},{"key":"types[]","value":"151","type":"text","disabled":true},{"key":"date","value":"2023-05-28","description":"Фильтр по дате (Y-m-d)","disabled":true},{"key":"sort_by","value":"amount","description":"Поле сортировки (created_at/amount)","disabled":true},{"key":"sort_direction","value":"asc","description":"Направление сортировки asc/desc","disabled":true},{"key":"per_page","value":"5","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.24"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 11 Feb 2025 11:35:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"298"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": [\n        {\n            \"id\": 16,\n            \"amount\": 8,\n            \"type\": 208,\n            \"coin\": 1,\n            \"instant_balance\": null,\n            \"txable_id\": 5,\n            \"created_at\": \"23-12-2024 13:52:49\"\n        },\n        {\n            \"id\": 15,\n            \"amount\": 8,\n            \"type\": 208,\n            \"coin\": 1,\n            \"instant_balance\": 0,\n            \"txable_id\": 4,\n            \"created_at\": \"22-12-2024 14:32:49\"\n        },\n        {\n            \"id\": 14,\n            \"amount\": 40000,\n            \"type\": 208,\n            \"coin\": 3,\n            \"instant_balance\": 0,\n            \"txable_id\": 3,\n            \"created_at\": \"22-12-2024 13:32:49\"\n        },\n        {\n            \"id\": 13,\n            \"amount\": 8,\n            \"type\": 208,\n            \"coin\": 1,\n            \"instant_balance\": 0,\n            \"txable_id\": 2,\n            \"created_at\": \"21-12-2024 13:22:22\"\n        },\n        {\n            \"id\": 12,\n            \"amount\": 8,\n            \"type\": 208,\n            \"coin\": 1,\n            \"instant_balance\": 0,\n            \"txable_id\": 1,\n            \"created_at\": \"20-12-2024 13:21:44\"\n        },\n        {\n            \"id\": 11,\n            \"amount\": 100,\n            \"type\": 199,\n            \"coin\": 1,\n            \"instant_balance\": 0,\n            \"txable_id\": 1,\n            \"created_at\": \"13-01-2025 06:53:56\"\n        },\n        {\n            \"id\": 10,\n            \"amount\": 100,\n            \"type\": 199,\n            \"coin\": 1,\n            \"instant_balance\": 0,\n            \"txable_id\": 1,\n            \"created_at\": \"13-01-2025 06:13:30\"\n        },\n        {\n            \"id\": 9,\n            \"amount\": 100,\n            \"type\": 199,\n            \"coin\": 1,\n            \"instant_balance\": 0,\n            \"txable_id\": 1,\n            \"created_at\": \"13-01-2025 06:12:00\"\n        },\n        {\n            \"id\": 7,\n            \"amount\": 9.205479,\n            \"type\": 120,\n            \"coin\": 1,\n            \"instant_balance\": 0,\n            \"txable_id\": 1,\n            \"created_at\": \"22-11-2024 23:59:59\"\n        },\n        {\n            \"id\": 6,\n            \"amount\": 3.682192,\n            \"type\": 120,\n            \"coin\": 1,\n            \"instant_balance\": 0,\n            \"txable_id\": 1,\n            \"created_at\": \"21-11-2024 23:59:59\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"https://core.tr.energy/api/transactions/internal?page=1\",\n        \"last\": \"https://core.tr.energy/api/transactions/internal?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://core.tr.energy/api/transactions/internal?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"https://core.tr.energy/api/transactions/internal\",\n        \"per_page\": 20,\n        \"to\": 10,\n        \"total\": 10\n    }\n}"}],"_postman_id":"cd75528f-8b8a-4485-bc7d-bee783627a60"}],"id":"e59357ab-57ec-4152-bdac-5ba2094ed395","_postman_id":"e59357ab-57ec-4152-bdac-5ba2094ed395","description":"","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","id":"5d1e1a74-a06d-4501-86f7-ec24935e2c75","name":"Trenergy Public Api","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"event":[{"listen":"prerequest","script":{"id":"58df8235-3ffd-4ff4-9cb0-b863675299e4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c8f3df41-4ad6-4e65-b543-79b2c65729aa","type":"text/javascript","exec":[""]}}]}