{"info":{"_postman_id":"7be5982c-7465-4b9a-8840-3cf17f2ed2c6","name":"OCP API Documentation","description":"<html><head></head><body><h1 id=\"authentication\">Authentication</h1>\n<p><strong>You need to obtain public and secret keys in your personal account before using this API.</strong></p>\n<p><strong>Base url:</strong> <a href=\"https://ocp.onchainpay.io/api-gateway\">https://ocp.onchainpay.io/api-gateway</a><br><strong>Public key</strong> should be passed in header <code>x-api-public-key</code><br><strong>Secret key</strong> is used for creating signature of your request. Signature should be passed in header <code>x-api-signature</code></p>\n<p>Example of a key pair:</p>\n<p><strong>public:</strong></p>\n<p><code>a9biVHtyP71VxuItAd88tuN+WyNGxVR41j9lGLj7zc0DjtGHkNRAKQWS/fiCnJPomY9i+hETCLiQvR5l+siKug==</code></p>\n<p><strong>secret:</strong></p>\n<p><code>RbWMG0rT6NSDQPKXs44gau/97OTsMW1+EakuQA8gb+IwjIUAdx56Fl3Oa7a8dw5L3soWK/o6UFfqlzh/6LXPDA==</code></p>\n<p>If you want to use your own key pair and send requests through this documentation, you can edit collection variables of this documentation (<a href=\"https://learning.postman.com/docs/sending-requests/variables/#defining-collection-variables\">https://learning.postman.com/docs/sending-requests/variables/#defining-collection-variables</a>)</p>\n<h1 id=\"creating-request-signature\">Creating request signature</h1>\n<p>You need to specify your <strong>secret key,</strong> apply <code>SHA256</code> encryption to your payload and convert the result to <code>HEX</code> format</p>\n<h2 id=\"nonce-usage\">Nonce usage</h2>\n<p>You should pass <code>nonce</code> parameter in the payload of every request to this API. <code>nonce</code> is a number that must be incremented from previous requests every time. Otherwise the request will fail.</p>\n<p>We will use Unix TimeStamp as the <code>nonce</code> value for sending requests in this document.</p>\n<h2 id=\"example-of-creating-request-signature-nodejs\">Example of creating request signature <code>NodeJS</code></h2>\n<p>Let's say we want to get price rate of <code>ETH</code>/<code>USDT</code> (method <code>/price-rate</code>)</p>\n<p><strong>1. Build request payload</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">const payload = { from: 'ETH', to: 'USDT' };\n\n</code></pre>\n<p><strong>2. Add</strong> <strong><code>nonce</code></strong> <strong>parameter to the payload in order to avoid request duplication.</strong></p>\n<p>By using unix timestamp as <code>nonce</code> parameter we will meet the requirements of using number and its incrementing for every new request.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">payload.nonce = Date.now(); // 1643881172430\n\n</code></pre>\n<p><strong>3. Create string from payload and used it in a process of creating signature.</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">const stringPayload = JSON.stringify(payload); // {\"from\":\"ETH\",\"to\":\"USDT\",\"nonce\":1643881172430}\n\n</code></pre>\n<p><strong>4. Create signature:</strong></p>\n<p>Example with <code>crypto-js</code> module:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">const CryptoJS = require(\"crypto-js\"); \nconst sign = CryptoJS.HmacSHA256(stringPayload, __PRIVATE_KEY__).toString(CryptoJS.enc.Hex)\n\n</code></pre>\n<p>Example with <code>crypto</code> module:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">const crypto = require('crypto');  \nconst sign = crypto.createHmac('SHA256', __PRIVATE_KEY__).update(stringPayload).digest('hex');\n\n</code></pre>\n<p><strong>5. Send request with required headers:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">const axios = require('axios'); // lib for HTTP requests\nconst response = await axios.post(__BASE_URL__ + '/price-rate', stringPayload, \n{ \n    headers: \n        {\n            'x-api-public-key': __PUBLIC_KEY__, \n            'x-api-signature': sign \n        } \n});\n\n</code></pre>\n<p><strong>6. Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">console.log(response.data); // {\"success\":true,\"response\":\"2751.51000000\"}\n\n</code></pre>\n<h1 id=\"response\">Response</h1>\n<p>Schema of success response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\":true,\n    \"response\": ...\n}\n\n</code></pre>\n<p>Schema of error response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\":false,\n    \"error\": {\"name\": \"...\",\"message\": \"...\",\"code\": ...},\n    \"requestId\": \"...\"\n}\n\n</code></pre>\n<h1 id=\"error-codes\">Error codes</h1>\n<p>Error is presented in response payload</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>&lt; 1001</td>\n<td>Server error. Please, contact support</td>\n</tr>\n<tr>\n<td>1001</td>\n<td><code>currency</code> parameter is required</td>\n</tr>\n<tr>\n<td>1002</td>\n<td><code>currency</code> parameter is not valid</td>\n</tr>\n<tr>\n<td>1003</td>\n<td><code>amount</code> parameter is required</td>\n</tr>\n<tr>\n<td>1004</td>\n<td><code>amount</code> parameter is not valid</td>\n</tr>\n<tr>\n<td>1005</td>\n<td><code>amount</code> parameter should be more than 0</td>\n</tr>\n<tr>\n<td>1006</td>\n<td><code>errorWebhook</code> parameter is required</td>\n</tr>\n<tr>\n<td>1007</td>\n<td><code>errorWebhook</code> is not valid URL</td>\n</tr>\n<tr>\n<td>1008</td>\n<td><code>successWebhook</code> parameter is required</td>\n</tr>\n<tr>\n<td>1009</td>\n<td><code>successWebhook</code> parameter is not valid URL</td>\n</tr>\n<tr>\n<td>1019</td>\n<td>Currency is not found or disabled for operation</td>\n</tr>\n<tr>\n<td>1020, 1021</td>\n<td>Insufficient funds for operation</td>\n</tr>\n<tr>\n<td>1023</td>\n<td><code>currencyFrom</code> parameter is required</td>\n</tr>\n<tr>\n<td>1024</td>\n<td><code>currencyFrom</code> parameter is not valid</td>\n</tr>\n<tr>\n<td>1025</td>\n<td><code>currencyTo</code> parameter is required</td>\n</tr>\n<tr>\n<td>1026</td>\n<td><code>currencyTo</code> parameter is not valid</td>\n</tr>\n<tr>\n<td>1032</td>\n<td><code>orderId</code> parameter is required</td>\n</tr>\n<tr>\n<td>1033</td>\n<td><code>orderId</code> parameter is not valid</td>\n</tr>\n<tr>\n<td>1042</td>\n<td><code>returnUrl</code> parameter is not valid</td>\n</tr>\n<tr>\n<td>1043</td>\n<td><code>order</code> parameter has reached a limit of 255 symbols</td>\n</tr>\n<tr>\n<td>1044</td>\n<td><code>description</code> parameter has reached a limit of 255 symbols</td>\n</tr>\n<tr>\n<td>1045</td>\n<td>Параметр <code>networkId</code> parameter is required</td>\n</tr>\n<tr>\n<td>1046</td>\n<td>Параметр <code>networkId</code> parameter is not valid</td>\n</tr>\n<tr>\n<td>1047</td>\n<td><code>accountId</code> parameter is required</td>\n</tr>\n<tr>\n<td>1048</td>\n<td><code>accountId</code> parameter is not valid</td>\n</tr>\n<tr>\n<td>1049</td>\n<td><code>addressId</code> parameter is required</td>\n</tr>\n<tr>\n<td>1050</td>\n<td><code>addressId</code> parameter is not valid</td>\n</tr>\n<tr>\n<td>1051</td>\n<td><code>feeToken</code> parameter is required</td>\n</tr>\n<tr>\n<td>1052</td>\n<td><code>feeToken</code> parameter is not valid</td>\n</tr>\n<tr>\n<td>1053</td>\n<td>Your balance is less than fee amount</td>\n</tr>\n<tr>\n<td>1054</td>\n<td>Withdrawal amount is less than allowed minimum amount</td>\n</tr>\n<tr>\n<td>1055</td>\n<td><code>network</code> parameter is required</td>\n</tr>\n<tr>\n<td>1056</td>\n<td><code>network</code> parameter is not valid</td>\n</tr>\n<tr>\n<td>1057</td>\n<td>The balance of the commission payment source is less than the commission amount</td>\n</tr>\n<tr>\n<td>1058</td>\n<td><code>token</code> parameter was expired</td>\n</tr>\n<tr>\n<td>1059</td>\n<td><code>token</code> parameter was created for another account or address</td>\n</tr>\n<tr>\n<td>1062</td>\n<td><code>lifetime</code> parameter is not valid</td>\n</tr>\n<tr>\n<td>1063</td>\n<td><code>lifetime</code> parameter is required</td>\n</tr>\n<tr>\n<td>1080</td>\n<td>The advance balance does not belong to the user</td>\n</tr>\n<tr>\n<td>1081</td>\n<td>The order does not belong to the user</td>\n</tr>\n<tr>\n<td>1082</td>\n<td>The account does not belong to this user</td>\n</tr>\n<tr>\n<td>1083</td>\n<td>The coin is not active</td>\n</tr>\n<tr>\n<td>1084</td>\n<td>The network is not active</td>\n</tr>\n<tr>\n<td>1085</td>\n<td>Withdrawal in this coin is not available</td>\n</tr>\n<tr>\n<td>1086</td>\n<td>Withdrawal is not available on this network</td>\n</tr>\n<tr>\n<td>1087</td>\n<td>This network is not available</td>\n</tr>\n<tr>\n<td>1088</td>\n<td>The network is not available for deposit</td>\n</tr>\n<tr>\n<td>1089</td>\n<td>Invalid value of the order <code>lifetime</code></td>\n</tr>\n<tr>\n<td>1090</td>\n<td>This coin is not available</td>\n</tr>\n<tr>\n<td>1091</td>\n<td>The address does not belong to this account</td>\n</tr>\n<tr>\n<td>1094</td>\n<td><code>withdrawalId</code> parameter is required</td>\n</tr>\n<tr>\n<td>1095</td>\n<td><code>withdrawalId</code> parameter is not valid</td>\n</tr>\n<tr>\n<td>2005</td>\n<td><code>lifetime</code> parameter is less than the allowed value</td>\n</tr>\n<tr>\n<td>2006</td>\n<td><code>lifetime</code> parameter is greater than the allowed value</td>\n</tr>\n<tr>\n<td>3005</td>\n<td>This network is under maintenance</td>\n</tr>\n<tr>\n<td>3007</td>\n<td>Deposit or withdrawal in this coin is not available</td>\n</tr>\n<tr>\n<td>3010</td>\n<td>The sending and receiving addresses are the same</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"webhooks\">Webhooks</h1>\n<h3 id=\"description\">Description</h3>\n<p>You can configure notifications to be sent to any system that accepts incoming webhooks over the HTTP/HTTPS protocol. To do this, you must specify the Webhook URL when <strong>creating an order</strong>, to which notifications about the order will be sent.</p>\n<p>If you do not respond with the status 200, then we will send 6 request: with 10 seconds interval, then 5 with 30 minutes interval, then 4 with 2 hour interval, then 3 with 12 hour interval.</p>\n<p>If Webhook URL was provided within API method, it will have following additional headers:</p>\n<ul>\n<li><code>x-api-public-key</code> - public key, which was used in origin request with provided Webhook URL</li>\n<li><code>x-api-signature</code> - signature that was made with same algorithm from \"Creating request signature\" section</li>\n</ul>\n<h2 id=\"order-status-webhook\">Order status webhook</h2>\n<h4 id=\"webhook-url-example\">Webhook URL example</h4>\n<p>\"successWebhook\": \"<a href=\"https://example.com/success-webhook-url\">https://example.com/success-webhook-url\"</a></p>\n<p>\"errorWebhook\": \"<a href=\"https://example.com/error-webhook-url\">https://example.com/error-webhook-url\"</a></p>\n<h4 id=\"server-response-example\">Server response example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"d01d03e2-15dc-b03a-b34e-46cad2345b92\",\n  \"advancedBalanceId\": \"c6e7d8dc-ce10-637d-147b-2dda3015b8a4\",\n  \"currency\": \"ETH\",\n  \"network\": \"etehereum\",\n  \"link\": \"https://ocp.onchainpay.io/merchant/checkout/7e7a9d52-f260-429f-b943-8af3c91c9ea1\",\n  \"status\": \"processed\",\n  \"order\": \"#123456789\",\n  \"description\": \"Order #123456789\",\n  \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n  \"addressId\": \"8eae79cf-1db2-4858-9023-aca473d805e2\",\n  \"tag\": \"velit ex quis\",\n  \"amount\": \"0.84\",\n  \"received\": \"0.86\",\n  \"transactions\": [\n    {\n      \"id\": \"f0b22f11-007c-4f65-bb9b-265432ab64c3\",\n      \"status\": \"processed\",\n      \"currency\": \"BNB\",\n      \"network\": \"bsc\",\n      \"amount\": \"0.0001\",\n      \"tx\": \"0x8fb0d40678d1bb4b6c0b2095c18d9280aa8ccf966e778e6b209f4f71c7f1e835\",\n      \"confirmations\": \"15\",\n      \"sender\": \"0xcD62a4E08513f16F86C1c0AF0860DD6b3De1B83d\",\n      \"priceUSD\": \"212.90000000\",\n      \"amountUSD\": \"0.02129\"\n    },\n    {\n      \"id\": \"a2a7ed3b-a8af-42c4-900c-d21e1d9eda3c\",\n      \"status\": \"processed\",\n      \"currency\": \"BNB\",\n      \"network\": \"bsc\",\n      \"amount\": \"0.0006\",\n      \"tx\": \"0x60032c394fcc7a103bc2826f9b81e5086be90628331e1ce163e1c576c64baf06\",\n      \"confirmations\": \"15\",\n      \"sender\": \"0x54936CE809bBccC7f1378c7ec88F5504cE49605C\",\n      \"priceUSD\": \"212.70000000\",\n      \"amountUSD\": \"0.12762\"\n    }\n  ],\n  \"orphanDeposits\": [\n    {\n      \"id\": \"7cd20ea9-0e2c-46c5-8e12-82b0485d5ba1\",\n      \"organizationId\": \"1f07eb01-5fd8-4e05-89b5-bebcd1d1fc39\",\n      \"orderId\": \"d01d03e2-15dc-b03a-b34e-46cad2345b92\",\n      \"stage\": \"WITHDRAWAL\",\n      \"status\": \"PROCESSED\",\n      \"message\": null,\n      \"currency\": \"BNB\",\n      \"network\": \"bsc\",\n      \"amount\": \"0.00000001\",\n      \"canWithdrawal\": true,\n      \"inTransaction\": {\n        \"addressType\": \"PAY_IN\",\n        \"addressId\": \"8519ba89-68d5-4914-9a0f-d99e77dc88ea\",\n        \"address\": \"0x68f8a74b5fD0b687369536607214acfA3b1572Ff\",\n        \"txId\": \"0x6751285829e38b1bb53d1df887dde750182f08e230b58a5a2d3e867ba7327362\",\n        \"amount\": \"0.00000001\",\n        \"status\": \"processed\",\n        \"createdAt\": \"2023-05-30T14:10:27.276Z\"\n      },\n      \"outTransaction\": {\n        \"withdrawalId\": \"4429ba89-68d5-4914-9a0f-d99e77dc88ea\",\n        \"address\": \"0x68f8a74b5fD0b687369536607214acfA3b1572Ff\",\n        \"txId\": \"0x5511285829e38b1bb53d1df887dde750182f08e230b58a5a2d3e867ba7327362\",\n        \"amount\": \"0.00000001\",\n        \"status\": \"processed\",\n        \"createdAt\": \"2023-05-30T14:10:27.276Z\"\n      },\n      \"createdAt\": \"2023-05-30T14:10:27.283Z\"\n    }\n  ],\n  \"successWebhook\": \"https://example.com/success-webhook-url\",\n  \"errorWebhook\": \"https://example.com/error-webhook-url\",\n  \"returnUrl\": \"null\",\n  \"expiresAt\": \"2021-05-23T15:00:00Z\",\n  \"createdAt\": \"2021-05-23T15:00:00Z\",\n  \"updatedAt\": \"2021-05-23T15:00:00Z\"\n}\n</code></pre>\n<h2 id=\"withdrawal-status-webhook\">Withdrawal status webhook</h2>\n<p>When the withdrawal is completed, a webhook with the status of this payment is sent to the <code>webhookUrl</code> specified when creating the withdrawal.</p>\n<ul>\n<li><code>addressId</code> - personal address to which the deposit came</li>\n<li><code>userId</code> - the ID of the user who owns the personal address</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"fd1dbab8-06c2-4e0e-88fb-32f5e97cc0e2\",\n  \"addressId\": \"a3018d42-aa59-42f3-a0f9-6d47e461d344\",\n  \"amount\": \"0.32\",\n  \"currency\": \"USDT\",\n  \"network\": \"tron\",\n  \"status\": \"processed\",\n  \"tx\": \"46f4c1bafd9925de3d61d8a86d83851e73e\",\n  \"createdAt\": \"2023-03-21T13:50:48.603Z\",\n  \"updatedAt\": \"2023-03-21T13:51:14.018Z\"\n}\n\n</code></pre>\n<p>Possible values for <code>status</code>:</p>\n<ul>\n<li><code>error</code> - error occured during withdrawal processing</li>\n<li><code>processed</code> - successful withdrawal</li>\n</ul>\n<h2 id=\"billing-link-status-webhook\">Billing link status webhook</h2>\n<p>When the status of a billing link changes, a webhook is sent to the address specified when the link was created.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"9085a4bd-0099-4f8a-9dc5-9a717ab1d93b\",\n  \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n  \"clientId\": \"qw12\",\n  \"clientName\": null,\n  \"clientEmail\": \"site@domain.com\",\n  \"webhookUrl\": \"https://site.com/webhook\",\n  \"returnUrl\": null,\n  \"address\": \"0xf038f6b\",\n  \"currency\": \"USDC\",\n  \"network\": \"ethereum\",\n  \"status\": \"SUCCESS\",\n  \"createdAt\": \"2023-03-02T10:10:21.064Z\",\n  \"updatedAt\": \"2023-03-02T10:13:25.509Z\"\n}\n\n</code></pre>\n<h2 id=\"subscription-status-webhook\">Subscription status webhook</h2>\n<p>When the subscription status changes or when a payment is made, a webhook is sent to the address specified when the subscription was created.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"d5743dea-5a78-4096-ae07-95b1f10bc5dd\",\n  \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n  \"billingLinkId\": \"e7e7a111-2d24-4aa3-afae-540f313c738b\",\n  \"title\": \"Flixnet/monthly\",\n  \"description\": \"Flixnet monthly subscription / HD quality\",\n  \"currency\": \"USDT\",\n  \"amount\": \"2.0000000\",\n  \"spendInterval\": 120,\n  \"message\": null,\n  \"webhookUrl\": \"https://site.com/webhook\",\n  \"status\": \"ACTIVE\",\n  \"createdAt\": \"2023-02-27T11:50:53.710Z\",\n  \"updatedAt\": \"2023-03-01T19:29:04.090Z\",\n  \"paymentEvent\": {\n    \"id\": \"9c06e989-9d19-461b-bd94-e94032012407\",\n    \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n    \"billingLinkId\": \"e7e7a111-2d24-4aa3-afae-540f313c738b\",\n    \"amount\": \"2\",\n    \"status\": \"PROCESSED\",\n    \"tx\": \"0xdabd91e979122bb78d0a5cf1e5174dff3e10b906a31adbfd625ff80cca14e8c2\",\n    \"createdAt\": \"2023-03-01T13:11:57.662Z\",\n    \"updatedAt\": \"2023-03-01T13:14:32.868Z\"\n  }\n}\n\n</code></pre>\n<p>When the subscription status changes, a webhook with the subscription object is sent. In this case, <code>paymentEvent</code> is filled only if the webhook event is related to making a payment.</p>\n<p>Possible values for <code>status</code>:</p>\n<ul>\n<li><code>ACTIVE</code> - subscription active/renewed</li>\n<li><code>ERROR</code> - subscription payment failed</li>\n<li><code>DECLINE</code> - unable to complete the payment (e.g. lack of money)</li>\n<li><code>CANCEL</code> - subscription canceled</li>\n</ul>\n<p>The status comment can be contained in the <code>message</code> field</p>\n<p>After the payment is made, a webhook is sent with the object of this payment in the <code>paymentEvent</code> field. Possible values of the <code>paymentEvent.status</code> field:</p>\n<ul>\n<li><code>PROCESSED</code> - successful payment</li>\n<li><code>ERROR</code> - unsuccessful payment</li>\n</ul>\n<h2 id=\"payment-status-webhook-with-free-amount\">Payment status webhook with free amount</h2>\n<p>When a payment is completed, a webhook with the status of this payment (the same object as in the <code>paymentEvent</code> field of the webhook with the subscription status) is sent to the address specified during the payment request.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"2fa68ddf-2479-47cb-9e66-ae91139c3063\",\n  \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n  \"billingLinkId\": \"6196a1f2-b6b5-40a5-a672-f1ffd70fdd7d\",\n  \"amount\": \"0.005\",\n  \"status\": \"PROCESSED\",\n  \"tx\": \"0x5b9b3b55b366266025e\",\n  \"createdAt\": \"2023-03-02T06:58:00.365Z\",\n  \"updatedAt\": \"2023-03-02T07:01:50.693Z\"\n}\n\n</code></pre>\n<p>Possible values for <code>status</code>:</p>\n<ul>\n<li><code>PROCESSED</code> - successful payment</li>\n<li><code>ERROR</code> - unsuccessful payment</li>\n</ul>\n<h2 id=\"crosschain-bridge-operation-status-webhook\">Crosschain bridge operation status webhook</h2>\n<p>When the operation status changes, a webhook is sent to the address specified when the operation was created</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"816a19eb-be39-4eaa-9392-6fda708f24d8\",\n  \"clientId\": \"...\",\n  \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n  \"currency\": \"USDT\",\n  \"networkFrom\": \"bsc\",\n  \"networkTo\": \"tron\",\n  \"status\": \"PENDING\",\n  \"rejectMessage\": null,\n  \"addressFromId\": \"fa475cfa-15e8-c31d-7469-5f1168052cd6\",\n  \"addressToId\": \"607976c9-0270-59a3-a528-0d92489c3fc8\",\n  \"amount\": \"10000\",\n  \"amountUSD\": \"10000\",\n  \"blockchainFee\": \"1.80\",\n  \"blockchainFeeUSD\": \"1.80\",\n  \"serviceFeeUSD\": \"1.50\",\n  \"webhookUrl\": \"https://my-show.com/...\",\n  \"createdAt\": \"2022-02-02T06:07:34.067Z\"\n}\n\n</code></pre>\n<p>Available statuses</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CREATED</td>\n<td>Request registered</td>\n</tr>\n<tr>\n<td>PENDING</td>\n<td>Being processed</td>\n</tr>\n<tr>\n<td>ERROR</td>\n<td>Error during execution</td>\n</tr>\n<tr>\n<td>REJECTED</td>\n<td>Request denied</td>\n</tr>\n<tr>\n<td>PROCESSED</td>\n<td>Success</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"crosschain-swap-status-webhook\">Crosschain swap status webhook</h2>\n<p>When the swap status changes, a webhook is sent to the address specified when the swap was created</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n        \"id\": \"816a19eb-be39-4eaa-9392-6fda708f24d8\",\n        \"clientId\": \"...\",\n        \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n        \"currencyFrom\": \"TRX\",\n        \"currencyTo\": \"USDT\",\n        \"networkFrom\": \"tron\",\n        \"networkTo\": \"bsc\",\n        \"status\": \"PENDING\",\n        \"rejectMessage\": null,\n        \"addressFromId\": \"fa475cfa-15e8-c31d-7469-5f1168052cd6\",\n        \"addressToId\": \"607976c9-0270-59a3-a528-0d92489c3fc8\",\n        \"amountFrom\": \"100000\",\n        \"amountTo\": \"10000\",\n        \"price\": \"0.1\",\n        \"serviceBlockchainFeeSource\": \"ADDRESS\",\n        \"serviceBlockchainFee\": \"1.80\",\n        \"serviceBlockchainFeeUSD\": \"1.80\",\n        \"providerBlockchainFeeSource\": \"AMOUNT\",\n        \"providerBlockchainFee\": \"1.80\",\n        \"providerBlockchainFeeUSD\": \"1.80\",\n        \"serviceFeeSource\": \"ADVANCE\",\n        \"serviceFee\": \"1.80\",\n        \"serviceFeeUSD\": \"1.80\",\n        \"webhookUrl\": \"https://my-show.com/...\",\n        \"createdAt\": \"2022-02-02T06:07:34.067Z\"\n}\n\n</code></pre>\n<p>Available statuses</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CREATED</td>\n<td>Request registered</td>\n</tr>\n<tr>\n<td>PENDING</td>\n<td>Being processed</td>\n</tr>\n<tr>\n<td>ERROR</td>\n<td>Error during execution</td>\n</tr>\n<tr>\n<td>REJECTED</td>\n<td>Request denied</td>\n</tr>\n<tr>\n<td>PROCESSED</td>\n<td>Success</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"webhook-for-deposit-on-personal-address\">Webhook for deposit on personal address</h2>\n<p>When the payment is completed, a webhook with the status of this payment is sent to the URL <code>depositWebhookUrl</code> specified when creating the user.</p>\n<ul>\n<li><code>addressId</code> - personal address to which the deposit came</li>\n<li><code>userId</code> - ID of the user who owns the personal address</li>\n</ul>\n<h4 id=\"example\">Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"2fa68ddf-2479-47cb-9e66-ae91139c3063\",\n  \"addressId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n  \"userId\": \"6196a1f2-b6b5-40a5-a672-f1ffd70fdd7d\",\n  \"amount\": \"0.005\",\n  \"currency\": \"USDT\",\n  \"network\": \"bsc\",\n  \"status\": \"PROCESSED\",\n  \"tx\": \"0x5b9b3b55b366266025e\",\n  \"createdAt\": \"2023-03-02T06:58:00.365Z\",\n  \"updatedAt\": \"2023-03-02T07:01:50.693Z\"\n}\n\n</code></pre>\n<p>Possible values of <code>status</code>:</p>\n<ul>\n<li><code>PROCESSED</code> - successful deposit</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Authentication","slug":"authentication"},{"content":"Creating request signature","slug":"creating-request-signature"},{"content":"Response","slug":"response"},{"content":"Error codes","slug":"error-codes"},{"content":"Webhooks","slug":"webhooks"}],"owner":"21899690","collectionId":"7be5982c-7465-4b9a-8840-3cf17f2ed2c6","publishedId":"UzJQptyu","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-07-11T11:16:31.000Z"},"item":[{"name":"Recurrent methods","item":[{"name":"Make link for billing link creation","id":"a4cd804c-31ce-4c18-9d5a-746c7774f58f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\", \n    \"clientId\": \"123321\",\n    \"clientEmail\": \"test@test.com\",\n    \"clientName\": \"test1\",\n    \"returnUrl\": \"https://example.com\",\n    \"webhookUrl\": \"https://example.com\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/create-subscriber-billing-link","description":"<p>Make link for billing link creation.</p>\n<p>After binding user's address to the service - a <a href=\"#webhooks\">webhook</a> will be sent to provided <code>webhookUrl</code></p>\n","urlObject":{"path":["recurrents","create-subscriber-billing-link"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"a4f7b50e-f4e3-4578-98a7-f648d4aa91eb","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\", \n    \"clientId\": \"123321\",\n    \"clientEmail\": \"test@test.com\",\n    \"clientName\": \"test1\",\n    \"returnUrl\": \"https://example.com\",\n    \"webhookUrl\": \"https://example.com\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/create-subscriber-billing-link"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n        \"clientId\": \"123321\",\n        \"clientEmail\": \"tymynf@mailto.plus\",\n        \"clientName\": \"test1\",\n        \"returnUrl\": \"https://example.com\",\n        \"webhookUrl\": \"https://example.com\",\n        \"link\": \"https://subs.onchainpay.io/subscriptions/connect/49f1074e-0564-4ff3-8eb4-4a956f9bb8a1\"\n    }\n}"}],"_postman_id":"a4cd804c-31ce-4c18-9d5a-746c7774f58f"},{"name":"Get billing link","id":"61481886-0ae3-42e9-b8ea-c4f68c58028f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"d4c5a6ad-9085-427c-bb3b-7c7dd9fb447d\",\n    \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/get-billing-link","description":"<p>Get information about billing link.</p>\n","urlObject":{"path":["recurrents","get-billing-link"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"2dede773-4994-423c-8c77-9ab15c3328b2","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"7650dd72-2126-4043-8ab4-dbcda85a2215\",\n    \"merchantId\": \"89ba29b4-d5be-406e-8edd-490d350a279c\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/get-billing-link"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n            \"id\": \"7650dd72-2126-4043-8ab4-dbcda85a2215\",\n            \"merchantId\": \"89ba29b4-d5be-406e-8edd-490d350a279c\",\n            \"clientId\": \"1\",\n            \"clientEmail\": \"1\",\n            \"webhookUrl\": null,\n            \"returnUrl\": null,\n            \"address\": \"0x9d9d71514a\",\n            \"currency\": \"BUSD\",\n            \"network\": \"ethereum\",\n            \"status\": \"SUCCESS\",\n            \"createdAt\": \"2023-02-27T09:45:42.080Z\",\n            \"updatedAt\": \"2023-02-27T09:49:09.953Z\"\n    }\n}"}],"_postman_id":"61481886-0ae3-42e9-b8ea-c4f68c58028f"},{"name":"Get billing links through external id","id":"63f3205f-126f-4329-8b31-244a0bc9cc46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"clientId\": \"123321\",\n    \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/get-billing-links-by-subscriber","description":"<p>Get billing links through external id.</p>\n","urlObject":{"path":["recurrents","get-billing-links-by-subscriber"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"3836c477-7aa3-4033-ab74-daee52c4aef1","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"clientId\": \"test\",\n    \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/get-billing-links-by-subscriber"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": [\n        {\n            \"id\": \"6196a1f2-b6b5-40a5-a672-f1ffd70fdd7d\",\n            \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n            \"clientId\": \"test\",\n            \"clientEmail\": \"test@test.com\",\n            \"webhookUrl\": \"http://test.com\",\n            \"returnUrl\": \"http://test.com\",\n            \"address\": \"0x1d9e91321bcdddcb2121231\",\n            \"currency\": \"USDC\",\n            \"network\": \"bsc\",\n            \"status\": \"SUCCESS\",\n            \"createdAt\": \"2023-02-22T11:56:32.906Z\",\n            \"updatedAt\": \"2023-02-22T11:58:02.785Z\"\n        }\n    ]\n}"}],"_postman_id":"63f3205f-126f-4329-8b31-244a0bc9cc46"},{"name":"Block subscriber billing link","id":"b024485f-eca9-4228-a4ea-81b56374f89c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"7650dd72-2126-4043-8ab4-dbcda85a2215\",\n    \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/disable-subscriber-billing-link","description":"<p>Block subscriber billing link.</p>\n","urlObject":{"path":["recurrents","disable-subscriber-billing-link"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"edc80ab7-e0f7-479d-97bd-cb39418ae600","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"7650dd72-2126-4043-8ab4-dbcda85a2215\",\n    \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/disable-subscriber-billing-link"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"32994b70-5808-436c-8d05-7f9a94d4f27a\",\n        \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n        \"merchantSubscriberId\": \"d869b8ac-295a-4cf1-a6bd-0c8c1bc94ec5\",\n        \"currency\": \"USDC\",\n        \"network\": \"ethereum\",\n        \"status\": \"BLOCKED\",\n        \"createdAt\": \"2023-02-21T08:40:32.006Z\",\n        \"updatedAt\": \"2023-02-27T13:31:28.650Z\"\n    }\n}"}],"_postman_id":"b024485f-eca9-4228-a4ea-81b56374f89c"},{"name":"Create subscription","id":"876a005f-009b-460b-8d93-677c20655d07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n    \"billingLinkId\": \"d4c5a6ad-9085-427c-bb3b-7c7dd9fb447d\",\n    \"title\": \"Flixnet/monthly\",\n    \"description\": \"Flixnet monthly subscription / HD quality\",\n    \"spendInterval\": -3,\n    \"currency\": \"USDT\",\n    \"amount\": \"1\",\n    \"webhookUrl\": \"https://site.com/webhook\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/create-subscription","description":"<p>Create subscription (periodical payments) to provided billing link.</p>\n<p>You can receive <a href=\"#webhooks\">webhooks</a> on your provided <code>webhookUrl</code> about subscription statuses and payments.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>merchantId</td>\n<td>Yes</td>\n<td>String</td>\n<td>Merchant ID</td>\n</tr>\n<tr>\n<td>billingLinkId</td>\n<td>Yes</td>\n<td>String</td>\n<td>Billink link ID</td>\n</tr>\n<tr>\n<td>title</td>\n<td>Yes</td>\n<td>String</td>\n<td>Subscription title</td>\n</tr>\n<tr>\n<td>description</td>\n<td>No</td>\n<td>String</td>\n<td>Subscription description</td>\n</tr>\n<tr>\n<td>spendInterval</td>\n<td>Yes</td>\n<td>String</td>\n<td>In minutes.  <br />If negative value is provided, following settings will apply:  <br />-1: every day  <br />-2: every 7 days  <br />-3: every 28 days</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Yes</td>\n<td>String</td>\n<td>Amount of subscription will be processed in this currency</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>Yes</td>\n<td>String</td>\n<td>Amount of periodical payment</td>\n</tr>\n<tr>\n<td>webhookUrl</td>\n<td>No</td>\n<td>String</td>\n<td>URL for receiving info about subscription statuses and payments</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["recurrents","create-subscription"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"7989eee4-74d3-4015-b133-97ed1e377208","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n    \"billingLinkId\": \"7650dd72-2126-4043-8ab4-dbcda85a2215\",\n    \"title\": \"Flixnet/monthly\",\n    \"description\": \"Flixnet monthly subscription / HD quality\",\n    \"spendInterval\": -3,    // In minutes. \n                            // If negative value is provided, following settings will apply:\n                            // -1: DAY - payment once a day\n                            // -2: WEEK - payment once in 7 days\n                            // -3: MONTH - payment once in 28 days\n    \"currency\": \"USDT\",\n    \"amount\": \"1\",\n    \"webhookUrl\": \"https://site.com/webhook\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/create-subscription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"9824ac16-431f-43f0-b776-44bb24f374eb\",\n        \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n        \"billingLinkId\": \"d4c5a6ad-9085-427c-bb3b-7c7dd9fb447d\",\n        \"title\": \"Flixnet/monthly\",\n        \"description\": \"Flixnet monthly subscription / HD quality\",\n        \"currency\": \"USDT\",\n        \"amount\": \"1.00000000\",\n        \"spendInterval\": -3,\n        \"webhookUrl\": \"https://site.com/webhook\",\n        \"status\": \"PENDING\",\n        \"createdAt\": \"2023-03-01T13:34:11.847Z\",\n        \"updatedAt\": \"2023-03-01T13:46:12.168Z\"\n    }\n}"}],"_postman_id":"876a005f-009b-460b-8d93-677c20655d07"},{"name":"Get subscription","id":"91bb6324-9bd1-44d0-b19a-66946f681d34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n    \"id\": \"0bdcfd8d-5b99-4a8f-8ead-1affb6bc5090\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/get-subscription","description":"<p>Get subscription by its id.</p>\n","urlObject":{"path":["recurrents","get-subscription"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"c91b7780-f509-41ed-b405-51bad52e6f6a","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n    \"id\": \"0bdcfd8d-5b99-4a8f-8ead-1affb6bc5090\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/get-subscription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"d5743dea-5a78-4096-ae07-95b1f10bc5dd\",\n        \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n        \"billingLinkId\": \"e7e7a111-2d24-4aa3-afae-540f313c738b\",\n        \"title\": \"Flixnet/monthly\",\n        \"description\": \"Flixnet monthly subscription / HD quality\",\n        \"currency\": \"USDT\",\n        \"amount\": \"0.20000000\",\n        \"spendInterval\": -3,\n        \"message\": \"Canceled by client\",\n        \"webhookUrl\": \"https://site.com/webhook\",\n        \"status\": \"CANCEL\",\n        \"createdAt\": \"2023-03-01T15:55:53.471Z\",\n        \"updatedAt\": \"2023-03-01T15:58:26.259Z\"\n    }\n}"}],"_postman_id":"91bb6324-9bd1-44d0-b19a-66946f681d34"},{"name":"Cancel subscription","id":"fde311e8-04e9-4ae9-a9b2-3da5698124be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n    \"id\": \"0bdcfd8d-5b99-4a8f-8ead-1affb6bc5090\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/cancel-subscription","description":"<p>Cancel subscription by its id.</p>\n","urlObject":{"path":["recurrents","cancel-subscription"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"f7d1f14b-e35a-4a40-822c-7f4685b5e83e","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n    \"id\": \"0bdcfd8d-5b99-4a8f-8ead-1affb6bc5090\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/create-subscription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"0bdcfd8d-5b99-4a8f-8ead-1affb6bc5090\",\n        \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n        \"billingLinkId\": \"d4c5a6ad-9085-427c-bb3b-7c7dd9fb447d\",\n        \"title\": \"Flixnet/monthly\",\n        \"description\": \"Flixnet monthly subscription / HD quality\",\n        \"currency\": \"USDT\",\n        \"amount\": \"1.00000000\",\n        \"spendInterval\": -3,\n        \"message\": \"Canceled by merchant\",\n        \"webhookUrl\": \"https://site.com/webhook\",\n        \"status\": \"CANCEL\",\n        \"createdAt\": \"2023-03-01T13:46:12.168Z\",\n        \"updatedAt\": \"2023-03-01T13:46:12.168Z\"\n    }\n}"}],"_postman_id":"fde311e8-04e9-4ae9-a9b2-3da5698124be"},{"name":"Make payment","id":"46d7bac0-8302-4727-a7c6-4593267869a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n    \"billingLinkId\": \"6196a1f2-b6b5-40a5-a672-f1ffd70fdd7d\",\n    \"amount\": \"0.005\",\n    \"webhookUrl\": \"https://site.com/webhook\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/make-payment","description":"<p>Make one-time payment with specific billing link.</p>\n<p>Status <code>PENDING</code> is returned in the answer. After finalization transaction you can receive a <a href=\"#webhooks\">webhook</a> on your <code>webhookUrl</code> provided earlier.</p>\n","urlObject":{"path":["recurrents","make-payment"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"848e9d89-3f3c-45bc-beb8-759b6e73e96a","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n    \"billingLinkId\": \"6196a1f2-b6b5-40a5-a672-f1ffd70fdd7d\",\n    \"amount\": \"0.005\",\n    \"webhookUrl\": \"https://site.com/webhook\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/make-payment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"2fa68ddf-2479-47cb-9e66-ae91139c3063\",\n        \"billingLinkId\": \"6196a1f2-b6b5-40a5-a672-f1ffd70fdd7d\",\n        \"amount\": \"0.005\",\n        \"status\": \"PENDING\",\n        \"tx\": null,\n        \"webhookUrl\": \"https://site.com/webhook\",\n        \"createdAt\": \"2023-03-02T06:58:00.365Z\",\n        \"updatedAt\": \"2023-03-02T06:58:00.566Z\"\n    }\n}"}],"_postman_id":"46d7bac0-8302-4727-a7c6-4593267869a5"}],"id":"f7d62708-ec99-4b7d-94f2-04a06d856b20","description":"<p>Here is general flow of using \"Recurrent\" methods and connecting your subscribers to the service.</p>\n<ol>\n<li>Firsly, you should create a merchant in \"Recurrent\" section on a website</li>\n<li>There will be identificator of merchant on \"Recurrents\" page. This ID should be provided in all API methods in the field <code>merchantId</code></li>\n<li>Next you can call method for creating url for binding subscriber's address to the service. (create-subscriber-billing-link)</li>\n<li>You should send to your user a link obtained from previous response</li>\n<li>After connecting web3 wallet, user binds his address with particular network and token to the service</li>\n<li>After successful creation of billing link, you will receive a webhook with billing link's data on your <code>webhookUrl</code> provided in 3rd step</li>\n</ol>\n<p>From now on, you can use billing link by two following options:</p>\n<ul>\n<li>Create a subscription - payment with fixed sum once in a period</li>\n<li>Call a method for one-time payment - forced payment with specified sum from user's address</li>\n</ul>\n","_postman_id":"f7d62708-ec99-4b7d-94f2-04a06d856b20"},{"name":"Crosschain bridge","item":[{"name":"Commission preview","id":"f67f6d22-45af-40c8-8590-537b521213be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"currency\": \"USDT\",\n    \"networkFrom\": \"bsc\",\n    \"networkTo\": \"tron\",\n    \"amount\": \"10000\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/bridge/fee-token","description":"<p>The method allows you to get information about the commission for the operation</p>\n","urlObject":{"path":["bridge","fee-token"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"0e0fc629-5cb9-445f-8dc9-08734317183b","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"currency\": \"USDT\",\n    \"networkFrom\": \"bsc\",\n    \"networkTo\": \"tron\",\n    \"amount\": \"10000\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/create-subscriber-billing-link"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n        \"blockchainFee\": \"1.80\",\n        \"blockchainFeeUSD\": \"1.80\",\n        \"serviceFeeUSD\": \"1.50\",\n        \"amount\": \"10000\",\n        \"amountUSD\": \"10000\",\n        \"token\": \"...\",\n        \"expiresAt\": \"2022-02-02T06:07:34.067Z\"\n    }\n}"}],"_postman_id":"f67f6d22-45af-40c8-8590-537b521213be"},{"name":"Creating an operation","id":"9676abb2-8dba-4707-85de-547d03ed16df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"clientId\": \"external system identifier to avoid duplication\",\n    \"addressFromId\": \"fa475cfa-15e8-c31d-7469-5f1168052cd6\",\n    \"addressToId\": \"607976c9-0270-59a3-a528-0d92489c3fc8\",\n    \"feeToken\": \"...\",\n    \"webhookUrl\": \"https://my-show.com/...\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/bridge/create","description":"<p>The method allows you to initiate an asset exchange operation between networks</p>\n<p>Available statuses</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Статус</strong></th>\n<th><strong>Описание</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CREATED</td>\n<td>Request registered</td>\n</tr>\n<tr>\n<td>PENDING</td>\n<td>Being processed</td>\n</tr>\n<tr>\n<td>ERROR</td>\n<td>Error during execution</td>\n</tr>\n<tr>\n<td>REJECTED</td>\n<td>Request denied</td>\n</tr>\n<tr>\n<td>PROCESSED</td>\n<td>Success</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["bridge","create"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"60c1a9aa-7aed-4510-90dd-4a7704a53a72","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"clientId\": \"external system identifier to avoid duplication\",\n    \"addressFromId\": \"fa475cfa-15e8-c31d-7469-5f1168052cd6\",\n    \"addressToId\": \"607976c9-0270-59a3-a528-0d92489c3fc8\",\n    \"feeToken\": \"...\",\n    \"webhookUrl\": \"https://my-show.com/...\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/create-subscriber-billing-link"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"816a19eb-be39-4eaa-9392-6fda708f24d8\",\n        \"clientId\": \"...\",\n        \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n        \"currency\": \"USDT\",\n        \"networkFrom\": \"bsc\",\n        \"networkTo\": \"tron\",\n        \"status\": \"PENDING\",\n        \"rejectMessage\": null,\n        \"addressFromId\": \"fa475cfa-15e8-c31d-7469-5f1168052cd6\",\n        \"addressToId\": \"607976c9-0270-59a3-a528-0d92489c3fc8\",\n        \"amount\": \"10000\",\n        \"amountUSD\": \"10000\",\n        \"blockchainFee\": \"1.80\",\n        \"blockchainFeeUSD\": \"1.80\",\n        \"serviceFeeUSD\": \"1.50\",\n        \"webhookUrl\": \"https://my-show.com/...\",\n        \"createdAt\": \"2022-02-02T06:07:34.067Z\"\n    }\n}"}],"_postman_id":"9676abb2-8dba-4707-85de-547d03ed16df"},{"name":"Getting information about the operation","id":"3a3f4de2-f83d-491f-9294-c9d72705c65e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"816a19eb-be39-4eaa-9392-6fda708f24d8\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/bridge/get","description":"<p>The method allows you to get information on the operation of the asset exchange between networks</p>\n<p>Available statuses</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Статус</strong></th>\n<th><strong>Описание</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CREATED</td>\n<td>Request registered</td>\n</tr>\n<tr>\n<td>PENDING</td>\n<td>Being processed</td>\n</tr>\n<tr>\n<td>ERROR</td>\n<td>Error during execution</td>\n</tr>\n<tr>\n<td>REJECTED</td>\n<td>Request denied</td>\n</tr>\n<tr>\n<td>PROCESSED</td>\n<td>Success</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["bridge","get"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"00b274bb-bec6-4b98-aea5-4d140292310d","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"816a19eb-be39-4eaa-9392-6fda708f24d8\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrents/create-subscriber-billing-link"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"816a19eb-be39-4eaa-9392-6fda708f24d8\",\n        \"clientId\": \"...\",\n        \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n        \"currency\": \"USDT\",\n        \"networkFrom\": \"bsc\",\n        \"networkTo\": \"tron\",\n        \"status\": \"PENDING\",\n        \"rejectMessage\": null,\n        \"addressFromId\": \"fa475cfa-15e8-c31d-7469-5f1168052cd6\",\n        \"addressToId\": \"607976c9-0270-59a3-a528-0d92489c3fc8\",\n        \"amount\": \"10000\",\n        \"amountUSD\": \"10000\",\n        \"blockchainFee\": \"1.80\",\n        \"blockchainFeeUSD\": \"1.80\",\n        \"serviceFeeUSD\": \"1.50\",\n        \"webhookUrl\": \"https://my-show.com/...\",\n        \"createdAt\": \"2022-02-02T06:07:34.067Z\"\n    }\n}"}],"_postman_id":"3a3f4de2-f83d-491f-9294-c9d72705c65e"},{"name":"Request limits","id":"221a78cc-5f4d-445f-b57c-ca66d32fbbda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/bridge/limit","description":"<p>Request to receive the upper/lower limit of the allowable amount for the operation. The limit is specified in <strong>USD</strong></p>\n","urlObject":{"path":["bridge","limit"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"23102ec9-155d-48e5-9285-a45445e0de16","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/bridge/limit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"min\": \"50\",\n        \"max\": \"10000\"\n    }\n}"}],"_postman_id":"221a78cc-5f4d-445f-b57c-ca66d32fbbda"}],"id":"9729a565-5820-44ac-b222-d34ad10c0ccc","description":"<p>A crosschain bridge is an asset exchange between networks. For example, you have <strong>USDT</strong> on the <strong>Ethereum</strong> network, and you want them to be on the <strong>Tron</strong> network.</p>\n<p>To conduct an asset exchange between networks, you need to make sure that this service is available in the networks you have chosen. To do this, request <a href=\"#e4658fd5-5daf-4689-b845-663f8ed93470\">list of available coins</a>, find the coin you need, it will have a list of <code>networks</code> networks, make sure that the flag <code>allowCrosschainBridge</code> for the networks you need is set to <code>true</code></p>\n<p>Find out the <a href=\"#221a78cc-5f4d-445f-b57c-ca66d32fbbda\">allowable limit</a> for the transaction amount. Please note that the limit amounts are indicated in <strong>USD</strong>, the rates of such stablecoins as <strong>USDT</strong>, <strong>BUSD</strong> etc do not differ significantly from the rate of <strong>USD</strong>, and if you want to exchange another coin, then you will need to get the exchange rate to <strong>USD</strong> to make sure that your amount meets the specified limits.</p>\n<p>Request <a href=\"#f67f6d22-45af-40c8-8590-537b521213be\">fee preview</a> to get a <code>token</code>, it will need to be specified when <a href=\"#9676abb2-8dba-4707-85de-547d03ed16df\">requesting transaction creation</a> as <code>feeToken</code>.</p>\n<p>The operation is not executed immediately after the request, you must wait 1-3 minutes. You can <a href=\"#3a3f4de2-f83d-491f-9294-c9d72705c65e\">find out the operation execution status</a> yourself, or you can specify the URL to receive the <a href=\"#webhooks\">webhook</a> in the <code>webhookUrl</code> field when creating.</p>\n<p>Available statuses</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Статус</strong></th>\n<th><strong>Описание</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CREATED</td>\n<td>Request registered</td>\n</tr>\n<tr>\n<td>PENDING</td>\n<td>Being processed</td>\n</tr>\n<tr>\n<td>ERROR</td>\n<td>Error during execution</td>\n</tr>\n<tr>\n<td>REJECTED</td>\n<td>Request denied</td>\n</tr>\n<tr>\n<td>PROCESSED</td>\n<td>Success</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"9729a565-5820-44ac-b222-d34ad10c0ccc"},{"name":"Crosschain swap","item":[{"name":"Commission preview","id":"1eb19a91-5101-4113-9bbd-e8b91467e181","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"currencyFrom\": \"TRX\",\n    \"currencyTo\": \"USDT\",\n    \"networkFrom\": \"tron\",\n    \"networkTo\": \"bsc\",\n    \"amount\": \"10000\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/swaps/fee-token","description":"<p>The method allows you to get information about the commission for the exchange</p>\n<p>Blockchain fee charging source (<code>serviceBlockchainFeeSource</code>) can have 2 values <code>ADDRESS</code> (taken from address balance) and <code>ADVANCE</code> (taken from advance balance)</p>\n<p>The provider fee for providing the service (<code>providerBlockchainFeeSource</code>) is always taken from the specified amount and has the value <code>AMOUNT</code></p>\n<p>The service fee for providing the service (<code>serviceFeeSource</code>) is taken from the advance balance and has the value <code>ADVANCE</code></p>\n","urlObject":{"path":["swaps","fee-token"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"dd0eb892-e603-4464-83a2-dd0e9226b594","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"currencyFrom\": \"TRX\",\n    \"currencyTo\": \"USDT\",\n    \"networkFrom\": \"bsc\",\n    \"networkTo\": \"tron\",\n    \"amount\": \"10000\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/swaps/fee-token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n        \"amountFrom\": \"100000\",\n        \"amountTo\": \"10000\",\n        \"serviceBlockchainFeeSource\": \"ADDRESS\",\n        \"serviceBlockchainFee\": \"1.80\",\n        \"serviceBlockchainFeeUSD\": \"1.80\",\n        \"providerBlockchainFeeSource\": \"AMOUNT\",\n        \"providerBlockchainFee\": \"1.80\",\n        \"providerBlockchainFeeUSD\": \"1.80\",\n        \"serviceFeeSource\": \"ADVANCE\",\n        \"serviceFee\": \"1.80\",\n        \"serviceFeeUSD\": \"1.80\",\n        \"price\": \"0.1\",\n        \"token\": \"...\",\n        \"expiresAt\": \"2022-02-02T06:07:34.067Z\"\n    }\n}"}],"_postman_id":"1eb19a91-5101-4113-9bbd-e8b91467e181"},{"name":"Create an swap","id":"75929dd7-c7f5-44b7-b830-018c2e0a0efe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"clientId\": \"идентификатор внешней системы для избежания дублирования\",\n    \"addressFromId\": \"fa475cfa-15e8-c31d-7469-5f1168052cd6\",\n    \"addressToId\": \"607976c9-0270-59a3-a528-0d92489c3fc8\",\n    \"feeToken\": \"...\",\n    \"webhookUrl\": \"https://my-show.com/...\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/swaps/create","description":"<p>The method allows you to initiate an asset swap operation</p>\n<p>Available statuses</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CREATED</td>\n<td>Request registered</td>\n</tr>\n<tr>\n<td>PENDING</td>\n<td>Processing</td>\n</tr>\n<tr>\n<td>ERROR</td>\n<td>Error during execution</td>\n</tr>\n<tr>\n<td>REJECTED</td>\n<td>Request rejected</td>\n</tr>\n<tr>\n<td>PROCESSED</td>\n<td>Success</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["swaps","create"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"9c1fd2c6-4d86-48e9-b3d2-5f2f87d5c01e","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"clientId\": \"идентификатор внешней системы для избежания дублирования\",\n    \"addressFromId\": \"fa475cfa-15e8-c31d-7469-5f1168052cd6\",\n    \"addressToId\": \"607976c9-0270-59a3-a528-0d92489c3fc8\",\n    \"feeToken\": \"...\",\n    \"webhookUrl\": \"https://my-show.com/...\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/swaps/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"816a19eb-be39-4eaa-9392-6fda708f24d8\",\n        \"clientId\": \"...\",\n        \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n        \"currencyFrom\": \"TRX\",\n        \"currencyTo\": \"USDT\",\n        \"networkFrom\": \"tron\",\n        \"networkTo\": \"bsc\",\n        \"status\": \"PENDING\",\n        \"rejectMessage\": null,\n        \"addressFromId\": \"fa475cfa-15e8-c31d-7469-5f1168052cd6\",\n        \"addressToId\": \"607976c9-0270-59a3-a528-0d92489c3fc8\",\n        \"amountFrom\": \"100000\",\n        \"amountTo\": \"10000\",\n        \"price\": \"0.1\",\n        \"serviceBlockchainFeeSource\": \"ADDRESS\",\n        \"serviceBlockchainFee\": \"1.80\",\n        \"serviceBlockchainFeeUSD\": \"1.80\",\n        \"providerBlockchainFeeSource\": \"AMOUNT\",\n        \"providerBlockchainFee\": \"1.80\",\n        \"providerBlockchainFeeUSD\": \"1.80\",\n        \"serviceFeeSource\": \"ADVANCE\",\n        \"serviceFee\": \"1.80\",\n        \"serviceFeeUSD\": \"1.80\",\n        \"webhookUrl\": \"https://my-show.com/...\",\n        \"createdAt\": \"2022-02-02T06:07:34.067Z\"\n    }\n}"}],"_postman_id":"75929dd7-c7f5-44b7-b830-018c2e0a0efe"},{"name":"Getting information about the swap","id":"f1272a4a-fa54-4bb9-b627-43eafb81a6b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"816a19eb-be39-4eaa-9392-6fda708f24d8\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/swaps/get","description":"<p>The method allows you to get information on the asset swap operation</p>\n<p>Available statuses</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CREATED</td>\n<td>Request registered</td>\n</tr>\n<tr>\n<td>PENDING</td>\n<td>Processing</td>\n</tr>\n<tr>\n<td>ERROR</td>\n<td>Error during execution</td>\n</tr>\n<tr>\n<td>REJECTED</td>\n<td>Request rejected</td>\n</tr>\n<tr>\n<td>PROCESSED</td>\n<td>Success</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["swaps","get"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"9a206e8c-89d8-4d09-9130-3174f6306007","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"816a19eb-be39-4eaa-9392-6fda708f24d8\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/swaps/get"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"816a19eb-be39-4eaa-9392-6fda708f24d8\",\n        \"clientId\": \"...\",\n        \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n        \"currencyFrom\": \"TRX\",\n        \"currencyTo\": \"USDT\",\n        \"networkFrom\": \"tron\",\n        \"networkTo\": \"bsc\",\n        \"status\": \"PENDING\",\n        \"rejectMessage\": null,\n        \"addressFromId\": \"fa475cfa-15e8-c31d-7469-5f1168052cd6\",\n        \"addressToId\": \"607976c9-0270-59a3-a528-0d92489c3fc8\",\n        \"amountFrom\": \"100000\",\n        \"amountTo\": \"10000\",\n        \"price\": \"0.1\",\n        \"serviceBlockchainFeeSource\": \"ADDRESS\",\n        \"serviceBlockchainFee\": \"1.80\",\n        \"serviceBlockchainFeeUSD\": \"1.80\",\n        \"providerBlockchainFeeSource\": \"AMOUNT\",\n        \"providerBlockchainFee\": \"1.80\",\n        \"providerBlockchainFeeUSD\": \"1.80\",\n        \"serviceFeeSource\": \"ADVANCE\",\n        \"serviceFee\": \"1.80\",\n        \"serviceFeeUSD\": \"1.80\",\n        \"webhookUrl\": \"https://my-show.com/...\",\n        \"createdAt\": \"2022-02-02T06:07:34.067Z\"\n    }\n}"}],"_postman_id":"f1272a4a-fa54-4bb9-b627-43eafb81a6b8"},{"name":"Request limits","id":"ebafca69-7149-4387-824d-3af906b37628","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/swaps/limit","description":"<p>Request to receive the upper/lower limit of the allowable amount for the operation. The limit is specified in <strong>USD</strong></p>\n","urlObject":{"path":["swaps","limit"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"86993820-1c4a-481e-a210-0ad95b68c3ec","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/swaps/limit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"min\": \"50\",\n        \"max\": \"10000\"\n    }\n}"}],"_postman_id":"ebafca69-7149-4387-824d-3af906b37628"}],"id":"c889eef1-7a0c-4c84-aedf-065bdc6a5af8","description":"<p>Crosschain swap is the exchange of one asset for another.</p>\n<p>To carry out an asset swap, you need to make sure that this service is available in the networks you have chosen. To do this, request <a href=\"#e4658fd5-5daf-4689-b845-663f8ed93470\">list of available coins</a>, find the coin you need, it will have a list of <code>networks</code> networks, make sure that the network of the asset you want to swap the <code>allowCrosschainSwapFrom</code> flag is wound <code>true</code>, and the network of the asset you want to receive has <code>allowCrosschainSwapTo</code> equal to <code>true</code>.</p>\n<p>For example:<br />You have <strong>ETH</strong> in the <strong>Ethereum</strong> network, in the list of available coins you should find the <strong>ETH</strong> coin, then in the list of <code>networks</code> find the <code>ethereum</code> network it should have <code>\"allowCrosschainSwapFrom \": true</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"response\": [\n    ...\n    {\n      \"currency\": \"ETH\",\n      ...\n      \"networks\": [\n        ...\n        {\n          \"name\": \"ethereum\",\n          ...\n          \"allowCrosschainSwapFrom\": true,\n          ...\n        }\n        ...\n      ]\n    },\n    ...\n  ]\n}\n\n</code></pre>\n<p>You want to swap it for <strong>USDT</strong> on the <strong>Tron</strong> network, in the list of available coins you should find the <strong>USDT</strong> coin, then in the <code>networks</code> list, find the <code>tron</code> network, it should have <code>\"allowCrosschainSwapTo\": true</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"response\": [\n    ...\n    {\n      \"currency\": \"USDT\",\n      ...\n      \"networks\": [\n        ...\n        {\n          \"name\": \"tron\",\n          ...\n          \"allowCrosschainSwapTo\": true,\n          ...\n        }\n        ...\n      ]\n    },\n    ...\n  ]\n}\n\n</code></pre>\n<p>Find out the <a href=\"#ebafca69-7149-4387-824d-3af906b37628\">allowable limit</a> for the transaction amount. Please note that the limit amounts are indicated in <strong>USD</strong>, the rates of such stablecoins as <strong>USDT</strong>, <strong>BUSD</strong> etc do not differ significantly from the rate of <strong>USD</strong>, and if you want to exchange another coin, then you will need to get the exchange rate to <strong>USD</strong> to make sure that your amount meets the specified limits.</p>\n<p>Request <a href=\"#1eb19a91-5101-4113-9bbd-e8b91467e181\">fee preview</a> to get a <code>token</code>, it will need to be specified when <a href=\"#75929dd7-c7f5-44b7-b830-018c2e0a0efe\">requesting transaction creation</a> as <code>feeToken</code>.</p>\n<p>The operation is not executed immediately after the request, you must wait 1-3 minutes. You can <a href=\"#f1272a4a-fa54-4bb9-b627-43eafb81a6b8\">find out the operation execution status</a> yourself, or you can specify the URL to receive the <a href=\"#webhooks\">webhook</a> in the <code>webhookUrl</code> field when creating.</p>\n<p>Available statuses</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CREATED</td>\n<td>Request registered</td>\n</tr>\n<tr>\n<td>PENDING</td>\n<td>Processing</td>\n</tr>\n<tr>\n<td>ERROR</td>\n<td>Error during execution</td>\n</tr>\n<tr>\n<td>REJECTED</td>\n<td>Request rejected</td>\n</tr>\n<tr>\n<td>PROCESSED</td>\n<td>Success</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"c889eef1-7a0c-4c84-aedf-065bdc6a5af8"},{"name":"Personal addresses","item":[{"name":"Create user","id":"e0405f99-8a54-49fd-a08d-6d60ff965317","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"clientId\": \"123337\",\n    \"clientEmail\": \"test123337@test.com\",\n    \"clientName\": \"test123337\",\n    \"depositWebhookUrl\": \"https://example.com/deposit/123337\",\n    \"createAddresses\": true,\n    \"groupByBlockchain\": true,\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/personal-addresses/create-user","description":"<p>This method provides functionality of:</p>\n<ul>\n<li>creating user</li>\n<li>updating data of a previously created user when specifying the same <code>clienId</code>. The sent parameter values overwrite the previous data.</li>\n</ul>\n<p>When depositing, a <a href=\"#webhooks\">webhook</a>, is sent to the user's personal address, to the <code>depositWebhookUrl</code> specified in the request. When withdrawing (the common method of \"Make withdrawal\" / make-withdrawal) from a personal address, a status of this withdrawal will be in response.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId</td>\n<td>Yes</td>\n<td>String</td>\n<td>External user identificator (in your system)</td>\n</tr>\n<tr>\n<td>clientEmail</td>\n<td>Yes</td>\n<td>String</td>\n<td>User's email</td>\n</tr>\n<tr>\n<td>clientName</td>\n<td>No</td>\n<td>String</td>\n<td>User's name</td>\n</tr>\n<tr>\n<td>depositWebhookUrl</td>\n<td>No</td>\n<td>String</td>\n<td>URL for receiving webhooks about deposits to user addresses</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["personal-addresses","create-user"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"fbdee016-180a-4458-a805-dd0c479613d2","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"clientId\": \"123337\",\n    \"clientEmail\": \"test123337@test.com\",\n    \"clientName\": \"test123337\",\n    \"depositWebhookUrl\": \"https://example.com/deposit/123337\",\n    \"createAddresses\": true,\n    \"groupByBlockchain\": true,\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/personal-addresses/create-user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"9eec79cc-ee20-436b-acdb-78621afb3ab3\",\n        \"clientId\": \"123337\",\n        \"clientName\": \"test123337\",\n        \"clientEmail\": \"test123337@test.com\",\n        \"depositWebhookUrl\": \"https://example.com/deposit/123337\",\n        \"createdAt\": \"2023-03-12T18:25:30.785Z\",\n        \"updatedAt\": \"2023-03-12T18:29:36.583Z\"\n    }\n}"}],"_postman_id":"e0405f99-8a54-49fd-a08d-6d60ff965317"},{"name":"Get user","id":"bdc6434e-2f67-4494-bd3d-ca60431105a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"9eec79cc-ee20-436b-acdb-78621afb3ab3\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/personal-addresses/get-user","description":"<p>Get user data by providing its identificator (you can provide external user id as well)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Описание</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Yes, if <code>clientId</code> was not provided</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>Yes, if <code>id</code> was not provided</td>\n<td>String</td>\n<td>External user ID (in your system)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["personal-addresses","get-user"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"528dce42-323e-4d64-bcb4-0023cb60b938","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"clientId\": \"123321\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/personal-addresses/get-user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"9eec79cc-ee20-436b-acdb-78621afb3ab3\",\n        \"clientId\": \"123321\",\n        \"clientName\": \"test1\",\n        \"clientEmail\": \"test1@test.com\",\n        \"depositWebhookUrl\": \"https://example.com/deposit/123321\",\n        \"createdAt\": \"2023-03-12T18:25:30.785Z\",\n        \"updatedAt\": \"2023-03-12T18:25:30.785Z\"\n    }\n}"},{"id":"69f4caca-03f9-4175-a1d8-b9b925eb8e66","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"9eec79cc-ee20-436b-acdb-78621afb3ab3\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/personal-addresses/get-user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"9eec79cc-ee20-436b-acdb-78621afb3ab3\",\n        \"clientId\": \"123321\",\n        \"clientName\": \"test1\",\n        \"clientEmail\": \"test1@test.com\",\n        \"depositWebhookUrl\": \"https://example.com/deposit/123321\",\n        \"createdAt\": \"2023-03-12T18:25:30.785Z\",\n        \"updatedAt\": \"2023-03-12T18:25:30.785Z\"\n    }\n}"}],"_postman_id":"bdc6434e-2f67-4494-bd3d-ca60431105a5"},{"name":"Get/Renew personal address","id":"a7a0e4ac-b446-4142-b637-0492f37679a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"e8d8ccc4-37bd-4b44-8e4c-79997e5240fc\",\n    \"currency\": \"USDT\",\n    \"network\": \"tron\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/personal-addresses/get-user-address","description":"<p>By using this method you can:</p>\n<ul>\n<li>Get the address for the user in the specified coin and network. When the request is repeated, the previously created address is returned, which will have <code>isActive: true</code></li>\n<li>Generate a new address for the user in the specified coin and network, when specifying the parameter <code>renewAddress</code>. The new address will have <code>isActive: true</code>, previously generated addresses with the same coin and network will have <code>isActive: false</code></li>\n</ul>\n<p>Note: At any time, a user can have only one active address in particular coin and network. Deposits and withdrawals work at all addresses, regardless of the parameter <code>isActive</code></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Yes</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Yes</td>\n<td>String</td>\n<td>Currency</td>\n</tr>\n<tr>\n<td>network</td>\n<td>Yes</td>\n<td>String</td>\n<td>Network</td>\n</tr>\n<tr>\n<td>renewAddress</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Generate new address</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["personal-addresses","get-user-address"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"e922912b-3efb-4dbc-82a5-0c9ef7e7bbd3","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"e8d8ccc4-37bd-4b44-8e4c-79997e5240fc\",\n    \"currency\": \"USDT\",\n    \"network\": \"tron\",\n    \"renewAddress\": true,\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/personal-addresses/get-user-address"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"9569fea9-74ab-40bb-a2ed-3693fc2c626b\",\n        \"userId\": \"e8d8ccc4-37bd-4b44-8e4c-79997e5240fc\",\n        \"currency\": \"USDT\",\n        \"network\": \"tron\",\n        \"address\": \"TDZd6WzSWB\",\n        \"tag\": null,\n        \"balance\": \"0\",\n        \"isActive\": true\n    }\n}"}],"_postman_id":"a7a0e4ac-b446-4142-b637-0492f37679a9"},{"name":"Get all user's addresses","id":"70fe0d19-f868-4689-8eb9-0474ada75e99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"1c98d228-652e-40ee-969b-618640ef7a4c\",\n    \"isActive\": true,\n    \"currency\": [\"USDT\"],\n    \"network\": [\"bsc\"],\n    \"balance\": {\n        \"from\": \"0\",\n        \"to\": \"0.5\"\n    },\n    \"offset\": 0,\n    \"limit\": 20,\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/personal-addresses/get-user-addresses","description":"<p>The method allows you to get all the user's personal addresses. Deposits and withdrawals are available for all addresses, but the user should only see addresses with <code>isActive: true</code>.</p>\n<p>Thus, if necessary, you can generate a new address for a user in a certain coin and network, then all previous addresses in this coin and network will have the parameter <code>isActive: false</code> (read more in the previous method \"Get/Renew personal address\")</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>offset</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Offset (for pagination)</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Limit (for pagination)</td>\n</tr>\n<tr>\n<td>id</td>\n<td>No</td>\n<td>String</td>\n<td>Filter by User ID</td>\n</tr>\n<tr>\n<td>isActive</td>\n<td>No</td>\n<td>Boolean</td>\n<td>Filter by parameter <code>isActive</code></td>\n</tr>\n<tr>\n<td>currency</td>\n<td>No</td>\n<td>Array</td>\n<td>Filter by currencies</td>\n</tr>\n<tr>\n<td>network</td>\n<td>No</td>\n<td>Array</td>\n<td>Filter by networks</td>\n</tr>\n<tr>\n<td>balance</td>\n<td>No</td>\n<td>Object</td>\n<td>Filter by address balance</td>\n</tr>\n<tr>\n<td>balance.from</td>\n<td>No</td>\n<td>String</td>\n<td>Filter by addresses whose balance is greater than or equal to the specified value</td>\n</tr>\n<tr>\n<td>balance.to</td>\n<td>No</td>\n<td>String</td>\n<td>Filter by addresses whose balance is less than or equal to the specified value</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["personal-addresses","get-user-addresses"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"3c4a3675-3541-442a-be71-5b4b31e78b61","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"1c98d228-652e-40ee-969b-618640ef7a4c\",\n    \"isActive\": true,\n    \"currency\": [\"USDT\"],\n    \"network\": [\"bsc\"],\n    \"balance\": {\n        \"from\": \"0\",\n        \"to\": \"0.5\"\n    },\n    \"offset\": 0,\n    \"limit\": 1,\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/personal-addresses/get-user-addresses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"addresses\": [\n            {\n                \"id\": \"b4f7c0fd-64e5-4d61-a942-79c690f477e1\",\n                \"userId\": \"1c98d228-652e-40ee-969b-618640ef7a4c\",\n                \"currency\": \"USDT\",\n                \"network\": \"bsc\",\n                \"address\": \"0xc7DCA895D9\",\n                \"tag\": \"\",\n                \"balance\": \"0\",\n                \"isActive\": true,\n                \"createdAt\": \"2023-03-16T07:41:00.998Z\"\n            }\n        ],\n        \"total\": 2\n    }\n}"}],"_postman_id":"70fe0d19-f868-4689-8eb9-0474ada75e99"}],"id":"4a8a14a1-6a99-4b32-b1e3-1a1881e9d793","description":"<p>This section allows external services to create personal addresses for their users</p>\n","_postman_id":"4a8a14a1-6a99-4b32-b1e3-1a1881e9d793"},{"name":"Partner API","item":[{"name":"Create user","id":"109b9959-1342-4d2f-a04f-b9717e99a351","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"my@email.com\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/create-user","description":"<p>The method allows you to create a user. If a user with such an <code>email</code> is already registered, the method will return the corresponding error.</p>\n<h3 id=\"request\">Request:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>Yes</td>\n<td>String</td>\n<td>User's email</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>email</td>\n<td>String</td>\n<td>User's email</td>\n</tr>\n<tr>\n<td>password</td>\n<td>String</td>\n<td>Generated password (shown only when created)</td>\n</tr>\n<tr>\n<td>lastLoginAt</td>\n<td>String or null</td>\n<td>Date of the user's last login via the web interface</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["create-user"],"host":["https://ocp.onchainpay.io/partner/api"],"query":[],"variable":[]}},"response":[{"id":"bdf97d62-212f-4c5b-afc8-f10a3b3c81c6","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"my@email.com\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/create-user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n        \"email\": \"my@email.com\",\n        \"password\": \"sCPJUXnBrJ\",\n        \"createdAt\": \"2023-04-24T11:31:49.291Z\",\n        \"updatedAt\": \"2023-04-24T11:31:49.291Z\",\n        \"confirmedAt\": \"2023-04-24T11:31:49.286Z\",\n        \"lastLoginAt\": null\n    }\n}"}],"_postman_id":"109b9959-1342-4d2f-a04f-b9717e99a351"},{"name":"Get user","id":"0bce559b-fe55-49bf-b857-7cc45a6e8126","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/get-user","description":"<p>The method allows you to get the user</p>\n<h3 id=\"request\">Request:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userId</td>\n<td>Yes</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>email</td>\n<td>String</td>\n<td>User's email</td>\n</tr>\n<tr>\n<td>utm</td>\n<td>String or null</td>\n<td>UTM tag data (if the user has registered via the web interface)</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>String</td>\n<td>User registration date</td>\n</tr>\n<tr>\n<td>confirmedAt</td>\n<td>String or null</td>\n<td>Date of confirmation of the user's mail</td>\n</tr>\n<tr>\n<td>lastLoginAt</td>\n<td>String</td>\n<td>Date of the user's last login via the web interface</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["get-user"],"host":["https://ocp.onchainpay.io/partner/api"],"query":[],"variable":[]}},"response":[{"id":"5891b397-c56b-4d6f-981d-1e5bbb453706","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/get-user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n        \"email\": \"my@email.com\",\n        \"utm\": null,\n        \"createdAt\": \"2023-04-24T11:31:49.291Z\",\n        \"updatedAt\": \"2023-04-24T11:31:49.291Z\",\n        \"confirmedAt\": \"2023-04-24T11:31:49.286Z\",\n        \"lastLoginAt\": null\n    }\n}"}],"_postman_id":"0bce559b-fe55-49bf-b857-7cc45a6e8126"},{"name":"Get all users","id":"bf02aec5-93a4-4372-9f87-106585716bdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"offset\": 0,\n    \"limit\": 1,\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/get-users","description":"<p>The method allows you to get all users</p>\n<h3 id=\"request\">Request:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userId</td>\n<td>Yes</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Limit on the number of users in the response</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Offset (for pagination)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>users</td>\n<td>Array</td>\n<td>Array of user objects</td>\n</tr>\n<tr>\n<td>total</td>\n<td>Number</td>\n<td>Total number of users</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"user-object\">User object:</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>email</td>\n<td>String</td>\n<td>User's email</td>\n</tr>\n<tr>\n<td>utm</td>\n<td>String or null</td>\n<td>UTM tag data (if the user has registered via the web interface)</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>String</td>\n<td>User registration date</td>\n</tr>\n<tr>\n<td>confirmedAt</td>\n<td>String or null</td>\n<td>Date of confirmation of the user's mail</td>\n</tr>\n<tr>\n<td>lastLoginAt</td>\n<td>String</td>\n<td>Date of the user's last login via the web interface</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["get-users"],"host":["https://ocp.onchainpay.io/partner/api"],"query":[],"variable":[]}},"response":[{"id":"4ad0a327-e6a1-42b0-a839-5804c483320e","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"offset\": 0,\n    \"limit\": 1,\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/get-users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"users\": [\n            {\n                \"id\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n                \"email\": \"my@email.com\",\n                \"utm\": null,\n                \"createdAt\": \"2023-04-24T11:31:49.291Z\",\n                \"updatedAt\": \"2023-04-24T11:31:49.291Z\",\n                \"confirmedAt\": \"2023-04-24T11:31:49.286Z\",\n                \"lastLoginAt\": null\n            }\n        ],\n        \"total\": 473\n    }\n}"}],"_postman_id":"bf02aec5-93a4-4372-9f87-106585716bdf"},{"name":"Create organization for user","id":"ef41518d-0214-493e-b020-cf3f578a25a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"offset\": 0,\n    \"limit\": 1,\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/create-user-organization","description":"<p>The method allows you to get all users</p>\n<h3 id=\"request\">Request:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userId</td>\n<td>Yes</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Limit on the number of users in the response</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Offset (for pagination)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>users</td>\n<td>Array</td>\n<td>Array of user objects</td>\n</tr>\n<tr>\n<td>total</td>\n<td>Number</td>\n<td>Total number of users</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"user-object\">User object:</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>email</td>\n<td>String</td>\n<td>User's email</td>\n</tr>\n<tr>\n<td>utm</td>\n<td>String or null</td>\n<td>UTM tag data (if the user has registered via the web interface)</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>String</td>\n<td>User registration date</td>\n</tr>\n<tr>\n<td>confirmedAt</td>\n<td>String or null</td>\n<td>Date of confirmation of the user's mail</td>\n</tr>\n<tr>\n<td>lastLoginAt</td>\n<td>String</td>\n<td>Date of the user's last login via the web interface</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["create-user-organization"],"host":["https://ocp.onchainpay.io/partner/api"],"query":[],"variable":[]}},"response":[{"id":"60941653-cd42-4ea9-a2ea-ab13b1f560e8","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"offset\": 0,\n    \"limit\": 1,\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/get-users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"success\": true,\n        \"code\": 0,\n        \"result\": \"efb2da8c-481d-4b23-a500-0560c49c236e\"\n    }\n}"}],"_postman_id":"ef41518d-0214-493e-b020-cf3f578a25a2"},{"name":"Get all organizations","id":"9abd579a-9e34-4f53-a230-38c8033c8f9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"a2d12df2-cd2c-4f6f-a2af-e52540f945fa\",\n    \"offset\": 0,\n    \"limit\": 1,\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/get-user-organizations","description":"<p>The method allows you to get all users</p>\n<h3 id=\"request\">Request:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userId</td>\n<td>Yes</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Limit on the number of users in the response</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Offset (for pagination)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>users</td>\n<td>Array</td>\n<td>Array of user objects</td>\n</tr>\n<tr>\n<td>total</td>\n<td>Number</td>\n<td>Total number of users</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"user-object\">User object:</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>email</td>\n<td>String</td>\n<td>User's email</td>\n</tr>\n<tr>\n<td>utm</td>\n<td>String or null</td>\n<td>UTM tag data (if the user has registered via the web interface)</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>String</td>\n<td>User registration date</td>\n</tr>\n<tr>\n<td>confirmedAt</td>\n<td>String or null</td>\n<td>Date of confirmation of the user's mail</td>\n</tr>\n<tr>\n<td>lastLoginAt</td>\n<td>String</td>\n<td>Date of the user's last login via the web interface</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["get-user-organizations"],"host":["https://ocp.onchainpay.io/partner/api"],"query":[],"variable":[]}},"response":[{"id":"1d1afe02-033d-401c-b368-41c0279850a1","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"a2d12df2-cd2c-4f6f-a2af-e52540f945fa\",\n    \"offset\": 0,\n    \"limit\": 1,\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/get-user-organizations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": [\n        {\n            \"id\": \"a87e538d-b62b-48eb-bb47-bf3a15662f12\",\n            \"name\": \"custom name 2\",\n            \"createdAt\": \"2023-05-29T12:46:09.123Z\"\n        },\n        {\n            \"id\": \"2607f9da-2cc0-426a-bd1c-0dd611bd19ca\",\n            \"name\": \"custom name\",\n            \"createdAt\": \"2023-05-29T12:44:48.759Z\"\n        },\n        {\n            \"id\": \"a2d12df2-cd2c-4f6f-a2af-e52540f945fa\",\n            \"name\": \"Organization\",\n            \"createdAt\": \"2023-05-05T14:49:32.523Z\"\n        }\n    ]\n}"}],"_postman_id":"9abd579a-9e34-4f53-a230-38c8033c8f9a"},{"name":"Get advanced balances","id":"5f591b7c-74d9-40b4-b5fd-a257162a8a52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"a2d12df2-cd2c-4f6f-a2af-e52540f945fa\",\n    \"organizationId\": \"a87e538d-b62b-48eb-bb47-bf3a15662f12\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/get-organization-advanced-balances","description":"<p>The method allows you to get user's advanced balances</p>\n<h3 id=\"request\">Request:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userId</td>\n<td>Yes</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>advancedBalanceId</td>\n<td>String</td>\n<td>Advanced balance ID</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>String</td>\n<td>Currency</td>\n</tr>\n<tr>\n<td>balance</td>\n<td>String</td>\n<td>Balance</td>\n</tr>\n<tr>\n<td>availableCurrenciesForDeposit</td>\n<td>Array of strings</td>\n<td>Array of currencies available to deposit to the advance balance</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["get-organization-advanced-balances"],"host":["https://ocp.onchainpay.io/partner/api"],"query":[],"variable":[]}},"response":[{"id":"3088474c-01d4-4c73-84e8-ff8e8f27f51a","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"a2d12df2-cd2c-4f6f-a2af-e52540f945fa\",\n    \"organizationId\": \"a87e538d-b62b-48eb-bb47-bf3a15662f12\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/get-user-advanced-balances"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": [\n        {\n            \"advancedBalanceId\": \"ef83f386-2772-43d0-8e55-215191a9f381\",\n            \"currency\": \"USD\",\n            \"blocked\": false,\n            \"blockReason\": null,\n            \"balance\": \"0\",\n            \"availableCurrenciesForDeposit\": [\n                \"USDT\",\n                \"USDC\",\n                \"USDD\",\n                \"BUSD\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"5f591b7c-74d9-40b4-b5fd-a257162a8a52"},{"name":"Top up advance balance","id":"ac60ac8b-df52-4b09-9f49-d4865c24fc77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n    \"organizationId\": \"a87e538d-b62b-48eb-bb47-bf3a15662f12\",\n    \"advancedBalanceId\": \"ef83f386-2772-43d0-8e55-215191a9f381\",\n    \"amount\": \"4.25\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/top-up-advanced-balance","description":"<p>The method allows you to top up the user's advance balance (check the availability of the method in support)</p>\n<h3 id=\"request\">Request:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userId</td>\n<td>Yes</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>advancedBalanceId</td>\n<td>Yes</td>\n<td>String</td>\n<td>Advanced balance ID</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>Yes</td>\n<td>String</td>\n<td>The amount of replenishment. The number must contain no more than two decimal places (i.e. '5.25' is suitable, but '5.529' is not)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["top-up-advanced-balance"],"host":["https://ocp.onchainpay.io/partner/api"],"query":[],"variable":[]}},"response":[{"id":"a3de217c-9cc1-432a-b865-9abeccc0a1c8","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"a2d12df2-cd2c-4f6f-a2af-e52540f945fa\",\n    \"organizationId\": \"a87e538d-b62b-48eb-bb47-bf3a15662f12\",\n    \"advancedBalanceId\": \"d90cf436-1c36-4465-a6ce-dee46740a900\",\n    \"amount\": \"3.25\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/top-up-advanced-balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": [\n        {\n            \"advancedBalanceId\": \"ef83f386-2772-43d0-8e55-215191a9f381\",\n            \"currency\": \"USD\",\n            \"blocked\": false,\n            \"blockReason\": null,\n            \"balance\": \"0\",\n            \"availableCurrenciesForDeposit\": [\n                \"USDT\",\n                \"USDC\",\n                \"USDD\",\n                \"BUSD\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"ac60ac8b-df52-4b09-9f49-d4865c24fc77"},{"name":"Get general tariffs","id":"177138bd-9fee-4099-b6c7-6a4877823194","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/get-default-tariffs","description":"<p>The method allows you to get all the general rates on the service. If an individual tariff is not specified for the user, then the general tariff for all users is applied when the commission is deducted</p>\n<h3 id=\"response\">Response:</h3>\n<p>The response contains an array of tariff objects:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>Tariff ID</td>\n</tr>\n<tr>\n<td>action</td>\n<td>String</td>\n<td>Tariff action</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>String</td>\n<td>The commission percentage of the transaction amount (for example, 0.01 means a commission of 1% of the transaction amount)</td>\n</tr>\n<tr>\n<td>minAmount</td>\n<td>String or null</td>\n<td>The minimum commission for charging (for example, when performing an operation, 1% of the transaction amount will be charged, but not less than <code>minAmount</code>)  <br />  <br /><code>null</code> - without limits</td>\n</tr>\n<tr>\n<td>maxAmount</td>\n<td>String or null</td>\n<td>The maximum commission for charging (for example, when performing an operation, 1% of the transaction amount will be charged, but no more than <code>maxAmount</code>)  <br />  <br /><code>null</code> - without limits</td>\n</tr>\n</tbody>\n</table>\n</div><p>Parameter <code>action</code> can take the following values:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Tariff</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>INTERNAL_TRANSFER</td>\n<td>Internal transfer</td>\n</tr>\n<tr>\n<td>ORDER_DEPOSIT</td>\n<td>Accepting payments for order</td>\n</tr>\n<tr>\n<td>WALLET_DEPOSIT</td>\n<td>Deposit to wallet</td>\n</tr>\n<tr>\n<td>WALLET_WITHDRAWAL</td>\n<td>Withdrawal from wallet</td>\n</tr>\n<tr>\n<td>PAYOUT_DEPOSIT</td>\n<td>Deposit to payout balance</td>\n</tr>\n<tr>\n<td>PAYOUT_WITHDRAWAL</td>\n<td>Withdrawal from payout balance</td>\n</tr>\n<tr>\n<td>PERSONAL_DEPOSIT</td>\n<td>Deposit to personal address</td>\n</tr>\n<tr>\n<td>PERSONAL_WITHDRAWAL</td>\n<td>Withdrawal from personal address</td>\n</tr>\n<tr>\n<td>RECURRENT_DEPOSIT</td>\n<td>Deposit to recurrent address (by periodical subscription)</td>\n</tr>\n<tr>\n<td>RECURRENT_WITHDRAWAL</td>\n<td>Withdrawal from recurrent address</td>\n</tr>\n<tr>\n<td>BRIDGE_INTERNAL</td>\n<td>Blockchain bridge (change network)</td>\n</tr>\n<tr>\n<td>BRIDGE_EXTERNAL</td>\n<td>Blockchain bridge via API</td>\n</tr>\n<tr>\n<td>EXCHANGE_INTERNAL</td>\n<td>Exchange</td>\n</tr>\n<tr>\n<td>EXCHANGE_AUTO</td>\n<td>Exchange via API</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["get-default-tariffs"],"host":["https://ocp.onchainpay.io/partner/api"],"query":[],"variable":[]}},"response":[{"id":"22b6c251-4e69-4427-906b-475620d68156","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/get-default-tariffs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": [\n        {\n            \"id\": \"e3351c92-682c-47ac-9af0-2e425ca5c016\",\n            \"action\": \"RECURRENT_WITHDRAWAL\",\n            \"amount\": \"0.12\",\n            \"type\": \"PERCENT\",\n            \"minAmount\": \"0.01\",\n            \"maxAmount\": \"500\"\n        },\n        {\n            \"id\": \"29215653-862a-46ce-946d-7d988a905a36\",\n            \"action\": \"PERSONAL_DEPOSIT\",\n            \"amount\": \"0.03\",\n            \"type\": \"PERCENT\",\n            \"minAmount\": \"0.1\",\n            \"maxAmount\": \"3000\"\n        },\n        {\n            \"id\": \"497703c6-f0a8-4ad3-93bf-c818bc6716df\",\n            \"action\": \"BRIDGE_INTERNAL\",\n            \"amount\": \"0.04\",\n            \"type\": \"PERCENT\",\n            \"minAmount\": \"0.1\",\n            \"maxAmount\": \"200000\"\n        },\n        {\n            \"id\": \"3c09edc9-2a6e-4ee8-8e48-da2b2b5d410b\",\n            \"action\": \"PERSONAL_WITHDRAWAL\",\n            \"amount\": \"0.03\",\n            \"type\": \"PERCENT\",\n            \"minAmount\": \"0.1\",\n            \"maxAmount\": \"3000\"\n        },\n        {\n            \"id\": \"6a3932d1-28a2-4891-b9d0-89a42988ff0f\",\n            \"action\": \"RECURRENT_DEPOSIT\",\n            \"amount\": \"0.14\",\n            \"type\": \"PERCENT\",\n            \"minAmount\": \"0.01\",\n            \"maxAmount\": \"500\"\n        },\n        {\n            \"id\": \"27762567-1f34-4b34-9dae-c1016d825a12\",\n            \"action\": \"EXCHANGE_AUTO\",\n            \"amount\": \"0.04\",\n            \"type\": \"FIXED\",\n            \"minAmount\": \"0.1\",\n            \"maxAmount\": \"500\"\n        },\n        {\n            \"id\": \"543dfcb9-6e06-4c19-b513-c99cc170bfdb\",\n            \"action\": \"BRIDGE_EXTERNAL\",\n            \"amount\": \"0.04\",\n            \"type\": \"FIXED\",\n            \"minAmount\": \"0.1\",\n            \"maxAmount\": \"500\"\n        },\n        {\n            \"id\": \"bccf96b8-1e74-4b9f-8d0f-40ec749053f3\",\n            \"action\": \"WALLET_WITHDRAWAL\",\n            \"amount\": \"0.025\",\n            \"type\": \"PERCENT\",\n            \"minAmount\": \"0.01\",\n            \"maxAmount\": \"50\"\n        },\n        {\n            \"id\": \"7bfa94fd-f535-4966-9bff-ecdd4f0c897a\",\n            \"action\": \"PAYOUT_WITHDRAWAL\",\n            \"amount\": \"0.03\",\n            \"type\": \"PERCENT\",\n            \"minAmount\": \"0.01\",\n            \"maxAmount\": \"50\"\n        },\n        {\n            \"id\": \"b3a82624-058b-47bd-ac6f-b9004878ec01\",\n            \"action\": \"EXCHANGE_INTERNAL\",\n            \"amount\": \"0.04\",\n            \"type\": \"PERCENT\",\n            \"minAmount\": \"0.1\",\n            \"maxAmount\": \"10\"\n        },\n        {\n            \"id\": \"4893a138-84bd-472b-b19b-80a3c45619f0\",\n            \"action\": \"WALLET_DEPOSIT\",\n            \"amount\": \"0.015\",\n            \"type\": \"PERCENT\",\n            \"minAmount\": \"0.02\",\n            \"maxAmount\": \"99\"\n        },\n        {\n            \"id\": \"d0ce0e85-d368-47b5-b544-c9186700fc42\",\n            \"action\": \"PAYOUT_DEPOSIT\",\n            \"amount\": \"0.03\",\n            \"type\": \"PERCENT\",\n            \"minAmount\": \"0.02\",\n            \"maxAmount\": \"100\"\n        },\n        {\n            \"id\": \"4190730d-e511-4305-ac87-bd2a9e491621\",\n            \"action\": \"ORDER_DEPOSIT\",\n            \"amount\": \"0.02\",\n            \"type\": \"PERCENT\",\n            \"minAmount\": \"0.1\",\n            \"maxAmount\": \"3000\"\n        },\n        {\n            \"id\": \"54b57814-082d-4c6e-8484-6034c906f935\",\n            \"action\": \"INTERNAL_TRANSFER\",\n            \"amount\": \"0\",\n            \"type\": \"FIXED\",\n            \"minAmount\": \"0.1\",\n            \"maxAmount\": \"3000\"\n        }\n    ]\n}"}],"_postman_id":"177138bd-9fee-4099-b6c7-6a4877823194"},{"name":"Create/update individual tariff","id":"2168de0e-23eb-4b30-8f3b-19ebb1c924e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n    \"organizationId\": \"a87e538d-b62b-48eb-bb47-bf3a15662f12\",\n    \"action\": \"WALLET_DEPOSIT\",\n    \"amount\": \"0.02\",\n    \"minAmount\": \"0.1\",\n    \"maxAmount\": \"50\",\n    \"comment\": \"tariff for John\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/set-user-tariff","description":"<p>The method allows you to create or update an individual tariff.</p>\n<p>If a tariff already exists for this <code>userId</code> and <code>action</code>, then the rest of the specified data will overwrite this tariff</p>\n<h3 id=\"request\">Request:</h3>\n<p>The response contains an array of tariff objects:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userId</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>action</td>\n<td>String</td>\n<td>Tariff action</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>String</td>\n<td>The commission percentage of the transaction amount (for example, 0.01 means a commission of 1% of the transaction amount)</td>\n</tr>\n<tr>\n<td>minAmount</td>\n<td>String or null</td>\n<td>The minimum commission for charging (for example, when performing an operation, 1% of the transaction amount will be charged, but not less than <code>minAmount</code>)  <br />  <br /><code>null</code> - without limits</td>\n</tr>\n<tr>\n<td>maxAmount</td>\n<td>String or null</td>\n<td>The maximum commission for charging (for example, when performing an operation, 1% of the transaction amount will be charged, but no more than <code>maxAmount</code>)  <br />  <br /><code>null</code> - without limits</td>\n</tr>\n<tr>\n<td>comment</td>\n<td>String or null</td>\n<td>Comment/note for tariff</td>\n</tr>\n</tbody>\n</table>\n</div><p>Parameter <code>action</code> can take the following values:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Tariff</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>INTERNAL_TRANSFER</td>\n<td>Internal transfer</td>\n</tr>\n<tr>\n<td>ORDER_DEPOSIT</td>\n<td>Accepting payments for order</td>\n</tr>\n<tr>\n<td>WALLET_DEPOSIT</td>\n<td>Deposit to wallet</td>\n</tr>\n<tr>\n<td>WALLET_WITHDRAWAL</td>\n<td>Withdrawal from wallet</td>\n</tr>\n<tr>\n<td>PAYOUT_DEPOSIT</td>\n<td>Deposit to payout balance</td>\n</tr>\n<tr>\n<td>PAYOUT_WITHDRAWAL</td>\n<td>Withdrawal from payout balance</td>\n</tr>\n<tr>\n<td>PERSONAL_DEPOSIT</td>\n<td>Deposit to personal address</td>\n</tr>\n<tr>\n<td>PERSONAL_WITHDRAWAL</td>\n<td>Withdrawal from personal address</td>\n</tr>\n<tr>\n<td>RECURRENT_DEPOSIT</td>\n<td>Deposit to recurrent address (by periodical subscription)</td>\n</tr>\n<tr>\n<td>RECURRENT_WITHDRAWAL</td>\n<td>Withdrawal from recurrent address</td>\n</tr>\n<tr>\n<td>BRIDGE_INTERNAL</td>\n<td>Blockchain bridge (change network)</td>\n</tr>\n<tr>\n<td>BRIDGE_EXTERNAL</td>\n<td>Blockchain bridge via API</td>\n</tr>\n<tr>\n<td>EXCHANGE_INTERNAL</td>\n<td>Exchange</td>\n</tr>\n<tr>\n<td>EXCHANGE_AUTO</td>\n<td>Exchange via API</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["set-user-tariff"],"host":["https://ocp.onchainpay.io/partner/api"],"query":[],"variable":[]}},"response":[{"id":"eaa76470-d6eb-4ebe-ae00-7652fbcd4f18","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n    \"organizationId\": \"a87e538d-b62b-48eb-bb47-bf3a15662f12\",\n    \"action\": \"WALLET_DEPOSIT\",\n    \"amount\": \"0.02\",\n    \"minAmount\": \"0.1\",\n    \"maxAmount\": \"50\",\n    \"comment\": \"tariff for John\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/set-user-tariff"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": null\n}"}],"_postman_id":"2168de0e-23eb-4b30-8f3b-19ebb1c924e4"},{"name":"Get individual tariffs","id":"f396af48-1cbc-45ff-80dd-11ea0667bbac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n    \"organizationId\": \"a87e538d-b62b-48eb-bb47-bf3a15662f12\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/get-user-tariffs","description":"<p>The method allows you to get all individual tariffs. If an individual tariff is specified for the user, the commission for the specified operation will be charged according to the individual tariff</p>\n<h3 id=\"request\">Request:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Обязателен</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userId</td>\n<td>Yes</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response:</h3>\n<p>The response contains an array of tariff objects:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>Tariff ID</td>\n</tr>\n<tr>\n<td>advancedBalanceId</td>\n<td>String</td>\n<td>Advanced balance ID</td>\n</tr>\n<tr>\n<td>action</td>\n<td>String</td>\n<td>Tariff action</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>String</td>\n<td>The commission percentage of the transaction amount (for example, 0.01 means a commission of 1% of the transaction amount)</td>\n</tr>\n<tr>\n<td>minAmount</td>\n<td>String or null</td>\n<td>The minimum commission for charging (for example, when performing an operation, 1% of the transaction amount will be charged, but not less than <code>minAmount</code>)  <br />  <br /><code>null</code> - without limits</td>\n</tr>\n<tr>\n<td>maxAmount</td>\n<td>String or null</td>\n<td>The maximum commission for charging (for example, when performing an operation, 1% of the transaction amount will be charged, but no more than <code>maxAmount</code>)  <br />  <br /><code>null</code> - without limits</td>\n</tr>\n<tr>\n<td>comment</td>\n<td>String or null</td>\n<td>Comment/note for tariff</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>String</td>\n<td>Дата создания тарифа</td>\n</tr>\n<tr>\n<td>updatedAt</td>\n<td>String</td>\n<td>Дата обновление тарифа</td>\n</tr>\n</tbody>\n</table>\n</div><p>Parameter <code>action</code> can take the following values:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Tariff</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>INTERNAL_TRANSFER</td>\n<td>Internal transfer</td>\n</tr>\n<tr>\n<td>ORDER_DEPOSIT</td>\n<td>Accepting payments for order</td>\n</tr>\n<tr>\n<td>WALLET_DEPOSIT</td>\n<td>Deposit to wallet</td>\n</tr>\n<tr>\n<td>WALLET_WITHDRAWAL</td>\n<td>Withdrawal from wallet</td>\n</tr>\n<tr>\n<td>PAYOUT_DEPOSIT</td>\n<td>Deposit to payout balance</td>\n</tr>\n<tr>\n<td>PAYOUT_WITHDRAWAL</td>\n<td>Withdrawal from payout balance</td>\n</tr>\n<tr>\n<td>PERSONAL_DEPOSIT</td>\n<td>Deposit to personal address</td>\n</tr>\n<tr>\n<td>PERSONAL_WITHDRAWAL</td>\n<td>Withdrawal from personal address</td>\n</tr>\n<tr>\n<td>RECURRENT_DEPOSIT</td>\n<td>Deposit to recurrent address (by periodical subscription)</td>\n</tr>\n<tr>\n<td>RECURRENT_WITHDRAWAL</td>\n<td>Withdrawal from recurrent address</td>\n</tr>\n<tr>\n<td>BRIDGE_INTERNAL</td>\n<td>Blockchain bridge (change network)</td>\n</tr>\n<tr>\n<td>BRIDGE_EXTERNAL</td>\n<td>Blockchain bridge via API</td>\n</tr>\n<tr>\n<td>EXCHANGE_INTERNAL</td>\n<td>Exchange</td>\n</tr>\n<tr>\n<td>EXCHANGE_AUTO</td>\n<td>Exchange via API</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["get-user-tariffs"],"host":["https://ocp.onchainpay.io/partner/api"],"query":[],"variable":[]}},"response":[{"id":"348efad5-b6a9-407c-8d71-5097fa4cb3ca","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n    \"organizationId\": \"a87e538d-b62b-48eb-bb47-bf3a15662f12\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/get-user-tariffs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": [\n        {\n            \"id\": \"42ef2427-9d94-44ca-ac6e-da842fbf363e\",\n            \"advancedBalanceId\": \"ef83f386-2772-43d0-8e55-215191a9f381\",\n            \"action\": \"WALLET_DEPOSIT\",\n            \"amount\": \"0.02\",\n            \"type\": \"PERCENT\",\n            \"minAmount\": \"0.1\",\n            \"maxAmount\": \"50\",\n            \"comment\": \"tariff for John\",\n            \"createdAt\": \"2023-04-24T12:50:29.105Z\",\n            \"updatedAt\": \"2023-04-24T12:50:29.105Z\"\n        }\n    ]\n}"}],"_postman_id":"f396af48-1cbc-45ff-80dd-11ea0667bbac"},{"name":"Delete individual tariff","id":"ab8e0f6d-9f20-425b-a697-ad5102d33655","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n    \"organizationId\": \"a87e538d-b62b-48eb-bb47-bf3a15662f12\",\n    \"tariffId\": \"605f43f8-6ad3-4cc9-90ae-18409e313b2f\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/delete-user-tariff","description":"<p>The method allows you to delete an individual tariff.</p>\n<h3 id=\"request\">Request:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userId</td>\n<td>Yes</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>tariffId</td>\n<td>Yes</td>\n<td>String</td>\n<td>Tariff ID</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["delete-user-tariff"],"host":["https://ocp.onchainpay.io/partner/api"],"query":[],"variable":[]}},"response":[{"id":"63323f06-f281-4f79-9255-9d48a659e367","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n    \"organizationId\": \"a87e538d-b62b-48eb-bb47-bf3a15662f12\",\n    \"tariffId\": \"605f43f8-6ad3-4cc9-90ae-18409e313b2f\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/delete-user-tariff"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": null\n}"}],"_postman_id":"ab8e0f6d-9f20-425b-a697-ad5102d33655"},{"name":"Create API key","id":"b9e59519-1aca-49ea-9d24-ffee8be36d6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n    \"organizationId\": \"a87e538d-b62b-48eb-bb47-bf3a15662f12\",\n    \"alias\": \"Integration key\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/create-api-keys","description":"<p>The method allows you to create an API key for the user</p>\n<h3 id=\"request\">Request:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userId</td>\n<td>Yes</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>alias</td>\n<td>Yes</td>\n<td>String</td>\n<td>Alias</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>Api key ID</td>\n</tr>\n<tr>\n<td>public</td>\n<td>String</td>\n<td>Public key</td>\n</tr>\n<tr>\n<td>secret</td>\n<td>String</td>\n<td>Secret key</td>\n</tr>\n<tr>\n<td>alias</td>\n<td>String</td>\n<td>Alias</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>String</td>\n<td>Creation date</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["create-api-keys"],"host":["https://ocp.onchainpay.io/partner/api"],"query":[],"variable":[]}},"response":[{"id":"a9d4d233-34da-4c60-b531-f076933c7001","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n    \"organizationId\": \"a87e538d-b62b-48eb-bb47-bf3a15662f12\",\n    \"alias\": \"Integration key\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/create-api-keys"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"6ca909da-a1b7-4899-a011-21f9cffe9273\",\n        \"public\": \"QoK/3fZY8QK68z3DFvwcTgN4LSTDa8pi6rUNbGQfM4EgKCyt9whSFkbIQOFIAsGKlCZlCE1gyvi0Q6vf77KHKw==\",\n        \"secret\": \"TLS9BLlNCOHTlAEhHGsl8P77gkaUleEnnJv3r4oL2n8owM8c33ALZCaVe3cBq4HEkGm+Tx1rNI6CPUXc8r7fBg==\",\n        \"alias\": \"Integration key\",\n        \"createdAt\": \"2023-04-24T11:57:24.410Z\"\n    }\n}"}],"_postman_id":"b9e59519-1aca-49ea-9d24-ffee8be36d6c"},{"name":"Get API keys","id":"f738699f-0070-489a-a905-58e0fc8b1a3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n    \"organizationId\": \"a87e538d-b62b-48eb-bb47-bf3a15662f12\",\n    \"offset\": 0,\n    \"limit\": 5,\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/get-api-keys","description":"<p>The method allows you to get user's API keys</p>\n<h3 id=\"request\">Request:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userId</td>\n<td>Yes</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Limit on the number of keys in the response</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Offset (for pagination)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>keys</td>\n<td>Array of objects</td>\n<td>Массив объектов API ключей</td>\n</tr>\n<tr>\n<td>total</td>\n<td>Number</td>\n<td>Общей количество API ключей пользователя</td>\n</tr>\n</tbody>\n</table>\n</div><p>The <code>keys</code> parameter is an array of the following objects:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>Api key ID</td>\n</tr>\n<tr>\n<td>public</td>\n<td>String</td>\n<td>Public key</td>\n</tr>\n<tr>\n<td>secret</td>\n<td>String</td>\n<td>Secret key</td>\n</tr>\n<tr>\n<td>alias</td>\n<td>String</td>\n<td>Alias</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>String</td>\n<td>Creation date</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["get-api-keys"],"host":["https://ocp.onchainpay.io/partner/api"],"query":[],"variable":[]}},"response":[{"id":"2513dc18-bbf9-4521-a1f1-35f05decac04","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n    \"organizationId\": \"a87e538d-b62b-48eb-bb47-bf3a15662f12\",\n    \"offset\": 0,\n    \"limit\": 5,\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/get-api-keys"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"keys\": [\n            {\n                \"id\": \"6ca909da-a1b7-4899-a011-21f9cffe9273\",\n                \"public\": \"QoK/3fZY8QK68z3DFvwcTgN4LSTDa8pi6rUNbGQfM4EgKCyt9whSFkbIQOFIAsGKlCZlCE1gyvi0Q6vf77KHKw==\",\n                \"secret\": \"TLS9BL******7fBg==\",\n                \"alias\": \"Integration key\",\n                \"createdAt\": \"2023-04-24T11:57:24.410Z\"\n            }\n        ],\n        \"total\": 1\n    }\n}"}],"_postman_id":"f738699f-0070-489a-a905-58e0fc8b1a3d"},{"name":"Delete API key","id":"997bce8c-aba0-4576-9fb8-8d2ca2f2a67c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n    \"organizationId\": \"a87e538d-b62b-48eb-bb47-bf3a15662f12\",\n    \"keyId\": \"6ca909da-a1b7-4899-a011-21f9cffe9273\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/delete-api-keys","description":"<p>The method allows you to delete the user's API key</p>\n<h3 id=\"request\">Request:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userId</td>\n<td>Yes</td>\n<td>String</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>keyId</td>\n<td>Yes</td>\n<td>String</td>\n<td>Api key ID</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["delete-api-keys"],"host":["https://ocp.onchainpay.io/partner/api"],"query":[],"variable":[]}},"response":[{"id":"f3a69d38-2b3e-454d-8367-6836b804adad","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"d49a143d-3fe5-4a4b-b57c-5e1b72f15df9\",\n    \"organizationId\": \"a87e538d-b62b-48eb-bb47-bf3a15662f12\",\n    \"keyId\": \"6ca909da-a1b7-4899-a011-21f9cffe9273\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/delete-api-keys"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": null\n}"}],"_postman_id":"997bce8c-aba0-4576-9fb8-8d2ca2f2a67c"}],"id":"baed19d5-2ae2-4edb-b3ae-41492593d016","description":"<p>This section allows partners to manage their users</p>\n","_postman_id":"baed19d5-2ae2-4edb-b3ae-41492593d016"},{"name":"KYT","item":[{"name":"Check transaction risks","id":"94a96002-cbf4-48a4-a3a4-65b1936a1487","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Publick key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tx\": \"0xaf49223f7ebd12a0413cd26614e924231eec601a24d6ae164428de23ace0ba4f\",\n    \"currency\": \"ETH\",\n    \"outputAddress\": \"0x0DAe5343dee0Ec2301926D5837A8A82E6c5A257a\",\n    \"direction\": \"received\",\n    \"network\": \"ethereum\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/kyt/check-transfer","description":"<p>The method allows you to check the risks of a completed transaction.</p>\n<p>This request can be executed for several seconds. It is not recommended to set timeout less than 15 seconds.</p>\n<h3 id=\"request\">Request:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>tx</td>\n<td>Yes</td>\n<td>String</td>\n<td>Transaction hash</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Yes</td>\n<td>String</td>\n<td>Currency</td>\n</tr>\n<tr>\n<td>network</td>\n<td>Yes</td>\n<td>String</td>\n<td>Network</td>\n</tr>\n<tr>\n<td>outputAddress</td>\n<td>Yes</td>\n<td>String</td>\n<td>Recipient address of coins</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>Yes</td>\n<td>String</td>\n<td>The side to check the risks. Takes the value <code>sent</code> or <code>received</code>.  <br />  <br />The <code>sent</code> value should be passed if a withdrawal transaction was made from your address. Then the risks of the completed transaction from the side of the sender will be checked  <br />  <br />The <code>received</code> value should be passed if a deposit was made to your address. Then the risks of receiving coins to your address will be checked</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>level</td>\n<td>String</td>\n<td>Risk level</td>\n</tr>\n<tr>\n<td>categories</td>\n<td>String</td>\n<td>Array with risk categorization</td>\n</tr>\n<tr>\n<td>categories.level</td>\n<td>String</td>\n<td>Risk level in this category</td>\n</tr>\n<tr>\n<td>categories.usdAmount</td>\n<td>Number</td>\n<td>The amount in USD that is associated with this risk category</td>\n</tr>\n<tr>\n<td>categories.category</td>\n<td>String or null</td>\n<td>Category name</td>\n</tr>\n<tr>\n<td>categories.service</td>\n<td>String or null</td>\n<td>A service that is associated with this risk category</td>\n</tr>\n<tr>\n<td>categories.exposure</td>\n<td>String</td>\n<td><code>DIRECT</code> - direct connection (\"dirty\" coins were sent from the attacker's address to the recipient's address directly)  <br />  <br /><code>INDIRECT</code> - indirect connection (the coins were marked risky, but passed through a chain of addresses)</td>\n</tr>\n</tbody>\n</table>\n</div><p>The <code>level</code> parameter can take the following values:</p>\n<ul>\n<li><code>white</code> - no risk</li>\n<li><code>green</code> - low risk</li>\n<li><code>yellow</code> - medium risk</li>\n<li><code>red</code> - high risk</li>\n<li><code>black</code> - severe risk</li>\n</ul>\n","urlObject":{"path":["kyt","check-transfer"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"aabcd1d7-8e82-42fa-a90b-81942f77a689","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Publick key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tx\": \"0f31cb9254013946dcf6ebc3a3a63f00716b4e74af3c4a035c0380fa68b12da5\",\n    \"currency\": \"BTC\",\n    \"outputAddress\": \"bc1qlf4velwq2t48mdgxxkw63wy88sklyj6xjum00w\",\n    \"direction\": \"sent\",\n    \"network\": \"bitcoin\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/kyt/check-transfer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"level\": \"yellow\",\n        \"categories\": [\n            {\n                \"level\": \"yellow\",\n                \"usdAmount\": 841159.8,\n                \"category\": \"stolen funds\",\n                \"service\": \"Reported as stolen funds bc1qlf4vel\",\n                \"exposure\": \"DIRECT\"\n            }\n        ]\n    }\n}"}],"_postman_id":"94a96002-cbf4-48a4-a3a4-65b1936a1487"},{"name":"Check withdrawal risks","id":"5bb44c20-e576-4cfd-8bbc-1e0b87620197","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Publick key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"BTC\",\n    \"address\": \"bc1q4gdgnnd7l7uf46celj2mfjednhw0ugvzlnf4s8\",\n    \"network\": \"bitcoin\",\n    \"amount\": \"100\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/kyt/check-withdrawal-address","description":"<p>The method allows you to check the risks of withdrawal before making it.</p>\n<p>This request can be executed for several seconds. It is not recommended to set timeout less than 15 seconds.</p>\n<h3 id=\"request\">Request:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currency</td>\n<td>Yes</td>\n<td>String</td>\n<td>Currency</td>\n</tr>\n<tr>\n<td>network</td>\n<td>Yes</td>\n<td>String</td>\n<td>Network</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Yes</td>\n<td>String</td>\n<td>Recipient address of coins</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>Yes</td>\n<td>String</td>\n<td>Withdrawal amount</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"request-1\">Request:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>tx</td>\n<td>Yes</td>\n<td>String</td>\n<td>Transaction hash</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Yes</td>\n<td>String</td>\n<td>Currency</td>\n</tr>\n<tr>\n<td>network</td>\n<td>Yes</td>\n<td>String</td>\n<td>Network</td>\n</tr>\n<tr>\n<td>outputAddress</td>\n<td>Yes</td>\n<td>String</td>\n<td>Recipient address of coins</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>Yes</td>\n<td>String</td>\n<td>The side to check the risks. Takes the value <code>sent</code> or <code>received</code>.  <br />  <br />The <code>sent</code> value should be passed if a withdrawal transaction was made from your address. Then the risks of the completed transaction from the side of the sender will be checked  <br />  <br />The <code>received</code> value should be passed if a deposit was made to your address. Then the risks of receiving coins to your address will be checked</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>level</td>\n<td>String</td>\n<td>Risk level</td>\n</tr>\n<tr>\n<td>categories</td>\n<td>String</td>\n<td>Array with risk categorization</td>\n</tr>\n<tr>\n<td>categories.level</td>\n<td>String</td>\n<td>Risk level in this category</td>\n</tr>\n<tr>\n<td>categories.usdAmount</td>\n<td>Number</td>\n<td>The amount in USD that is associated with this risk category</td>\n</tr>\n<tr>\n<td>categories.category</td>\n<td>String or null</td>\n<td>Category name</td>\n</tr>\n<tr>\n<td>categories.service</td>\n<td>String or null</td>\n<td>A service that is associated with this risk category</td>\n</tr>\n<tr>\n<td>categories.exposure</td>\n<td>String</td>\n<td><code>DIRECT</code> - direct connection (\"dirty\" coins were sent from the attacker's address to the recipient's address directly)  <br />  <br /><code>INDIRECT</code> - indirect connection (the coins were marked risky, but passed through a chain of addresses)</td>\n</tr>\n</tbody>\n</table>\n</div><p>The <code>level</code> parameter can take the following values:</p>\n<ul>\n<li><code>white</code> - no risk</li>\n<li><code>green</code> - low risk</li>\n<li><code>yellow</code> - medium risk</li>\n<li><code>red</code> - high risk</li>\n<li><code>black</code> - severe risk</li>\n</ul>\n","urlObject":{"path":["kyt","check-withdrawal-address"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"a4a174a6-bdb1-4373-bd88-087e4239323d","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Publick key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"BTC\",\n    \"address\": \"bc1q4gdgnnd7l7uf46celj2mfjednhw0ugvzlnf4s8\",\n    \"network\": \"bitcoin\",\n    \"amount\": \"100\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/kyt/check-withdrawal-address"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"level\": \"green\",\n        \"categories\": [\n            {\n                \"level\": \"green\",\n                \"usdAmount\": 2673796.79,\n                \"service\": null,\n                \"category\": null,\n                \"exposure\": \"DIRECT\"\n            }\n        ]\n    }\n}"}],"_postman_id":"5bb44c20-e576-4cfd-8bbc-1e0b87620197"},{"name":"Check withdrawal risks for provided address","id":"9fcc15cd-948d-406f-90f9-b10cafda260a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"ETH\",\n    \"address\": \"0xd90e2f925DA726b50C4Ed8D0Fb90Ad053324F31b\",\n    \"network\": \"ethereum\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/kyt/withdrawal-address-screening","description":"<p>Метод позволяет проверить риски вывода, перед его совершением.</p>\n<p>Данный запрос может выполняться несколько секунд. Не рекомендуется ставить timeout меньше 15 секунд.</p>\n<h3 id=\"запрос\">Запрос:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Параметр</strong></th>\n<th><strong>Обязателен</strong></th>\n<th><strong>Тип</strong></th>\n<th><strong>Описание</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currency</td>\n<td>Да</td>\n<td>Строка</td>\n<td>Монета</td>\n</tr>\n<tr>\n<td>network</td>\n<td>Да</td>\n<td>Строка</td>\n<td>Сеть</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Да</td>\n<td>Строка</td>\n<td>Адрес-получатель монет</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>Да</td>\n<td>Строка</td>\n<td>Сумма вывода</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"ответ\">Ответ:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Параметр</strong></th>\n<th><strong>Тип</strong></th>\n<th><strong>Описание</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>level</td>\n<td>Строка</td>\n<td>Уровень риска</td>\n</tr>\n<tr>\n<td>categories</td>\n<td>Строка</td>\n<td>Массив с разбиением риска по категориям</td>\n</tr>\n<tr>\n<td>categories.level</td>\n<td>Строка</td>\n<td>Уровень риска в этой категории</td>\n</tr>\n<tr>\n<td>categories.usdAmount</td>\n<td>Число</td>\n<td>Сумма в USD, которая связана с этой категорией риска</td>\n</tr>\n<tr>\n<td>categories.category</td>\n<td>Строка или null</td>\n<td>Название категории</td>\n</tr>\n<tr>\n<td>categories.service</td>\n<td>Строка или null</td>\n<td>Сервис, который связан с данной категорией риска</td>\n</tr>\n<tr>\n<td>categories.exposure</td>\n<td>Строка</td>\n<td><code>DIRECT</code> - прямая связь (\"грязные\" монеты были отправлены с адреса злоумышленника на адрес получателя напрямую)  <br />  <br /><code>INDIRECT</code> - косвенная связь (полученные монеты когда-то были помечены рискованными, но прошли через цепочку адресов)</td>\n</tr>\n</tbody>\n</table>\n</div><p>Параметр <code>level</code> может принимать следующие значения:</p>\n<ul>\n<li><code>white</code> - нет риска</li>\n<li><code>green</code> - минимальный риск</li>\n<li><code>yellow</code> - средний риск</li>\n<li><code>red</code> - высокий риск</li>\n<li><code>black</code> - критический риск</li>\n</ul>\n","urlObject":{"path":["kyt","withdrawal-address-screening"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"660eadc1-1e5d-462b-ac9d-302e951f31a5","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"ETH\",\n    \"address\": \"0xd90e2f925DA726b50C4Ed8D0Fb90Ad053324F31b\",\n    \"network\": \"ethereum\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/kyt/withdrawal-address-screening"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"currency\": \"ETH\",\n        \"address\": \"0xd90e2f925DA726b50C4Ed8D0Fb90Ad053324F31b\",\n        \"cluster\": {\n            \"name\": \"OFAC SDN Tornado.cash 2022-08-08\",\n            \"category\": \"sanctions\",\n            \"categoryId\": 3\n        },\n        \"rating\": \"highRisk\",\n        \"identification\": {\n            \"addressName\": \"SANCTIONED ENTITY: OFAC SDN Tornado.cash 2022-11-08 d90e2f925da726b50c4ed8d0fb90ad053324f31b\",\n            \"description\": \"This specific address 0xd90e2f925DA726b50C4Ed8D0Fb90Ad053324F31b within the cluster has been identified as belonging to Tornado.cash.\\n\\nTORNADO CASH; Website tornado.cash; Digital Currency Address - ETH 0x12D66f87A04A9E220743712cE6d9bB1B5616B8Fc; alt. Digital Currency Address - ETH 0x47CE0C6eD5B0Ce3d3A51fdb1C52DC66a7c3c2936; alt. Digital Currency Address - ETH 0x910Cbd523D972eb0a6f4cAe4618aD62622b39DbF; alt. Digital Currency Address - ETH 0xA160cdAB225685dA1d56aa342Ad8841c3b53f291; alt. Digital Currency Address - ETH 0xD4B88Df4D29F5CedD6857912842cff3b20C8Cfa3; alt. Digital Currency Address - ETH 0xFD8610d20aA15b7B2E3Be39B396a1bC3516c7144; alt. Digital Currency Address - ETH 0x07687e702b410Fa43f4cB4Af7FA097918ffD2730; alt. Digital Currency Address - ETH 0x23773E65ed146A459791799d01336DB287f25334; alt. Digital Currency Address - ETH 0x22aaA7720ddd5388A3c0A3333430953C68f1849b; alt. Digital Currency Address - ETH 0x03893a7c7463AE47D46bc7f091665f1893656003; alt. Digital Currency Address - ETH 0x2717c5e28cf931547B621a5dddb772Ab6A35B701; alt. Digital Currency Address - ETH 0xD21be7248e0197Ee08E0c20D4a96DEBdaC3D20Af; alt. Digital Currency Address - ETH 0x4736dCf1b7A3d580672CcE6E7c65cd5cc9cFBa9D; alt. Digital Currency Address - ETH 0xDD4c48C0B24039969fC16D1cdF626eaB821d3384; alt. Digital Currency Address - ETH 0xd96f2B1c14Db8458374d9Aca76E26c3D18364307; alt. Digital Currency Address - ETH 0x169AD27A470D064DEDE56a2D3ff727986b15D52B; alt. Digital Currency Address - ETH 0x0836222F2B2B24A3F36f98668Ed8F0B38D1a872f; alt. Digital Currency Address - ETH 0x178169B423a011fff22B9e3F3abeA13414dDD0F1; alt. Digital Currency Address - ETH 0x610B717796ad172B316836AC95a2ffad065CeaB4; alt. Digital Currency Address - ETH 0xbB93e510BbCD0B7beb5A853875f9eC60275CF498; alt. Digital Currency Address - ETH 0x84443CFd09A48AF6eF360C6976C5392aC5023a1F; alt. Digital Currency Address - ETH 0xd47438C816c9E7f2E2888E060936a499Af9582b3; alt. Digital Currency Address - ETH 0x330bdFADE01eE9bF63C209Ee33102DD334618e0a; alt. Digital Currency Address - ETH 0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD; alt. Digital Currency Address - ETH 0xdf231d99Ff8b6c6CBF4E9B9a945CBAcEF9339178; alt. Digital Currency Address - ETH 0xaf4c0B70B2Ea9FB7487C7CbB37aDa259579fe040; alt. Digital Currency Address - ETH 0xa5C2254e4253490C54cef0a4347fddb8f75A4998; alt. Digital Currency Address - ETH 0xaf8d1839c3c67cf571aa74B5c12398d4901147B3; alt. Digital Currency Address - ETH 0x6Bf694a291DF3FeC1f7e69701E3ab6c592435Ae7; alt. Digital Currency Address - ETH 0x3aac1cC67c2ec5Db4eA850957b967Ba153aD6279; alt. Digital Currency Address - ETH 0x723B78e67497E85279CB204544566F4dC5d2acA0; alt. Digital Currency Address - ETH 0x0E3A09dDA6B20aFbB34aC7cD4A6881493f3E7bf7; alt. Digital Currency Address - ETH 0x76D85B4C0Fc497EeCc38902397aC608000A06607; alt. Digital Currency Address - ETH 0xCC84179FFD19A1627E79F8648d09e095252Bc418; alt. Digital Currency Address - ETH 0xD5d6f8D9e784d0e26222ad3834500801a68D027D; alt. Digital Currency Address - ETH 0x407CcEeaA7c95d2FE2250Bf9F2c105aA7AAFB512; alt. Digital Currency Address - ETH 0x833481186f16Cece3f1Eeea1a694c42034c3a0dB; alt. Digital Currency Address - ETH 0xd8D7DE3349ccaA0Fde6298fe6D7b7d0d34586193; alt. Digital Currency Address - ETH 0x8281Aa6795aDE17C8973e1aedcA380258Bc124F9; alt. Digital Currency Address - ETH 0x57b2B8c82F065de8Ef5573f9730fC1449B403C9f; alt. Digital Currency Address - ETH 0x05E0b5B40B7b66098C2161A5EE11C5740A3A7C45; alt. Digital Currency Address - ETH 0x23173fE8b96A4Ad8d2E17fB83EA5dcccdCa1Ae52; alt. Digital Currency Address - ETH 0x538Ab61E8A9fc1b2f93b3dd9011d662d89bE6FE6; alt. Digital Currency Address - ETH 0x94Be88213a387E992Dd87DE56950a9aef34b9448; alt. Digital Currency Address - ETH 0x242654336ca2205714071898f67E254EB49ACdCe; alt. Digital Currency Address - ETH 0x776198CCF446DFa168347089d7338879273172cF; alt. Digital Currency Address - ETH 0xeDC5d01286f99A066559F60a585406f3878a033e; alt. Digital Currency Address - ETH 0xD692Fd2D0b2Fbd2e52CFa5B5b9424bC981C30696; alt. Digital Currency Address - ETH 0xca0840578f57fe71599d29375e16783424023357; alt. Digital Currency Address - ETH 0xDF3A408c53E5078af6e8fb2A85088D46Ee09A61b; alt. Digital Currency Address - ETH 0x743494b60097A2230018079c02fe21a7B687EAA5; alt. Digital Currency Address - ETH 0x94C92F096437ab9958fC0A37F09348f30389Ae79; alt. Digital Currency Address - ETH 0x5efda50f22d34F262c29268506C5Fa42cB56A1Ce; alt. Digital Currency Address - ETH 0x2f50508a8a3d323b91336fa3ea6ae50e55f32185; alt. Digital Currency Address - ETH 0xCEe71753C9820f063b38FDbE4cFDAf1d3D928A80; alt. Digital Currency Address - ETH 0xffbac21a641dcfe4552920138d90f3638b3c9fba; alt. Digital Currency Address - ETH 0x179f48c78f57a3a78f0608cc9197b8972921d1d2; alt. Digital Currency Address - ETH 0xb04E030140b30C27bcdfaafFFA98C57d80eDa7B4; alt. Digital Currency Address - ETH 0x77777feddddffc19ff86db637967013e6c6a116c; alt. Digital Currency Address - ETH 0x3efa30704d2b8bbac821307230376556cf8cc39e; alt. Digital Currency Address - ETH 0x746aebc06d2ae31b71ac51429a19d54e797878e9; alt. Digital Currency Address - ETH 0xd90e2f925DA726b50C4Ed8D0Fb90Ad053324F31b; alt. Digital Currency Address - ETH 0x5f6c97C6AD7bdd0AE7E0Dd4ca33A4ED3fDabD4D7; alt. Digital Currency Address - ETH 0xf4B067dD14e95Bab89Be928c07Cb22E3c94E0DAA; alt. Digital Currency Address - ETH 0x58E8dCC13BE9780fC42E8723D8EaD4CF46943dF2; alt. Digital Currency Address - ETH 0x01e2919679362dFBC9ee1644Ba9C6da6D6245BB1; alt. Digital Currency Address - ETH 0x2FC93484614a34f26F7970CBB94615bA109BB4bf; alt. Digital Currency Address - ETH 0x26903a5a198D571422b2b4EA08b56a37cbD68c89; alt. Digital Currency Address - ETH 0xB20c66C4DE72433F3cE747b58B86830c459CA911; alt. Digital Currency Address - ETH 0x2573BAc39EBe2901B4389CD468F2872cF7767FAF; alt. Digital Currency Address - ETH 0x527653eA119F3E6a1F5BD18fbF4714081D7B31ce; alt. Digital Currency Address - ETH 0x653477c392c16b0765603074f157314Cc4f40c32; alt. Digital Currency Address - ETH 0x88fd245fEdeC4A936e700f9173454D1931B4C307; alt. Digital Currency Address - ETH 0x09193888b3f38C82dEdfda55259A82C0E7De875E; alt. Digital Currency Address - ETH 0x5cab7692D4E94096462119ab7bF57319726Eed2A; alt. Digital Currency Address - ETH 0x756C4628E57F7e7f8a459EC2752968360Cf4D1AA; alt. Digital Currency Address - ETH 0x722122dF12D4e14e13Ac3b6895a86e84145b6967; alt. Digital Currency Address - ETH 0x94A1B5CdB22c43faab4AbEb5c74999895464Ddaf; alt. Digital Currency Address - ETH 0xb541fc07bC7619fD4062A54d96268525cBC6FfEF; alt. Digital Currency Address - ETH 0xD82ed8786D7c69DC7e052F7A542AB047971E73d2; alt. Digital Currency Address - ETH 0xF67721A2D8F736E75a49FdD7FAd2e31D8676542a; alt. Digital Currency Address - ETH 0x9AD122c22B14202B4490eDAf288FDb3C7cb3ff5E; alt. Digital Currency Address - ETH 0xD691F27f38B395864Ea86CfC7253969B409c362d; alt. Digital Currency Address - ETH 0xaEaaC358560e11f52454D997AAFF2c5731B6f8a6; alt. Digital Currency Address - ETH 0x1356c899D8C9467C7f71C195612F8A395aBf2f0a; alt. Digital Currency Address - ETH 0xA60C772958a3eD56c1F15dD055bA37AC8e523a0D; alt. Digital Currency Address - ETH 0xBA214C1c1928a32Bffe790263E38B4Af9bFCD659; alt. Digital Currency Address - ETH 0xb1C8094B234DcE6e03f10a5b673c1d8C69739A00; alt. Digital Currency Address - ETH 0xF60dD140cFf0706bAE9Cd734Ac3ae76AD9eBC32A; alt. Digital Currency Address - ETH 0x8589427373D6D84E98730D7795D8f6f8731FDA16; Secondary sanctions risk: North Korea Sanctions Regulations, sections 510.201 and 510.210; Transactions Prohibited For Persons Owned or Controlled By U.S. Financial Institutions: North Korea Sanctions Regulations section 510.214; Organization Established Date 2019 [DPRK3] [CYBER2].\\n\\nOFAC also delisted and simultaneously redesignated Tornado Cash under Executive Order (E.O.) 13722 and E.O. 13694, as amended. The redesignation takes into account additional information and also includes an additional basis for the designation of Tornado Cash regarding its support for DPRK activities. Tornado Cash, an entity that provides virtual currency mixing services, obfuscated the movement of over $455 million stolen in March 2022 by the OFAC-designated, DPRK-controlled Lazarus Group in the largest known virtual currency heist to date.\\n\",\n            \"categoryName\": \"sanctions\",\n            \"categoryId\": 3\n        }\n    }\n}"}],"_postman_id":"9fcc15cd-948d-406f-90f9-b10cafda260a"}],"id":"04e11d68-f16e-4211-bba3-2bd52682463e","description":"<p>This section allows you to check the risks of various actions with coins.</p>\n","_postman_id":"04e11d68-f16e-4211-bba3-2bd52682463e"},{"name":"Orphan deposits","item":[{"name":"Get deposit by ID","id":"06331348-5325-4dae-8cf2-b91378db97c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"7cd20ea9-0e2c-46c5-8e12-82b0485d5ba1\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/orphan-deposits/get-deposit","description":"<p>The method allows you to get an orphan deposit by its ID.</p>\n<h3 id=\"request\">Request:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Параметр</strong></th>\n<th><strong>Обязателен</strong></th>\n<th><strong>Тип</strong></th>\n<th><strong>Описание</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>Yes</td>\n<td>String</td>\n<td>Email user</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Параметр</strong></th>\n<th><strong>Тип</strong></th>\n<th><strong>Описание</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>ID user</td>\n</tr>\n<tr>\n<td>email</td>\n<td>String</td>\n<td>Email user</td>\n</tr>\n<tr>\n<td>password</td>\n<td>String</td>\n<td>Generated password(shown only on creation)</td>\n</tr>\n<tr>\n<td>lastLoginAt</td>\n<td>String or null</td>\n<td>Date of the last login of the user through the web-interface</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["orphan-deposits","get-deposit"],"host":["https://ocp.onchainpay.io/partner/api"],"query":[],"variable":[]}},"response":[{"id":"d0dc43ec-3bdd-4582-a662-94569bf8224e","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"7cd20ea9-0e2c-46c5-8e12-82b0485d5ba1\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/orphan-deposits/get-deposit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"7cd20ea9-0e2c-46c5-8e12-82b0485d5ba1\",\n        \"organizationId\": \"1f07eb01-5fd8-4e05-89b5-bebcd1d1fc39\",\n        \"orderId\": \"4db8ba00-20f8-4e3f-8292-301dd66618af\",\n        \"stage\": \"WITHDRAWAL\",\n        \"status\": \"PROCESSED\",\n        \"message\": null,\n        \"currency\": \"BNB\",\n        \"network\": \"bsc\",\n        \"amount\": \"0.00000001\",\n        \"canWithdrawal\": true,\n        \"inTransaction\": {\n            \"addressType\": \"PAY_IN\",\n            \"addressId\": \"8519ba89-68d5-4914-9a0f-d99e77dc88ea\",\n            \"address\": \"0x68f8a74b5fD0b687369536607214acfA3b1572Ff\",\n            \"txId\": \"0x6751285829e38b1bb53d1df887dde750182f08e230b58a5a2d3e867ba7327362\",\n            \"amount\": \"0.00000001\",\n            \"status\": \"processed\",\n            \"createdAt\": \"2023-05-30T14:10:27.276Z\"\n        },\n        \"outTransaction\": {\n            \"withdrawalId\": \"4429ba89-68d5-4914-9a0f-d99e77dc88ea\",\n            \"address\": \"0x68f8a74b5fD0b687369536607214acfA3b1572Ff\",\n            \"txId\": \"0x5511285829e38b1bb53d1df887dde750182f08e230b58a5a2d3e867ba7327362\",\n            \"amount\": \"0.00000001\",\n            \"status\": \"processed\",\n            \"createdAt\": \"2023-05-30T14:10:27.276Z\"\n        },\n        \"createdAt\": \"2023-05-30T14:10:27.283Z\"\n    }\n}"}],"_postman_id":"06331348-5325-4dae-8cf2-b91378db97c1"},{"name":"Get deposits list","id":"b64392d6-0bf5-405f-8591-c7d819f48ec5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"7cd20ea9-0e2c-46c5-8e12-82b0485d5ba1\",\n    \"orderId\": \"4db8ba00-20f8-4e3f-8292-301dd66618af\",\n    \"txId\": \"0x6751285829e38b1bb53d1df887dde750182f08e230b58a5a2d3e867ba7327362\",\n    \"stage\": \"WITHDRAWAL\",\n    \"status\": \"PROCESSED\",\n    \"limit\": 1,\n    \"offset\": 0,\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/orphan-deposits/get-deposits","description":"<p>The method allows you to get a list of all orphan deposits.</p>\n<h3 id=\"request\">Request:</h3>\n<p>EndFragment</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Параметр</strong></th>\n<th><strong>Обязателен</strong></th>\n<th><strong>Тип</strong></th>\n<th><strong>Описание</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>Yes</td>\n<td>String</td>\n<td>Email user</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Параметр</strong></th>\n<th><strong>Тип</strong></th>\n<th><strong>Описание</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>ID user</td>\n</tr>\n<tr>\n<td>email</td>\n<td>String</td>\n<td>Email user</td>\n</tr>\n<tr>\n<td>password</td>\n<td>String</td>\n<td>Generated password (only shown when found)</td>\n</tr>\n<tr>\n<td>lastLoginAt</td>\n<td>String or null</td>\n<td>The date the user last logged in via the web-interface</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["orphan-deposits","get-deposits"],"host":["https://ocp.onchainpay.io/partner/api"],"query":[],"variable":[]}},"response":[{"id":"8250d71a-39fe-4f9e-a1b0-2c94c9979dea","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<public_key>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"7cd20ea9-0e2c-46c5-8e12-82b0485d5ba1\",\n    \"orderId\": \"4db8ba00-20f8-4e3f-8292-301dd66618af\",\n    \"txId\": \"0x6751285829e38b1bb53d1df887dde750182f08e230b58a5a2d3e867ba7327362\",\n    \"stage\": \"WITHDRAWAL\",\n    \"status\": \"PROCESSED\",\n    \"limit\": 1,\n    \"offset\": 0,\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/partner/api/orphan-deposits/get-deposits"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": [\n        {\n            \"id\": \"7cd20ea9-0e2c-46c5-8e12-82b0485d5ba1\",\n            \"organizationId\": \"1f07eb01-5fd8-4e05-89b5-bebcd1d1fc39\",\n            \"orderId\": \"4db8ba00-20f8-4e3f-8292-301dd66618af\",\n            \"stage\": \"WITHDRAWAL\",\n            \"status\": \"PROCESSED\",\n            \"message\": null,\n            \"currency\": \"BNB\",\n            \"network\": \"bsc\",\n            \"amount\": \"0.00000001\",\n            \"canWithdrawal\": true,\n            \"inTransaction\": {\n                \"addressType\": \"PAY_IN\",\n                \"addressId\": \"8519ba89-68d5-4914-9a0f-d99e77dc88ea\",\n                \"address\": \"0x68f8a74b5fD0b687369536607214acfA3b1572Ff\",\n                \"txId\": \"0x6751285829e38b1bb53d1df887dde750182f08e230b58a5a2d3e867ba7327362\",\n                \"amount\": \"0.00000001\",\n                \"status\": \"processed\",\n                \"createdAt\": \"2023-05-30T14:10:27.276Z\"\n            },\n            \"outTransaction\": {\n                \"withdrawalId\": \"4429ba89-68d5-4914-9a0f-d99e77dc88ea\",\n                \"address\": \"0x68f8a74b5fD0b687369536607214acfA3b1572Ff\",\n                \"txId\": \"0x5511285829e38b1bb53d1df887dde750182f08e230b58a5a2d3e867ba7327362\",\n                \"amount\": \"0.00000001\",\n                \"status\": \"processed\",\n                \"createdAt\": \"2023-05-30T14:10:27.276Z\"\n            },\n            \"createdAt\": \"2023-05-30T14:10:27.283Z\"\n        }\n    ]\n}"}],"_postman_id":"b64392d6-0bf5-405f-8591-c7d819f48ec5"}],"id":"55c7df81-08a0-42ba-a26e-0b318d18d38d","description":"<p>Deposits coming to addresses created for another coin or network are called orphan deposits.</p>\n<p>For example:\nYou created an order to pay 123 USDT on the BSC network, gave the payer a payment link. Instead of USDT on the BSC network, he sent USDC on the ETH network to this address. In this case, we will notify you about this deposit and you will have to decide what to do with these coins.</p>\n<p>Upon receipt of an orphan deposit to the address occupied by the order in the body of the order webhook.\nIn other cases, data on the orphan's deposit will be sent to the URL specified in the organization's settings.</p>\n<p>The orphan deposit has 2 stages:\n<code>DEPOSIT</code> - when receiving and waiting for confirmations\n<code>WITHDRAWAL</code> - when creating an orphan deposit output</p>\n<p>List of available statuses:\n<code>PENDING</code> - waiting for confirmations\n<code>PROCESSED</code> - success\n<code>ERROR</code> - an error in the process\n<code>REJECTED</code> - rejected by the system</p>\n<p>Withdrawal can be made with an orphan deposit in the <code>DEPOSIT</code> stage and the status <code>PROCESSED</code>. You can also focus on the field <code>canWithdrawal</code></p>\n<p>Orphan deposit body example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"7cd20ea9-0e2c-46c5-8e12-82b0485d5ba1\",\n  \"organizationId\": \"1f07eb01-5fd8-4e05-89b5-bebcd1d1fc39\",\n  \"orderId\": \"4db8ba00-20f8-4e3f-8292-301dd66618af\",\n  \"stage\": \"WITHDRAWAL\",\n  \"status\": \"PROCESSED\",\n  \"message\": null,\n  \"currency\": \"BNB\",\n  \"network\": \"bsc\",\n  \"amount\": \"0.00000001\",\n  \"canWithdrawal\": true,\n  \"inTransaction\": {\n    \"addressType\": \"PAY_IN\",\n    \"addressId\": \"8519ba89-68d5-4914-9a0f-d99e77dc88ea\",\n    \"address\": \"0x68f8a74b5fD0b687369536607214acfA3b1572Ff\",\n    \"txId\": \"0x6751285829e38b1bb53d1df887dde750182f08e230b58a5a2d3e867ba7327362\",\n    \"amount\": \"0.00000001\",\n    \"status\": \"processed\",\n    \"createdAt\": \"2023-05-30T14:10:27.276Z\"\n  },\n  \"outTransaction\": {\n    \"withdrawalId\": \"4429ba89-68d5-4914-9a0f-d99e77dc88ea\",\n    \"address\": \"0x68f8a74b5fD0b687369536607214acfA3b1572Ff\",\n    \"txId\": \"0x5511285829e38b1bb53d1df887dde750182f08e230b58a5a2d3e867ba7327362\",\n    \"amount\": \"0.00000001\",\n    \"status\": \"processed\",\n    \"createdAt\": \"2023-05-30T14:10:27.276Z\"\n  },\n  \"createdAt\": \"2023-05-30T14:10:27.283Z\"\n}\n\n</code></pre>\n","_postman_id":"55c7df81-08a0-42ba-a26e-0b318d18d38d"},{"name":"Verify signature in x-api-signature","id":"bde010cc-cf04-4c72-a623-6100f9e95dca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{ \n    \"nonce\": 1\n}"},"url":"https://ocp.onchainpay.io/api-gateway/test-signature","description":"<p>You can test your signature in <code>x-api-signature</code> within this method.</p>\n","urlObject":{"path":["test-signature"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"7d5eab02-d989-4f48-8026-0841cd702392","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"nonce\": 1643881363781\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/test-signature"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"success\": true,\n \"response\": {\n  \"checkSignatureResult\": true,\n  \"signature\": \"69e377f1f8759e9810ce3a4c033c87036cd9affaf3ef68ad43799a425ce88da2\",\n  \"receivedBody\": \"{\\\"nonce\\\":1643881363781}\"\n }\n}"}],"_postman_id":"bde010cc-cf04-4c72-a623-6100f9e95dca"},{"name":"Find tx","id":"645ad57e-83d1-4b50-837e-c298ec6d0d5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tx\": \"4d6014ee656009f154823aa15fe4ce20178b975a82b85c7db635adbc1d79b365\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/find-tx","description":"<p>The method allows you to find an operation in the system by the address of the transaction in the blockchain</p>\n<p>The response will indicate the type of operation, the direction of the transaction, the address that was used for the operation and the body of the operation in the record from the type</p>\n<p>Available types of operations:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ORDER</td>\n<td>The transaction address was found in the incoming transactions of the order</td>\n</tr>\n<tr>\n<td>INVOICE</td>\n<td>The transaction address was found in the incoming transactions of the order created for the execution of the account</td>\n</tr>\n<tr>\n<td>ORPHAN_TRANSACTION</td>\n<td>The transaction address was in the incoming transaction address created for a different coin or network</td>\n</tr>\n<tr>\n<td>WITHDRAWAL</td>\n<td>Transaction address was found among output operations</td>\n</tr>\n<tr>\n<td>DEPOSIT</td>\n<td>The transaction address was found in the incoming transaction address as \"free replenishment\"</td>\n</tr>\n<tr>\n<td>PERSONAL_DEPOSIT</td>\n<td>The transaction address was found in incoming transactions at the system address \"personal user addresses\"</td>\n</tr>\n</tbody>\n</table>\n</div><p>Available transaction directions:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Direction</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>IN</td>\n<td>Incoming transaction</td>\n</tr>\n<tr>\n<td>OUT</td>\n<td>Outgoing transaction</td>\n</tr>\n</tbody>\n</table>\n</div><p>Address body example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n   \"id\": \"cf95ea41-20c5-4528-b689-c21f4da6359f\", // address identifier\n   \"type\": \"PAY_IN\" // address type: PAY_IN, PERSONAL, PAY_OUT, BUSINESS, RECURRENT\n}\n\n</code></pre>\n<p>There can be multiple entries in the result body, so the result is represented as an array:</p>\n<p>Response body example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n   \"success\": true,\n   \"response\": [\n     {\n       \"type\": \"OUT\",\n       \"source\": \"WITHDRAWAL\",\n       \"address\": {\n         ... // address body\n       },\n       \"result\": {\n         ... // body for WITHDRAWAL\n       }\n     },\n     {\n       \"type\": \"IN\",\n       \"source\": \"DEPOSIT\",\n       \"address\": {\n         ... // address body\n       },\n       \"result\": {\n         ... // body for DEPOSIT\n       }\n     }\n   ]\n}\n\n</code></pre>\n<hr />\n<p>An example of the body of the <code>PERSONAL_DEPOSIT</code> operation:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ // body is identical to the body sent in the webhook\n   \"id\": \"2fa68ddf-2479-47cb-9e66-ae91139c3063\", // personal deposit identifier\n   \"addressId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\", // recipient address identifier\n   \"userId\": \"6196a1f2-b6b5-40a5-a672-f1ffd70fdd7d\", // user ID in the system for which the address was created\n   \"amount\": \"0.005\", // deposit amount\n   \"currency\": \"USDT\", // deposit coin\n   \"network\": \"bsc\", // deposit networks\n   \"status\": \"PROCESSED\", // status, available values: PROCESSED\n   \"tx\": \"0x5b9b3b55b366266025e...\", // blockchain transaction address\n   \"createdAt\": \"2023-03-02T06:58:00.365Z\",\n   \"updatedAt\": \"2023-03-02T07:01:50.693Z\"\n}\n\n</code></pre>\n<hr />\n<p>An example of a <code>DEPOSIT</code> operation body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ // body is identical to the body sent in the webhook\n   \"id\": \"2fa68ddf-2479-47cb-9e66-ae91139c3063\", // record ID\n   \"status\": \"processed\", // status, available values: processed, error, rejected, pending\n   \"addressType\": \"BUSINESS\", // address type: PAY_IN, PERSONAL, PAY_OUT, BUSINESS, RECURRENT\n   \"addressFrom\": \"0x5b9b3b55b366266025e...\", // sender address in blockchain\n   \"addressTo\": \"0x3f4e3d79a244189e25e...\", // address of the recipient in the blockchain\n   \"type\": \"deposit\", // operation type: withdrawal, deposit\n   \"amount\": \"0.005\", // deposit amount\n   \"currency\": \"USDT\", // deposit coin\n   \"network\": \"bsc\", // deposit networks\n   \"txId\": \"0x5b9b3b55b366266025e...\", // blockchain transaction address\n   \"alias\": \"My address\", // address name specified when creating\n   \"comment\": null, // operation comment\n   \"createdAt\": \"2023-03-02T06:58:00.365Z\",\n   \"updatedAt\": \"2023-03-02T07:01:50.693Z\"\n}\n\n</code></pre>\n<hr />\n<p>An example of a <code>WITHDRAWAL</code> operation body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ // response body is identical to the response body when receiving output data\n   \"id\": \"2a2d464b-231a-baf3-6f8a-7b9dc0f8cef7\", // output identifier in the system\n   \"advancedBalanceId\": \"017f444f-a6ce-487f-0f80-9777199a6ff5\", // advance balance identifier\n   \"addressId\": \"5bcb11d2-cfe8-3a09-0c51-dd7be7243c5d\", // sender address identifier\n   \"currency\": \"ETH\", // sending coin\n   \"network\": \"ethereum\", // sending network\n   \"tx\": \"0x00000000000000000000c8950e52aa3...\", // blockchain transaction address\n   \"status\": \"processed\", // output status: init, error, pending, processed, rejected\n   \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\", // address of the recipient in the blockchain\n   \"tag\": null,\n   \"amount\": \"2.12345\", // withdrawal amount\n   \"feeAmount\": \"0.005\", // fee amount\n   \"createdAt\": \"2023-03-02T07:01:50.693Z\"\n}\n\n</code></pre>\n<hr />\n<p>An example of the body of the <code>ORDER</code> operation:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ // response body is identical to the response body of the request for obtaining information about the order\n   \"id\": \"d01d03e2-15dc-b03a-b34e-46cad2345b92\", // order id\n   \"advancedBalanceId\": \"c6e7d8dc-ce10-637d-147b-2dda3015b8a4\", // advance balance id\n   \"currency\": \"ETH\", // payment coin\n   \"network\": \"etehereum\", // payment network\n   \"link\": \"https://ocp.onchain...\", // payment link\n   \"status\": \"processed\", // status: init, error, processed, pending, expired, partial\n   \"order\": \"#123456789\",\n   \"description\": \"Order #123456789\",\n   \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\", // address for receiving payment\n   \"addressId\": \"8eae79cf-1db2-4858-9023-aca473d805e2\", // system address id\n   \"tag\": null, // address tag\n   \"amount\": \"0.84\", // payment amount\n   \"received\": \"0.86\", // amount received\n   \"transactions\": [\n     {\n       \"id\": \"f0b22f11-007c-4f65-bb9b-265432ab64c3\",\n       \"status\": \"processed\",\n       \"currency\": \"BNB\",\n       \"network\": \"bsc\",\n       \"amount\": \"0.0001\",\n       \"tx\": \"0x8fb0d40678d1bb4b6c0b2095c18d9280aa8ccf966e778e6b209f4f71c7f1e835\",\n       \"confirmations\": \"15\",\n       \"sender\": \"0xcD62a4E08513f16F86C1c0AF0860DD6b3De1B83d\",\n       \"priceUSD\": \"212.90000000\",\n       \"amountUSD\": \"0.02129\"\n     },\n     {\n       \"id\": \"a2a7ed3b-a8af-42c4-900c-d21e1d9eda3c\",\n       \"status\": \"processed\",\n       \"currency\": \"BNB\",\n       \"network\": \"bsc\",\n       \"amount\": \"0.0006\",\n       \"tx\": \"0x60032c394fcc7a103bc2826f9b81e5086be90628331e1ce163e1c576c64baf06\",\n       \"confirmations\": \"15\",\n       \"sender\": \"0x54936CE809bBccC7f1378c7ec88F5504cE49605C\",\n       \"priceUSD\": \"212.70000000\",\n       \"amountUSD\": \"0.12762\"\n     }\n   ],\n   \"orphanDeposits\": [\n     {\n       \"id\": \"7cd20ea9-0e2c-46c5-8e12-82b0485d5ba1\",\n       \"organizationId\": \"1f07eb01-5fd8-4e05-89b5-bebcd1d1fc39\",\n       \"orderId\": \"d01d03e2-15dc-b03a-b34e-46cad2345b92\",\n       \"stage\": \"WITHDRAWAL\",\n       \"status\": \"PROCESSED\",\n       \"message\": null,\n       \"currency\": \"BNB\",\n       \"network\": \"bsc\",\n       \"amount\": \"0.00000001\",\n       \"canWithdrawal\": true,\n       \"inTransaction\": {\n         \"addressType\": \"PAY_IN\",\n         \"addressId\": \"8519ba89-68d5-4914-9a0f-d99e77dc88ea\",\n         \"address\": \"0x68f8a74b5fD0b687369536607214acfA3b1572Ff\",\n         \"txId\": \"0x6751285829e38b1bb53d1df887dde750182f08e230b58a5a2d3e867ba7327362\",\n         \"amount\": \"0.00000001\",\n         \"status\": \"processed\",\n         \"createdAt\": \"2023-05-30T14:10:27.276Z\"\n       },\n       \"outTransaction\": {\n         \"withdrawalId\": \"4429ba89-68d5-4914-9a0f-d99e77dc88ea\",\n         \"address\": \"0x68f8a74b5fD0b687369536607214acfA3b1572Ff\",\n         \"txId\": \"0x5511285829e38b1bb53d1df887dde750182f08e230b58a5a2d3e867ba7327362\",\n         \"amount\": \"0.00000001\",\n         \"status\": \"processed\",\n         \"createdAt\": \"2023-05-30T14:10:27.276Z\"\n       },\n       \"createdAt\": \"2023-05-30T14:10:27.283Z\"\n     }\n   ],\n   \"successWebhook\": \"https://example.com/success-webhook-url\",\n   \"errorWebhook\": \"https://example.com/error-webhook-url\",\n   \"returnUrl\": \"null\",\n   \"expiresAt\": \"2021-05-23T15:00:00Z\",\n   \"createdAt\": \"2021-05-23T15:00:00Z\",\n   \"updatedAt\": \"2021-05-23T15:00:00Z\"\n}\n\n</code></pre>\n<hr />\n<p>An example of the body of the <code>INVOICE</code> operation:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ // response body is identical to the response body of the request for obtaining account data\n   \"id\": \"fe31e1f3-bd23-4c89-bced-7fecc60cbb34\", // Account ID\n   \"advancedBalanceId\": \"1cabe6ba-52b8-42bf-88a4-b3c953c3fd36\", // advance balance ID\n   \"orderId\": \"ae31e1f3-bd23-4c89-bced-7fecc60cbb31\", //Order ID (before the INIT status will be null)\n   \"orderLink\": \"https://ocp.onchainpay.io/...\", // order link (before INIT status will be null)\n   \"invoiceLink\": \"https://ocp.onchainpay.io/...\", // invoice link\n   \"status\": \"PENDING\", // account status (CREATED - created, INIT - coin selected for payment, PENDING - user made a transaction, PROCESSED - paid, PARTIAL - partial payment, ERROR - error, EXPIRED - account has expired)\n   \"order\": \"Order #1234\",\n   \"description\": \"Buy 1 Bitcoin\",\n   \"currency\": \"USD\",\n   \"amount\": \"3000\",\n   \"receivedCurrency\": \"USDT\", // selected coin for payment (before INIT status will be null)\n   \"receivedAmount\": \"123\", // amount received\n   \"includeFee\": true,\n   \"insurancePercent\": \"2\",\n   \"slippagePercent\": \"3.5\",\n   \"webhookURL\": \"https://my-shop.com/api/webhooks\",\n   \"returnURL\": \"https://my-shop.com/\",\n   \"currencies\": [\n     {\n       \"currency\": \"USDT\",\n       \"networks\": [\n         {\n           \"name\": \"tron\",\n           \"amount\": \"3030.123\" // final amount payable for USDT on the tron network\n         },\n         {\n           \"name\": \"bsc\",\n           \"amount\": \"3030.123\"\n         }\n       ]\n     }\n   ],\n   \"expiresAt\": \"2022-12-16T08:36:38.130Z\",\n   \"createdAt\": \"2022-12-16T07:36:38.130Z\"\n}\n\n</code></pre>\n<hr />\n<p>An example of the body of the <code>ORPHAN_DEPOSIT</code> operation:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ // response body is identical to the response body of the request to receive deposit data\n   \"id\": \"7cd20ea9-0e2c-46c5-8e12-82b0485d5ba1\",\n   \"organizationId\": \"1f07eb01-5fd8-4e05-89b5-bebcd1d1fc39\",\n   \"orderId\": \"4db8ba00-20f8-4e3f-8292-301dd66618af\",\n   \"stage\": \"WITHDRAWAL\",\n   \"status\": \"PROCESSED\",\n   \"message\": null,\n   \"currency\": \"BNB\",\n   \"network\": \"bsc\",\n   \"amount\": \"0.00000001\",\n   \"canWithdrawal\": true,\n   \"inTransaction\": {\n     \"addressType\": \"PAY_IN\",\n     \"addressId\": \"8519ba89-68d5-4914-9a0f-d99e77dc88ea\",\n     \"address\": \"0x68f8a74b5fD0b687369536607214acfA3b1572Ff\",\n     \"txId\": \"0x6751285829e38b1bb53d1df887dde750182f08e230b58a5a2d3e867ba7327362\",\n     \"amount\": \"0.00000001\",\n     \"status\": \"processed\",\n     \"createdAt\": \"2023-05-30T14:10:27.276Z\"\n   },\n   \"outTransaction\": {\n     \"withdrawalId\": \"4429ba89-68d5-4914-9a0f-d99e77dc88ea\",\n     \"address\": \"0x68f8a74b5fD0b687369536607214acfA3b1572Ff\",\n     \"txId\": \"0x5511285829e38b1bb53d1df887dde750182f08e230b58a5a2d3e867ba7327362\",\n     \"amount\": \"0.00000001\",\n     \"status\": \"processed\",\n     \"createdAt\": \"2023-05-30T14:10:27.276Z\"\n   },\n   \"createdAt\": \"2023-05-30T14:10:27.283Z\"\n}\n\n</code></pre>\n","urlObject":{"path":["find-tx"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"f4ba3e48-0387-4782-a8a9-bef51b382c4e","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tx\": \"0x30930376041b80ea5e6308a10d6d41edd32fe963c6a03359984efeeabb66a125\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/find-tx"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": [\n        {\n            \"type\": \"OUT\",\n            \"source\": \"WITHDRAWAL\",\n            \"address\": {\n                \"id\": \"5ac61f97-6842-4752-8b29-b73e342c3219\",\n                \"type\": \"PAY_IN\"\n            },\n            \"result\": {\n                \"id\": \"36509dba-531b-497c-a002-72e62f19c6a7\",\n                \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n                \"addressId\": \"dc24b7c0-5adf-4186-b0fb-e4201a24ca31\",\n                \"feeSource\": \"advanced_balance\",\n                \"currency\": \"USDC\",\n                \"network\": \"fantom\",\n                \"tx\": \"0x30930376041b80ea5e6308a10d6d41edd32fe963c6a03359984efeeabb66a125\",\n                \"status\": \"processed\",\n                \"address\": \"0x9D9d71514AeE30ac2B632A6114bB450B18d615F3\",\n                \"tag\": null,\n                \"amount\": \"0.05\",\n                \"feeAmount\": \"1.3\",\n                \"createdAt\": \"2023-06-08T09:34:53.576Z\"\n            }\n        }\n    ]\n}"}],"_postman_id":"645ad57e-83d1-4b50-837e-c298ec6d0d5d"},{"name":"Fetch available currencies","id":"e4658fd5-5daf-4689-b845-663f8ed93470","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"nonce\": 1\n}"},"url":"https://ocp.onchainpay.io/api-gateway/available-currencies","description":"<p>Get list of available currencies for depositing/withdrawing</p>\n","urlObject":{"path":["available-currencies"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"ad028dfa-dfb3-41da-a88f-b4bc6b3304dc","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature (do not use)>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/available-currencies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"response\": [\n    {\n      \"currency\": \"BTC\",\n      \"alias\": \"Bitcoin\",\n      \"allowDeposit\": true,\n      \"allowWithdrawal\": true,\n      \"priceUSD\": \"19754.39000000\",\n      \"networks\": [\n        {\n          \"name\": \"bitcoin\",\n          \"alias\": \"Bitcoin\",\n          \"allowDeposit\": true,\n          \"allowWithdrawal\": true,\n          \"withdrawalFee\": \"0.0002\",\n          \"withdrawalMin\": 0,\n          \"allowCrosschainBridge\": false,\n          \"allowCrosschainSwapFrom\": false,\n          \"allowCrosschainSwapTo\": true,\n          \"confirmations\": 3,\n          \"underMaintenance\": false,\n          \"isDefault\": false,\n          \"contract\": null,\n          \"addressRegex\": \"^[13][a-km-zA-HJ-NP-Z1-9]{25,34}$|^(bc1)[0-9A-Za-z]{39,59}$\",\n          \"tagRegex\": \"\"\n        }\n      ]\n    },\n    {\n      \"currency\": \"LTC\",\n      \"alias\": \"Litecoin\",\n      \"allowDeposit\": true,\n      \"allowWithdrawal\": true,\n      \"priceUSD\": \"48.19000000\",\n      \"networks\": [\n        {\n          \"name\": \"litecoin\",\n          \"alias\": \"Litecoin\",\n          \"allowDeposit\": true,\n          \"allowWithdrawal\": true,\n          \"withdrawalFee\": \"0.001\",\n          \"withdrawalMin\": 0,\n          \"allowCrosschainBridge\": true,\n          \"allowCrosschainSwapFrom\": true,\n          \"allowCrosschainSwapTo\": false,\n          \"confirmations\": 15,\n          \"underMaintenance\": false,\n          \"isDefault\": false,\n          \"contract\": null,\n          \"addressRegex\": \"^(L|M|3)[A-Za-z0-9]{33}$|^(ltc1)[0-9A-Za-z]{39}$\",\n          \"tagRegex\": \"\"\n        }\n      ]\n    }\n  ]\n}"}],"_postman_id":"e4658fd5-5daf-4689-b845-663f8ed93470"},{"name":"Get advanced balances of user","id":"7a62390e-0858-41f8-a2bc-c90a34c86bce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"nonce\": 1\n}"},"url":"https://ocp.onchainpay.io/api-gateway/advanced-balances","description":"<p>Get list of advanced balances of user</p>\n","urlObject":{"path":["advanced-balances"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"691ab21a-e18d-4d5e-9eae-335d00771d33","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/advanced-balances"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"success\": false,\n \"response\": [\n  {\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"currency\": \"USD\",\n    \"blocked\": false,\n    \"blockReason\": null,\n    \"balance\": \"978.81093692\",\n    \"availableCurrenciesForDeposit\": [\n        \"USDT\",\n        \"USDC\"\n    ]\n  }\n ]\n}"}],"_postman_id":"7a62390e-0858-41f8-a2bc-c90a34c86bce"},{"name":"Get advanced balance by id","id":"b585dbf9-0e3f-4d97-b67e-cbf966fb33e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/advanced-balance","description":"<p>Get info about advanced balance by its id</p>\n","urlObject":{"path":["advanced-balance"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"820cb987-f876-4725-8d1b-15d466ea5aaa","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/advanced-balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n        \"currency\": \"USD\",\n        \"blocked\": false,\n        \"blockReason\": null,\n        \"balance\": \"978.81093692\",\n        \"availableCurrenciesForDeposit\": [\n            \"USDT\",\n            \"USDC\"\n        ]\n    }\n}"}],"_postman_id":"b585dbf9-0e3f-4d97-b67e-cbf966fb33e5"},{"name":"Get payment address for advanced balance top-up","id":"56d341ab-44b5-4229-868e-54a43039a8e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"network\": \"tron\",\n    \"currency\": \"USDT\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/advanced-balance-deposit-address","description":"<p>Get payment address for deposit to your advanced balance</p>\n","urlObject":{"path":["advanced-balance-deposit-address"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"e20139b9-7334-4b0e-9684-bc11430bcd17","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"50b0baf9-a55a-2e1b-a175-b7640356c68a\",\n    \"network\": \"ethereum\",\n    \"currency\": \"ETH\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/advanced-balance-deposit-address"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"success\": true,\n \"response\":\n  {\n   \"currency\": \"ETH\",\n   \"network\": \"ethereum\",\n   \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n   \"tag\": null,\n   \"until\": \"2022-07-13T11:25:53.011Z\"\n  }\n}"}],"_postman_id":"56d341ab-44b5-4229-868e-54a43039a8e7"},{"name":"Get addresses balances","id":"90ddcf25-71fb-461f-bebc-711656aa01cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/account-addresses","description":"<p>Get list with info about balances of addresses</p>\n","urlObject":{"path":["account-addresses"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"abbe699f-f4d4-4171-8b99-3b64d033089b","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"20ae341d-79a3-1363-eb50-d6b16d8da33b\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/account-addresses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"success\": true,\n \"response\": [\n  {\n   \"id\": \"fa475cfa-15e8-c31d-7469-5f1168052cd6\",\n   \"advancedBalanceId\": \"9efe7012-77df-e506-b62c-66524564bd1d\",\n   \"currency\": \"ETH\",\n   \"network\": \"ethereum\",\n   \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n   \"tag\": \"\",\n   \"balance\": \"420.9876543\"\n  },\n  {\n   \"id\": \"607976c9-0270-59a3-a528-0d92489c3fc8\",\n   \"advancedBalanceId\": \"eced3174-fb39-6cda-199e-84cacf98edbf\",\n   \"currency\": \"ETH\",\n   \"network\": \"ethereum\",\n   \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n   \"tag\": \"\",\n   \"balance\": \"420.9876543\"\n  }\n ]\n}"}],"_postman_id":"90ddcf25-71fb-461f-bebc-711656aa01cf"},{"name":"Create bussiness address","id":"f07eff42-0a2b-42f0-9c3d-3809cb177f98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"network\": \"tron\",\n    \"currency\": \"USDT\",\n    \"alias\": \"Main\",\n    \"comment\": \"My main address\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/business-address","description":"<p>The method allows you to create business addresses in this account.</p>\n","urlObject":{"path":["business-address"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"5662c2fd-e287-473a-9647-b6ce2adedabe","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Напишите свой публичный ключ>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<подпись (не используйте это поле)>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"network\": \"tron\",\n    \"currency\": \"USDT\",\n    \"alias\": \"Main\",\n    \"comment\": \"My main address\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/business-address"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"9ede7ed6-570e-40b2-851e-264607981131\",\n        \"currency\": \"USDT\",\n        \"network\": \"tron\",\n        \"address\": \"TRMDELhFonKarCBwz6wjr7VKg6hDPGRxwZ\",\n        \"tag\": null,\n        \"alias\": \"Main\",\n        \"comment\": \"My main address\"\n    }\n}"}],"_postman_id":"f07eff42-0a2b-42f0-9c3d-3809cb177f98"},{"name":"Get business addresses","id":"d2464b1d-5ba0-4f37-bfc6-8f13de92fca8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/business-addresses","description":"<p>The method allows you to get business addresses and their balances for this account.</p>\n","urlObject":{"path":["business-addresses"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"15de7208-bbc3-4618-9dfd-02427379eeb8","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Напишите свой публичный ключ>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<подпись (не используйте это поле)>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"20ae341d-79a3-1363-eb50-d6b16d8da33b\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/business-addresses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": [\n        {\n            \"id\": \"d4e24f64-4834-4cee-a473-4b33317b9521\",\n            \"advancedBalanceId\": \"20ae341d-79a3-1363-eb50-d6b16d8da33b\",\n            \"currency\": \"USDT\",\n            \"network\": \"bsc\",\n            \"address\": \"0xb2bf61BDF1e795D307CE16848aeBE94943D0a0Ba\",\n            \"tag\": \"\",\n            \"balance\": \"0\",\n            \"alias\": \"test\",\n            \"comment\": \"test\"\n        }\n    ]\n}"}],"_postman_id":"d2464b1d-5ba0-4f37-bfc6-8f13de92fca8"},{"name":"Get recurrent addresses","id":"f75e5823-6b03-4059-af22-27bfe94b6653","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrent-addresses","description":"<p>The method allows you to get recurrent addresses and their balances for this account.</p>\n","urlObject":{"path":["recurrent-addresses"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"b6641a37-137b-4abd-8b66-cae5bec60603","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Напишите свой публичный ключ>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<подпись (не используйте это поле)>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/recurrent-addresses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": [\n        {\n            \"id\": \"d4e24f64-4834-4cee-a473-4b33317b9521\",\n            \"advancedBalanceId\": \"20ae341d-79a3-1363-eb50-d6b16d8da33b\",\n            \"currency\": \"USDT\",\n            \"network\": \"bsc\",\n            \"address\": \"0xb2bf61BDF1e795D307CE16848aeBE94943D0a0Ba\",\n            \"tag\": \"\",\n            \"balance\": \"0\",\n            \"alias\": \"test\",\n            \"comment\": \"test\"\n        }\n    ]\n}"}],"_postman_id":"f75e5823-6b03-4059-af22-27bfe94b6653"},{"name":"Get payout address","id":"5e6d68f1-ee8c-45b2-90fa-116aa0b4b620","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"USDT\",\n    \"network\": \"bsc\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/payout-address","description":"<p>The method allows you to get a payout address in the specified coin and network.</p>\n","urlObject":{"path":["payout-address"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"0887e2e6-0a29-4b34-8892-7bf0604b442b","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"USDT\",\n    \"network\": \"bsc\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/payout-address"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"7a2f4340-3cfa-4374-b5a8-83915d15618b\",\n        \"currency\": \"USDT\",\n        \"network\": \"bsc\",\n        \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n        \"tag\": null\n    }\n}\n            "}],"_postman_id":"5e6d68f1-ee8c-45b2-90fa-116aa0b4b620"},{"name":"Get payout balances","id":"5a116c35-208f-40ef-814a-6888e791e305","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/payout-balances","description":"<p>The method allows you to get all the payout balances on this account.</p>\n","urlObject":{"path":["payout-balances"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"4ea05006-d0b5-47a2-ae77-b111b237b4b7","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/payout-balances"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": [\n        {\n            \"id\": \"5891fc7d-db0d-4a1b-bfdd-e8fe589108cc\",\n            \"currency\": \"USDC\",\n            \"network\": \"fantom\",\n            \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n            \"tag\": \"\",\n            \"balance\": \"16.8504749145\"\n        },\n        {\n            \"id\": \"47483d47-71b5-4d33-99e5-0c0155eb39ba\",\n            \"currency\": \"USDT\",\n            \"network\": \"bsc\",\n            \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n            \"tag\": \"\",\n            \"balance\": \"2.6252321\"\n        },\n        {\n            \"id\": \"a6871855-f572-4c17-b2d3-0ce52c3f708d\",\n            \"currency\": \"BNB\",\n            \"network\": \"bsc\",\n            \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n            \"tag\": \"\",\n            \"balance\": \"0.02042004\"\n        },\n    ]\n}\n"}],"_postman_id":"5a116c35-208f-40ef-814a-6888e791e305"},{"name":"Create order for payment","id":"cc38f940-8e53-42df-b190-2c6157c804e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"currency\": \"ETH\",\n    \"network\": \"ethereum\",\n    \"amount\": \"0.84\",\n    \"order\": \"#123456789\",\n    \"lifetime\": 43200,\n    \"description\": \"Order #123456789\",\n    \"successWebhook\": \"https://example.com/success-webhook-url\",\n    \"errorWebhook\": \"https://example.com/error-webhook-url\",\n    \"returnUrl\": \"https://example.com/\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/make-order","description":"<p>Create order and get address for payments</p>\n<p>To explicitly specify the theme of the page or language, you can specify the query parameters theme to specify the theme, and lang to specify the language</p>\n<p>Available themes: <code>dark</code>,<code>light</code><br />Available languages for the following countries:<br /><code>ru</code> - Russia<br /><code>en</code> - England<br /><code>kr</code> - Korea<br /><code>lv</code> - Latvia<br /><code>lt</code> - Lithuania<br /><code>de</code> - Germany<br /><code>pl</code> - Poland<br /><code>tp</code> - Portugal<br /><code>tr</code> - Türkiye<br /><code>ua</code> - Ukraine<br /><code>fi</code> - Finland<br /><code>fr</code> - France<br /><code>ee</code> - Estonia<br /><code>jp</code> - Japan<br /><code>bg</code> - Bulgaria<br /><code>gr</code> - Greece<br /><code>es</code> - Spain<br /><code>it</code> - Italy<br /><code>cn</code> - China<br /><code>bn</code> - Bangladesh</p>\n<p>Example:<br /><code>https://pay.onchainpay.io/316a59ea-be39-4eaa-9392-6fda708f24d8?theme=light&amp;lang=en</code><br /><code>?theme=light&amp;lang=en</code> - query parameters<br /><code>theme=light</code> - theme<br /><code>lang=en</code> - language</p>\n","urlObject":{"path":["make-order"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"5bf690b1-00b3-43a9-a77e-41ddea69f416","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"c74644c9-35ad-e805-7a66-25458139f519\",\n    \"currency\": \"ETH\",\n    \"network\": \"ethereum\",\n    \"amount\": \"0.84\",\n    \"order\": \"#123456789\",\n    \"description\": \"Order #123456789\",\n    \"successWebhook\": \"https://example.com/success-webhook-url\",\n    \"errorWebhook\": \"https://example.com/error-webhook-url\",\n    \"returnUrl\": \"https://example.com/\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/make-order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"success\": true,\n \"response\": {\n  \"status\": \"init\",\n  \"link\": \"https://ocp.onchainpay.io/merchant/checkout/7e7a9d52-f260-429f-b943-8af3c91c9ea1\",\n  \"amount\": \"0.84\",\n  \"advancedBalanceId\": \"0b695247-9636-6319-1337-18599018887c\",\n  \"currency\": \"ETH\",\n  \"network\": \"etehereum\",\n  \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n  \"addressId\": \"8eae79cf-1db2-4858-9023-aca473d805e2\",\n  \"tag\": \"eiusmod mollit deserunt\",\n  \"orderId\": \"a2684173-d239-1d1b-99bb-54d188e779f7\",\n  \"clientOrderId\": \"#123456789\",\n  \"description\": \"Order #123456789\",\n  \"successWebhook\": \"https://example.com/success-webhook-url\",\n  \"errorWebhook\": \"https://example.com/error-webhook-url\",\n  \"returnUrl\": \"officia \",\n  \"expiresAt\": \"1987-11-22\"\n }\n}"}],"_postman_id":"cc38f940-8e53-42df-b190-2c6157c804e3"},{"name":"Get information about order","id":"8cf5d31a-827b-41dc-9a7b-ddf10951195c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"orderId\": \"7650dd72-2126-4043-8ab4-dbcda85a2215\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/order","description":"<p>Get information about order</p>\n","urlObject":{"path":["order"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"1c9e3830-31e5-4d89-96e5-f9e6af4fed56","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"orderId\": \"8abaab36-addf-e245-f3e3-30b849e6355d\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"success\": true,\n \"response\": {\n  \"id\": \"d01d03e2-15dc-b03a-b34e-46cad2345b92\",\n  \"advancedBalanceId\": \"c6e7d8dc-ce10-637d-147b-2dda3015b8a4\",\n  \"currency\": \"ETH\",\n  \"network\": \"etehereum\",\n  \"link\": \"https://ocp.onchainpay.io/merchant/checkout/7e7a9d52-f260-429f-b943-8af3c91c9ea1\",\n  \"status\": \"processed\",\n  \"order\": \"#123456789\",\n  \"description\": \"Order #123456789\",\n  \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n  \"addressId\": \"8eae79cf-1db2-4858-9023-aca473d805e2\",\n  \"tag\": \"velit ex quis\",\n  \"amount\": \"0.84\",\n  \"received\": \"0.86\",\n  \"transactions\": [\n   {\n      \"id\": \"f0b22f11-007c-4f65-bb9b-265432ab64c3\",\n      \"status\": \"processed\",\n      \"currency\": \"BNB\",\n      \"network\": \"bsc\",\n      \"amount\": \"0.0001\",\n      \"tx\": \"0x8fb0d40678d1bb4b6c0b2095c18d9280aa8ccf966e778e6b209f4f71c7f1e835\",\n      \"confirmations\": \"15\",\n      \"sender\": \"0xcD62a4E08513f16F86C1c0AF0860DD6b3De1B83d\",\n      \"priceUSD\": \"212.90000000\",\n      \"amountUSD\": \"0.02129\"\n    },\n    {\n      \"id\": \"a2a7ed3b-a8af-42c4-900c-d21e1d9eda3c\",\n      \"status\": \"processed\",\n      \"currency\": \"BNB\",\n      \"network\": \"bsc\",\n      \"amount\": \"0.0006\",\n      \"tx\": \"0x60032c394fcc7a103bc2826f9b81e5086be90628331e1ce163e1c576c64baf06\",\n      \"confirmations\": \"15\",\n      \"sender\": \"0x54936CE809bBccC7f1378c7ec88F5504cE49605C\",\n      \"priceUSD\": \"212.70000000\",\n      \"amountUSD\": \"0.12762\"\n    }\n  ],\n  \"successWebhook\": \"https://example.com/success-webhook-url\",\n  \"errorWebhook\": \"https://example.com/error-webhook-url\",\n  \"returnUrl\": \"null\",\n  \"expiresAt\": \"2021-05-23T15:00:00Z\",\n  \"createdAt\": \"2021-05-23T15:00:00Z\",\n  \"updatedAt\": \"2021-05-23T15:00:00Z\"\n }\n}"}],"_postman_id":"8cf5d31a-827b-41dc-9a7b-ddf10951195c"},{"name":"Get all orders","id":"1d84d3d8-8471-4785-b4d7-b2155f57763a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"offset\": 0,\n    \"limit\": 10,\n    \"status\": [\"processed\"],\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/orders","description":"<p>Get all orders.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>offset</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Offset (for pagination)</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Limit (for pagination)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>No</td>\n<td>Array of strings</td>\n<td>Filter by status</td>\n</tr>\n</tbody>\n</table>\n</div><p>Array <code>status</code> can contain following values: <code>init</code>, <code>error</code>, <code>processed</code>, <code>pending</code>, <code>refund</code>, <code>expired</code>, <code>partial</code></p>\n","urlObject":{"path":["orders"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"3fbc4997-b7ac-4ce0-87c1-df58a8db2bc1","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"offset\": 0,\n    \"limit\": 5,\n    \"status\": [\"processed\"],\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"orders\": [\n            {\n                \"id\": \"76851dbf-307c-40a8-85c4-57a035dd7d38\",\n                \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n                \"network\": \"bsc\",\n                \"status\": \"processed\",\n                \"order\": \"Test order\",\n                \"description\": \"Test description\",\n                \"address\": \"0xbEa15047\",\n                \"addressId\": \"758189d0-30f1-4d54-8131-28f2593fac69\",\n                \"tag\": null,\n                \"amount\": \"0.5482\",\n                \"received\": \"0.55000000\",\n                \"successWebhook\": null,\n                \"errorWebhook\": null,\n                \"link\": \"https://pay.onchainpay.io/76851dbf-307c-40a8-85c4-57a035dd7d38\",\n                \"returnUrl\": null,\n                \"expiresAt\": \"2023-05-18T22:42:08.840Z\",\n                \"createdAt\": \"2023-05-18T10:42:08.814Z\",\n                \"updatedAt\": \"2023-05-18T10:46:59.147Z\"\n            },\n        ],\n        \"total\": 758\n    }\n}"}],"_postman_id":"1d84d3d8-8471-4785-b4d7-b2155f57763a"},{"name":"Get withdrawal fee","id":"dfeba57d-614d-4634-b9a0-008338e08255","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n    \"addressId\": \"77d8e55c-86ad-4f5b-81ff-1ff3580b31b8\",\n    \"amount\": \"1.5\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/fee-token","description":"<p>You should fetch withdrawal fee amount before actual withdrawal and use <code>token</code> parameter</p>\n","urlObject":{"path":["fee-token"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"b2810caf-6e95-4fe2-ad0e-68c706f6f8ac","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"ce937c43-72a5-472b-8842-d0fb2980cde4\",\n    \"addressId\": \"2053f1cc-3b20-a282-f818-67ac1d6f3833\",\n    \"amount\": \"1.5\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/fee-token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"success\": true,\n \"response\": {\n  \"currency\": \"ETH\",\n  \"amount\": \"0.005\",\n  \"amountUSD\": \"10.63\",\n  \"original\": \"0.005\",\n  \"rate\": \"1\",\n  \"withdrawalMin\": 0,\n  \"source\": \"account\",\n  \"token\": \"U2FsdGVkX1+WRN3rqgcenyQXTL+QxDym5VbGP/QU46wtFfX62CIgjfwTb2OltZ05xuANV2vAn1CCVhQiyJjoM7WXOhGKFwIJl3Wk7fuF4LY7xgMaqEPJXIJNNw2tzvf9jl6nWVpP+B3Nqoa+pGP3mK8g6uxIxOlv2y2UsE4e/Efk61XKowoIiBW3aIyrm792Ae5+hp8QAOneysVPkMslh17q06Dp2vUzn4cEZrqtQYlpBlulnbbSXBEN/V01PBsaxfuwk7O2OjztcWbNR6WYmuAO3Ux22CHizzqeOKamBvkljINKFUynpvP3+gUeVCoVAN1xbziZeot6JraNjPtFkNbzIqyvowy0Im4nw8wYABel9sLRKMjRiD17oBYuCnFo/ZO9ERcu5hviLNUCWmvXZGM8KI2rWCdYxiaENnHM2DjmqY3sHpu5EUsoW7+YvrYxf3igCn3ifRztxD0vsYScwc8bwRxyjLIoQw4KLWXpZeloJcPjn7AEl/pGE0eCrBmIxeLW/T57U1MZW3fj+LTrY3fjrq8eRtYMwfJ9jyIq46wCDo2yFdQQnQ/+DWtW7LzV\",\n  \"until\": \"2022-02-02T06:07:34.067Z\"\n }\n}"}],"_postman_id":"dfeba57d-614d-4634-b9a0-008338e08255"},{"name":"Make withdrawal","id":"06694a7b-97f0-44d9-bf23-fdd6ea0c72dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"3f840884-2a80-1395-4650-80ebf3eb169a\",\n    \"addressId\": \"151d4e81-1e0c-c2fc-f682-6d988310d598\",\n    \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n    \"amount\": \"2.12345\",\n    \"feeToken\": \"U2FsdGVkX1+WRN3rqgcenyQXTL+QxDym5VbGP/QU46wtFfX62CIgjfwTb2OltZ05xuANV2vAn1CCVhQiyJjoM7WXOhGKFwIJl3Wk7fuF4LY7xgMaqEPJXIJNNw2tzvf9jl6nWVpP+B3Nqoa+pGP3mK8g6uxIxOlv2y2UsE4e/Efk61XKowoIiBW3aIyrm792Ae5+hp8QAOneysVPkMslh17q06Dp2vUzn4cEZrqtQYlpBlulnbbSXBEN/V01PBsaxfuwk7O2OjztcWbNR6WYmuAO3Ux22CHizzqeOKamBvkljINKFUynpvP3+gUeVCoVAN1xbziZeot6JraNjPtFkNbzIqyvowy0Im4nw8wYABel9sLRKMjRiD17oBYuCnFo/ZO9ERcu5hviLNUCWmvXZGM8KI2rWCdYxiaENnHM2DjmqY3sHpu5EUsoW7+YvrYxf3igCn3ifRztxD0vsYScwc8bwRxyjLIoQw4KLWXpZeloJcPjn7AEl/pGE0eCrBmIxeLW/T57U1MZW3fj+LTrY3fjrq8eRtYMwfJ9jyIq46wCDo2yFdQQnQ/+DWtW7LzV\",\n    \"tag\": \"exercitation magn\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/make-withdrawal","description":"<p>Make withdrawal from address balance. You need to pass <code>feeToken</code> parameter from previous method (Get withdrawal fee)</p>\n","urlObject":{"path":["make-withdrawal"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"ea34851c-f6bb-4b35-b9d3-e251b17fa4c0","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"3f840884-2a80-1395-4650-80ebf3eb169a\",\n    \"addressId\": \"151d4e81-1e0c-c2fc-f682-6d988310d598\",\n    \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n    \"amount\": \"2.12345\",\n    \"feeToken\": \"U2FsdGVkX1+WRN3rqgcenyQXTL+QxDym5VbGP/QU46wtFfX62CIgjfwTb2OltZ05xuANV2vAn1CCVhQiyJjoM7WXOhGKFwIJl3Wk7fuF4LY7xgMaqEPJXIJNNw2tzvf9jl6nWVpP+B3Nqoa+pGP3mK8g6uxIxOlv2y2UsE4e/Efk61XKowoIiBW3aIyrm792Ae5+hp8QAOneysVPkMslh17q06Dp2vUzn4cEZrqtQYlpBlulnbbSXBEN/V01PBsaxfuwk7O2OjztcWbNR6WYmuAO3Ux22CHizzqeOKamBvkljINKFUynpvP3+gUeVCoVAN1xbziZeot6JraNjPtFkNbzIqyvowy0Im4nw8wYABel9sLRKMjRiD17oBYuCnFo/ZO9ERcu5hviLNUCWmvXZGM8KI2rWCdYxiaENnHM2DjmqY3sHpu5EUsoW7+YvrYxf3igCn3ifRztxD0vsYScwc8bwRxyjLIoQw4KLWXpZeloJcPjn7AEl/pGE0eCrBmIxeLW/T57U1MZW3fj+LTrY3fjrq8eRtYMwfJ9jyIq46wCDo2yFdQQnQ/+DWtW7LzV\",\n    \"tag\": \"exercitation magn\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/make-withdrawal"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"success\": true,\n \"response\": {\n  \"id\": \"2a2d464b-231a-baf3-6f8a-7b9dc0f8cef7\",\n  \"advancedBalanceId\": \"017f444f-a6ce-487f-0f80-9777199a6ff5\",\n  \"addressId\": \"5bcb11d2-cfe8-3a09-0c51-dd7be7243c5d\",\n  \"currency\": \"ETH\",\n  \"network\": \"ethereum\",\n  \"tx\": \"0x00000000000000000000c8950e52aa315030efedc861da658e2c8950e52aa315\",\n  \"status\": \"processed\",\n  \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n  \"tag\": \"minim Duis culpa\",\n  \"amount\": \"2.12345\",\n  \"feeAmount\": \"0.005\",\n  \"createdAt\": \"2015-12-11\"\n }\n}"}],"_postman_id":"06694a7b-97f0-44d9-bf23-fdd6ea0c72dd"},{"name":"Make async withdrawal","id":"f5894c58-c4b9-45b3-a90f-eeaebb06d9da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"3f840884-2a80-1395-4650-80ebf3eb169a\",\n    \"addressId\": \"151d4e81-1e0c-c2fc-f682-6d988310d598\",\n    \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n    \"amount\": \"2.12345\",\n    \"feeToken\": \"U2FsdGVkX1+WRN3rqgcenyQXTL+QxDym5VbGP/QU46wtFfX62CIgjfwTb2OltZ05xuANV2vAn1CCVhQiyJjoM7WXOhGKFwIJl3Wk7fuF4LY7xgMaqEPJXIJNNw2tzvf9jl6nWVpP+B3Nqoa+pGP3mK8g6uxIxOlv2y2UsE4e/Efk61XKowoIiBW3aIyrm792Ae5+hp8QAOneysVPkMslh17q06Dp2vUzn4cEZrqtQYlpBlulnbbSXBEN/V01PBsaxfuwk7O2OjztcWbNR6WYmuAO3Ux22CHizzqeOKamBvkljINKFUynpvP3+gUeVCoVAN1xbziZeot6JraNjPtFkNbzIqyvowy0Im4nw8wYABel9sLRKMjRiD17oBYuCnFo/ZO9ERcu5hviLNUCWmvXZGM8KI2rWCdYxiaENnHM2DjmqY3sHpu5EUsoW7+YvrYxf3igCn3ifRztxD0vsYScwc8bwRxyjLIoQw4KLWXpZeloJcPjn7AEl/pGE0eCrBmIxeLW/T57U1MZW3fj+LTrY3fjrq8eRtYMwfJ9jyIq46wCDo2yFdQQnQ/+DWtW7LzV\",\n    \"webhookUrl\": \"https://ij.je/http/201323005?dev_withdraw\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/make-withdrawal-async","description":"<p>Make withdrawal from address balance. You need to pass <code>feeToken</code> parameter from previous method (Get withdrawal fee)</p>\n<p>Unlike the usual withdrawal method, the withdrawal status can only be <code>PENDING</code> in the response. After the transaction is completed in the blockchain, the withdrawal status will be updated to <code>PROCESSED</code> (or <code>ERROR</code> in case of any error). After receiving one of the final statuses, a webhook will be sent to the <code>webhookUrl</code> specified in the initial request</p>\n","urlObject":{"path":["make-withdrawal-async"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"d4c61794-f86d-4b11-be3e-3b01b0fb32d8","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"3f840884-2a80-1395-4650-80ebf3eb169a\",\n    \"addressId\": \"151d4e81-1e0c-c2fc-f682-6d988310d598\",\n    \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n    \"amount\": \"2.12345\",\n    \"feeToken\": \"U2FsdGVkX1+WRN3rqgcenyQXTL+QxDym5VbGP/QU46wtFfX62CIgjfwTb2OltZ05xuANV2vAn1CCVhQiyJjoM7WXOhGKFwIJl3Wk7fuF4LY7xgMaqEPJXIJNNw2tzvf9jl6nWVpP+B3Nqoa+pGP3mK8g6uxIxOlv2y2UsE4e/Efk61XKowoIiBW3aIyrm792Ae5+hp8QAOneysVPkMslh17q06Dp2vUzn4cEZrqtQYlpBlulnbbSXBEN/V01PBsaxfuwk7O2OjztcWbNR6WYmuAO3Ux22CHizzqeOKamBvkljINKFUynpvP3+gUeVCoVAN1xbziZeot6JraNjPtFkNbzIqyvowy0Im4nw8wYABel9sLRKMjRiD17oBYuCnFo/ZO9ERcu5hviLNUCWmvXZGM8KI2rWCdYxiaENnHM2DjmqY3sHpu5EUsoW7+YvrYxf3igCn3ifRztxD0vsYScwc8bwRxyjLIoQw4KLWXpZeloJcPjn7AEl/pGE0eCrBmIxeLW/T57U1MZW3fj+LTrY3fjrq8eRtYMwfJ9jyIq46wCDo2yFdQQnQ/+DWtW7LzV\",\n    \"webhookUrl\": \"https://site.com/webhook/1392\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/make-withdrawal-async"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"success\": true,\n \"response\": {\n  \"id\": \"2a2d464b-231a-baf3-6f8a-7b9dc0f8cef7\",\n  \"advancedBalanceId\": \"3f840884-2a80-1395-4650-80ebf3eb169a\",\n  \"addressId\": \"151d4e81-1e0c-c2fc-f682-6d988310d598\",\n  \"currency\": \"ETH\",\n  \"network\": \"ethereum\",\n  \"tx\": \"0x00000000000000000000c8950e52aa315030efedc861da658e2c8950e52aa315\",\n  \"status\": \"pending\",\n  \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n  \"amount\": \"2.12345\",\n  \"feeAmount\": \"0.005\",\n  \"webhookUrl\": \"https://site.com/webhook/1392\",\n  \"createdAt\": \"2015-12-11\"\n }\n}"}],"_postman_id":"f5894c58-c4b9-45b3-a90f-eeaebb06d9da"},{"name":"Get withdrawal","id":"0512447a-5440-4b70-b687-ad8e726912f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"withdrawalId\": \"3f840884-2a80-1395-4650-80ebf3eb169a\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/get-withdrawal","description":"<p>The method allows you to obtain information on a previously made conclusion</p>\n","urlObject":{"path":["get-withdrawal"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"a4b2e68a-5f1b-4a86-8382-f0e6caabbbcb","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"withdrawalId\": \"2a2d464b-231a-baf3-6f8a-7b9dc0f8cef7\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/get-withdrawal"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"success\": true,\n \"response\": {\n  \"id\": \"2a2d464b-231a-baf3-6f8a-7b9dc0f8cef7\",\n  \"advancedBalanceId\": \"017f444f-a6ce-487f-0f80-9777199a6ff5\",\n  \"addressId\": \"5bcb11d2-cfe8-3a09-0c51-dd7be7243c5d\",\n  \"currency\": \"ETH\",\n  \"network\": \"ethereum\",\n  \"tx\": \"0x00000000000000000000c8950e52aa315030efedc861da658e2c8950e52aa315\",\n  \"status\": \"processed\",\n  \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n  \"tag\": \"minim Duis culpa\",\n  \"amount\": \"2.12345\",\n  \"feeAmount\": \"0.005\",\n  \"createdAt\": \"2015-12-11\"\n }\n}"}],"_postman_id":"0512447a-5440-4b70-b687-ad8e726912f4"},{"name":"Create invoice","id":"676dfc5f-f9e5-4306-a47f-d20fa16f7a33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"1cabe6ba-52b8-42bf-88a4-b3c953c3fd36\", // ID авансового баланса\n    \"order\": \"Order #1234\", // Идентификатор платежа во внешней системе\n    \"description\": \"Buy 1 Bitcoin\", // Описание платежа\n    \"currency\": \"USD\", // Валюта счета\n    \"amount\": \"3000\", // Сумма счета \n    \"includeFee\": true, // Включать комиссию сети в конечную сумму оплаты\n    \"insurancePercent\": \"2\", // Можете указать свой процент к конечной сумме оплаты\n    // Это параметр отвечает за процент проскальзывания конечной суммы оплаты от текущего курса\n    // При переходе по ссылке счета пользователю будут показаны конечные суммы в выбранных монетах/сетях\n    // если за время выбора пользователем монеты/сети для оплаты курс измениться больше процента, который\n    // вы указали в этом параметрке, то сумма будет пересчитана по текущему курсу\n    \"slippagePercent\": \"3.5\",\n    \"webhookURL\": \"https://my-shop.com/api/webhooks\", // Ссылка для отправки вебхуков об изменении статуса счета\n    \"returnURL\": \"https://my-shop.com/\", // Ссылка для возврата обратно в магазин\n    \"lifetime\": 60, // время жизни счета (не ордера) в минутах\n    \"currencies\": [ // Список доступных для оплаты монет/сетей\n        [\"USDT\", \"bsc\"], // Указываются в формате [CURRENCY, NETWORK]\n        [\"USDT\", \"tron\"],\n        [\"BTC\", \"bitcoin\"]\n    ],\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/make-invoice","description":"<p>The method allows you to issue an invoice for payment.</p>\n<p>To explicitly specify the theme of the page or language, you can specify the query parameters theme to specify the theme, and lang to specify the language</p>\n<p>Available themes: <code>dark</code>,<code>light</code><br />Available languages for the following countries:<br /><code>ru</code> - Russia<br /><code>en</code> - England<br /><code>kr</code> - Korea<br /><code>lv</code> - Latvia<br /><code>lt</code> - Lithuania<br /><code>de</code> - Germany<br /><code>pl</code> - Poland<br /><code>tp</code> - Portugal<br /><code>tr</code> - Türkiye<br /><code>ua</code> - Ukraine<br /><code>fi</code> - Finland<br /><code>fr</code> - France<br /><code>ee</code> - Estonia<br /><code>jp</code> - Japan<br /><code>bg</code> - Bulgaria<br /><code>gr</code> - Greece<br /><code>es</code> - Spain<br /><code>it</code> - Italy<br /><code>cn</code> - China<br /><code>bn</code> - Bangladesh</p>\n<p>Example:<br /><code>https://invoice.onchainpay.io/316a59ea-be39-4eaa-9392-6fda708f24d8?theme=light&amp;lang=en</code><br /><code>?theme=light&amp;lang=en</code> - query parameters<br /><code>theme=light</code> - theme<br /><code>lang=en</code> - language</p>\n","urlObject":{"path":["make-invoice"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"aa8894df-e445-4681-8fb5-b0a847cfa42c","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Напишите свой публичный ключ>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<подпись>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"1cabe6ba-52b8-42bf-88a4-b3c953c3fd36\",\n    \"order\": \"Order #1234\",\n    \"description\": \"Buy 1 Bitcoin\",\n    \"currency\": \"USD\",\n    \"amount\": \"3000\",\n    \"includeFee\": true,\n    \"insurancePercent\": \"2\",\n    \"slippagePercent\": \"3.5\",\n    \"webhookURL\": \"https://my-shop.com/api/webhooks\",\n    \"returnURL\": \"https://my-shop.com/\",\n    \"lifetime\": 60,\n    \"currencies\": [\n        [\"USDT\", \"bsc\"],\n        [\"USDT\", \"tron\"],\n        [\"BTC\", \"bitcoin\"]\n    ],\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/make-invoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"fe31e1f3-bd23-4c89-bced-7fecc60cbb34\",\n        \"advancedBalanceId\": \"1cabe6ba-52b8-42bf-88a4-b3c953c3fd36\",\n        \"orderId\": null,\n        \"orderLink\": null,\n        \"invoiceLink\": \"https://ocp.onchainpay.io/...\",\n        \"status\": \"CREATED\",\n        \"order\": \"Order #1234\",\n        \"description\": \"Buy 1 Bitcoin\",\n        \"currency\": \"USD\",\n        \"amount\": \"3000\",\n        \"receivedCurrency\": null,\n        \"receivedAmount\": null,\n        \"includeFee\": true,\n        \"insurancePercent\": \"2\",\n        \"slippagePercent\": \"3.5\",\n        \"webhookURL\": \"https://my-shop.com/api/webhooks\",\n        \"returnURL\": \"https://my-shop.com/\",\n        \"currencies\": [\n            {\n                \"currency\": \"USDT\",\n                \"networks\": [\n                    {\n                        \"name\": \"tron\",\n                        \"amount\": \"3030.123\"\n                    }\n                ]\n            }\n        ],\n        \"expiresAt\": \"2022-12-16T08:36:38.130Z\",\n        \"createdAt\": \"2022-12-16T07:36:38.130Z\"\n    }\n}"},{"id":"8248f7cc-9599-4f0d-9c5d-6366754aab85","name":"Create invoice","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"advancedBalanceId\": \"1cabe6ba-52b8-42bf-88a4-b3c953c3fd36\", // Advanced balance ID\n    \"order\": \"Order #1234\", // Payment ID in the external system\n    \"description\": \"Buy 1 Bitcoin\", // Payment Description\n    \"currency\": \"USD\", // Invoice currency\n    \"amount\": \"3000\", // Invoice amount\n    \"includeFee\": true, // Include network fee in the final payment amount\n    \"insurancePercent\": \"2\", // You can specify your percentage of the final payment amount\n    // This parameter is responsible for the slippage percentage of the final payment amount from the current rate\n    // When clicking on invoice link, the user will be shown the final amounts in the selected coins/networks\n    // if during the time the user selects a coin/network for payment, the exchange rate changes more than the percentage that\n    // you specified in this parameter, the amount will be recalculated at the current rate\n    \"slippagePercent\": \"3.5\",\n    \"webhookURL\": \"https://my-shop.com/api/webhooks\", // Link to send webhooks about changing account status\n    \"returnURL\": \"https://my-shop.com/\", // Link to return to the store\n    \"lifetime\": 60, // lifetime of invoice (not order) in minutes\n    \"currencies\": [ // List of coins/networks available for payment\n        [\"USDT\", \"bsc\"], // Specified in the format [CURRENCY, NETWORK]\n        [\"USDT\", \"tron\"],\n        [\"BTC\", \"bitcoin\"]\n    ],\n    \"nonce\": 1\n}","options":{"raw":{"language":"text"}}},"url":"https://ocp.onchainpay.io/api-gateway/make-invoice"},"_postman_previewlanguage":null,"header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"676dfc5f-f9e5-4306-a47f-d20fa16f7a33"},{"name":"Get invoice information","id":"d878efce-895d-46e4-99d5-d3c978109d65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Публичный ключ</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Подпись запроса</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"invoiceId\": \"abbee03a-e54a-4568-9023-d266e1eb76ef\", \n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/get-invoice","description":"<p>The method allows you to get information about the invoice.</p>\n","urlObject":{"path":["get-invoice"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"0220b660-2b2e-4745-a3de-23b88d928464","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Напишите свой публичный ключ>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<подпись>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"invoiceId\": \"fe31e1f3-bd23-4c89-bced-7fecc60cbb34\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/get-invoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"id\": \"fe31e1f3-bd23-4c89-bced-7fecc60cbb34\", // Invoice ID\n        \"advancedBalanceId\": \"1cabe6ba-52b8-42bf-88a4-b3c953c3fd36\", // Advanced balance ID\n        \"orderId\": \"ae31e1f3-bd23-4c89-bced-7fecc60cbb31\", // Order ID (before INIT status will be null)\n        \"orderLink\": \"https://ocp.onchainpay.io/...\", // order link (before INIT status will be null)\n        \"invoiceLink\": \"https://ocp.onchainpay.io/...\", // invoice link\n        \"status\": \"PENDING\", // invoice status (CREATED - created, INIT - coin selected for payment, PENDING - user send a transaction, PROCESSED - paid, PARTIAL - partial payment, ERROR - error, EXPIRED - invoice expired)\n        \"order\": \"Order #1234\",\n        \"description\": \"Buy 1 Bitcoin\",\n        \"currency\": \"USD\",\n        \"amount\": \"3000\",\n        \"receivedCurrency\": \"USDT\", // selected coin for payment (before INIT status will be null)\n        \"receivedAmount\": \"123\", // amount received\n        \"includeFee\": true,\n        \"insurancePercent\": \"2\",\n        \"slippagePercent\": \"3.5\",\n        \"webhookURL\": \"https://my-shop.com/api/webhooks\",\n        \"returnURL\": \"https://my-shop.com/\",\n        \"currencies\": [\n            {\n                \"currency\": \"USDT\",\n                \"networks\": [\n                    {\n                        \"name\": \"tron\",\n                        \"amount\": \"3030.123\" // final amount payable for USDT on the tron network\n                    },\n                    {\n                        \"name\": \"bsc\",\n                        \"amount\": \"3030.123\"\n                    }\n                ]\n            }\n        ],\n        \"expiresAt\": \"2022-12-16T08:36:38.130Z\",\n        \"createdAt\": \"2022-12-16T07:36:38.130Z\"\n    }\n}"},{"id":"5db5cb01-be3c-4744-a44b-8b76853df20a","name":"Get invoice information","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"invoiceId\": \"fe31e1f3-bd23-4c89-bced-7fecc60cbb34\", // Advanced balance ID\n    \"nonce\": 1\n}","options":{"raw":{"language":"text"}}},"url":"https://ocp.onchainpay.io/api-gateway/get-invoice"},"_postman_previewlanguage":null,"header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"d878efce-895d-46e4-99d5-d3c978109d65"},{"name":"Get all invoices","id":"591eb87f-8de3-46b3-9e57-d5d645d894db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"offset\": 0,\n    \"limit\": 10,\n    \"status\": [\"INIT\"],\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/get-invoices","description":"<p>Get all invoices.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>offset</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Offset (for pagination)</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Yes</td>\n<td>Number</td>\n<td>Limit (for pagination)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>No</td>\n<td>Array of strings</td>\n<td>Filter by status</td>\n</tr>\n</tbody>\n</table>\n</div><p>Array <code>status</code> can contain following values: <code>CREATED</code>, <code>REJECTED</code>, <code>INIT</code>, <code>PROCESSED</code>, <code>PENDING</code>, <code>PARTIAL</code>, <code>EXPIRED</code></p>\n","urlObject":{"path":["get-invoices"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"65b1aeb3-dbbb-4e39-a8e1-3d3246d6b04c","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Public key","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Signature","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"offset\": 0,\n    \"limit\": 5,\n    \"status\": [\"INIT\"],\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/get-invoices"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"response\": {\n        \"invoices\": [\n            {\n                \"id\": \"3a59aefc-587f-4a63-9edc-6d986910b27c\",\n                \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n                \"externalId\": null,\n                \"orderId\": \"6410f232-d6d2-4db2-9319-d4787561db54\",\n                \"orderLink\": \"https://pay.onchainpay.io/6410f232-d6d2-4db2-9319-d4787561db54\",\n                \"invoiceLink\": \"https://invoice.onchainpay.io/3a59aefc-587f-4a63-9edc-6d986910b27c\",\n                \"status\": \"INIT\",\n                \"order\": \"3\",\n                \"description\": \"3\",\n                \"currency\": \"USD\",\n                \"amount\": \"1500.00000000\",\n                \"receivedCurrency\": \"USDT\",\n                \"receivedAmount\": \"0\",\n                \"includeFee\": true,\n                \"insurancePercent\": \"1.00000000\",\n                \"slippagePercent\": \"1.00000000\",\n                \"webhookURL\": null,\n                \"expiresAt\": null,\n                \"createdAt\": \"2023-05-22T09:41:14.061Z\"\n            }\n        ],\n        \"total\": \"4\"\n    }\n}"}],"_postman_id":"591eb87f-8de3-46b3-9e57-d5d645d894db"},{"name":"Get currencies price-rate","id":"5d8065a3-0294-4243-9850-cfd40e2e1bfa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"<p>Public key</p>\n","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"<p>Signature</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"from\": \"ETH\",\n    \"to\": \"USDT\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/price-rate","description":"<p>Get price rate from one currency to another</p>\n","urlObject":{"path":["price-rate"],"host":["https://ocp.onchainpay.io/api-gateway"],"query":[],"variable":[]}},"response":[{"id":"af364042-623e-4e2e-b1fe-eb0239e007b0","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-type","value":"application/json","type":"text"},{"key":"x-api-public-key","value":"<Write your public key here>","description":"Публичный ключ","type":"text"},{"key":"x-api-signature","value":"<signature>","description":"Подпись запроса","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"from\": \"ETH\",\n    \"to\": \"USDT\",\n    \"nonce\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://ocp.onchainpay.io/api-gateway/price-rate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"success\": true,\n \"response\": \"2751.51000000\"\n}"}],"_postman_id":"5d8065a3-0294-4243-9850-cfd40e2e1bfa"}],"event":[{"listen":"prerequest","script":{"id":"736dd4c8-f946-4b36-84a6-c2acee14acce","type":"text/javascript","exec":["const secretKey = pm.collectionVariables.get(\"secretKey\");","const body = JSON.parse(pm.request.body);","","body.nonce = Date.now()","","pm.request.body.update(JSON.stringify(body))","","const signature = CryptoJS.HmacSHA256(pm.request.body.raw, secretKey).toString(CryptoJS.enc.Hex)","pm.collectionVariables.set(\"signature\", signature)"]}},{"listen":"test","script":{"id":"d801c8f2-d05f-4317-8c28-1c866039c2bf","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://ocp.onchainpay.io/api-gateway","type":"string"},{"key":"basePartnerUrl","value":"https://ocp.onchainpay.io/partner/api","type":"string"},{"key":"publicKey","value":"<Write your public key here>","type":"string"},{"key":"secretKey","value":"<Write your secret key here>","type":"string"},{"key":"signature","value":"<signature>","type":"string"}]}