{"info":{"_postman_id":"a17620e8-1de8-463d-a57a-11f8c4016edc","name":"Aurpay API","description":"<html><head></head><body><p>Aurpay API Docs</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"26033039","collectionId":"a17620e8-1de8-463d-a57a-11f8c4016edc","publishedId":"2s93CPsDE3","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"4eb4ff"},"publishDate":"2024-04-28T10:27:46.000Z"},"item":[{"name":"Auth","item":[{"name":"Get Access Token","event":[{"listen":"prerequest","script":{"id":"93a8dca6-7779-4889-abea-9b8492af189d","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"e51d9ad9-b39d-4299-ad1f-9a05cb26abbb","exec":["/*\r","  → Parse the response body as a JSON object 📦\r","  → Check if the response code is 0 (indicating success) ✅\r","  → If successful, set the \"AccessToken\" environment variable with the received access token 🔑\r","  → Print the access token on the Postman console 🚀\r","*/\r","\r","// Parse the response body as a JSON object\r","var response = JSON.parse(responseBody);\r","\r","// Check if the response code is 0 (indicating success)\r","if (response.code === 0) {\r","    // Set the \"AccessToken\" environment variable with the received access token\r","    pm.environment.set(\"AccessToken\", response.data.access_token);\r","    console.log(\"Access Token:\", response.data.access_token); // Print the access token on the console\r","}\r",""],"type":"text/javascript","packages":{}}}],"id":"84e78b7b-1078-4aa8-a0da-a275df99eac5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"example@aurpay.com","description":"<p>User Account</p>\n","type":"text"},{"key":"password","value":"•••••••","description":"<p>User Password</p>\n","type":"text"}]},"url":"https://dashboard.aurpay.net/api/user/login","description":"<p>Use the account password to get <code>Access Token.</code></p>\n","urlObject":{"path":["api","user","login"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"9c7439a2-bd59-4bd4-a586-89c6fac73b79","name":"Code: 0 | OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"example@aurpay.com","description":"User Account","type":"text"},{"key":"password","value":"example-123456","description":"User Password","type":"text"}]},"url":"https://dashboard.aurpay.net/api/user/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 27 Feb 2023 07:43:24 GMT"},{"key":"server","value":"uvicorn"},{"key":"content-length","value":"242"},{"key":"content-type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtY3QtN2JhOGUwNWI0ZmE0IiwiZXhwIjo5MTQyNDQzODA1LCJpYXQiOjE2Nzc1MTI2MDV9.FPzC3zKsjV2WPrhxVucYKv3HBe4WXxzQPYv56lUCCo8\",\n        \"expire\": 86400\n    },\n    \"result\": true\n}"},{"id":"5444c054-ca25-459d-9d6b-bf3302a3962a","name":"Code: 404","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"example@aurpay.com","description":"User Account","type":"text"},{"key":"password","value":"example","description":"User Password","type":"text"}]},"url":"https://dashboard.aurpay.net/api/user/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 27 Feb 2023 08:43:11 GMT"},{"key":"server","value":"uvicorn"},{"key":"content-length","value":"114"},{"key":"content-type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": false,\n    \"code\": 404,\n    \"message\": \"Invalid password or username\",\n    \"trace_id\": \"2638f349cb5944aea99b6817fdaa8c65\"\n}"}],"_postman_id":"84e78b7b-1078-4aa8-a0da-a275df99eac5"},{"name":"Get API-Key","event":[{"listen":"prerequest","script":{"id":"3af2b01f-c63a-4162-b332-307435ba3d78","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"fe52c3ed-bb08-4239-a1a8-f4a4a42757f8","exec":["/*\r","  → Parse the response body as a JSON object 📦\r","  → Check if the response code is 0 (indicating success) ✅\r","  → If successful, set the \"API-Key\" environment variable with the received API key 🔑\r","  → Print the API key on the Postman console 🚀\r","*/\r","\r","// Parse the response body as a JSON object\r","var response = JSON.parse(responseBody);\r","\r","// Check if the response code is 0 (indicating success)\r","if (response.code === 0) {\r","    // Set the \"API-Key\" environment variable with the received API key\r","    pm.environment.set(\"API-Key\", response.data.api_key);\r","    console.log(\"API Key:\", response.data.api_key); // Print the API key on the console\r","}\r",""],"type":"text/javascript","packages":{}}}],"id":"4c4f5110-5c71-420e-9130-fcc55ca4349a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/plugin/key","description":"<p>Get account <code>API-Key</code>.</p>\n<p><code>API-Key</code> is valid for a long time.</p>\n<p>Obtained using <code>OAuth 2.0</code> authentication.</p>\n","urlObject":{"path":["api","plugin","key"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"3d203674-6a39-49c8-8c0c-535a8c88d3aa","name":"Code: 0 | OK","originalRequest":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/plugin/key"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 27 Feb 2023 08:05:16 GMT"},{"key":"server","value":"uvicorn"},{"key":"content-length","value":"133"},{"key":"content-type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"api_key\": \"NhIYPcP532ICwoAs3K9RwqnCijaFLAEzFABp63Qr_XA\",\n        \"user_id\": \"mct-7ba8e05b4fa4\"\n    },\n    \"result\": true\n}"}],"_postman_id":"4c4f5110-5c71-420e-9130-fcc55ca4349a"}],"id":"3bdb7b25-c03b-4647-b4c2-a3706ebc0aa5","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"ed0c7a9d-010c-4e07-ab31-d1cd89aef301","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ed56c4af-11bb-4993-ac77-a9dae4292831","type":"text/javascript","exec":[""]}}],"_postman_id":"3bdb7b25-c03b-4647-b4c2-a3706ebc0aa5","description":""},{"name":"Order","item":[{"name":"Get Support Real Currency List","id":"a5c93021-0127-4d6d-a65e-f931c993f3f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/order/pay/real-currency","description":"<p>Get a list of supported fiat currencies.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"•••••••"}]},"isInherited":true,"source":{"_postman_id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","name":"Order","type":"folder"}},"urlObject":{"path":["api","order","pay","real-currency"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"68206732-c5c5-4340-9854-3f9ce803b04c","name":"Code: 0 | OK","originalRequest":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/order/pay/real-currency"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.2"},{"key":"Date","value":"Mon, 27 Feb 2023 10:36:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2185"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": [\n        {\n            \"currency\": \"USD\",\n            \"name\": \"Ultimate Strength Design\"\n        },\n        {\n            \"currency\": \"EUR\",\n            \"name\": \"Euro\"\n        },\n        {\n            \"currency\": \"CNY\",\n            \"name\": \"Renminbi\"\n        },\n        {\n            \"currency\": \"GBP\",\n            \"name\": \"Great Britain Pound\"\n        },\n        {\n            \"currency\": \"AUD\",\n            \"name\": \"Australian Dollar\"\n        },\n        {\n            \"currency\": \"CAD\",\n            \"name\": \"Canadian Dollar\"\n        },\n        {\n            \"currency\": \"JPY\",\n            \"name\": \"Japanese Yen\"\n        },\n        {\n            \"currency\": \"HKD\",\n            \"name\": \"Hong Kong Dollar\"\n        },\n        {\n            \"currency\": \"INR\",\n            \"name\": \"Indian Rupee\"\n        },\n        {\n            \"currency\": \"ZAR\",\n            \"name\": \"South African Rand\"\n        },\n        {\n            \"currency\": \"TWD\",\n            \"name\": \"New Taiwan Dollar\"\n        },\n        {\n            \"currency\": \"KRW\",\n            \"name\": \"South Korean Won\"\n        },\n        {\n            \"currency\": \"THB\",\n            \"name\": \"Thai Baht\"\n        },\n        {\n            \"currency\": \"NZD\",\n            \"name\": \"New Zealand Dollar\"\n        },\n        {\n            \"currency\": \"SGD\",\n            \"name\": \"Singapore Dollar\"\n        },\n        {\n            \"currency\": \"AED\",\n            \"name\": \"United Arab Emirates Dirham\"\n        },\n        {\n            \"currency\": \"ARS\",\n            \"name\": \"Argentine Peso\"\n        },\n        {\n            \"currency\": \"BDT\",\n            \"name\": \"Bangladeshi Taka\"\n        },\n        {\n            \"currency\": \"BHD\",\n            \"name\": \"Bahraini Dinar\"\n        },\n        {\n            \"currency\": \"BMD\",\n            \"name\": \"Bermudian Dollar\"\n        },\n        {\n            \"currency\": \"BRL\",\n            \"name\": \"Brazilian Real\"\n        },\n        {\n            \"currency\": \"CHF\",\n            \"name\": \"Swiss Franc\"\n        },\n        {\n            \"currency\": \"CLP\",\n            \"name\": \"Chilean Peso\"\n        },\n        {\n            \"currency\": \"CZK\",\n            \"name\": \"Czech Koruna\"\n        },\n        {\n            \"currency\": \"DKK\",\n            \"name\": \"Danish Krone\"\n        },\n        {\n            \"currency\": \"HUF\",\n            \"name\": \"Hungarian Forint\"\n        },\n        {\n            \"currency\": \"IDR\",\n            \"name\": \"Indonesian Rupiah\"\n        },\n        {\n            \"currency\": \"ILS\",\n            \"name\": \"Israeli New Shekel\"\n        },\n        {\n            \"currency\": \"KWD\",\n            \"name\": \"Kuwaiti Dinar\"\n        },\n        {\n            \"currency\": \"LKR\",\n            \"name\": \"Sri Lankan Rupee\"\n        },\n        {\n            \"currency\": \"MMK\",\n            \"name\": \"Myanmar Kyat\"\n        },\n        {\n            \"currency\": \"MXN\",\n            \"name\": \"Mexican Peso\"\n        },\n        {\n            \"currency\": \"MYR\",\n            \"name\": \"Malaysian Ringgit\"\n        },\n        {\n            \"currency\": \"NGN\",\n            \"name\": \"Nigerian Naira\"\n        },\n        {\n            \"currency\": \"NOK\",\n            \"name\": \"Norwegian Krone\"\n        },\n        {\n            \"currency\": \"PHP\",\n            \"name\": \"Philippine Peso\"\n        },\n        {\n            \"currency\": \"PKR\",\n            \"name\": \"Pakistani Rupee\"\n        },\n        {\n            \"currency\": \"PLN\",\n            \"name\": \"Polish Zloty\"\n        },\n        {\n            \"currency\": \"RUB\",\n            \"name\": \"Russian Ruble\"\n        },\n        {\n            \"currency\": \"SAR\",\n            \"name\": \"Saudi Riyal\"\n        },\n        {\n            \"currency\": \"SEK\",\n            \"name\": \"Swedish Krona\"\n        },\n        {\n            \"currency\": \"TRY\",\n            \"name\": \"Turkish Lira\"\n        },\n        {\n            \"currency\": \"UAH\",\n            \"name\": \"Ukrainian Hryvnia\"\n        },\n        {\n            \"currency\": \"VEF\",\n            \"name\": \"Venezuelan Bolívar\"\n        },\n        {\n            \"currency\": \"VND\",\n            \"name\": \"Vietnamese Dong\"\n        },\n        {\n            \"currency\": \"XDR\",\n            \"name\": \"IMF Special Drawing Rights\"\n        },\n        {\n            \"currency\": \"XAG\",\n            \"name\": \"Silver Ounce\"\n        },\n        {\n            \"currency\": \"XAU\",\n            \"name\": \"Gold Ounce\"\n        }\n    ],\n    \"result\": true\n}"}],"_postman_id":"a5c93021-0127-4d6d-a65e-f931c993f3f2"},{"name":"Get Support Crypto Currency List","id":"c3acc822-befb-44cd-a492-9820c4900601","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/order/pay/crypto-currency","description":"<p>Get a list of supported fiat currencies.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"•••••••"}]},"isInherited":true,"source":{"_postman_id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","name":"Order","type":"folder"}},"urlObject":{"path":["api","order","pay","crypto-currency"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"2951a4f5-5baf-467f-be3f-9c3047cb7b27","name":"Code: 0 | OK","originalRequest":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/order/pay/crypto-currency"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"close"},{"key":"Content-Length","value":"555"},{"key":"A-Trace-Id","value":"210dad4e"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 13 Jun 2024 09:28:02 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": [\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"ETH\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"USDT-ERC20\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"USDC-ERC20\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"DAI-ERC20\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"BTC\",\n            \"currency\": \"BTC\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"BLN\",\n            \"currency\": \"BTC-LN\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"LTC\",\n            \"currency\": \"LTC\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"BSC\",\n            \"currency\": \"BNB\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"TRX\",\n            \"currency\": \"USDT-TRC20\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"TRX\",\n            \"currency\": \"USDC-TRC20\",\n            \"status\": true\n        }\n    ],\n    \"result\": true\n}"}],"_postman_id":"c3acc822-befb-44cd-a492-9820c4900601"},{"name":"Get Payment URL","id":"41a41d95-9a60-4de5-8a60-1425768e2d59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"price\": 10, // Order amount in real currency - required\r\n    \"currency\": \"USD\", // Real currency type - required\r\n    \"succeed_url\": \"https://example.com/succeed_url\", // Redirect URL to checkout page after successful payment\r\n    \"timeout_url\": \"https://example.com/timeout_url\", // Redirect URL to checkout page after payment timeout\r\n    \"callback_url\": \"https://example.com/callback_url\", // Callback URL(GET) after successful payment\r\n    \"timeout_callback\": \"https://example.com/timeout_callback\", // Callback URL(GET) after payment timeout\r\n    \"fixed_encrypt_price\": false, // Make the rate ratio of USDT to USD 1:1. Default: False\r\n    \"enable_post_callback\": false // Use the post method to callback and add order information to the request body. Default: False\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/order/pay-url","description":"<p><strong>Generate payment URL for encrypted payment.</strong></p>\n<p>Add <code>API-Key</code> in <code>Headers</code> for authentication, which needs to be obtained from <code>/api/plugin/key</code> interface.</p>\n<p><strong>Request Body Description</strong></p>\n<ul>\n<li><p><code>currency</code> - The legal currency used in the order, the valid value can be viewed using <code>/api/order/pay/real-currency</code> API.</p>\n</li>\n<li><p><code>price</code> The fiat currency amount paid for the order.</p>\n</li>\n<li><p><code>succend_url</code> - Link to page redirection after the order is completed, if this parameter is not passed, no redirection will be performed.</p>\n</li>\n<li><p><code>timeout_url</code> - The page redirection link after the order timeout, if this parameter is not passed, no redirection will be performed.</p>\n</li>\n<li><p><code>callback_url</code> - The callback URL after the order is completed, <code>Api-Key</code> will be attached to the request headers.</p>\n</li>\n<li><p><code>timeout_callback</code> - The callback URL after the order timeout, <code>Api-Key</code> will be appended to the request headers.</p>\n</li>\n<li><p><code>fixed_encrypt_price</code> (bool): Make the rate ratio of USDT to USD 1:1, Only stable currencies are supported. Default: False</p>\n</li>\n<li><p><code>enable_post_callback</code>(bool): Use the post method to callback and add order information to the request body. Default: False</p>\n</li>\n</ul>\n<p>Note: The request body is in JSON format. Please set the <code>API-Key</code> in the request header before executing the request.</p>\n<h4 id=\"callback-request-details\">Callback Request Details</h4>\n<blockquote>\n<p>Applicable to <code>callback_url</code> and <code>timeout_callback</code> fields </p>\n</blockquote>\n<p>The callback uses the default <strong>GET</strong> et request, and the expected response status code is <strong>200</strong>. If it is an error status code, it will be retried in a short time.</p>\n<p>When the order status is successful, the <code>callback_url</code> URL will be requested;<br />When the order status times out, the <code>timeout_callback</code> URL will be requested.</p>\n<p>If <code>enable_post_callback</code> is set to true, the callback will use a <strong>POST</strong> request and the order information will be attached to the request body.</p>\n<p>An example of a request body is as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"user_id\": \"mct-bea5c44da875\",\n  \"order_id\": \"20250207040935220628\",\n  \"order_type\": \"ORDER\",\n  \"platform\": \"AURPAY\",\n  \"status\": \"PENDING\",\n  \"chain\": \"BTC\",\n  \"chain_name\": \"Bitcoin\",\n  \"currency\": \"BTC\",\n  \"amount\": \"0.00102549\",\n  \"vs_price\": \"100.0\",\n  \"vs_currency\": \"USD\",\n  \"remark\": \"\",\n  \"refund\": false,\n  \"bind_id\": null,\n  \"create_time\": \"2025-02-06T00:00:00\",\n  \"update_time\": \"2025-02-06T00:00:00\",\n  \"tx_id\": \"ca1f0db3-0a3d-47c5-94ed-c94193aa1934\",\n  \"tx_type\": \"ORDER\",\n  \"obtained\": null,\n  \"fee\": \"0.00000820392\",\n  \"from_addr\": null,\n  \"to_addr\": \"tb1q2vgyv8xh0d2sv9j8gpeuedd8sm7pyx5l064s2e\",\n  \"tx_hash\": null,\n  \"tx_hash_list\": [],\n  \"contract_id\": null,\n  \"website\": null\n}\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"•••••••"}]},"isInherited":true,"source":{"_postman_id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","name":"Order","type":"folder"}},"urlObject":{"path":["api","order","pay-url"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"5b885e82-30e7-40ba-9ef2-1bff851d848c","name":"Code: 0 | OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"price\": 100, // Order amount in real currency - required\r\n    \"currency\": \"USD\", // Real currency type - required\r\n    \"id\": \"123456\", // Original order ID\r\n    \"url\": \"https://example.com/order/123456\", // Order URL\r\n    \"succeed_url\": \"https://example.com/succeed_url\", // Redirect URL to checkout page after successful payment\r\n    \"timeout_url\": \"https://example.com/timeout_url\", // Redirect URL to checkout page after payment timeout\r\n    \"callback_url\": \"https://example.com/callback_url\", // Callback URL after successful payment\r\n    \"timeout_callback\": \"https://example.com/timeout_callback\" // Callback URL after payment timeout\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/order/pay-url"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 27 Feb 2023 09:15:14 GMT"},{"key":"server","value":"uvicorn"},{"key":"content-length","value":"169"},{"key":"content-type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"pay_url\": \"https://dashboard.aurpay.net/#/cashier/choose?token=1ad16906cce282a5abe0e666ad99bddf20229630f948e5537f5b46f1f5beee1a\"\n    },\n    \"result\": true\n}"},{"id":"e4f6fee4-ba58-4364-85fb-441837b02cb4","name":"Code: 401","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"chain\": \"ETH\", // Blockchain - required\r\n    \"currency\": \"ETH\", // Cryptocurrency - required\r\n    \"origin\": { // Original order information - required\r\n        \"price\": 100, // Order amount in real currency - required\r\n        \"currency\": \"USD\", // Real currency type - required\r\n        \"id\": \"123456\", // Original order ID\r\n        \"url\": \"https://example.com/order/123456\", // Order URL\r\n        \"succeed_url\": \"https://example.com/succeed_url\", // Redirect URL to checkout page after successful payment\r\n        \"timeout_url\": \"https://example.com/timeout_url\", // Redirect URL to checkout page after payment timeout\r\n        \"callback_url\": \"https://example.com/callback_url\", // Callback URL after successful payment\r\n        \"timeout_callback\": \"https://example.com/timeout_callback\" // Callback URL after payment timeout\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/order/pay/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 27 Feb 2023 07:57:40 GMT"},{"key":"server","value":"uvicorn"},{"key":"content-length","value":"94"},{"key":"content-type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 401,\n    \"message\": \"The API-Key is missing in the request header\",\n    \"data\": {},\n    \"result\": false\n}"}],"_postman_id":"41a41d95-9a60-4de5-8a60-1425768e2d59"},{"name":"Get Payment Info","id":"210a1284-1dd1-4fb8-8fee-6e72f82839ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"•••••••"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"chain\": \"ETH\", // Supported blockchain\r\n    \"currency\": \"USDT-ERC20\", // Supported Cryptocurrency currency\r\n    \"vs_currency\": \"USD\", // Order amount in real currency - required\r\n    \"vs_price\": 10, // Real currency type - required\r\n    \"succeed_url\": \"https://example.com/succeed_url\", // Redirect URL to checkout page after successful payment\r\n    \"timeout_url\": \"https://example.com/timeout_url\", // Redirect URL to checkout page after payment timeout\r\n    \"callback_url\": \"https://example.com/callback_url\", // Callback URL(GET) after successful payment\r\n    \"timeout_callback\": \"https://example.com/timeout_callback\", // Callback URL(GET) after payment timeout\r\n    \"fixed_encrypt_price\": false, // Make the rate ratio of USDT to USD 1:1, Default: False\r\n    \"enable_post_callback\": false // Use the post method to callback and add order information to the request body. Default: False\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/order/pay-info","description":"<h3 id=\"pay-info-order\">Pay Info Order</h3>\n<p>This endpoint allows you to submit payment information for an order.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>chain</code> (string, required): Supported blockchain.</p>\n</li>\n<li><p><code>currency</code> (string, required): Supported cryptocurrency currency.</p>\n</li>\n<li><p><code>vs_currency</code> (string, required): Order amount in real currency.</p>\n</li>\n<li><p><code>vs_price</code> (number, required): Real currency type.</p>\n</li>\n<li><p><code>succeed_url</code> (string): Redirect URL to checkout page after successful payment.</p>\n</li>\n<li><p><code>timeout_url</code> (string): Redirect URL to checkout page after payment timeout.</p>\n</li>\n<li><p><code>callback_url</code> (string): Callback URL(GET) after successful payment.</p>\n</li>\n<li><p><code>timeout_callback</code> (string): Callback URL(GET) after payment timeout.</p>\n</li>\n<li><p><code>fixed_encrypt_price</code> (bool): Make the rate ratio of USDT to USD 1:1, Only stable currencies are supported. Default: False</p>\n</li>\n<li><p><code>enable_post_callback</code>(bool): Use the post method to callback and add order information to the request body. Default: False</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p><code>code</code> (number): Response code.</p>\n</li>\n<li><p><code>message</code> (string): Response message.</p>\n</li>\n<li><p><code>data</code> (object): Response data object containing order details.</p>\n<ul>\n<li><p><code>order_id</code> (string): Order ID.</p>\n</li>\n<li><p><code>status</code> (string): Order status.</p>\n</li>\n<li><p><code>amount</code> (number): Order amount.</p>\n</li>\n<li><p><code>create_time</code> (string): Order creation time.</p>\n</li>\n<li><p><code>vs_currency</code> (string): Real currency type.</p>\n</li>\n<li><p><code>vs_price</code> (number): Real currency price.</p>\n</li>\n<li><p><code>address</code> (string): Payment address.</p>\n</li>\n<li><p><code>contract_addr</code> (string): Contract address.</p>\n</li>\n<li><p><code>pay_url</code> (string): Payment URL.</p>\n</li>\n</ul>\n</li>\n<li><p><code>result</code> (boolean): Result of the request.</p>\n</li>\n</ul>\n<h4 id=\"callback-request-details\">Callback Request Details</h4>\n<blockquote>\n<p>Applicable to <code>callback_url</code> and <code>timeout_callback</code> fields </p>\n</blockquote>\n<p>The callback uses the default <strong>GET</strong> et request, and the expected response status code is <strong>200</strong>. If it is an error status code, it will be retried in a short time.</p>\n<p>When the order status is successful, the <code>callback_url</code> URL will be requested;<br />When the order status times out, the <code>timeout_callback</code> URL will be requested.</p>\n<p>If <code>enable_post_callback</code> is set to true, the callback will use a <strong>POST</strong> request and the order information will be attached to the request body.</p>\n<p>An example of a request body is as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"user_id\": \"mct-bea5c44da875\",\n  \"order_id\": \"20250207040935220628\",\n  \"order_type\": \"ORDER\",\n  \"platform\": \"AURPAY\",\n  \"status\": \"PENDING\",\n  \"chain\": \"BTC\",\n  \"chain_name\": \"Bitcoin\",\n  \"currency\": \"BTC\",\n  \"amount\": \"0.00102549\",\n  \"vs_price\": \"100.0\",\n  \"vs_currency\": \"USD\",\n  \"remark\": \"\",\n  \"refund\": false,\n  \"bind_id\": null,\n  \"create_time\": \"2025-02-06T00:00:00\",\n  \"update_time\": \"2025-02-06T00:00:00\",\n  \"tx_id\": \"ca1f0db3-0a3d-47c5-94ed-c94193aa1934\",\n  \"tx_type\": \"ORDER\",\n  \"obtained\": null,\n  \"fee\": \"0.00000820392\",\n  \"from_addr\": null,\n  \"to_addr\": \"tb1q2vgyv8xh0d2sv9j8gpeuedd8sm7pyx5l064s2e\",\n  \"tx_hash\": null,\n  \"tx_hash_list\": [],\n  \"contract_id\": null,\n  \"website\": null\n}\n\n</code></pre>\n","urlObject":{"path":["api","order","pay-info"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"bb1ecd33-1134-4f87-8220-c7a9fd4c833a","name":"Code: 0 | OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"chain\": \"ETH\", // Supported blockchain\r\n    \"currency\": \"USDT-ERC20\", // Supported Cryptocurrency currency\r\n    \"vs_currency\": \"USD\", // Order amount in real currency - required\r\n    \"vs_price\": 18, // Real currency type - required\r\n    \"succeed_url\": \"https://example.com/succeed_url\", // Redirect URL to checkout page after successful payment\r\n    \"timeout_url\": \"https://example.com/timeout_url\", // Redirect URL to checkout page after payment timeout\r\n    \"callback_url\": \"https://example.com/callback_url\", // Callback URL(GET) after successful payment\r\n    \"timeout_callback\": \"https://example.com/timeout_callback\" // Callback URL(GET) after payment timeout\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/order/pay-info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 13 Jun 2024 09:36:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"a-trace-id","value":"F38CEB78"},{"key":"a-pt","value":"107"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=cRghcalU0XPZBSOfJ1UwWbpyGLfonikg0yni6w2PFHGY3qZkUQj5ojqDularkWZLKC8YRViUY%2BbaEzacgZV%2By9PUsCfiHTp522vHq5hiDiM2j5ihAl9bs4Sf6mbulwI9ewIZ8U4FPQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8931185b090e0448-HKG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"order_id\": \"20240613093614690315\",\n        \"status\": \"PENDING\",\n        \"amount\": 18.0098,\n        \"create_time\": \"2024-06-13T09:36:14\",\n        \"vs_currency\": \"USD\",\n        \"vs_price\": 18,\n        \"address\": \"0x686691e7b70e9239e19eB4cd080DDb8aB6F33cf3\",\n        \"contract_addr\": \"0xdAC17F958D2ee523a2206206994597C13D831ec7\",\n        \"pay_url\": \"https://dashboard.aurpay.net/#/cashier/20240613093614690315\"\n    },\n    \"result\": true\n}"}],"_postman_id":"210a1284-1dd1-4fb8-8fee-6e72f82839ac"},{"name":"Get Orders","id":"1eef2ab2-2590-482a-a9be-3138740dcad3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/v2/order/?page=1&size=10","description":"<h3 id=\"get-order-list\">Get Order List</h3>\n<p>This endpoint makes an HTTP GET request to retrieve a list of orders.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>This request does not contain a request body.</p>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response will be in JSON format with the following structure:</p>\n<ul>\n<li><p><code>code</code> (number): Represents the status code of the response.</p>\n</li>\n<li><p><code>message</code> (string): Provides additional information or error message if applicable.</p>\n</li>\n<li><p><code>data</code> (object): Contains the details of the order list, including pagination information and an array of orders.</p>\n<ul>\n<li><p><code>page</code> (number): The current page number.</p>\n</li>\n<li><p><code>size</code> (number): The number of orders per page.</p>\n</li>\n<li><p><code>total</code> (number): The total number of orders.</p>\n</li>\n<li><p><code>max_page</code> (number): The maximum page number.</p>\n</li>\n<li><p><code>data</code> (array): An array of order objects, each containing the following properties:</p>\n<ul>\n<li><p><code>user_id</code> (string): The user ID associated with the order.</p>\n</li>\n<li><p><code>order_id</code> (string): The ID of the order.</p>\n</li>\n<li><p><code>order_type</code> (string): The type of the order.</p>\n</li>\n<li><p><code>platform</code> (string): The platform related to the order.</p>\n</li>\n<li><p><code>status</code> (string): The status of the order, which can be one of the following: PENDING, OVERDUE, SUCCESS, RESOLVED, PARTIAL, TERMINATED, REFUNDED.</p>\n</li>\n<li><p><code>chain</code> (string): The blockchain chain associated with the order.</p>\n</li>\n<li><p><code>chain_name</code> (string): The name of the blockchain chain.</p>\n</li>\n<li><p><code>currency</code> (string): The currency used in the order.</p>\n</li>\n<li><p><code>amount</code> (string): The amount of the order.</p>\n</li>\n<li><p><code>vs_price</code> (string): The price relative to a specific currency.</p>\n</li>\n<li><p><code>vs_currency</code> (string): The specific currency used for comparison.</p>\n</li>\n<li><p><code>remark</code> (string): Any additional remarks related to the order.</p>\n</li>\n<li><p><code>refund</code> (boolean): Indicates if the order is eligible for a refund.</p>\n</li>\n<li><p><code>create_time</code> (string): The timestamp of the order creation.</p>\n</li>\n<li><p><code>update_time</code> (string): The timestamp of the order update.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><code>result</code> (boolean): Indicates the result of the request, where <code>true</code> represents a successful response.</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"•••••••"}]},"isInherited":true,"source":{"_postman_id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","name":"Order","type":"folder"}},"urlObject":{"path":["api","v2","order",""],"host":["https://dashboard.aurpay.net"],"query":[{"disabled":true,"description":{"content":"<p>Optional: Order ID</p>\n","type":"text/plain"},"key":"order_id","value":""},{"disabled":true,"description":{"content":"<p>Optional: Order Status \nAvailable values: </p>\n<ul>\n<li>PENDING</li>\n<li>SUCCESS</li>\n<li>RESOLVED</li>\n<li>PARTIAL</li>\n<li>OVERDUE</li>\n<li>FAILED</li>\n<li>TERMINATED</li>\n<li>REFUNDED</li>\n</ul>\n","type":"text/plain"},"key":"status","value":"PENDING"},{"disabled":true,"description":{"content":"<p>Optional: Order Type\nAvailable Values:</p>\n<ul>\n<li>ORDER</li>\n<li>INVOICE</li>\n<li>WITHDRAW</li>\n</ul>\n","type":"text/plain"},"key":"order_type","value":"ORDER"},{"disabled":true,"description":{"content":"<p>Optional: Chain</p>\n","type":"text/plain"},"key":"chain","value":"ETH"},{"disabled":true,"description":{"content":"<p>Optional: Currency</p>\n","type":"text/plain"},"key":"currency","value":"USDT-ERC20"},{"description":{"content":"<p>Query page count, Range: &gt;0</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Query page size, Range: 1~100</p>\n","type":"text/plain"},"key":"size","value":"10"},{"disabled":true,"description":{"content":"<p>Start: Order creation time</p>\n","type":"text/plain"},"key":"st","value":"2024-10-10T00:00:00"},{"disabled":true,"description":{"content":"<p>End: Order creation time</p>\n","type":"text/plain"},"key":"et","value":"2024-10-20T00:00:00"}],"variable":[]}},"response":[{"id":"57d140e9-0942-4421-a2bd-fd157d968414","name":"Code: 0 | OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://dashboard.aurpay.net/api/v2/order/?page=1&size=10","host":["https://dashboard.aurpay.net"],"path":["api","v2","order",""],"query":[{"key":"order_id","value":null,"description":"Optional: Order ID","disabled":true},{"key":"status","value":"PENDING","description":"Optional: Order Status \nAvailable values: \n- PENDING\n- SUCCESS\n- RESOLVED\n- PARTIAL\n- OVERDUE\n- FAILED\n- TERMINATED\n- REFUNDED","disabled":true},{"key":"order_type","value":"ORDER","description":"Optional: Order Type\nAvailable Values:\n- ORDER\n- INVOICE\n- WITHDRAW","disabled":true},{"key":"chain","value":"ETH","description":"Optional: Chain","disabled":true},{"key":"currency","value":"USDT-ERC20","description":"Optional: Currency","disabled":true},{"key":"page","value":"1","description":"Query page count, Range: >0"},{"key":"size","value":"10","description":"Query page size, Range: 1~100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 07 Aug 2024 03:37:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"a-trace-id","value":"E60BE4EF"},{"key":"a-pt","value":"89"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ClSL4Yd9bEuIDB7M3XLGLP%2F3aguY%2FD%2FCRnRTzUAKNFeDLjh%2B5We6xDZ63UgK5Uqo%2FPdwMn934YUi6eBIN2Muvqyy4GTIEZrN%2B68u3dToaDSKRrp5aUiPK%2BQjBe01pho%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8af43a995f3e9c3e-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"page\": 1,\n        \"size\": 10,\n        \"total\": 43,\n        \"max_page\": 5,\n        \"data\": [\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240806071926377966\",\n                \"order_type\": \"INVOICE\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"PENDING\",\n                \"chain\": \"TRX\",\n                \"chain_name\": \"Tron\",\n                \"currency\": \"USDC-TRC20\",\n                \"amount\": \"19.0012\",\n                \"vs_price\": \"19.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-08-06T07:19:26\",\n                \"update_time\": \"2024-08-06T07:19:26\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613091501215821\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"PAYMENTBUTTON\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"ETH\",\n                \"chain_name\": \"Ethereum\",\n                \"currency\": \"USDT-ERC20\",\n                \"amount\": \"1.0009\",\n                \"vs_price\": \"1.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T09:15:01\",\n                \"update_time\": \"2024-06-13T09:15:01\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613084814504314\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"ETH\",\n                \"chain_name\": \"Ethereum\",\n                \"currency\": \"USDT-ERC20\",\n                \"amount\": \"18.005\",\n                \"vs_price\": \"18.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T08:48:14\",\n                \"update_time\": \"2024-06-13T08:48:14\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613084802621586\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"TRX\",\n                \"chain_name\": \"Tron\",\n                \"currency\": \"USDT-TRC20\",\n                \"amount\": \"18.0053\",\n                \"vs_price\": \"18.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T08:48:02\",\n                \"update_time\": \"2024-06-13T08:48:02\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613084112011859\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"LTC\",\n                \"chain_name\": \"Litecoin\",\n                \"currency\": \"LTC\",\n                \"amount\": \"0.000008\",\n                \"vs_price\": \"0.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T08:41:12\",\n                \"update_time\": \"2024-06-13T08:41:12\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613083624559401\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"ETH\",\n                \"chain_name\": \"Ethereum\",\n                \"currency\": \"ETH\",\n                \"amount\": \"0.000004\",\n                \"vs_price\": \"0.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T08:36:24\",\n                \"update_time\": \"2024-06-13T08:36:24\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613075711753948\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"ETH\",\n                \"chain_name\": \"Ethereum\",\n                \"currency\": \"USDT-ERC20\",\n                \"amount\": \"18.0015\",\n                \"vs_price\": \"18.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T07:57:11\",\n                \"update_time\": \"2024-06-13T07:57:11\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613075708521768\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"ETH\",\n                \"chain_name\": \"Ethereum\",\n                \"currency\": \"USDT-ERC20\",\n                \"amount\": \"18.0013\",\n                \"vs_price\": \"18.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T07:57:08\",\n                \"update_time\": \"2024-06-13T07:57:08\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613075705873697\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"ETH\",\n                \"chain_name\": \"Ethereum\",\n                \"currency\": \"USDT-ERC20\",\n                \"amount\": \"18.0016\",\n                \"vs_price\": \"18.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T07:57:05\",\n                \"update_time\": \"2024-06-13T07:57:05\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613075702518420\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"ETH\",\n                \"chain_name\": \"Ethereum\",\n                \"currency\": \"USDT-ERC20\",\n                \"amount\": \"18.002\",\n                \"vs_price\": \"18.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T07:57:02\",\n                \"update_time\": \"2024-06-13T07:57:02\"\n            }\n        ]\n    },\n    \"result\": true\n}"}],"_postman_id":"1eef2ab2-2590-482a-a9be-3138740dcad3"},{"name":"Get Orders Details","id":"647bda2d-96f4-4e50-99da-7960261a9bd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/v2/order/detail/:order_id","description":"<p>This endpoint retrieves the details of a specific order by providing the order ID in the URL path.</p>\n<h2 id=\"request\">Request</h2>\n<h3 id=\"path-parameters\">Path Parameters</h3>\n<ul>\n<li><code>order_id</code> (string) - The unique identifier of the order.</li>\n</ul>\n<h2 id=\"response\">Response</h2>\n<ul>\n<li><p><code>code</code> (number) - The status code of the response.</p>\n</li>\n<li><p><code>message</code> (string) - A message related to the response.</p>\n</li>\n<li><p><code>data</code> (object) - An object containing the details of the order:</p>\n<ul>\n<li><p><code>user_id</code> (string) - The user ID associated with the order.</p>\n</li>\n<li><p><code>order_id</code> (string) - The unique identifier of the order.</p>\n</li>\n<li><p><code>order_type</code> (string) - The type of the order.</p>\n</li>\n<li><p><code>platform</code> (string) - The platform on which the order was placed.</p>\n</li>\n<li><p><code>status</code> (string) - The status of the order.</p>\n</li>\n<li><p><code>chain</code> (string) - The blockchain chain associated with the order.</p>\n</li>\n<li><p><code>chain_name</code> (string) - The name of the blockchain chain.</p>\n</li>\n<li><p><code>currency</code> (string) - The currency used in the order.</p>\n</li>\n<li><p><code>amount</code> (string) - The amount of currency involved in the order.</p>\n</li>\n<li><p><code>vs_price</code> (string) - The price of the currency in comparison to another currency.</p>\n</li>\n<li><p><code>vs_currency</code> (string) - The currency used for price comparison.</p>\n</li>\n<li><p><code>remark</code> (string) - Any additional remarks related to the order.</p>\n</li>\n<li><p><code>refund</code> (boolean) - Indicates if the order is eligible for a refund.</p>\n</li>\n<li><p><code>create_time</code> (string) - The timestamp of order creation.</p>\n</li>\n<li><p><code>update_time</code> (string) - The timestamp of the last update to the order.</p>\n</li>\n<li><p><code>tx_id</code> (string) - The transaction ID associated with the order.</p>\n</li>\n<li><p><code>tx_type</code> (string) - The type of transaction.</p>\n</li>\n<li><p><code>obtained</code> (null) - The obtained value (if applicable).</p>\n</li>\n<li><p><code>fee</code> (string) - The fee associated with the order.</p>\n</li>\n<li><p><code>from_addr</code> (null) - The address from which the transaction originated.</p>\n</li>\n<li><p><code>to_addr</code> (boolean) - Indicates if there is a destination address associated with the order.</p>\n</li>\n<li><p><code>tx_hash</code> (string) - The hash of the transaction.</p>\n</li>\n<li><p><code>contract_id</code> (null) - The contract ID associated with the order.</p>\n</li>\n</ul>\n</li>\n<li><p><code>result</code> (boolean) - Indicates the result of the response.</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"•••••••"}]},"isInherited":true,"source":{"_postman_id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","name":"Order","type":"folder"}},"urlObject":{"path":["api","v2","order","detail",":order_id"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[{"description":{"content":"<p>Order ID</p>\n","type":"text/plain"},"type":"any","value":"20240806071926377966","key":"order_id"}]}},"response":[{"id":"a117f22a-3845-4c79-b23d-a5335a870423","name":"Code: 0 | OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://dashboard.aurpay.net/api/v2/order/detail/:order_id","host":["https://dashboard.aurpay.net"],"path":["api","v2","order","detail",":order_id"],"variable":[{"key":"order_id","value":"20240806071926377966","description":"Order ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 07 Aug 2024 03:59:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"a-trace-id","value":"9DDA4D88"},{"key":"a-pt","value":"108"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=jw%2F44fERys0Mf3ONunVJPPc9FLp9fb%2F5ypINZjJuumQ%2F37cvMURn6l4YXUvoaM7N3OQoGd1Ap7lhOQirph%2BxMh8bU88IqZQNvS7EjUcBBJ7UR2XawhwcR0XEvHTuRXI%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8af45a7a9ef73f74-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"user_id\": \"mct-07d283468bf8\",\n        \"order_id\": \"20240806071926377966\",\n        \"order_type\": \"INVOICE\",\n        \"platform\": \"AURPAY\",\n        \"status\": \"PENDING\",\n        \"chain\": \"TRX\",\n        \"chain_name\": \"Tron\",\n        \"currency\": \"USDC-TRC20\",\n        \"amount\": \"19.0012\",\n        \"vs_price\": \"19.0\",\n        \"vs_currency\": \"USD\",\n        \"remark\": \"\",\n        \"refund\": false,\n        \"create_time\": \"2024-08-06T07:19:26\",\n        \"update_time\": \"2024-08-06T07:19:26\",\n        \"tx_id\": \"68e9e5ed-28b8-4723-97fc-de5c643652e5\",\n        \"tx_type\": \"INVOICE\",\n        \"obtained\": null,\n        \"fee\": \"0.2\",\n        \"from_addr\": null,\n        \"to_addr\": false,\n        \"tx_hash\": \"\",\n        \"contract_id\": null\n    },\n    \"result\": true\n}"}],"_postman_id":"647bda2d-96f4-4e50-99da-7960261a9bd2"},{"name":"Get Orders Refund Info","id":"7fd861b9-6a4d-48f1-b9fb-1d198f4e08f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/v2/order/refund-info/:order_id","description":"<h3 id=\"get-order-refund-information\">Get Order Refund Information</h3>\n<p>This endpoint makes an HTTP GET request to <code>/api/v2/order/refund-info/:order_id</code> to retrieve the refund information of a specific order.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>This request does not require a request body.</p>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response of this request is a JSON object representing the refund information of the order. The structure of the response is as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"number\",\n    \"message\": \"string\",\n    \"data\": {\n        \"order_id\": \"string\",\n        \"chain\": \"string\",\n        \"currency\": \"string\",\n        \"amount\": \"number\",\n        \"network_fee\": \"number\",\n        \"obtained\": \"number\",\n        \"from_addr\": \"string\",\n        \"to_addr\": \"string\",\n        \"refund_et\": \"number\"\n    },\n    \"result\": \"boolean\"\n}\n\n</code></pre>\n<ul>\n<li><p><code>code</code>: The status code of the response.</p>\n</li>\n<li><p><code>message</code>: Additional information related to the response.</p>\n</li>\n<li><p><code>data</code>: An object containing the refund information with the following attributes:</p>\n<ul>\n<li><p><code>order_id</code>: The unique identifier of the order.</p>\n</li>\n<li><p><code>chain</code>: The chain associated with the refund.</p>\n</li>\n<li><p><code>currency</code>: The currency of the refund.</p>\n</li>\n<li><p><code>amount</code>: The refunded amount.</p>\n</li>\n<li><p><code>network_fee</code>: The network fee for the refund.</p>\n</li>\n<li><p><code>obtained</code>: The obtained amount.</p>\n</li>\n<li><p><code>from_addr</code>: The address from which the refund was initiated.</p>\n</li>\n<li><p><code>to_addr</code>: The address to which the refund was sent.</p>\n</li>\n<li><p><code>refund_et</code>: The timestamp for the refund.</p>\n</li>\n</ul>\n</li>\n<li><p><code>result</code>: A boolean indicating the result of the request.</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"•••••••"}]},"isInherited":true,"source":{"_postman_id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","name":"Order","type":"folder"}},"urlObject":{"path":["api","v2","order","refund-info",":order_id"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[{"description":{"content":"<p>Order ID</p>\n","type":"text/plain"},"type":"any","value":"20240614061316661529","key":"order_id"}]}},"response":[{"id":"cd6b8afe-32f6-4d11-9aeb-6a7e0eca0143","name":"Code: 0 | OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://dashboard.aurpay.net/api/v2/order/refund-info/:order_id","host":["https://dashboard.aurpay.net"],"path":["api","v2","order","refund-info",":order_id"],"variable":[{"key":"order_id","value":"20240614061316661529","description":"Order ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 07 Aug 2024 06:54:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"a-trace-id","value":"8EAE9193"},{"key":"a-pt","value":"117"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=AOkDBSUjSV5qtseJBE86kRiN%2Fg88FZmvBPxlDRnV4FUAa3jr5gFtYdDRX9lFLAGgrzHsxHiYEjrI%2BxRPHWnwoWy4pBcEm0GDQCygUulYS5O9HFw49XYQyatVLtkq7GI%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8af55a7a6e06ce13-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"order_id\": \"20240614061316661529\",\n        \"chain\": \"TRX\",\n        \"currency\": \"USDT-TRC20\",\n        \"amount\": 7.6883,\n        \"network_fee\": 0.353,\n        \"obtained\": 7.3353,\n        \"from_addr\": \"TMiJBaNdRVABNhZGwBx5vKWYCafCwGzuWn\",\n        \"to_addr\": \"TFMsMzcQEmqEAxjaGnjQCE2TaeJYuHhCrF\",\n        \"refund_et\": 60\n    },\n    \"result\": true\n}"}],"_postman_id":"7fd861b9-6a4d-48f1-b9fb-1d198f4e08f2"},{"name":"Orders Refund","id":"4733b5b5-eac5-442c-ad72-7c757e546505","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://dashboard.aurpay.net/api/v2/order/refund/:order_id","description":"<h3 id=\"get-order-refund-status\">Get Order Refund Status</h3>\n<p>This endpoint retrieves the refund status of a specific order by making an HTTP GET request to <code>/api/v2/order/refund/:order_id</code>.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>This request does not require a request body.</p>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response of this request is a JSON object representing the refund status of the order. The JSON schema for the response can be documented as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"order_id\": \"string\",\n    \"refund_status\": \"string\",\n    \"refund_amount\": \"number\",\n    \"refund_date\": \"string\"\n}\n\n</code></pre>\n<ul>\n<li><p><code>order_id</code>: The unique identifier of the order.</p>\n</li>\n<li><p><code>refund_status</code>: The status of the refund, which can be one of the following: PENDING, SUCCESS, RESOLVED, PARTIAL, TERMINATED, REFUNDED.</p>\n</li>\n<li><p><code>refund_amount</code>: The amount refunded for the order.</p>\n</li>\n<li><p><code>refund_date</code>: The date and time when the refund was initiated.</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"•••••••"}]},"isInherited":true,"source":{"_postman_id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","name":"Order","type":"folder"}},"urlObject":{"path":["api","v2","order","refund",":order_id"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[{"type":"any","value":"20240614061316661529","key":"order_id"}]}},"response":[{"id":"35838adf-f114-4a8c-a616-995a5330abf5","name":"Orders Refund","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://dashboard.aurpay.net/api/v2/order/refund/:order_id","host":["https://dashboard.aurpay.net"],"path":["api","v2","order","refund",":order_id"],"variable":[{"key":"order_id","value":"20240614061316661529"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 07 Aug 2024 07:01:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"a-trace-id","value":"5962144B"},{"key":"a-pt","value":"3025"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ATwhahK0il3IJ%2FQku90dWmQ6%2BoAoL1V%2FuL%2B2FTqqREqZUYlufF9xgntMcOUhVjJisR8WzZ5mDHtsCN32%2BDka4q4%2BbuSW%2FgkkIIOYbnal%2BF556675jtexvhEv7a3dKo4%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8af5654e59c3ce02-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"order_id\": \"20240614061316661529\",\n        \"chain\": \"TRX\",\n        \"currency\": \"USDT-TRC20\",\n        \"amount\": 7.6883,\n        \"network_fee\": 0.3535,\n        \"obtained\": 7.3348,\n        \"from_addr\": \"TMiJBaNdRVABNhZGwBx5vKWYCafCwGzuWn\",\n        \"to_addr\": \"TFMsMzcQEmqEAxjaGnjQCE2TaeJYuHhCrF\",\n        \"refund_et\": 60\n    },\n    \"result\": true\n}"}],"_postman_id":"4733b5b5-eac5-442c-ad72-7c757e546505"},{"name":"Get Transaction","id":"8fe0ef85-0fbf-4d5d-8340-097fb252d292","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/v2/tx?page=1&size=10","description":"<h3 id=\"api-request-description\">API Request Description</h3>\n<p>This endpoint makes an HTTP GET request to retrieve a paginated list of transactions.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response for this request is a JSON object with the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"code\": integer,\n  \"message\": string,\n  \"data\": {\n    \"page\": integer,\n    \"size\": integer,\n    \"total\": integer,\n    \"max_page\": integer,\n    \"data\": [\n      {\n        \"user_id\": string,\n        \"tx_id\": string,\n        \"tx_type\": string,\n        \"status\": string,\n        \"chain\": string,\n        \"currency\": string,\n        \"amount\": string,\n        \"obtained\": string,\n        \"fee\": string,\n        \"from_addr\": string,\n        \"to_addr\": string,\n        \"tx_hash\": string,\n        \"event_time\": string\n      }\n    ]\n  },\n  \"result\": boolean\n}\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"•••••••"}]},"isInherited":true,"source":{"_postman_id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","name":"Order","type":"folder"}},"urlObject":{"path":["api","v2","tx"],"host":["https://dashboard.aurpay.net"],"query":[{"disabled":true,"description":{"content":"<p>Optional: Transaction ID</p>\n","type":"text/plain"},"key":"tx_id","value":""},{"disabled":true,"description":{"content":"<p>Optional: Transaction Status \nAvailable values: </p>\n<ul>\n<li>PENDING</li>\n<li>SUCCESS</li>\n<li>RESOLVED</li>\n<li>OVERDUE</li>\n<li>FAILED</li>\n<li>TERMINATED</li>\n</ul>\n","type":"text/plain"},"key":"status","value":"PENDING"},{"disabled":true,"description":{"content":"<p>Optional: Transaction Type\nAvailable Values:</p>\n<ul>\n<li>ORDER</li>\n<li>INVOICE</li>\n<li>WITHDRAW</li>\n<li>UNKOWN</li>\n<li>SWAP</li>\n<li>REFUND</li>\n</ul>\n","type":"text/plain"},"key":"type","value":"UNKOWN"},{"disabled":true,"description":{"content":"<p>Optional: Chain</p>\n","type":"text/plain"},"key":"chain","value":"ETH"},{"disabled":true,"description":{"content":"<p>Optional: Currency</p>\n","type":"text/plain"},"key":"currency","value":"USDT-ERC20"},{"description":{"content":"<p>Query page count, Range: &gt;0</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Query page size, Range: 1~100</p>\n","type":"text/plain"},"key":"size","value":"10"},{"disabled":true,"key":"st","value":"2024-10-10T00:00:00"},{"disabled":true,"key":"et","value":"2024-10-23T00:00:00"},{"disabled":true,"description":{"content":"<p>Query time order: desc, asc</p>\n","type":"text/plain"},"key":"sort","value":"desc"}],"variable":[]}},"response":[{"id":"c90245c1-50ec-43d1-9437-e7b5a915e74f","name":"Code: 0 | OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://dashboard.aurpay.net/api/v2/tx?page=1&size=10&st=2024-10-10T00:00:00&sort=asc","host":["https://dashboard.aurpay.net"],"path":["api","v2","tx"],"query":[{"key":"tx_id","value":"158809fb-82aa-4acb-9fef-7225e2d72e40","description":"Optional: Transaction ID","disabled":true},{"key":"status","value":"PENDING","description":"Optional: Transaction Status \nAvailable values: \n- PENDING\n- SUCCESS\n- RESOLVED\n- OVERDUE\n- FAILED\n- TERMINATED","disabled":true},{"key":"type","value":"UNKOWN","description":"Optional: Transaction Type\nAvailable Values:\n- ORDER\n- INVOICE\n- WITHDRAW\n- UNKOWN\n- SWAP\n- REFUND","disabled":true},{"key":"chain","value":"ETH","description":"Optional: Chain","disabled":true},{"key":"currency","value":"USDT-ERC20","description":"Optional: Currency","disabled":true},{"key":"page","value":"1","description":"Query page count, Range: >0"},{"key":"size","value":"10","description":"Query page size, Range: 1~100"},{"key":"st","value":"2024-10-10T00:00:00"},{"key":"et","value":"2024-10-23T00:00:00","disabled":true},{"key":"sort","value":"asc","description":"Query time order: desc, asc","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 28 Oct 2024 06:36:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"a-trace-id","value":"Q6S7FM4A"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"a-pt","value":"110"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=1lZmq4ImZl44OcHrzFtEEsrpvHHB9y%2B92LUayetC%2FXQaMGc7%2BV7RumilySW3LTrYYuJbXQuIkYi0B%2FID0ojZy%2Bu7EBDkKyHTBVtQCQC%2FM6ZTqwlUrKytNkINZN6EUxYwEjkK5Jh2aw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8d98ea0c2ebb46f1-SIN"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1181&sent=4&recv=6&lost=0&retrans=0&sent_bytes=2806&recv_bytes=1050&delivery_rate=2209000&cwnd=251&unsent_bytes=0&cid=c4502baf82ad81c6&ts=318&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"page\": 1,\n        \"size\": 10,\n        \"total\": 4,\n        \"max_page\": 1,\n        \"data\": [\n            {\n                \"user_id\": \"mct-1801a2556486\",\n                \"tx_id\": \"b6f23711-e86c-4dbe-a428-83a84d5296d0\",\n                \"tx_type\": \"WITHDRAW\",\n                \"status\": \"SUCCESS\",\n                \"chain\": \"ETH\",\n                \"currency\": \"USDC-ERC20\",\n                \"amount\": \"1.8005\",\n                \"obtained\": \"0.6808\",\n                \"fee\": \"0\",\n                \"from_addr\": \"0xfab26967128010A17F12bb4FEce9919d7D061215\",\n                \"to_addr\": \"0xd2Ba0F302Db1cae5B2d1A2DB2405532b46B11dae\",\n                \"tx_hash\": \"0xa629bbd3b8808b17fe4c0f59ee004f1094dc1f71b71c777c3d48981dc10c0e3e\",\n                \"event_time\": \"2024-10-10T02:22:06\"\n            },\n            {\n                \"user_id\": \"mct-1801a2556486\",\n                \"tx_id\": \"ac292490-e5cc-4217-979c-039c2b90bd83\",\n                \"tx_type\": \"SWAP\",\n                \"status\": \"SUCCESS\",\n                \"chain\": \"ETH\",\n                \"currency\": \"USDT-ERC20\",\n                \"amount\": \"23.4668\",\n                \"obtained\": \"23.4668\",\n                \"fee\": \"0\",\n                \"from_addr\": \"0\",\n                \"to_addr\": \"0x0ba476533C07845B10fB8Dd63A78978a926ef2EC\",\n                \"tx_hash\": null,\n                \"event_time\": \"2024-10-23T12:06:15\"\n            },\n            {\n                \"user_id\": \"mct-1801a2556486\",\n                \"tx_id\": \"4b4a66ad-9661-402f-a978-ff81d432c70e\",\n                \"tx_type\": \"SWAP\",\n                \"status\": \"SUCCESS\",\n                \"chain\": \"BLN\",\n                \"currency\": \"BTC-LN\",\n                \"amount\": \"0.00039859\",\n                \"obtained\": \"0.0003534\",\n                \"fee\": \"0.00004519\",\n                \"from_addr\": \"0\",\n                \"to_addr\": \"0x0ba476533C07845B10fB8Dd63A78978a926ef2EC\",\n                \"tx_hash\": null,\n                \"event_time\": \"2024-10-23T12:06:19\"\n            },\n            {\n                \"user_id\": \"mct-1801a2556486\",\n                \"tx_id\": \"158809fb-82aa-4acb-9fef-7225e2d72e40\",\n                \"tx_type\": \"WITHDRAW\",\n                \"status\": \"SUCCESS\",\n                \"chain\": \"ETH\",\n                \"currency\": \"USDT-ERC20\",\n                \"amount\": \"9.4668\",\n                \"obtained\": \"4.1724\",\n                \"fee\": \"0\",\n                \"from_addr\": \"0xBB9043C5dEC27573DeEf97D750bCC52195F19009\",\n                \"to_addr\": \"0x9AD681c8f730479b143570E67c0357B3eD873806\",\n                \"tx_hash\": \"0x67bf6431c602b6c3c8c23705073aa3529788d4b4fcafb0602573eb5eed1eb5f8\",\n                \"event_time\": \"2024-10-27T11:46:57\"\n            }\n        ]\n    },\n    \"result\": true\n}"}],"_postman_id":"8fe0ef85-0fbf-4d5d-8340-097fb252d292"}],"id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"•••••••"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"025b3b02-22d7-4fa6-b61c-929bacac88e0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3aca5ba8-5beb-4b71-928f-7d5b39b4e6b0","type":"text/javascript","exec":[""]}}],"_postman_id":"699e0fe2-94f1-4cfe-a3e6-c1d6144c3bd8","description":""},{"name":"Wallets","item":[{"name":"Get Wallets List","id":"116ad281-c46b-45b7-9064-a4bc2d458797","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/withdraw/wallets","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"•••••••"}]},"isInherited":true,"source":{"_postman_id":"9d4fea3b-b070-4a29-babc-f713259e1d7b","id":"9d4fea3b-b070-4a29-babc-f713259e1d7b","name":"Wallets","type":"folder"}},"urlObject":{"path":["api","withdraw","wallets"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"116ad281-c46b-45b7-9064-a4bc2d458797"},{"name":"Withdraw Balance","id":"9ea59288-4fa6-4e08-b72f-e62ce563ee81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"chain\": \"ETH\",\r\n    \"currency\": \"USDT-ERC20\",\r\n    \"amount\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/withdraw","description":"<p>Withdraw account balance.</p>\n<p><strong>Request Body Description</strong></p>\n<ul>\n<li><p>amount - the amount to be withdrawn</p>\n</li>\n<li><p><strong>chain</strong> - the blockchain</p>\n</li>\n<li><p><strong>currency</strong> - the cryptocurrency to withdraw</p>\n</li>\n<li><p>ln_invoices - Lightning Network invoices</p>\n</li>\n<li><p>verify_code - verification code (required only when chain is Lightning Network)</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"•••••••"}]},"isInherited":true,"source":{"_postman_id":"9d4fea3b-b070-4a29-babc-f713259e1d7b","id":"9d4fea3b-b070-4a29-babc-f713259e1d7b","name":"Wallets","type":"folder"}},"urlObject":{"path":["api","withdraw"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"c6ee6c8a-ba5e-45eb-a21f-933c66eea3f9","name":"Code: 40004","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"amount\": 10,\r\n    \"chain\": \"ETH\",\r\n    \"currency\": \"ETH\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/withdraw"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.2"},{"key":"Date","value":"Mon, 27 Feb 2023 11:37:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"172"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": false,\n    \"code\": 40004,\n    \"message\": \"The account needs to pass the KYB verification before the currency can be withdrawn.\",\n    \"trace_id\": \"8dbbb4de198149c58e22a0983078557e\"\n}"}],"_postman_id":"9ea59288-4fa6-4e08-b72f-e62ce563ee81"},{"name":"Get Self Custody Wallets","id":"0af8256f-2a0e-4b15-bdc5-6b09999fbd40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/contract/balance","description":"<p>Get wallet balance in Self Custody mode.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"•••••••"}]},"isInherited":true,"source":{"_postman_id":"9d4fea3b-b070-4a29-babc-f713259e1d7b","id":"9d4fea3b-b070-4a29-babc-f713259e1d7b","name":"Wallets","type":"folder"}},"urlObject":{"path":["api","contract","balance"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"0874d6cf-66d3-4aa1-9a36-9c23920e428d","name":"Code: 0 | OK","originalRequest":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/contract/balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 27 Feb 2023 09:26:15 GMT"},{"key":"server","value":"uvicorn"},{"key":"content-length","value":"295"},{"key":"content-type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": [\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"ETH\",\n            \"amount\": 10.31299\n        },\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"USDT-ERC20\",\n            \"amount\": 203\n        },\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"DAI-ERC20\",\n            \"amount\": 190\n        },\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"SHIB-ERC20\",\n            \"amount\": 890220\n        },\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"USDC-ERC20\",\n            \"amount\": 0\n        }\n    ],\n    \"result\": true\n}"}],"_postman_id":"0af8256f-2a0e-4b15-bdc5-6b09999fbd40"}],"id":"9d4fea3b-b070-4a29-babc-f713259e1d7b","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"•••••••"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"7d38fe8d-b624-4904-adfb-59aa4b4d673c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8fde74af-640b-4ca6-975c-42acd7317f64","type":"text/javascript","exec":[""]}}],"_postman_id":"9d4fea3b-b070-4a29-babc-f713259e1d7b","description":""},{"name":"Bitcoin Lightning Network","item":[{"name":"Get BLN Balance","id":"98d0aae9-d0bd-435b-ab0a-23f3f4490dd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"•••••••"}]},"isInherited":false},"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/bln/balance","description":"<p>Get Account Wallet Lightning Network wallet balance.</p>\n","urlObject":{"path":["api","bln","balance"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"1e281d6f-313a-4145-9980-49deb54cea54","name":"Get BLN Balance","originalRequest":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/bln/balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Apr 2024 12:43:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ZLT2M4abeF0phpm6K9IKpudEzfC1%2FD8PKSXY6U8%2Bpa8f8h0Una59Qpv%2FyKhh2pidQ0CJk2XSVcckFtOcbHN3YW%2ByUWettEH6quIm6jv1bSCepdlKJEnzWKERwoSIEd9zLJ%2BHCuA0Lg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"87b723c7ff9b9c1b-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"balance\": \"0.00002518\"\n    },\n    \"result\": true\n}"}],"_postman_id":"98d0aae9-d0bd-435b-ab0a-23f3f4490dd5"},{"name":"Create BLN Order","id":"95873a11-9646-455e-bd81-a7393dd27372","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"•••••••"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"price\": 20, // Order amount in real currency - required\r\n    \"currency\": \"USD\", // Real currency type - required\r\n    \"succeed_url\": \"https://example.com/succeed_url\", // Redirect URL to checkout page after successful payment\r\n    \"timeout_url\": \"https://example.com/timeout_url\", // Redirect URL to checkout page after payment timeout\r\n    \"callback_url\": \"https://example.com/callback_url\", // Callback URL(GET) after successful payment\r\n    \"timeout_callback\": \"https://example.com/timeout_callback\" // Callback URL(GET) after payment timeout\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/bln/order","description":"<h3 id=\"create-order\">Create Order</h3>\n<p>This endpoint allows you to create a new order for a payment transaction.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>price</code> (required, number): Order amount in real currency.</p>\n</li>\n<li><p><code>currency</code> (required, string): Real currency type.</p>\n</li>\n<li><p><code>succeed_url</code> (string): Redirect URL to checkout page after successful payment.</p>\n</li>\n<li><p><code>timeout_url</code> (string): Redirect URL to checkout page after payment timeout.</p>\n</li>\n<li><p><code>callback_url</code> (string): Callback URL after successful payment.</p>\n</li>\n<li><p><code>timeout_callback</code> (string): Callback URL after payment timeout.</p>\n</li>\n</ul>\n<h4 id=\"callback-request-details\">Callback Request Details</h4>\n<blockquote>\n<p>Applicable to <code>callback_url</code> and <code>timeout_callback</code> fields </p>\n</blockquote>\n<p>The callback request is a GET request, and a normal response should be 200.<br />When the order status is successful, the <code>callback_url</code> URL will be requested;<br />When the order status times out, the <code>timeout_callback</code> URL will be requested.</p>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p><code>code</code> (number): The status code of the response.</p>\n</li>\n<li><p><code>message</code> (string): A message regarding the status of the request.</p>\n</li>\n<li><p><code>data</code></p>\n<ul>\n<li><p><code>order_id</code> (string): The unique identifier for the created order.</p>\n</li>\n<li><p><code>status</code> (string): The status of the order (e.g., PENDING).</p>\n</li>\n<li><p><code>amount</code> (number): The amount of the order.</p>\n</li>\n<li><p><code>create_time</code> (string): The timestamp of when the order was created.</p>\n</li>\n<li><p><code>payment_request</code> (string): The payment request information.</p>\n</li>\n<li><p><code>pay_url</code> (string): The URL to proceed with the payment.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example\">Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"order_id\": \"20240426103947614609\",\n        \"status\": \"PENDING\",\n        \"amount\": 0.00155419,\n        \"create_time\": \"2024-04-26T10:39:47\",\n        \"payment_request\": \"lntb1554190n1pnzhprnpp5xtqfy2fuaucnpfw6yw7h4hap7t8rurt8f3qgkf369knf4zhwxjdqdp58yukydt9xs6nsc3hve3rgcmyvgunqwp3x3nrqetrxucnsdpsvfjscqzzsxqyz5vqsp5fs2adjrcrcded6nzc2g3wj56kku89uflg9nh0t4ry5avdasp7shq9qyyssqdjs3txpu2w482w55gpnzauqdd20qjg4x8276u2kje2295tk8wg73rgxna2pqrw5w60ra8cy2lnx6yvn5wcjzqy42p5rh9ap5ymhv2jgqmk3j9g\",\n        \"pay_url\": \"https://dashboard.aurpay.net/#/cashier/20240426103947614609\"\n    },\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"path":["api","bln","order"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"8cb90353-9ca1-4e0a-8499-575b4b3b1089","name":"Create BLN Order","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"price\": 20, // Order amount in real currency - required\r\n    \"currency\": \"USD\", // Real currency type - required\r\n    \"succeed_url\": \"https://example.com/succeed_url\", // Redirect URL to checkout page after successful payment\r\n    \"timeout_url\": \"https://example.com/timeout_url\", // Redirect URL to checkout page after payment timeout\r\n    \"callback_url\": \"https://example.com/callback_url\", // Callback URL after successful payment\r\n    \"timeout_callback\": \"https://example.com/timeout_callback\" // Callback URL after payment timeout\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/bln/order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Apr 2024 12:51:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Nbdyk9vtbxtnEw1j5sJRO8rv9bL6kYcKTFVpdJJwPCmq89hVR7MwmbuOuNVhprahmYT0llDeNcueEatck533S4IBSBxouthjJjGunPQs2NK0yj4PNsc9C3ivnCr%2BxLSbRr2BkDsqRA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"87b72f48de4f81ea-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"order_id\": \"20240428125136525824\",\n        \"status\": \"PENDING\",\n        \"amount\": \"0.00019044\",\n        \"create_time\": \"2024-04-28T12:00:00\",\n        \"payment_request\": \"lnbc190440n1pnzu3jcpp5vyvhqq2deguqqdcth5z0hslaawcd4jqv68n9w88fkc9yqm476fwsdp5xscrjcehv3jkyvpsvg6rgdpnxgungwp4x56njdm9xa3x2dfnxfsscqzzsxqyz5vqsp5cfk04pxdn64fe0hde6u2qpkw7eu3fdequ8vw7r4le4trr3mwryks9qyyssqlavvjxan9jqus8hpdztrtfp6v0t7saqflxp2srruzf8a3sta0lajwfacpnpfdz7eaagrvrzwzhcwma8f4x3rnzf9yq7z6f67pd8lxmqqsxf4hh\",\n        \"payment_addr\": \"c26cfa84cd9eaa9cbeedceb8a006cef67914b720e1d8ef0ebfcd5631c76e192d\",\n        \"pay_url\": \"https://dashboard.aurpay.net/#/cashier/20240428125136525824\",\n        \"currency\": \"BTC-LN\"\n    },\n    \"result\": true\n}"}],"_postman_id":"95873a11-9646-455e-bd81-a7393dd27372"},{"name":"Create BLN Withdraw","id":"1468da48-6ec4-43c4-acb1-0826d8b002fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"•••••••"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"amount\": 0.00017293,\r\n    \"ln_invoices\": \"lnbc1pnzusnspp500cnjqhkc8vhzysu5flta5r3354mhw6fwra6n6dxlrcjwum99t0sdqqcqzzgxqyz5vqrzjqwnvuc0u4txn35cafc7w94gxvq5p3cu9dd95f7hlrh0fvs46wpvhd59tt67suv0w3vqqqqryqqqqthqqpysp5qg253wxrjmjzycrgm09vkkhyhzl75622drjf4z2neuw4ldags33s9qrsgqk0q86t9mmhxp9vhc9z4ra3p0crhs8g7rjsksccdxp7sk6fwcul75ze7xav2fcn58rzqvweqt4yfle3x4h2f58c8maffqkwrzed7qx7cp6ytnn0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/bln/withdraw","description":"<h3 id=\"post-apiblnwithdraw\">POST /api/bln/withdraw</h3>\n<p>This endpoint is used to initiate a withdrawal for a specified amount.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: POST</p>\n</li>\n<li><p>Endpoint: https://dashboard.aurpay.net/api/bln/withdraw</p>\n</li>\n<li><p>Body:</p>\n<ul>\n<li><p>ln_invoices (string, required): The Lightning Network invoices request for the withdrawal.</p>\n</li>\n<li><p>amount (string, optional): The amount of money to be withdrawn, which does not need to be added if the invoice request has an amount.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response is a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"code\": {\n      \"type\": \"integer\"\n    },\n    \"message\": {\n      \"type\": \"string\"\n    },\n    \"data\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"user_id\": {\n          \"type\": \"string\"\n        },\n        \"tx_id\": {\n          \"type\": \"string\"\n        },\n        \"type\": {\n          \"type\": \"string\"\n        },\n        \"status\": {\n          \"type\": \"string\"\n        },\n        \"chain\": {\n          \"type\": \"string\"\n        },\n        \"currency\": {\n          \"type\": \"string\"\n        },\n        \"amount\": {\n          \"type\": \"string\"\n        },\n        \"balance\": {\n          \"type\": \"string\"\n        },\n        \"update_time\": {\n          \"type\": \"string\"\n        }\n      }\n    },\n    \"result\": {\n      \"type\": \"boolean\"\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["api","bln","withdraw"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"c214fc3b-bf9b-40cc-be5e-7daa3d05eea4","name":"Create BLN Withdraw","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ln_invoices\": \"lnbc1pnzusnspp500cnjqhkc8vhzysu5flta5r3354mhw6fwra6n6dxlrcjwum99t0sdqqcqzzgxqyz5vqrzjqwnvuc0u4txn35cafc7w94gxvq5p3cu9dd95f7hlrh0fvs46wpvhd59tt67suv0w3vqqqqryqqqqthqqpysp5qg253wxrjmjzycrgm09vkkhyhzl75622drjf4z2neuw4ldags33s9qrsgqk0q86t9mmhxp9vhc9z4ra3p0crhs8g7rjsksccdxp7sk6fwcul75ze7xav2fcn58rzqvweqt4yfle3x4h2f58c8maffqkwrzed7qx7cp6ytnn0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/bln/withdraw"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"close"},{"key":"Content-Length","value":"286"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 28 Apr 2024 08:49:24 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"user_id\": \"mct-fae46f21d1b9\",\n        \"tx_id\": \"9a2733ca-f523-4f9f-b20c-3135153f3cad\",\n        \"type\": \"WITHDRAW\",\n        \"status\": \"SUCCESS\",\n        \"chain\": \"BLN\",\n        \"currency\": \"BTC-LN\",\n        \"amount\": \"0.00004321\",\n        \"fee\": \"0\",\n        \"balance\": \"0.00277925368\",\n        \"update_time\": \"2024-04-28T08:00:00\"\n    },\n    \"result\": true\n}"},{"id":"cf51d57d-1849-4caf-b979-c8113b820dff","name":"Create BLN Withdraw","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"amount\": 1,\r\n    \"ln_invoices\": \"lnbc1pnzusnspp500cnjqhkc8vhzysu5flta5r3354mhw6fwra6n6dxlrcjwum99t0sdqqcqzzgxqyz5vqrzjqwnvuc0u4txn35cafc7w94gxvq5p3cu9dd95f7hlrh0fvs46wpvhd59tt67suv0w3vqqqqryqqqqthqqpysp5qg253wxrjmjzycrgm09vkkhyhzl75622drjf4z2neuw4ldags33s9qrsgqk0q86t9mmhxp9vhc9z4ra3p0crhs8g7rjsksccdxp7sk6fwcul75ze7xav2fcn58rzqvweqt4yfle3x4h2f58c8maffqkwrzed7qx7cp6ytnn0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/bln/withdraw"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Apr 2024 12:50:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=eG3EDlNVEy%2FJy8WNCvM8hUANkGiEb0PdKjhPzP1SmU1jDQa5bX5qELT%2FHzjBqLtIqzNkvIKDV3pRqnoPfOAxXmwgQplAqkjImUZqbpiFq%2FB%2FwhymK9fk3I1CMvAfqJfwovEpDjritw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"87b72db4ec9d3e29-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": false,\n    \"code\": 40005,\n    \"message\": \"Insufficient account balance\",\n    \"trace_id\": \"1d6500b1\"\n}"}],"_postman_id":"1468da48-6ec4-43c4-acb1-0826d8b002fd"}],"id":"b5f548c8-53a4-4e9f-bbd7-e41acdf9e929","description":"<h1 id=\"public-api-for-the-bitcoin-lightning-network\">Public API for the Bitcoin Lightning Network</h1>\n<ol>\n<li>Switch to <a href=\"https://dashboard.aurpay.net/#/integration?platform=BTCLN\">Key Page </a> a to obtain the<code>API-Key.</code>Only the key of the lightning network can pass the verification. Ensure the security of the key.</li>\n<li>Set the <code>API-Key</code> parameter in the request <code>header</code> and then initiate the request</li>\n</ol>\n<img src=\"https://content.pstmn.io/392d8abf-ac56-47fe-a454-824fd936f9c7/UGl4UGluXzIwMjQtMDQtMjhfMTgtNTUtMTYucG5n\" />","_postman_id":"b5f548c8-53a4-4e9f-bbd7-e41acdf9e929"},{"name":"Signature Authentication Method","item":[{"name":"Get Support Real Currency List","event":[{"listen":"prerequest","script":{"id":"58f5734b-6f23-4847-890f-e094b7e3ad22","exec":[""],"type":"text/javascript","packages":{}}}],"id":"35238e3e-d623-4762-9d89-17f1feed66c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/order/pay/real-currency","description":"<p>Get a list of supported fiat currencies.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","name":"Signature Authentication Method","type":"folder"}},"urlObject":{"path":["api","order","pay","real-currency"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"3458fe83-ee27-49e8-866b-8131aa4c3cad","name":"Code: 0 | OK","originalRequest":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/order/pay/real-currency"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.2"},{"key":"Date","value":"Mon, 27 Feb 2023 10:36:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2185"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": [\n        {\n            \"currency\": \"USD\",\n            \"name\": \"Ultimate Strength Design\"\n        },\n        {\n            \"currency\": \"EUR\",\n            \"name\": \"Euro\"\n        },\n        {\n            \"currency\": \"CNY\",\n            \"name\": \"Renminbi\"\n        },\n        {\n            \"currency\": \"GBP\",\n            \"name\": \"Great Britain Pound\"\n        },\n        {\n            \"currency\": \"AUD\",\n            \"name\": \"Australian Dollar\"\n        },\n        {\n            \"currency\": \"CAD\",\n            \"name\": \"Canadian Dollar\"\n        },\n        {\n            \"currency\": \"JPY\",\n            \"name\": \"Japanese Yen\"\n        },\n        {\n            \"currency\": \"HKD\",\n            \"name\": \"Hong Kong Dollar\"\n        },\n        {\n            \"currency\": \"INR\",\n            \"name\": \"Indian Rupee\"\n        },\n        {\n            \"currency\": \"ZAR\",\n            \"name\": \"South African Rand\"\n        },\n        {\n            \"currency\": \"TWD\",\n            \"name\": \"New Taiwan Dollar\"\n        },\n        {\n            \"currency\": \"KRW\",\n            \"name\": \"South Korean Won\"\n        },\n        {\n            \"currency\": \"THB\",\n            \"name\": \"Thai Baht\"\n        },\n        {\n            \"currency\": \"NZD\",\n            \"name\": \"New Zealand Dollar\"\n        },\n        {\n            \"currency\": \"SGD\",\n            \"name\": \"Singapore Dollar\"\n        },\n        {\n            \"currency\": \"AED\",\n            \"name\": \"United Arab Emirates Dirham\"\n        },\n        {\n            \"currency\": \"ARS\",\n            \"name\": \"Argentine Peso\"\n        },\n        {\n            \"currency\": \"BDT\",\n            \"name\": \"Bangladeshi Taka\"\n        },\n        {\n            \"currency\": \"BHD\",\n            \"name\": \"Bahraini Dinar\"\n        },\n        {\n            \"currency\": \"BMD\",\n            \"name\": \"Bermudian Dollar\"\n        },\n        {\n            \"currency\": \"BRL\",\n            \"name\": \"Brazilian Real\"\n        },\n        {\n            \"currency\": \"CHF\",\n            \"name\": \"Swiss Franc\"\n        },\n        {\n            \"currency\": \"CLP\",\n            \"name\": \"Chilean Peso\"\n        },\n        {\n            \"currency\": \"CZK\",\n            \"name\": \"Czech Koruna\"\n        },\n        {\n            \"currency\": \"DKK\",\n            \"name\": \"Danish Krone\"\n        },\n        {\n            \"currency\": \"HUF\",\n            \"name\": \"Hungarian Forint\"\n        },\n        {\n            \"currency\": \"IDR\",\n            \"name\": \"Indonesian Rupiah\"\n        },\n        {\n            \"currency\": \"ILS\",\n            \"name\": \"Israeli New Shekel\"\n        },\n        {\n            \"currency\": \"KWD\",\n            \"name\": \"Kuwaiti Dinar\"\n        },\n        {\n            \"currency\": \"LKR\",\n            \"name\": \"Sri Lankan Rupee\"\n        },\n        {\n            \"currency\": \"MMK\",\n            \"name\": \"Myanmar Kyat\"\n        },\n        {\n            \"currency\": \"MXN\",\n            \"name\": \"Mexican Peso\"\n        },\n        {\n            \"currency\": \"MYR\",\n            \"name\": \"Malaysian Ringgit\"\n        },\n        {\n            \"currency\": \"NGN\",\n            \"name\": \"Nigerian Naira\"\n        },\n        {\n            \"currency\": \"NOK\",\n            \"name\": \"Norwegian Krone\"\n        },\n        {\n            \"currency\": \"PHP\",\n            \"name\": \"Philippine Peso\"\n        },\n        {\n            \"currency\": \"PKR\",\n            \"name\": \"Pakistani Rupee\"\n        },\n        {\n            \"currency\": \"PLN\",\n            \"name\": \"Polish Zloty\"\n        },\n        {\n            \"currency\": \"RUB\",\n            \"name\": \"Russian Ruble\"\n        },\n        {\n            \"currency\": \"SAR\",\n            \"name\": \"Saudi Riyal\"\n        },\n        {\n            \"currency\": \"SEK\",\n            \"name\": \"Swedish Krona\"\n        },\n        {\n            \"currency\": \"TRY\",\n            \"name\": \"Turkish Lira\"\n        },\n        {\n            \"currency\": \"UAH\",\n            \"name\": \"Ukrainian Hryvnia\"\n        },\n        {\n            \"currency\": \"VEF\",\n            \"name\": \"Venezuelan Bolívar\"\n        },\n        {\n            \"currency\": \"VND\",\n            \"name\": \"Vietnamese Dong\"\n        },\n        {\n            \"currency\": \"XDR\",\n            \"name\": \"IMF Special Drawing Rights\"\n        },\n        {\n            \"currency\": \"XAG\",\n            \"name\": \"Silver Ounce\"\n        },\n        {\n            \"currency\": \"XAU\",\n            \"name\": \"Gold Ounce\"\n        }\n    ],\n    \"result\": true\n}"}],"_postman_id":"35238e3e-d623-4762-9d89-17f1feed66c4"},{"name":"Get Support Crypto Currency List","event":[{"listen":"test","script":{"id":"ad818465-69cf-44b6-8912-ce3a2ba7d72a","exec":[""],"type":"text/javascript","packages":{}}}],"id":"be4d354e-5630-41ff-89fb-c2e3b9c0de6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/order/pay/crypto-currency","description":"<p>Get a list of supported fiat currencies.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","name":"Signature Authentication Method","type":"folder"}},"urlObject":{"path":["api","order","pay","crypto-currency"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"5d102be9-2264-48c3-b779-3d54d8b1cb06","name":"Code: 0 | OK","originalRequest":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/order/pay/crypto-currency"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"close"},{"key":"Content-Length","value":"555"},{"key":"A-Trace-Id","value":"210dad4e"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 13 Jun 2024 09:28:02 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": [\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"ETH\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"USDT-ERC20\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"USDC-ERC20\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"DAI-ERC20\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"BTC\",\n            \"currency\": \"BTC\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"BLN\",\n            \"currency\": \"BTC-LN\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"LTC\",\n            \"currency\": \"LTC\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"BSC\",\n            \"currency\": \"BNB\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"TRX\",\n            \"currency\": \"USDT-TRC20\",\n            \"status\": true\n        },\n        {\n            \"chain\": \"TRX\",\n            \"currency\": \"USDC-TRC20\",\n            \"status\": true\n        }\n    ],\n    \"result\": true\n}"}],"_postman_id":"be4d354e-5630-41ff-89fb-c2e3b9c0de6f"},{"name":"Get Payment URL","event":[{"listen":"prerequest","script":{"id":"df780fb7-8963-4db9-99f0-ef831bd533ab","exec":[""],"type":"text/javascript","packages":{}}}],"id":"bdb0ba72-e818-44e4-a604-b4cb73a6527c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"price\": 10, // Order amount in real currency - required\r\n    \"currency\": \"USD\", // Real currency type - required\r\n    \"succeed_url\": \"https://example.com/succeed_url\", // Redirect URL to checkout page after successful payment\r\n    \"timeout_url\": \"https://example.com/timeout_url\", // Redirect URL to checkout page after payment timeout\r\n    \"callback_url\": \"https://example.com/callback_url\", // Callback URL(GET) after successful payment\r\n    \"timeout_callback\": \"https://example.com/timeout_callback\" // Callback URL(GET) after payment timeout\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/order/pay-url","description":"<p><strong>Generate payment URL for encrypted payment.</strong></p>\n<p>Add <code>API-Key</code> in <code>Headers</code> for authentication, which needs to be obtained from <code>/api/plugin/key</code> interface.</p>\n<p><strong>Request Body Description</strong></p>\n<ul>\n<li><p><strong>currency</strong> - The legal currency used in the order, the valid value can be viewed using <code>/api/order/pay/real-currency</code> API.</p>\n</li>\n<li><p><strong>price -</strong> The fiat currency amount paid for the order.</p>\n</li>\n<li><p><strong>succend_url</strong> - Link to page redirection after the order is completed, if this parameter is not passed, no redirection will be performed.</p>\n</li>\n<li><p><strong>timeout_url</strong> - The page redirection link after the order timeout, if this parameter is not passed, no redirection will be performed.</p>\n</li>\n<li><p><strong>callback_url</strong> - The callback URL after the order is completed, <code>Api-Key</code> will be attached to the request headers.</p>\n</li>\n<li><p><strong>timeout_callback</strong> - The callback URL after the order timeout, <code>Api-Key</code> will be appended to the request headers.</p>\n</li>\n</ul>\n<p>Note: The request body is in JSON format. Please set the <code>API-Key</code> in the request header before executing the request.</p>\n<h4 id=\"callback-request-details\">Callback Request Details</h4>\n<blockquote>\n<p>Applicable to <code>callback_url</code> and <code>timeout_callback</code> fields </p>\n</blockquote>\n<p>The callback request is a GET request, and a normal response should be 200.<br />When the order status is successful, the <code>callback_url</code> URL will be requested;<br />When the order status times out, the <code>timeout_callback</code> URL will be requested.</p>\n","urlObject":{"path":["api","order","pay-url"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"8ac84937-7855-46e2-af9a-dda6d14a57a8","name":"Code: 0 | OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"price\": 100, // Order amount in real currency - required\r\n    \"currency\": \"USD\", // Real currency type - required\r\n    \"id\": \"123456\", // Original order ID\r\n    \"url\": \"https://example.com/order/123456\", // Order URL\r\n    \"succeed_url\": \"https://example.com/succeed_url\", // Redirect URL to checkout page after successful payment\r\n    \"timeout_url\": \"https://example.com/timeout_url\", // Redirect URL to checkout page after payment timeout\r\n    \"callback_url\": \"https://example.com/callback_url\", // Callback URL after successful payment\r\n    \"timeout_callback\": \"https://example.com/timeout_callback\" // Callback URL after payment timeout\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/order/pay-url"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 27 Feb 2023 09:15:14 GMT"},{"key":"server","value":"uvicorn"},{"key":"content-length","value":"169"},{"key":"content-type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"pay_url\": \"https://dashboard.aurpay.net/#/cashier/choose?token=1ad16906cce282a5abe0e666ad99bddf20229630f948e5537f5b46f1f5beee1a\"\n    },\n    \"result\": true\n}"},{"id":"35e3d061-63a0-4323-ac02-13115824821f","name":"Code: 401","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"chain\": \"ETH\", // Blockchain - required\r\n    \"currency\": \"ETH\", // Cryptocurrency - required\r\n    \"origin\": { // Original order information - required\r\n        \"price\": 100, // Order amount in real currency - required\r\n        \"currency\": \"USD\", // Real currency type - required\r\n        \"id\": \"123456\", // Original order ID\r\n        \"url\": \"https://example.com/order/123456\", // Order URL\r\n        \"succeed_url\": \"https://example.com/succeed_url\", // Redirect URL to checkout page after successful payment\r\n        \"timeout_url\": \"https://example.com/timeout_url\", // Redirect URL to checkout page after payment timeout\r\n        \"callback_url\": \"https://example.com/callback_url\", // Callback URL after successful payment\r\n        \"timeout_callback\": \"https://example.com/timeout_callback\" // Callback URL after payment timeout\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/order/pay/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 27 Feb 2023 07:57:40 GMT"},{"key":"server","value":"uvicorn"},{"key":"content-length","value":"94"},{"key":"content-type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 401,\n    \"message\": \"The API-Key is missing in the request header\",\n    \"data\": {},\n    \"result\": false\n}"}],"_postman_id":"bdb0ba72-e818-44e4-a604-b4cb73a6527c"},{"name":"Get Payment Info","event":[{"listen":"test","script":{"id":"927fed44-4a40-4904-aeb9-98a3e6c37f06","exec":[""],"type":"text/javascript","packages":{}}}],"id":"2b9908b4-6a1d-437c-8d47-0fac876f6123","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"chain\": \"ETH\", // Supported blockchain\r\n    \"currency\": \"USDT-ERC20\", // Supported Cryptocurrency currency\r\n    \"vs_currency\": \"USD\", // Order amount in real currency - required\r\n    \"vs_price\": 18, // Real currency type - required\r\n    \"succeed_url\": \"https://example.com/succeed_url\", // Redirect URL to checkout page after successful payment\r\n    \"timeout_url\": \"https://example.com/timeout_url\", // Redirect URL to checkout page after payment timeout\r\n    \"callback_url\": \"https://example.com/callback_url\", // Callback URL(GET) after successful payment\r\n    \"timeout_callback\": \"https://example.com/timeout_callback\" // Callback URL(GET) after payment timeout\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/order/pay-info","urlObject":{"path":["api","order","pay-info"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"472b3df9-7653-4d51-90f3-b0d8b4975be6","name":"Code: 0 | OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"chain\": \"ETH\", // Supported blockchain\r\n    \"currency\": \"USDT-ERC20\", // Supported Cryptocurrency currency\r\n    \"vs_currency\": \"USD\", // Order amount in real currency - required\r\n    \"vs_price\": 18, // Real currency type - required\r\n    \"succeed_url\": \"https://example.com/succeed_url\", // Redirect URL to checkout page after successful payment\r\n    \"timeout_url\": \"https://example.com/timeout_url\", // Redirect URL to checkout page after payment timeout\r\n    \"callback_url\": \"https://example.com/callback_url\", // Callback URL(GET) after successful payment\r\n    \"timeout_callback\": \"https://example.com/timeout_callback\" // Callback URL(GET) after payment timeout\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/order/pay-info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 13 Jun 2024 09:36:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"a-trace-id","value":"F38CEB78"},{"key":"a-pt","value":"107"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=cRghcalU0XPZBSOfJ1UwWbpyGLfonikg0yni6w2PFHGY3qZkUQj5ojqDularkWZLKC8YRViUY%2BbaEzacgZV%2By9PUsCfiHTp522vHq5hiDiM2j5ihAl9bs4Sf6mbulwI9ewIZ8U4FPQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8931185b090e0448-HKG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"order_id\": \"20240613093614690315\",\n        \"status\": \"PENDING\",\n        \"amount\": 18.0098,\n        \"create_time\": \"2024-06-13T09:36:14\",\n        \"vs_currency\": \"USD\",\n        \"vs_price\": 18,\n        \"address\": \"0x686691e7b70e9239e19eB4cd080DDb8aB6F33cf3\",\n        \"contract_addr\": \"0xdAC17F958D2ee523a2206206994597C13D831ec7\",\n        \"pay_url\": \"https://dashboard.aurpay.net/#/cashier/20240613093614690315\"\n    },\n    \"result\": true\n}"}],"_postman_id":"2b9908b4-6a1d-437c-8d47-0fac876f6123"},{"name":"Get Orders","id":"3d5dde81-052f-485b-a612-d5dfccc73fc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/v2/order/?page=1&size=10","description":"<h3 id=\"get-order-list\">Get Order List</h3>\n<p>This endpoint makes an HTTP GET request to retrieve a list of orders.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>This request does not contain a request body.</p>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response will be in JSON format with the following structure:</p>\n<ul>\n<li><p><code>code</code> (number): Represents the status code of the response.</p>\n</li>\n<li><p><code>message</code> (string): Provides additional information or error message if applicable.</p>\n</li>\n<li><p><code>data</code> (object): Contains the details of the order list, including pagination information and an array of orders.</p>\n<ul>\n<li><p><code>page</code> (number): The current page number.</p>\n</li>\n<li><p><code>size</code> (number): The number of orders per page.</p>\n</li>\n<li><p><code>total</code> (number): The total number of orders.</p>\n</li>\n<li><p><code>max_page</code> (number): The maximum page number.</p>\n</li>\n<li><p><code>data</code> (array): An array of order objects, each containing the following properties:</p>\n<ul>\n<li><p><code>user_id</code> (string): The user ID associated with the order.</p>\n</li>\n<li><p><code>order_id</code> (string): The ID of the order.</p>\n</li>\n<li><p><code>order_type</code> (string): The type of the order.</p>\n</li>\n<li><p><code>platform</code> (string): The platform related to the order.</p>\n</li>\n<li><p><code>status</code> (string): The status of the order, which can be one of the following: PENDING, OVERDUE, SUCCESS, RESOLVED, PARTIAL, TERMINATED, REFUNDED.</p>\n</li>\n<li><p><code>chain</code> (string): The blockchain chain associated with the order.</p>\n</li>\n<li><p><code>chain_name</code> (string): The name of the blockchain chain.</p>\n</li>\n<li><p><code>currency</code> (string): The currency used in the order.</p>\n</li>\n<li><p><code>amount</code> (string): The amount of the order.</p>\n</li>\n<li><p><code>vs_price</code> (string): The price relative to a specific currency.</p>\n</li>\n<li><p><code>vs_currency</code> (string): The specific currency used for comparison.</p>\n</li>\n<li><p><code>remark</code> (string): Any additional remarks related to the order.</p>\n</li>\n<li><p><code>refund</code> (boolean): Indicates if the order is eligible for a refund.</p>\n</li>\n<li><p><code>create_time</code> (string): The timestamp of the order creation.</p>\n</li>\n<li><p><code>update_time</code> (string): The timestamp of the order update.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><code>result</code> (boolean): Indicates the result of the request, where <code>true</code> represents a successful response.</p>\n</li>\n</ul>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","name":"Signature Authentication Method","type":"folder"}},"urlObject":{"path":["api","v2","order",""],"host":["https://dashboard.aurpay.net"],"query":[{"disabled":true,"description":{"content":"<p>Optional: Order ID</p>\n","type":"text/plain"},"key":"order_id","value":""},{"disabled":true,"description":{"content":"<p>Optional: Order Status \nAvailable values: </p>\n<ul>\n<li>PENDING</li>\n<li>SUCCESS</li>\n<li>RESOLVED</li>\n<li>PARTIAL</li>\n<li>OVERDUE</li>\n<li>FAILED</li>\n<li>TERMINATED</li>\n<li>REFUNDED</li>\n</ul>\n","type":"text/plain"},"key":"status","value":"PENDING"},{"disabled":true,"description":{"content":"<p>Optional: Order Type\nAvailable Values:</p>\n<ul>\n<li>ORDER</li>\n<li>INVOICE</li>\n<li>WITHDRAW</li>\n</ul>\n","type":"text/plain"},"key":"order_type","value":"ORDER"},{"disabled":true,"description":{"content":"<p>Optional: Chain</p>\n","type":"text/plain"},"key":"chain","value":"ETH"},{"disabled":true,"description":{"content":"<p>Optional: Currency</p>\n","type":"text/plain"},"key":"currency","value":"USDT-ERC20"},{"description":{"content":"<p>Query page count, Range: &gt;0</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Query page size, Range: 1~100</p>\n","type":"text/plain"},"key":"size","value":"10"},{"disabled":true,"description":{"content":"<p>Start: Order creation time</p>\n","type":"text/plain"},"key":"st","value":"2024-10-10T00:00:00"},{"disabled":true,"description":{"content":"<p>End: Order creation time</p>\n","type":"text/plain"},"key":"et","value":"2024-10-20T00:00:00"}],"variable":[]}},"response":[{"id":"e4dfa815-781b-4400-9ed3-176b99643127","name":"Code: 0 | OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://dashboard.aurpay.net/api/v2/order/?page=1&size=10","host":["https://dashboard.aurpay.net"],"path":["api","v2","order",""],"query":[{"key":"order_id","value":null,"description":"Optional: Order ID","disabled":true},{"key":"status","value":"PENDING","description":"Optional: Order Status \nAvailable values: \n- PENDING\n- SUCCESS\n- RESOLVED\n- PARTIAL\n- OVERDUE\n- FAILED\n- TERMINATED\n- REFUNDED","disabled":true},{"key":"order_type","value":"ORDER","description":"Optional: Order Type\nAvailable Values:\n- ORDER\n- INVOICE\n- WITHDRAW","disabled":true},{"key":"chain","value":"ETH","description":"Optional: Chain","disabled":true},{"key":"currency","value":"USDT-ERC20","description":"Optional: Currency","disabled":true},{"key":"page","value":"1","description":"Query page count, Range: >0"},{"key":"size","value":"10","description":"Query page size, Range: 1~100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 07 Aug 2024 03:37:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"a-trace-id","value":"E60BE4EF"},{"key":"a-pt","value":"89"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ClSL4Yd9bEuIDB7M3XLGLP%2F3aguY%2FD%2FCRnRTzUAKNFeDLjh%2B5We6xDZ63UgK5Uqo%2FPdwMn934YUi6eBIN2Muvqyy4GTIEZrN%2B68u3dToaDSKRrp5aUiPK%2BQjBe01pho%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8af43a995f3e9c3e-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"page\": 1,\n        \"size\": 10,\n        \"total\": 43,\n        \"max_page\": 5,\n        \"data\": [\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240806071926377966\",\n                \"order_type\": \"INVOICE\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"PENDING\",\n                \"chain\": \"TRX\",\n                \"chain_name\": \"Tron\",\n                \"currency\": \"USDC-TRC20\",\n                \"amount\": \"19.0012\",\n                \"vs_price\": \"19.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-08-06T07:19:26\",\n                \"update_time\": \"2024-08-06T07:19:26\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613091501215821\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"PAYMENTBUTTON\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"ETH\",\n                \"chain_name\": \"Ethereum\",\n                \"currency\": \"USDT-ERC20\",\n                \"amount\": \"1.0009\",\n                \"vs_price\": \"1.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T09:15:01\",\n                \"update_time\": \"2024-06-13T09:15:01\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613084814504314\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"ETH\",\n                \"chain_name\": \"Ethereum\",\n                \"currency\": \"USDT-ERC20\",\n                \"amount\": \"18.005\",\n                \"vs_price\": \"18.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T08:48:14\",\n                \"update_time\": \"2024-06-13T08:48:14\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613084802621586\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"TRX\",\n                \"chain_name\": \"Tron\",\n                \"currency\": \"USDT-TRC20\",\n                \"amount\": \"18.0053\",\n                \"vs_price\": \"18.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T08:48:02\",\n                \"update_time\": \"2024-06-13T08:48:02\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613084112011859\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"LTC\",\n                \"chain_name\": \"Litecoin\",\n                \"currency\": \"LTC\",\n                \"amount\": \"0.000008\",\n                \"vs_price\": \"0.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T08:41:12\",\n                \"update_time\": \"2024-06-13T08:41:12\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613083624559401\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"ETH\",\n                \"chain_name\": \"Ethereum\",\n                \"currency\": \"ETH\",\n                \"amount\": \"0.000004\",\n                \"vs_price\": \"0.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T08:36:24\",\n                \"update_time\": \"2024-06-13T08:36:24\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613075711753948\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"ETH\",\n                \"chain_name\": \"Ethereum\",\n                \"currency\": \"USDT-ERC20\",\n                \"amount\": \"18.0015\",\n                \"vs_price\": \"18.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T07:57:11\",\n                \"update_time\": \"2024-06-13T07:57:11\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613075708521768\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"ETH\",\n                \"chain_name\": \"Ethereum\",\n                \"currency\": \"USDT-ERC20\",\n                \"amount\": \"18.0013\",\n                \"vs_price\": \"18.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T07:57:08\",\n                \"update_time\": \"2024-06-13T07:57:08\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613075705873697\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"ETH\",\n                \"chain_name\": \"Ethereum\",\n                \"currency\": \"USDT-ERC20\",\n                \"amount\": \"18.0016\",\n                \"vs_price\": \"18.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T07:57:05\",\n                \"update_time\": \"2024-06-13T07:57:05\"\n            },\n            {\n                \"user_id\": \"mct-07d283468bf8\",\n                \"order_id\": \"20240613075702518420\",\n                \"order_type\": \"ORDER\",\n                \"platform\": \"AURPAY\",\n                \"status\": \"OVERDUE\",\n                \"chain\": \"ETH\",\n                \"chain_name\": \"Ethereum\",\n                \"currency\": \"USDT-ERC20\",\n                \"amount\": \"18.002\",\n                \"vs_price\": \"18.0\",\n                \"vs_currency\": \"USD\",\n                \"remark\": \"\",\n                \"refund\": false,\n                \"create_time\": \"2024-06-13T07:57:02\",\n                \"update_time\": \"2024-06-13T07:57:02\"\n            }\n        ]\n    },\n    \"result\": true\n}"}],"_postman_id":"3d5dde81-052f-485b-a612-d5dfccc73fc9"},{"name":"Get Orders Details","id":"d5e060ff-2c58-4e66-8bb9-88b0dc5f7792","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/v2/order/detail/:order_id","description":"<p>This endpoint retrieves the details of a specific order by providing the order ID in the URL path.</p>\n<h2 id=\"request\">Request</h2>\n<h3 id=\"path-parameters\">Path Parameters</h3>\n<ul>\n<li><code>order_id</code> (string) - The unique identifier of the order.</li>\n</ul>\n<h2 id=\"response\">Response</h2>\n<ul>\n<li><p><code>code</code> (number) - The status code of the response.</p>\n</li>\n<li><p><code>message</code> (string) - A message related to the response.</p>\n</li>\n<li><p><code>data</code> (object) - An object containing the details of the order:</p>\n<ul>\n<li><p><code>user_id</code> (string) - The user ID associated with the order.</p>\n</li>\n<li><p><code>order_id</code> (string) - The unique identifier of the order.</p>\n</li>\n<li><p><code>order_type</code> (string) - The type of the order.</p>\n</li>\n<li><p><code>platform</code> (string) - The platform on which the order was placed.</p>\n</li>\n<li><p><code>status</code> (string) - The status of the order.</p>\n</li>\n<li><p><code>chain</code> (string) - The blockchain chain associated with the order.</p>\n</li>\n<li><p><code>chain_name</code> (string) - The name of the blockchain chain.</p>\n</li>\n<li><p><code>currency</code> (string) - The currency used in the order.</p>\n</li>\n<li><p><code>amount</code> (string) - The amount of currency involved in the order.</p>\n</li>\n<li><p><code>vs_price</code> (string) - The price of the currency in comparison to another currency.</p>\n</li>\n<li><p><code>vs_currency</code> (string) - The currency used for price comparison.</p>\n</li>\n<li><p><code>remark</code> (string) - Any additional remarks related to the order.</p>\n</li>\n<li><p><code>refund</code> (boolean) - Indicates if the order is eligible for a refund.</p>\n</li>\n<li><p><code>create_time</code> (string) - The timestamp of order creation.</p>\n</li>\n<li><p><code>update_time</code> (string) - The timestamp of the last update to the order.</p>\n</li>\n<li><p><code>tx_id</code> (string) - The transaction ID associated with the order.</p>\n</li>\n<li><p><code>tx_type</code> (string) - The type of transaction.</p>\n</li>\n<li><p><code>obtained</code> (null) - The obtained value (if applicable).</p>\n</li>\n<li><p><code>fee</code> (string) - The fee associated with the order.</p>\n</li>\n<li><p><code>from_addr</code> (null) - The address from which the transaction originated.</p>\n</li>\n<li><p><code>to_addr</code> (boolean) - Indicates if there is a destination address associated with the order.</p>\n</li>\n<li><p><code>tx_hash</code> (string) - The hash of the transaction.</p>\n</li>\n<li><p><code>contract_id</code> (null) - The contract ID associated with the order.</p>\n</li>\n</ul>\n</li>\n<li><p><code>result</code> (boolean) - Indicates the result of the response.</p>\n</li>\n</ul>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","name":"Signature Authentication Method","type":"folder"}},"urlObject":{"path":["api","v2","order","detail",":order_id"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[{"id":"6928980c-7fa4-4b3c-9e52-bd7a79cdf816","description":{"content":"<p>Order ID</p>\n","type":"text/plain"},"type":"any","value":"20240806071926377966","key":"order_id"}]}},"response":[{"id":"86232441-b801-4232-961c-63537853d8d4","name":"Code: 0 | OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://dashboard.aurpay.net/api/v2/order/detail/:order_id","host":["https://dashboard.aurpay.net"],"path":["api","v2","order","detail",":order_id"],"variable":[{"key":"order_id","value":"20240806071926377966","description":"Order ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 07 Aug 2024 03:59:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"a-trace-id","value":"9DDA4D88"},{"key":"a-pt","value":"108"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=jw%2F44fERys0Mf3ONunVJPPc9FLp9fb%2F5ypINZjJuumQ%2F37cvMURn6l4YXUvoaM7N3OQoGd1Ap7lhOQirph%2BxMh8bU88IqZQNvS7EjUcBBJ7UR2XawhwcR0XEvHTuRXI%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8af45a7a9ef73f74-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"user_id\": \"mct-07d283468bf8\",\n        \"order_id\": \"20240806071926377966\",\n        \"order_type\": \"INVOICE\",\n        \"platform\": \"AURPAY\",\n        \"status\": \"PENDING\",\n        \"chain\": \"TRX\",\n        \"chain_name\": \"Tron\",\n        \"currency\": \"USDC-TRC20\",\n        \"amount\": \"19.0012\",\n        \"vs_price\": \"19.0\",\n        \"vs_currency\": \"USD\",\n        \"remark\": \"\",\n        \"refund\": false,\n        \"create_time\": \"2024-08-06T07:19:26\",\n        \"update_time\": \"2024-08-06T07:19:26\",\n        \"tx_id\": \"68e9e5ed-28b8-4723-97fc-de5c643652e5\",\n        \"tx_type\": \"INVOICE\",\n        \"obtained\": null,\n        \"fee\": \"0.2\",\n        \"from_addr\": null,\n        \"to_addr\": false,\n        \"tx_hash\": \"\",\n        \"contract_id\": null\n    },\n    \"result\": true\n}"}],"_postman_id":"d5e060ff-2c58-4e66-8bb9-88b0dc5f7792"},{"name":"Get Transaction","id":"fb621c04-5db6-4ba2-b542-38fc69f96c3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/v2/tx?page=1&size=10","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","name":"Signature Authentication Method","type":"folder"}},"urlObject":{"path":["api","v2","tx"],"host":["https://dashboard.aurpay.net"],"query":[{"disabled":true,"description":{"content":"<p>Optional: Transaction ID</p>\n","type":"text/plain"},"key":"tx_id","value":""},{"disabled":true,"description":{"content":"<p>Optional: Transaction Status \nAvailable values: </p>\n<ul>\n<li>PENDING</li>\n<li>SUCCESS</li>\n<li>RESOLVED</li>\n<li>OVERDUE</li>\n<li>FAILED</li>\n<li>TERMINATED</li>\n</ul>\n","type":"text/plain"},"key":"status","value":"PENDING"},{"disabled":true,"description":{"content":"<p>Optional: Transaction Type\nAvailable Values:</p>\n<ul>\n<li>ORDER</li>\n<li>INVOICE</li>\n<li>WITHDRAW</li>\n<li>UNKOWN</li>\n<li>SWAP</li>\n<li>REFUND</li>\n</ul>\n","type":"text/plain"},"key":"type","value":"UNKOWN"},{"disabled":true,"description":{"content":"<p>Optional: Chain</p>\n","type":"text/plain"},"key":"chain","value":"ETH"},{"disabled":true,"description":{"content":"<p>Optional: Currency</p>\n","type":"text/plain"},"key":"currency","value":"USDT-ERC20"},{"description":{"content":"<p>Query page count, Range: &gt;0</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Query page size, Range: 1~100</p>\n","type":"text/plain"},"key":"size","value":"10"},{"disabled":true,"key":"st","value":"2024-10-10T00:00:00"},{"disabled":true,"key":"et","value":"2024-10-23T00:00:00"},{"disabled":true,"description":{"content":"<p>Query time order: desc, asc</p>\n","type":"text/plain"},"key":"sort","value":"desc"}],"variable":[]}},"response":[{"id":"60d4e2f2-1805-44ac-8000-d0d4bb6aa507","name":"Code: 0 | OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://dashboard.aurpay.net/api/v2/tx?page=1&size=10&st=2024-10-10T00:00:00&sort=asc","host":["https://dashboard.aurpay.net"],"path":["api","v2","tx"],"query":[{"key":"tx_id","value":"158809fb-82aa-4acb-9fef-7225e2d72e40","description":"Optional: Transaction ID","disabled":true},{"key":"status","value":"PENDING","description":"Optional: Transaction Status \nAvailable values: \n- PENDING\n- SUCCESS\n- RESOLVED\n- OVERDUE\n- FAILED\n- TERMINATED","disabled":true},{"key":"type","value":"UNKOWN","description":"Optional: Transaction Type\nAvailable Values:\n- ORDER\n- INVOICE\n- WITHDRAW\n- UNKOWN\n- SWAP\n- REFUND","disabled":true},{"key":"chain","value":"ETH","description":"Optional: Chain","disabled":true},{"key":"currency","value":"USDT-ERC20","description":"Optional: Currency","disabled":true},{"key":"page","value":"1","description":"Query page count, Range: >0"},{"key":"size","value":"10","description":"Query page size, Range: 1~100"},{"key":"st","value":"2024-10-10T00:00:00"},{"key":"et","value":"2024-10-23T00:00:00","disabled":true},{"key":"sort","value":"asc","description":"Query time order: desc, asc","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 28 Oct 2024 06:36:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"a-trace-id","value":"Q6S7FM4A"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"a-pt","value":"110"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=1lZmq4ImZl44OcHrzFtEEsrpvHHB9y%2B92LUayetC%2FXQaMGc7%2BV7RumilySW3LTrYYuJbXQuIkYi0B%2FID0ojZy%2Bu7EBDkKyHTBVtQCQC%2FM6ZTqwlUrKytNkINZN6EUxYwEjkK5Jh2aw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8d98ea0c2ebb46f1-SIN"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1181&sent=4&recv=6&lost=0&retrans=0&sent_bytes=2806&recv_bytes=1050&delivery_rate=2209000&cwnd=251&unsent_bytes=0&cid=c4502baf82ad81c6&ts=318&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"page\": 1,\n        \"size\": 10,\n        \"total\": 4,\n        \"max_page\": 1,\n        \"data\": [\n            {\n                \"user_id\": \"mct-1801a2556486\",\n                \"tx_id\": \"b6f23711-e86c-4dbe-a428-83a84d5296d0\",\n                \"tx_type\": \"WITHDRAW\",\n                \"status\": \"SUCCESS\",\n                \"chain\": \"ETH\",\n                \"currency\": \"USDC-ERC20\",\n                \"amount\": \"1.8005\",\n                \"obtained\": \"0.6808\",\n                \"fee\": \"0\",\n                \"from_addr\": \"0xfab26967128010A17F12bb4FEce9919d7D061215\",\n                \"to_addr\": \"0xd2Ba0F302Db1cae5B2d1A2DB2405532b46B11dae\",\n                \"tx_hash\": \"0xa629bbd3b8808b17fe4c0f59ee004f1094dc1f71b71c777c3d48981dc10c0e3e\",\n                \"event_time\": \"2024-10-10T02:22:06\"\n            },\n            {\n                \"user_id\": \"mct-1801a2556486\",\n                \"tx_id\": \"ac292490-e5cc-4217-979c-039c2b90bd83\",\n                \"tx_type\": \"SWAP\",\n                \"status\": \"SUCCESS\",\n                \"chain\": \"ETH\",\n                \"currency\": \"USDT-ERC20\",\n                \"amount\": \"23.4668\",\n                \"obtained\": \"23.4668\",\n                \"fee\": \"0\",\n                \"from_addr\": \"0\",\n                \"to_addr\": \"0x0ba476533C07845B10fB8Dd63A78978a926ef2EC\",\n                \"tx_hash\": null,\n                \"event_time\": \"2024-10-23T12:06:15\"\n            },\n            {\n                \"user_id\": \"mct-1801a2556486\",\n                \"tx_id\": \"4b4a66ad-9661-402f-a978-ff81d432c70e\",\n                \"tx_type\": \"SWAP\",\n                \"status\": \"SUCCESS\",\n                \"chain\": \"BLN\",\n                \"currency\": \"BTC-LN\",\n                \"amount\": \"0.00039859\",\n                \"obtained\": \"0.0003534\",\n                \"fee\": \"0.00004519\",\n                \"from_addr\": \"0\",\n                \"to_addr\": \"0x0ba476533C07845B10fB8Dd63A78978a926ef2EC\",\n                \"tx_hash\": null,\n                \"event_time\": \"2024-10-23T12:06:19\"\n            },\n            {\n                \"user_id\": \"mct-1801a2556486\",\n                \"tx_id\": \"158809fb-82aa-4acb-9fef-7225e2d72e40\",\n                \"tx_type\": \"WITHDRAW\",\n                \"status\": \"SUCCESS\",\n                \"chain\": \"ETH\",\n                \"currency\": \"USDT-ERC20\",\n                \"amount\": \"9.4668\",\n                \"obtained\": \"4.1724\",\n                \"fee\": \"0\",\n                \"from_addr\": \"0xBB9043C5dEC27573DeEf97D750bCC52195F19009\",\n                \"to_addr\": \"0x9AD681c8f730479b143570E67c0357B3eD873806\",\n                \"tx_hash\": \"0x67bf6431c602b6c3c8c23705073aa3529788d4b4fcafb0602573eb5eed1eb5f8\",\n                \"event_time\": \"2024-10-27T11:46:57\"\n            }\n        ]\n    },\n    \"result\": true\n}"}],"_postman_id":"fb621c04-5db6-4ba2-b542-38fc69f96c3c"},{"name":"Get Orders Refund Info","id":"1cc180fa-3f47-4cf9-9b63-5584a6e320a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/v2/order/refund-info/:order_id","description":"<h3 id=\"get-order-refund-information\">Get Order Refund Information</h3>\n<p>This endpoint makes an HTTP GET request to <code>/api/v2/order/refund-info/:order_id</code> to retrieve the refund information of a specific order.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>This request does not require a request body.</p>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response of this request is a JSON object representing the refund information of the order. The structure of the response is as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"number\",\n    \"message\": \"string\",\n    \"data\": {\n        \"order_id\": \"string\",\n        \"chain\": \"string\",\n        \"currency\": \"string\",\n        \"amount\": \"number\",\n        \"network_fee\": \"number\",\n        \"obtained\": \"number\",\n        \"from_addr\": \"string\",\n        \"to_addr\": \"string\",\n        \"refund_et\": \"number\"\n    },\n    \"result\": \"boolean\"\n}\n\n</code></pre>\n<ul>\n<li><p><code>code</code>: The status code of the response.</p>\n</li>\n<li><p><code>message</code>: Additional information related to the response.</p>\n</li>\n<li><p><code>data</code>: An object containing the refund information with the following attributes:</p>\n<ul>\n<li><p><code>order_id</code>: The unique identifier of the order.</p>\n</li>\n<li><p><code>chain</code>: The chain associated with the refund.</p>\n</li>\n<li><p><code>currency</code>: The currency of the refund.</p>\n</li>\n<li><p><code>amount</code>: The refunded amount.</p>\n</li>\n<li><p><code>network_fee</code>: The network fee for the refund.</p>\n</li>\n<li><p><code>obtained</code>: The obtained amount.</p>\n</li>\n<li><p><code>from_addr</code>: The address from which the refund was initiated.</p>\n</li>\n<li><p><code>to_addr</code>: The address to which the refund was sent.</p>\n</li>\n<li><p><code>refund_et</code>: The timestamp for the refund.</p>\n</li>\n</ul>\n</li>\n<li><p><code>result</code>: A boolean indicating the result of the request.</p>\n</li>\n</ul>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","name":"Signature Authentication Method","type":"folder"}},"urlObject":{"path":["api","v2","order","refund-info",":order_id"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[{"id":"48f01cf3-1f67-4669-a8fb-ba0033aaa8ef","description":{"content":"<p>Order ID</p>\n","type":"text/plain"},"type":"any","value":"20240614061316661529","key":"order_id"}]}},"response":[{"id":"fd244646-8c58-497e-abb5-836461f45906","name":"Code: 0 | OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://dashboard.aurpay.net/api/v2/order/refund-info/:order_id","host":["https://dashboard.aurpay.net"],"path":["api","v2","order","refund-info",":order_id"],"variable":[{"key":"order_id","value":"20240614061316661529","description":"Order ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 07 Aug 2024 06:54:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"a-trace-id","value":"8EAE9193"},{"key":"a-pt","value":"117"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=AOkDBSUjSV5qtseJBE86kRiN%2Fg88FZmvBPxlDRnV4FUAa3jr5gFtYdDRX9lFLAGgrzHsxHiYEjrI%2BxRPHWnwoWy4pBcEm0GDQCygUulYS5O9HFw49XYQyatVLtkq7GI%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8af55a7a6e06ce13-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"order_id\": \"20240614061316661529\",\n        \"chain\": \"TRX\",\n        \"currency\": \"USDT-TRC20\",\n        \"amount\": 7.6883,\n        \"network_fee\": 0.353,\n        \"obtained\": 7.3353,\n        \"from_addr\": \"TMiJBaNdRVABNhZGwBx5vKWYCafCwGzuWn\",\n        \"to_addr\": \"TFMsMzcQEmqEAxjaGnjQCE2TaeJYuHhCrF\",\n        \"refund_et\": 60\n    },\n    \"result\": true\n}"}],"_postman_id":"1cc180fa-3f47-4cf9-9b63-5584a6e320a1"},{"name":"Orders Refund","id":"366bbbe6-c55a-4fd6-97ab-4cafec9de447","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://dashboard.aurpay.net/api/v2/order/refund/:order_id","description":"<h3 id=\"get-order-refund-status\">Get Order Refund Status</h3>\n<p>This endpoint retrieves the refund status of a specific order by making an HTTP GET request to <code>/api/v2/order/refund/:order_id</code>.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>This request does not require a request body.</p>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response of this request is a JSON object representing the refund status of the order. The JSON schema for the response can be documented as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"order_id\": \"string\",\n    \"refund_status\": \"string\",\n    \"refund_amount\": \"number\",\n    \"refund_date\": \"string\"\n}\n\n</code></pre>\n<ul>\n<li><p><code>order_id</code>: The unique identifier of the order.</p>\n</li>\n<li><p><code>refund_status</code>: The status of the refund, which can be one of the following: PENDING, SUCCESS, RESOLVED, PARTIAL, TERMINATED, REFUNDED.</p>\n</li>\n<li><p><code>refund_amount</code>: The amount refunded for the order.</p>\n</li>\n<li><p><code>refund_date</code>: The date and time when the refund was initiated.</p>\n</li>\n</ul>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","name":"Signature Authentication Method","type":"folder"}},"urlObject":{"path":["api","v2","order","refund",":order_id"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[{"id":"34df124c-b96f-4668-8019-6941e0c8b255","type":"any","value":"20240614061316661529","key":"order_id"}]}},"response":[{"id":"fc44deb0-54de-4b6d-8852-67391b7f6161","name":"Orders Refund","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://dashboard.aurpay.net/api/v2/order/refund/:order_id","host":["https://dashboard.aurpay.net"],"path":["api","v2","order","refund",":order_id"],"variable":[{"key":"order_id","value":"20240614061316661529"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 07 Aug 2024 07:01:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"a-trace-id","value":"5962144B"},{"key":"a-pt","value":"3025"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ATwhahK0il3IJ%2FQku90dWmQ6%2BoAoL1V%2FuL%2B2FTqqREqZUYlufF9xgntMcOUhVjJisR8WzZ5mDHtsCN32%2BDka4q4%2BbuSW%2FgkkIIOYbnal%2BF556675jtexvhEv7a3dKo4%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8af5654e59c3ce02-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"order_id\": \"20240614061316661529\",\n        \"chain\": \"TRX\",\n        \"currency\": \"USDT-TRC20\",\n        \"amount\": 7.6883,\n        \"network_fee\": 0.3535,\n        \"obtained\": 7.3348,\n        \"from_addr\": \"TMiJBaNdRVABNhZGwBx5vKWYCafCwGzuWn\",\n        \"to_addr\": \"TFMsMzcQEmqEAxjaGnjQCE2TaeJYuHhCrF\",\n        \"refund_et\": 60\n    },\n    \"result\": true\n}"}],"_postman_id":"366bbbe6-c55a-4fd6-97ab-4cafec9de447"},{"name":"Get BLN Balance","id":"00101709-f14c-4079-ab7e-c76ac8cf5663","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/bln/balance","description":"<p>Get Account Wallet Lightning Network wallet balance.</p>\n","urlObject":{"path":["api","bln","balance"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"47c7e5e6-1bce-4706-becc-4d6385805c86","name":"Get BLN Balance","originalRequest":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/bln/balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Apr 2024 12:43:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ZLT2M4abeF0phpm6K9IKpudEzfC1%2FD8PKSXY6U8%2Bpa8f8h0Una59Qpv%2FyKhh2pidQ0CJk2XSVcckFtOcbHN3YW%2ByUWettEH6quIm6jv1bSCepdlKJEnzWKERwoSIEd9zLJ%2BHCuA0Lg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"87b723c7ff9b9c1b-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"balance\": \"0.00002518\"\n    },\n    \"result\": true\n}"}],"_postman_id":"00101709-f14c-4079-ab7e-c76ac8cf5663"},{"name":"Create BLN Order","id":"70025046-1640-4e06-a103-6ae84a5dc1f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"price\": 20, // Order amount in real currency - required\r\n    \"currency\": \"USD\", // Real currency type - required\r\n    \"succeed_url\": \"https://example.com/succeed_url\", // Redirect URL to checkout page after successful payment\r\n    \"timeout_url\": \"https://example.com/timeout_url\", // Redirect URL to checkout page after payment timeout\r\n    \"callback_url\": \"https://example.com/callback_url\", // Callback URL(GET) after successful payment\r\n    \"timeout_callback\": \"https://example.com/timeout_callback\" // Callback URL(GET) after payment timeout\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/bln/order","description":"<h3 id=\"create-order\">Create Order</h3>\n<p>This endpoint allows you to create a new order for a payment transaction.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>price</code> (required, number): Order amount in real currency.</p>\n</li>\n<li><p><code>currency</code> (required, string): Real currency type.</p>\n</li>\n<li><p><code>succeed_url</code> (string): Redirect URL to checkout page after successful payment.</p>\n</li>\n<li><p><code>timeout_url</code> (string): Redirect URL to checkout page after payment timeout.</p>\n</li>\n<li><p><code>callback_url</code> (string): Callback URL after successful payment.</p>\n</li>\n<li><p><code>timeout_callback</code> (string): Callback URL after payment timeout.</p>\n</li>\n</ul>\n<h4 id=\"callback-request-details\">Callback Request Details</h4>\n<blockquote>\n<p>Applicable to <code>callback_url</code> and <code>timeout_callback</code> fields </p>\n</blockquote>\n<p>The callback request is a GET request, and a normal response should be 200.<br />When the order status is successful, the <code>callback_url</code> URL will be requested;<br />When the order status times out, the <code>timeout_callback</code> URL will be requested.</p>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p><code>code</code> (number): The status code of the response.</p>\n</li>\n<li><p><code>message</code> (string): A message regarding the status of the request.</p>\n</li>\n<li><p><code>data</code></p>\n<ul>\n<li><p><code>order_id</code> (string): The unique identifier for the created order.</p>\n</li>\n<li><p><code>status</code> (string): The status of the order (e.g., PENDING).</p>\n</li>\n<li><p><code>amount</code> (number): The amount of the order.</p>\n</li>\n<li><p><code>create_time</code> (string): The timestamp of when the order was created.</p>\n</li>\n<li><p><code>payment_request</code> (string): The payment request information.</p>\n</li>\n<li><p><code>pay_url</code> (string): The URL to proceed with the payment.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example\">Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"order_id\": \"20240426103947614609\",\n        \"status\": \"PENDING\",\n        \"amount\": 0.00155419,\n        \"create_time\": \"2024-04-26T10:39:47\",\n        \"payment_request\": \"lntb1554190n1pnzhprnpp5xtqfy2fuaucnpfw6yw7h4hap7t8rurt8f3qgkf369knf4zhwxjdqdp58yukydt9xs6nsc3hve3rgcmyvgunqwp3x3nrqetrxucnsdpsvfjscqzzsxqyz5vqsp5fs2adjrcrcded6nzc2g3wj56kku89uflg9nh0t4ry5avdasp7shq9qyyssqdjs3txpu2w482w55gpnzauqdd20qjg4x8276u2kje2295tk8wg73rgxna2pqrw5w60ra8cy2lnx6yvn5wcjzqy42p5rh9ap5ymhv2jgqmk3j9g\",\n        \"pay_url\": \"https://dashboard.aurpay.net/#/cashier/20240426103947614609\"\n    },\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"path":["api","bln","order"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"df0cc260-b5dd-4984-8e0f-faafd7d821b3","name":"Create BLN Order","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"price\": 20, // Order amount in real currency - required\r\n    \"currency\": \"USD\", // Real currency type - required\r\n    \"succeed_url\": \"https://example.com/succeed_url\", // Redirect URL to checkout page after successful payment\r\n    \"timeout_url\": \"https://example.com/timeout_url\", // Redirect URL to checkout page after payment timeout\r\n    \"callback_url\": \"https://example.com/callback_url\", // Callback URL after successful payment\r\n    \"timeout_callback\": \"https://example.com/timeout_callback\" // Callback URL after payment timeout\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/bln/order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Apr 2024 12:51:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Nbdyk9vtbxtnEw1j5sJRO8rv9bL6kYcKTFVpdJJwPCmq89hVR7MwmbuOuNVhprahmYT0llDeNcueEatck533S4IBSBxouthjJjGunPQs2NK0yj4PNsc9C3ivnCr%2BxLSbRr2BkDsqRA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"87b72f48de4f81ea-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"order_id\": \"20240428125136525824\",\n        \"status\": \"PENDING\",\n        \"amount\": \"0.00019044\",\n        \"create_time\": \"2024-04-28T12:00:00\",\n        \"payment_request\": \"lnbc190440n1pnzu3jcpp5vyvhqq2deguqqdcth5z0hslaawcd4jqv68n9w88fkc9yqm476fwsdp5xscrjcehv3jkyvpsvg6rgdpnxgungwp4x56njdm9xa3x2dfnxfsscqzzsxqyz5vqsp5cfk04pxdn64fe0hde6u2qpkw7eu3fdequ8vw7r4le4trr3mwryks9qyyssqlavvjxan9jqus8hpdztrtfp6v0t7saqflxp2srruzf8a3sta0lajwfacpnpfdz7eaagrvrzwzhcwma8f4x3rnzf9yq7z6f67pd8lxmqqsxf4hh\",\n        \"payment_addr\": \"c26cfa84cd9eaa9cbeedceb8a006cef67914b720e1d8ef0ebfcd5631c76e192d\",\n        \"pay_url\": \"https://dashboard.aurpay.net/#/cashier/20240428125136525824\",\n        \"currency\": \"BTC-LN\"\n    },\n    \"result\": true\n}"}],"_postman_id":"70025046-1640-4e06-a103-6ae84a5dc1f1"},{"name":"Create BLN Withdraw","id":"5ae11fbf-bb29-4ffd-b9bf-dcb3908abdf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"amount\": 0.00017293,\r\n    \"ln_invoices\": \"lnbc1pnzusnspp500cnjqhkc8vhzysu5flta5r3354mhw6fwra6n6dxlrcjwum99t0sdqqcqzzgxqyz5vqrzjqwnvuc0u4txn35cafc7w94gxvq5p3cu9dd95f7hlrh0fvs46wpvhd59tt67suv0w3vqqqqryqqqqthqqpysp5qg253wxrjmjzycrgm09vkkhyhzl75622drjf4z2neuw4ldags33s9qrsgqk0q86t9mmhxp9vhc9z4ra3p0crhs8g7rjsksccdxp7sk6fwcul75ze7xav2fcn58rzqvweqt4yfle3x4h2f58c8maffqkwrzed7qx7cp6ytnn0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/bln/withdraw","description":"<h3 id=\"post-apiblnwithdraw\">POST /api/bln/withdraw</h3>\n<p>This endpoint is used to initiate a withdrawal for a specified amount.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: POST</p>\n</li>\n<li><p>Endpoint: https://dashboard.aurpay.net/api/bln/withdraw</p>\n</li>\n<li><p>Body:</p>\n<ul>\n<li><p>ln_invoices (string, required): The Lightning Network invoices request for the withdrawal.</p>\n</li>\n<li><p>amount (string, optional): The amount of money to be withdrawn, which does not need to be added if the invoice request has an amount.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response is a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"code\": {\n      \"type\": \"integer\"\n    },\n    \"message\": {\n      \"type\": \"string\"\n    },\n    \"data\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"user_id\": {\n          \"type\": \"string\"\n        },\n        \"tx_id\": {\n          \"type\": \"string\"\n        },\n        \"type\": {\n          \"type\": \"string\"\n        },\n        \"status\": {\n          \"type\": \"string\"\n        },\n        \"chain\": {\n          \"type\": \"string\"\n        },\n        \"currency\": {\n          \"type\": \"string\"\n        },\n        \"amount\": {\n          \"type\": \"string\"\n        },\n        \"balance\": {\n          \"type\": \"string\"\n        },\n        \"update_time\": {\n          \"type\": \"string\"\n        }\n      }\n    },\n    \"result\": {\n      \"type\": \"boolean\"\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["api","bln","withdraw"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"aef2d45e-84ca-40c9-9103-b9255b067002","name":"Create BLN Withdraw","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ln_invoices\": \"lnbc1pnzusnspp500cnjqhkc8vhzysu5flta5r3354mhw6fwra6n6dxlrcjwum99t0sdqqcqzzgxqyz5vqrzjqwnvuc0u4txn35cafc7w94gxvq5p3cu9dd95f7hlrh0fvs46wpvhd59tt67suv0w3vqqqqryqqqqthqqpysp5qg253wxrjmjzycrgm09vkkhyhzl75622drjf4z2neuw4ldags33s9qrsgqk0q86t9mmhxp9vhc9z4ra3p0crhs8g7rjsksccdxp7sk6fwcul75ze7xav2fcn58rzqvweqt4yfle3x4h2f58c8maffqkwrzed7qx7cp6ytnn0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/bln/withdraw"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"close"},{"key":"Content-Length","value":"286"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 28 Apr 2024 08:49:24 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": {\n        \"user_id\": \"mct-fae46f21d1b9\",\n        \"tx_id\": \"9a2733ca-f523-4f9f-b20c-3135153f3cad\",\n        \"type\": \"WITHDRAW\",\n        \"status\": \"SUCCESS\",\n        \"chain\": \"BLN\",\n        \"currency\": \"BTC-LN\",\n        \"amount\": \"0.00004321\",\n        \"fee\": \"0\",\n        \"balance\": \"0.00277925368\",\n        \"update_time\": \"2024-04-28T08:00:00\"\n    },\n    \"result\": true\n}"},{"id":"7a31a4fe-2298-4fce-a042-d0410d3b9cc0","name":"Create BLN Withdraw","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"amount\": 1,\r\n    \"ln_invoices\": \"lnbc1pnzusnspp500cnjqhkc8vhzysu5flta5r3354mhw6fwra6n6dxlrcjwum99t0sdqqcqzzgxqyz5vqrzjqwnvuc0u4txn35cafc7w94gxvq5p3cu9dd95f7hlrh0fvs46wpvhd59tt67suv0w3vqqqqryqqqqthqqpysp5qg253wxrjmjzycrgm09vkkhyhzl75622drjf4z2neuw4ldags33s9qrsgqk0q86t9mmhxp9vhc9z4ra3p0crhs8g7rjsksccdxp7sk6fwcul75ze7xav2fcn58rzqvweqt4yfle3x4h2f58c8maffqkwrzed7qx7cp6ytnn0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/bln/withdraw"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Apr 2024 12:50:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=eG3EDlNVEy%2FJy8WNCvM8hUANkGiEb0PdKjhPzP1SmU1jDQa5bX5qELT%2FHzjBqLtIqzNkvIKDV3pRqnoPfOAxXmwgQplAqkjImUZqbpiFq%2FB%2FwhymK9fk3I1CMvAfqJfwovEpDjritw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"87b72db4ec9d3e29-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": false,\n    \"code\": 40005,\n    \"message\": \"Insufficient account balance\",\n    \"trace_id\": \"1d6500b1\"\n}"}],"_postman_id":"5ae11fbf-bb29-4ffd-b9bf-dcb3908abdf5"},{"name":"Get Wallets List","id":"2a12736a-8a89-4f87-833e-2f9a4d876aa1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/withdraw/wallets","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","name":"Signature Authentication Method","type":"folder"}},"urlObject":{"path":["api","withdraw","wallets"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a12736a-8a89-4f87-833e-2f9a4d876aa1"},{"name":"Withdraw Balance","id":"e76f26fc-e5d9-4f90-add7-df2ee2d43f98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"chain\": \"ETH\",\r\n    \"currency\": \"USDT-ERC20\",\r\n    \"amount\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/withdraw","description":"<p>Withdraw account balance.</p>\n<p><strong>Request Body Description</strong></p>\n<p>EndFragment</p>\n<p>StartFragment</p>\n<ul>\n<li>amount - the amount to be withdrawn</li>\n<li><strong>chain</strong> - the blockchain</li>\n<li><strong>currency</strong> - the cryptocurrency to withdraw</li>\n<li>ln_invoices - Lightning Network invoices</li>\n<li>verify_code - verification code (required only when chain is Lightning Network)</li>\n</ul>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","name":"Signature Authentication Method","type":"folder"}},"urlObject":{"path":["api","withdraw"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"b4b8ce50-9748-4765-a1b2-8a6182e8d9bd","name":"Code: 40004","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"amount\": 10,\r\n    \"chain\": \"ETH\",\r\n    \"currency\": \"ETH\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dashboard.aurpay.net/api/withdraw"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.2"},{"key":"Date","value":"Mon, 27 Feb 2023 11:37:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"172"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": false,\n    \"code\": 40004,\n    \"message\": \"The account needs to pass the KYB verification before the currency can be withdrawn.\",\n    \"trace_id\": \"8dbbb4de198149c58e22a0983078557e\"\n}"}],"_postman_id":"e76f26fc-e5d9-4f90-add7-df2ee2d43f98"},{"name":"Get Self Custody Wallets","id":"f4f77ad1-af5b-4332-9a93-fb6bf30c81b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/contract/balance","description":"<p>Get wallet balance in Self Custody mode.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","name":"Signature Authentication Method","type":"folder"}},"urlObject":{"path":["api","contract","balance"],"host":["https://dashboard.aurpay.net"],"query":[],"variable":[]}},"response":[{"id":"490b8dc8-bd1c-46d9-8dc1-1b5c32b8796a","name":"Code: 0 | OK","originalRequest":{"method":"GET","header":[],"url":"https://dashboard.aurpay.net/api/contract/balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 27 Feb 2023 09:26:15 GMT"},{"key":"server","value":"uvicorn"},{"key":"content-length","value":"295"},{"key":"content-type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 0,\n    \"message\": \"ok\",\n    \"data\": [\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"ETH\",\n            \"amount\": 10.31299\n        },\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"USDT-ERC20\",\n            \"amount\": 203\n        },\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"DAI-ERC20\",\n            \"amount\": 190\n        },\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"SHIB-ERC20\",\n            \"amount\": 890220\n        },\n        {\n            \"chain\": \"ETH\",\n            \"currency\": \"USDC-ERC20\",\n            \"amount\": 0\n        }\n    ],\n    \"result\": true\n}"}],"_postman_id":"f4f77ad1-af5b-4332-9a93-fb6bf30c81b4"}],"id":"9fe875c1-c4d7-4615-8c35-f3375d147c83","description":"<blockquote>\n<p>To provide more secure API authentication, we recommend using digital signature authentication for accessing interfaces. Digital signature authentication is a more secure alternative to using API keys alone. It involves encrypting a string derived from request parameters to authenticate identities. </p>\n</blockquote>\n<blockquote>\n<p>Postman has integrated signing scripts that allow you to do more with less. </p>\n</blockquote>\n<h3 id=\"authentication-instructions\">Authentication Instructions</h3>\n<p>To ensure the security and control of API usage, the caller needs to compute and add the following parameters in the HTTP request header based on the specific details of each request. The platform verifies these parameters, treating requests that fail validation as unauthorized.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>API-Token</td>\n<td>API Token from API management page</td>\n<td>L35ZD3K4AORZH7NVQBR9O</td>\n</tr>\n<tr>\n<td>Algorithm</td>\n<td>Encryption algorithm (supported: HMAC-SHA256, HMAC-SHA3_256)</td>\n<td>HMAC-SHA256</td>\n</tr>\n<tr>\n<td>Date</td>\n<td>Current timestamp in ISO-8601 format</td>\n<td>2024-06-17T00:00:00Z</td>\n</tr>\n<tr>\n<td>Body-MD5</td>\n<td>MD5 hash value of the non-GET request body (empty if absent).</td>\n<td>a4e00bea676896c4524f112fd0e2f6b6</td>\n</tr>\n<tr>\n<td>Signature</td>\n<td>Base64-encoded signature information (calculated using a hash algorithm).</td>\n<td>Please refer to the following Signature for the rule of generating.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"signature-specifies-the-rule-for-generating\">Signature Specifies the rule for generating</h3>\n<p>On the Platform API Management Page, obtain the <code>public_key</code> and <code>secret_key</code> after enabling the signature authentication feature</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>algorithm</td>\n<td>Encryption algorithm (supported: <code>HMAC-SHA256</code>, <code>HMAC-SHA3_256</code>)</td>\n<td>HMAC-SHA256</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Current timestamp in ISO-8601 format</td>\n<td>2024-06-17T00:00:00Z</td>\n</tr>\n<tr>\n<td>request_info</td>\n<td>HTTP method (uppercase), path, and request parameters (excluding domain).</td>\n<td>GET /test/logs?size=20&amp;page=2</td>\n</tr>\n<tr>\n<td>body_md5</td>\n<td>MD5 hash value of the non-GET request body (empty if absent).</td>\n<td>a4e00bea676896c4524f112fd0e2f6b6</td>\n</tr>\n</tbody>\n</table>\n</div><p>Generating the <code>Signature</code> parameter involves these steps:</p>\n<ul>\n<li><p><strong>Construct</strong> <strong><code>signature_origin</code></strong>:<br />  <code>signature_origin</code> is formed by concatenating the following parameters using <code>|</code> as the delimiter: <code>{algorithm} | {date} | {request_info} | {body_md5}</code></p>\n<ul>\n<li><p>Example: <code>HMAC-SHA256 | 2024-06-17T00:00:00Z | GET /test/logs?size=20&amp;page=2</code></p>\n</li>\n<li><p>When <code>body_md5</code> is absent: <code>HMAC-SHA256 | 2024-06-17T00:00:00Z | POST /test/logs | a4e00bea676896c4524f112fd0e2f6b6</code></p>\n</li>\n</ul>\n</li>\n<li><p><strong>Generate</strong> <strong><code>signature_sha</code></strong>:<br />  Calculate <code>signature_sha</code> using HMAC-SHA256 with <code>secret_key</code>:</p>\n<ul>\n<li><code>signature_sha=hmac-sha256(signature_origin, secret_key)</code></li>\n</ul>\n</li>\n<li><p><strong>Encode</strong> <strong><code>signature_sha</code></strong>:<br />  Encode <code>signature_sha</code> using base64 to obtain the final <code>signature</code>:</p>\n<ul>\n<li>`signature=base64(signature_sha)`</li>\n</ul>\n</li>\n</ul>\n<p>This yields the <code>signature</code> parameter.</p>\n<h2 id=\"postman-example\">Postman example</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">/*\n  → Get the current timestamp in ISO-8601 format ⏰\n  → Get the HTTP request method and URL path 🌐\n  → Calculate the MD5 hash of the request body for non-GET requests 🛠️\n  → Construct the signature origin string based on the presence of the body MD5 📜\n  → Generate the HMAC-SHA256 signature using the secret key 🔑\n  → Encode the signature in Base64 format 🔒\n  → Add necessary headers to the HTTP request 📋\n  → Print the process details on the Postman console 🚀\n*/\n// Import the CryptoJS library\nvar Crypto = require('crypto-js');\n// Set the encryption algorithm\nconst algorithm = 'HMAC-SHA256';\n// Get the current timestamp in ISO-8601 format\nconst date = new Date().toISOString();\nconsole.log(\"Current Timestamp:\", date);\n// Get the HTTP request method and convert to uppercase\nconst method = pm.request.method.toUpperCase();\nconsole.log(\"HTTP Method:\", method);\n// Get the request URL path with query parameters\nconst urlPath = pm.request.url.getPathWithQuery();\nconsole.log(\"URL Path and Query:\", urlPath);\n// Calculate the MD5 hash of the request body for non-GET requests\nlet bodyMD5 = \"\";\nif (method !== 'GET') {\n    const requestBody = pm.request.body ? pm.request.body.raw : \"\";\n    bodyMD5 = Crypto.MD5(requestBody).toString();\n    console.log(\"MD5 Hash of the Body:\", bodyMD5);\n}\n// Construct the signature origin string\nlet signatureOrigin;\nif (bodyMD5) {\n    signatureOrigin = `${algorithm} | ${date} | ${method} ${urlPath} | ${bodyMD5}`;\n} else {\n    signatureOrigin = `${algorithm} | ${date} | ${method} ${urlPath}`;\n}\nconsole.log(\"Signature Origin:\", signatureOrigin);\n// Retrieve the secret key from the environment variables\nconst secretKey = pm.environment.get(\"SECRET_KEY\");\n// Generate the HMAC-SHA256 signature\nconst signatureSHA = Crypto.HmacSHA256(signatureOrigin, secretKey);\nconsole.log(\"HMAC-SHA256 Signature:\", signatureSHA);\n// Encode the signature in Base64 format\nconst signature = Crypto.enc.Base64.stringify(signatureSHA);\nconsole.log(\"Base64 Encoded Signature:\", signature);\n// Add the required headers to the HTTP request\npm.request.headers.add({ key: 'API-Token', value: pm.environment.get(\"API_TOKEN\") });\npm.request.headers.add({ key: 'Algorithm', value: algorithm });\npm.request.headers.add({ key: 'Date', value: date });\npm.request.headers.add({ key: 'Body-MD5', value: bodyMD5 });\npm.request.headers.add({ key: 'Signature', value: signature });\n\n</code></pre>\n<h3 id=\"signature-debugging-method\">Signature Debugging Method</h3>\n<blockquote>\n<p>When API gateway signature verification fails, the server returns the original signing information. Users can compare it with their local signing information to identify the issue. </p>\n</blockquote>\n<ol>\n<li><p><strong>Compare</strong> <strong><code>signature_origin</code></strong>:</p>\n<ul>\n<li><p>Ensure that both the server and client have the same <code>signature_origin</code>.</p>\n</li>\n<li><p>This includes the request method, path, parameters, and any other relevant data used in creating the <code>signature_origin</code>.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Check</strong> <strong><code>secret_key</code></strong>:</p>\n<ul>\n<li><p>Verify that the <code>secret_key</code> used for signing on both the client and server sides is correct and identical.</p>\n</li>\n<li><p>Ensure there are no discrepancies or typos in the <code>secret_key</code>.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Error Information Analysis</strong>:</p>\n<ul>\n<li><p>Pay close attention to the error messages returned by the API gateway.</p>\n</li>\n<li><p>The messages often contain specific details about what part of the signature verification failed.</p>\n</li>\n<li><p>Use these details to pinpoint whether the issue lies in the <code>signature_origin</code>, <code>secret_key</code>, or another part of the process.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Verify Algorithm and Encoding</strong>:</p>\n<ul>\n<li><p>Confirm that the HMAC-SHA256 algorithm is implemented correctly.</p>\n</li>\n<li><p>Ensure that the raw bytes of <code>signature_sha</code> are correctly base64 encoded.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Ensure Consistency</strong>:</p>\n<ul>\n<li><p>Check that the timestamp is in ISO-8601 format and synchronized between client and server.</p>\n</li>\n<li><p>Verify that the MD5 value of the request body is correctly calculated and formatted as an uppercase hexadecimal string.</p>\n</li>\n<li><p>Ensure that the request method, path, and parameters are correctly concatenated without including the domain name.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Log Intermediate Values</strong>:</p>\n<ul>\n<li><p>Implement logging to capture intermediate values for <code>signature_origin</code>, <code>signature_sha</code>, and the final <code>signature</code>.</p>\n</li>\n<li><p>Compare these logs between client and server to identify discrepancies.</p>\n</li>\n</ul>\n</li>\n</ol>\n<p>By following these steps and utilizing the error messages provided by the API gateway, you can effectively debug and resolve issues related to signature verification.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"bdd01435-f20f-4fd9-96c7-4bbc14a4ad2a","type":"text/javascript","exec":["/*\r","  → Get the current timestamp in ISO-8601 format ⏰\r","  → Get the HTTP request method and URL path 🌐\r","  → Calculate the MD5 hash of the request body for non-GET requests 🛠️\r","  → Construct the signature origin string based on the presence of the body MD5 📜\r","  → Generate the HMAC-SHA256 signature using the secret key 🔑\r","  → Encode the signature in Base64 format 🔒\r","  → Add necessary headers to the HTTP request 📋\r","  → Print the process details on the Postman console 🚀\r","*/\r","\r","// Import the CryptoJS library\r","var Crypto = require('crypto-js');\r","\r","// Set the encryption algorithm\r","const algorithm = 'HMAC-SHA256';\r","\r","// Get the current timestamp in ISO-8601 format\r","const date = new Date().toISOString();\r","console.log(\"Current Timestamp:\", date);\r","\r","// Get the HTTP request method and convert to uppercase\r","const method = pm.request.method.toUpperCase();\r","console.log(\"HTTP Method:\", method);\r","\r","// Get the request URL path with query parameters\r","const urlPath = pm.request.url.getPathWithQuery();\r","console.log(\"URL Path and Query:\", urlPath);\r","\r","// Calculate the MD5 hash of the request body for non-GET requests\r","let bodyMD5 = \"\";\r","if (method !== 'GET') {\r","    const requestBody = pm.request.body ? pm.request.body.raw : \"\";\r","    bodyMD5 = Crypto.MD5(requestBody).toString();\r","    console.log(\"MD5 Hash of the Body:\", bodyMD5);\r","}\r","\r","// Construct the signature origin string\r","let signatureOrigin;\r","if (bodyMD5) {\r","    signatureOrigin = `${algorithm} | ${date} | ${method} ${urlPath} | ${bodyMD5}`;\r","} else {\r","    signatureOrigin = `${algorithm} | ${date} | ${method} ${urlPath}`;\r","}\r","console.log(\"Signature Origin:\", signatureOrigin);\r","\r","const apiToken = pm.environment.get(\"API_TOKEN\");\r","if (!apiToken || apiToken.trim() === \"\") {\r","    throw new Error(\"API_TOKEN is not set or is empty in the environment. Please set it before sending the request.\");\r","}\r","\r","// Retrieve the secret key from the environment variables\r","const secretKey = pm.environment.get(\"SECRET_KEY\");\r","if (!secretKey || secretKey.trim() === \"\") {\r","    throw new Error(\"SECRET_KEY is not set or is empty in the environment. Please set it before sending the request.\");\r","}\r","\r","// Generate the HMAC-SHA256 signature\r","const signatureSHA = Crypto.HmacSHA256(signatureOrigin, secretKey);\r","console.log(\"HMAC-SHA256 Signature:\", signatureSHA);\r","\r","// Encode the signature in Base64 format\r","const signature = Crypto.enc.Base64.stringify(signatureSHA);\r","console.log(\"Base64 Encoded Signature:\", signature);\r","\r","// Add the required headers to the HTTP request\r","pm.request.headers.add({ key: 'API-Token', value: apiToken });\r","pm.request.headers.add({ key: 'Algorithm', value: algorithm });\r","pm.request.headers.add({ key: 'Date', value: date });\r","pm.request.headers.add({ key: 'Body-MD5', value: bodyMD5 });\r","pm.request.headers.add({ key: 'Signature', value: signature });\r",""]}},{"listen":"test","script":{"id":"16d80faf-2a47-4a9f-b360-49db44430dda","type":"text/javascript","exec":[""]}}],"_postman_id":"9fe875c1-c4d7-4615-8c35-f3375d147c83"},{"name":"Callback Authentication Method","item":[],"id":"9543b501-d5a4-4bf7-9069-32e66e17e300","description":"<blockquote>\n<p>In order to provide more secure authentication for callback requests, we recommend using additional authentication methods for security verification. </p>\n</blockquote>\n<h2 id=\"callback-authentication-instructions\">Callback Authentication Instructions</h2>\n<p>Get 'callback_token' and 'callbakc_secret' through the dashboard</p>\n<p>To ensure callback security, the platform appends the following parameters to the request header of each request</p>\n<p><strong>You can do simple verification directly by verifying that</strong> <strong><code>Callback-Token</code></strong> <strong>is consistent, More secure authentication is also possible with</strong> <strong><code>Signature</code></strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Callback-Token</td>\n<td>Callback Token from Callback Authentication page</td>\n<td>EEB0C8EEB1B6C7D9C7D938449C44DAE7DC484C87C14E</td>\n</tr>\n<tr>\n<td>Date</td>\n<td>Current timestamp in ISO-8601 format</td>\n<td>2024-06-17T00:00:00Z</td>\n</tr>\n<tr>\n<td>Signature</td>\n<td>Base64-encoded signature information (calculated using a hash algorithm).</td>\n<td>Please refer to the following Signature for the rule of generating.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"signature-specifies-the-rule-for-generating\">Signature Specifies the rule for generating</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Date</td>\n<td>Current timestamp in ISO-8601 format</td>\n<td>2024-06-17T00:00:00Z</td>\n</tr>\n<tr>\n<td>callback_url</td>\n<td>The full callback URL, including the protocol and parameters</td>\n<td><code>https://api.you.com/callback?id=32</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>Generating the <code>Signature</code> parameter involves these steps:</p>\n<ul>\n<li><p><strong>Construct</strong> <strong><code>signature_origin</code></strong>:</p>\n<ul>\n<li><p><code>signature_origin</code> is formed by concatenating the following parameters using <code>|</code> as the delimiter:<code>{date} | {callback_url}</code></p>\n</li>\n<li><p>Example: `2024-06-17T00:00:00Z | <a href=\"https://api.you.com/callback?id=32\">https://api.you.com/callback?id=32</a>`</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Generate</strong> <strong><code>signature_sha</code></strong>:</p>\n<ul>\n<li><p>Calculate <code>signature_sha</code> using HMAC-SHA256 with <code>callbakc_secret</code>:</p>\n<ul>\n<li><code>signature_sha=hmac-sha256(signature_origin, callbakc_secret)</code></li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Encode</strong> <strong><code>signature_sha</code></strong>:</p>\n<ul>\n<li><p>Encode <code>signature_sha</code> using base64 to obtain the final <code>signature</code>:</p>\n<ul>\n<li>`signature=base64(signature_sha)`</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p>This yields the <code>signature</code> parameter.</p>\n","_postman_id":"9543b501-d5a4-4bf7-9069-32e66e17e300"}],"event":[{"listen":"prerequest","script":{"id":"232e1616-65d8-4832-a18f-5d1d5fde8dff","type":"text/javascript","exec":["//  Removes the json parameter annotation","GlobalJsonMinify = function (json) {","","    var tokenizer = /\"|(\\/\\*)|(\\*\\/)|(\\/\\/)|\\n|\\r|\\[|]/g,","        in_string = false,","        in_multiline_comment = false,","        in_singleline_comment = false,","        tmp, tmp2, new_str = [], ns = 0, from = 0, lc, rc,","        prevFrom","    ;","","    tokenizer.lastIndex = 0;","","    while ( tmp = tokenizer.exec(json) ) {","        lc = RegExp.leftContext;","        rc = RegExp.rightContext;","        if (!in_multiline_comment && !in_singleline_comment) {","            tmp2 = lc.substring(from);","            if (!in_string) {","                tmp2 = tmp2.replace(/(\\n|\\r|\\s)*/g,\"\");","            }","            new_str[ns++] = tmp2;","        }","        prevFrom = from;","        from = tokenizer.lastIndex;","","        // found a \" character, and we're not currently in","        // a comment? check for previous `\\` escaping immediately","        // leftward adjacent to this match","        if (tmp[0] === \"\\\"\" && !in_multiline_comment && !in_singleline_comment) {","            // limit left-context matching to only go back","            // to the position of the last token match","            //","            // see: https://github.com/getify/JSON.minify/issues/64","            lc.lastIndex = prevFrom;","","            // perform leftward adjacent escaping match","            tmp2 = lc.match(/(\\\\)*$/);","            // start of string with \", or unescaped \" character found to end string?","            if (!in_string || !tmp2 || (tmp2[0].length % 2) === 0) {","                in_string = !in_string;","            }","            from--; // include \" character in next catch","            rc = json.substring(from);","        }","        else if (tmp[0] === \"/*\" && !in_string && !in_multiline_comment && !in_singleline_comment) {","            in_multiline_comment = true;","        }","        else if (tmp[0] === \"*/\" && !in_string && in_multiline_comment && !in_singleline_comment) {","            in_multiline_comment = false;","        }","        else if (tmp[0] === \"//\" && !in_string && !in_multiline_comment && !in_singleline_comment) {","            in_singleline_comment = true;","        }","        else if ((tmp[0] === \"\\n\" || tmp[0] === \"\\r\") && !in_string && !in_multiline_comment && in_singleline_comment) {","            in_singleline_comment = false;","        }","        else if (!in_multiline_comment && !in_singleline_comment && !(/\\n|\\r|\\s/.test(tmp[0]))) {","            new_str[ns++] = tmp[0];","        }","    }","    new_str[ns++] = rc;","    return new_str.join(\"\");","};","","pm.request.body.raw = GlobalJsonMinify(pm.request.body.raw)"]}},{"listen":"test","script":{"id":"006320db-bbc7-404e-aee7-4c18a38a4d45","type":"text/javascript","exec":[""]}}]}