{"info":{"_postman_id":"5c3fe268-1859-4608-a837-45df894ea620","name":"Merchant API","description":"<html><head></head><body><h1 id=\"authentication\">Authentication</h1>\n<p>API Endpoint: <a href=\"https://api.swup.ai/merchant/\">https://api.swup.ai/</a></p>\n<p>PHP client example: <a href=\"https://github.com/swup-dev/Swup-PHP-SDK\">https://github.com/swup-dev/Swup-PHP-SDK</a></p>\n<p>Node.JS client example: <a href=\"https://github.com/swup-dev/Swup-Node.js-SDK\">https://github.com/swup-dev/Swup-Node.js-SDK</a></p>\n<p>Each request must be sent with headers:</p>\n<ul>\n<li><p><strong>x-merchant-id -</strong> Your merchant ID.</p>\n</li>\n<li><p><strong>x-nonce</strong> - Unique request ID</p>\n</li>\n<li><p><strong>x-merchant-signature -</strong> Request signature</p>\n<ul>\n<li><p>Hash value with secret key by <strong>sha256</strong> hashing algorithm, value <strong>x-nonce + json_string_data.</strong></p>\n</li>\n<li><p>Example**:**</p>\n<ul>\n<li><p><strong>x-nonce</strong> = <code>NONCE_VAL</code></p>\n</li>\n<li><p><strong>json_string_data</strong> = <code>{\"amount\":\"100\",\"currency\":\"USDT_TRX\",\"address\":\"TMzz9MrUhHMBDZwDsX1PAJ3wVDBXdEm9iN\",\"externalId\":\"333311\"}</code>. Note: If data is empty or method is GET use <code>{}</code> instead of <strong><code>[]</code></strong></p>\n</li>\n<li><p><strong>secret key</strong> = <code>SECRET_KEY</code></p>\n</li>\n<li><p><strong>x-nonce + json_string_data =</strong> <code>NONCE_VAL{\"amount\":\"100\",\"currency\":\"USDT_TRX\",\"address\":\"TMzz9MrUhHMBDZwDsX1PAJ3wVDBXdEm9iN\",\"externalId\":\"333311\"}</code></p>\n</li>\n<li><p>singnature = <code>CALCULATED_SIGNATURE</code></p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h1 id=\"currency\">Currency</h1>\n<p>Currency must be transferred in the format:</p>\n<ul>\n<li><p>for coin: e.g. <code>TRX</code>, <code>BTC</code>, <code>ETH</code> etc;</p>\n</li>\n<li><p>for token, token_token-standard: e.g. <code>USDT_ERC-20</code>, <code>USDC_TRC-20</code> etc.</p>\n</li>\n</ul>\n<h1 id=\"callbacks\">Callbacks</h1>\n<p>Callbacks come to the <code>callbackUrl</code> specified in the invoice or, if not specified, to the <code>callbackUrl</code> from the merchant's settings.</p>\n<p>You will get JSON with invoice structure like in <strong>Get invoice by ID endpoint.</strong> Each callback will contain a signature, it is generated according to the principles described in the <strong>Authentication</strong> block. You must generate a request signature from your side and compare your hash and the hash from the headers (<code>x-merchant-signature</code>) using the <code>x-nonce</code> from the headers, for key pair with <code>x-merchant-id</code> from headers.</p>\n<p>Callbacks will be sent until they receive a successful response (status code 2xx). There are 10 attempts to send a callback to get a successful response.</p>\n<ol>\n<li><p><strong>Immediately</strong> after invoice update;</p>\n</li>\n<li><p><strong>1 minute</strong> after sending the last callback;</p>\n</li>\n<li><p><strong>3 minutes</strong> after sending the last callback;</p>\n</li>\n<li><p><strong>5 minutes</strong> after sending the last callback;</p>\n</li>\n<li><p><strong>10 minutes</strong> after sending the last callback;</p>\n</li>\n<li><p><strong>20 minutes</strong> after sending the last callback;</p>\n</li>\n<li><p><strong>30 minutes</strong> after sending the last callback;</p>\n</li>\n<li><p><strong>1 hour</strong> after sending the last callback;</p>\n</li>\n<li><p><strong>2 hours</strong> after sending the last callback;</p>\n</li>\n<li><p><strong>3 hours</strong> after sending the last callback;</p>\n</li>\n</ol>\n<h1 id=\"api\">API</h1>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Authentication","slug":"authentication"},{"content":"Currency","slug":"currency"},{"content":"Callbacks","slug":"callbacks"},{"content":"API","slug":"api"}],"owner":"24821794","collectionId":"5c3fe268-1859-4608-a837-45df894ea620","publishedId":"2sAXxLCEK8","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-10-08T07:11:44.000Z"},"item":[{"name":"Invoice","item":[{"name":"Create invoice","id":"5aff1158-7ed1-454a-88f7-16da9e6860c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"<p>Your merchant API ID</p>\n","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"<p>Signature current request</p>\n","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"<p>Unique request ID</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"externalId\": \"321\",\n    \"amount\": \"500\",\n    \"amountCurrency\": \"TRX\",\n    \"currency\": \"USDT_TRC-20\",\n    \"title\": \"TRON_PAYMENT\",\n    \"description\": \"BUY_CAR\",\n    \"errorUrl\": \"https://swup_payments.requestcatcher.com/\",\n    \"successUrl\": \"https://swup_payments.requestcatcher.com/\",\n    \"callbackUrl\": \"https://swup_payments.requestcatcher.com/\",\n    \"expiresAfter\": 100\n}"},"url":"{{payments_api_url}}merchant/invoices","description":"<p>The API endpoint creates a invoice.</p>\n<h2 id=\"request-fields\">Request fields:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>externalId</td>\n<td>String</td>\n<td>(Required) Your invoice id, must be unique</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>String</td>\n<td>(Required) Invoice amount</td>\n</tr>\n<tr>\n<td>currencyAmount</td>\n<td>String</td>\n<td>(Optional) Currency amount. If this amount is different from the currency, the <strong>amount</strong> will be automatically converted into the <strong>currency</strong> of the invoice.</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>String</td>\n<td>(Required) Invoice currency</td>\n</tr>\n<tr>\n<td>title</td>\n<td>String</td>\n<td>(Optional) Order title</td>\n</tr>\n<tr>\n<td>description</td>\n<td>String</td>\n<td>(Optional) Order description</td>\n</tr>\n<tr>\n<td>errorUrl</td>\n<td>String</td>\n<td>(Optional) Redirect to the page when an error occurs. Default: <strong>errorUrl</strong> from default setting.</td>\n</tr>\n<tr>\n<td>successUrl</td>\n<td>String</td>\n<td>(Optional) Redirect to the page upon full payment of the invoice. Default: <strong>successUrl</strong> from default setting.</td>\n</tr>\n<tr>\n<td>callbackUrl</td>\n<td>String</td>\n<td>(Optional) URL to send callbacks about this invoice. Default: <strong>callbackUrl</strong> from default setting.</td>\n</tr>\n<tr>\n<td>expiresAfter</td>\n<td>Integer</td>\n<td>(Optional) The number of seconds after which the invoice will be invalid. Default: 1800</td>\n</tr>\n<tr>\n<td>customFields</td>\n<td>object</td>\n<td>(Optional) Custom fields</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"successful-response-fields\">Successful response fields:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</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>Invoice ID</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>String</td>\n<td>Your invoice id, must be unique</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>String</td>\n<td>The invoice amount</td>\n</tr>\n<tr>\n<td>amountUsd</td>\n<td>String</td>\n<td>The invoice amount in USD</td>\n</tr>\n<tr>\n<td>paidAmount</td>\n<td>String</td>\n<td>The invoice paid amount</td>\n</tr>\n<tr>\n<td>paidAmountUsd</td>\n<td>String</td>\n<td>The invoice paid amount in USD</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>String</td>\n<td>Invoice currency</td>\n</tr>\n<tr>\n<td>title</td>\n<td>String</td>\n<td>Order title</td>\n</tr>\n<tr>\n<td>description</td>\n<td>String</td>\n<td>Order description</td>\n</tr>\n<tr>\n<td>errorUrl</td>\n<td>String</td>\n<td>(Optional) Redirect to the page when an error occurs. Default: <strong>errorUrl</strong> from default setting.</td>\n</tr>\n<tr>\n<td>successUrl</td>\n<td>String</td>\n<td>(Optional) Redirect to the page upon full payment of the invoice. Default: <strong>successUrl</strong> from default setting.</td>\n</tr>\n<tr>\n<td>callbackUrl</td>\n<td>String</td>\n<td>(Optional) URL to send callbacks about this invoice. Default: <strong>callbackUrl</strong> from default setting.</td>\n</tr>\n<tr>\n<td>expiresAfter</td>\n<td>Integer</td>\n<td>The number of seconds after which the invoice will be invalid. Default: 1800</td>\n</tr>\n<tr>\n<td>merchantFee</td>\n<td>String</td>\n<td>Merchant fee from SWUP service.</td>\n</tr>\n<tr>\n<td>merchantFeeUsd</td>\n<td>String</td>\n<td>Merchant fee from SWUP service in USD.</td>\n</tr>\n<tr>\n<td>expiresAt</td>\n<td>String</td>\n<td>The invoice expired at. ISO format.</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>String</td>\n<td>The invocie created at. ISO format.</td>\n</tr>\n<tr>\n<td>updatedAt</td>\n<td>String</td>\n<td>The invocie updated at. ISO format.</td>\n</tr>\n<tr>\n<td>confirmedAt</td>\n<td>String</td>\n<td>The invoice has been paid in full. ISO format.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>String</td>\n<td>The invoice status.</td>\n</tr>\n<tr>\n<td>unpaidAmount</td>\n<td>String</td>\n<td>The invoice unpaid amount.</td>\n</tr>\n<tr>\n<td>walletAddress</td>\n<td>String</td>\n<td>Blockchain address for invoice payment.</td>\n</tr>\n<tr>\n<td>walletAddressExplorerLink</td>\n<td>String</td>\n<td>Blockchain explorer for <strong>walletAddress</strong>.</td>\n</tr>\n<tr>\n<td>formUrl</td>\n<td>String</td>\n<td>Payment form URL.</td>\n</tr>\n<tr>\n<td>customFields</td>\n<td>Object</td>\n<td>Custom fields</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoices"],"host":["{{payments_api_url}}merchant"],"query":[],"variable":[]}},"response":[{"id":"30de07f5-b71d-491b-8f36-9b38bbba0686","name":"Create invoice","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"Your merchant API ID","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"Signature current request","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"Unique request ID","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"externalId\": \"321\",\n    \"amount\": \"500\",\n    \"amountCurrency\": \"USD\",\n    \"currency\": \"USDT_TRC-20\",\n    \"title\": \"TRON_PAYMENT\",\n    \"description\": \"BUY_CAR\",\n    \"errorUrl\": \"https://swup_payments.requestcatcher.com/\",\n    \"successUrl\": \"https://swup_payments.requestcatcher.com/\",\n    \"callbackUrl\": \"https://swup_payments.requestcatcher.com/\",\n    \"expiresAfter\": 100\n}","options":{"raw":{"language":"json"}}},"url":"{{payments_api_url}}merchant/invoices"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"errors\": [],\n    \"data\": {\n        \"invoice\": {\n            \"id\": \"ID\",\n            \"externalId\": \"321\",\n            \"amount\": \"500.0000000000\",\n            \"amountUsd\": \"0\",\n            \"paidAmount\": \"0\",\n            \"paidAmountUsd\": \"0\",\n            \"currency\": \"USDT_TRC-20\",\n            \"currencyConvert\": \"\",\n            \"title\": \"TRON_PAYMENT\",\n            \"description\": \"BUY_CAR\",\n            \"successUrl\": \"https://swup_payments.requestcatcher.com/\",\n            \"errorUrl\": \"https://swup_payments.requestcatcher.com/\",\n            \"callbackUrl\": \"https://swup_payments.requestcatcher.com/\",\n            \"expiresAfter\": 100,\n            \"merchantFee\": \"0\",\n            \"merchantFeeUsd\": \"0\",\n            \"expiresAt\": \"2022-12-08T13:53:36+00:00\",\n            \"createdAt\": \"2022-12-08T13:51:56+00:00\",\n            \"updatedAt\": \"2022-12-08T13:51:56+00:00\",\n            \"confirmedAt\": null,\n            \"status\": \"pending\",\n            \"unpaidAmount\": \"500.000000000000000000000000000000000000\",\n            \"walletAddress\": \"TJJaukRu2SGJMrxppZfkMmvzqQprgojhvS\",\n            \"walletAddressExplorerLink\": \"https://tronscan.org/#/address/TJJaukRu2SGJMrxppZfkMmvzqQprgojhvS\"\n        },\n        \"formUrl\": \"http://localhost:3000/ID\"\n    }\n}"}],"_postman_id":"5aff1158-7ed1-454a-88f7-16da9e6860c7"},{"name":"Get invoice by id","id":"a6e156c8-95b0-4130-bafc-991e43a60413","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"<p>Your merchant API ID</p>\n","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"<p>Signature current request</p>\n","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"<p>Unique request ID</p>\n","type":"text"}],"url":"{{payments_api_url}}merchant/invoices/{id}","description":"<p>The API endpoint returns a invoice by ID.</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</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>Invocie ID</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"successful-response-fields\">Successful response fields:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</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>Invoice ID</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>String</td>\n<td>Your invoice id, must be unique</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>String</td>\n<td>The invoice amount</td>\n</tr>\n<tr>\n<td>amountUsd</td>\n<td>String</td>\n<td>The invoice amount in USD</td>\n</tr>\n<tr>\n<td>paidAmount</td>\n<td>String</td>\n<td>The invoice paid amount</td>\n</tr>\n<tr>\n<td>paidAmountUsd</td>\n<td>String</td>\n<td>The invoice paid amount in USD</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>String</td>\n<td>Invoice currency</td>\n</tr>\n<tr>\n<td>title</td>\n<td>String</td>\n<td>Order title</td>\n</tr>\n<tr>\n<td>description</td>\n<td>String</td>\n<td>Order description</td>\n</tr>\n<tr>\n<td>errorUrl</td>\n<td>String</td>\n<td>(Optional) Redirect to the page when an error occurs. Default: <strong>errorUrl</strong> from default setting.</td>\n</tr>\n<tr>\n<td>successUrl</td>\n<td>String</td>\n<td>(Optional) Redirect to the page upon full payment of the invoice. Default: <strong>successUrl</strong> from default setting.</td>\n</tr>\n<tr>\n<td>callbackUrl</td>\n<td>String</td>\n<td>(Optional) URL to send callbacks about this invoice. Default: <strong>callbackUrl</strong> from default setting.</td>\n</tr>\n<tr>\n<td>expiresAfter</td>\n<td>Integer</td>\n<td>The number of seconds after which the invoice will be invalid. Default: 1800</td>\n</tr>\n<tr>\n<td>merchantFee</td>\n<td>String</td>\n<td>Merchant fee from SWUP service.</td>\n</tr>\n<tr>\n<td>merchantFeeUsd</td>\n<td>String</td>\n<td>Merchant fee from SWUP service in USD.</td>\n</tr>\n<tr>\n<td>expiresAt</td>\n<td>String</td>\n<td>The invoice expired at. ISO format.</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>String</td>\n<td>The invocie created at. ISO format.</td>\n</tr>\n<tr>\n<td>updatedAt</td>\n<td>String</td>\n<td>The invocie updated at. ISO format.</td>\n</tr>\n<tr>\n<td>confirmedAt</td>\n<td>String</td>\n<td>The invoice has been paid in full. ISO format.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>String</td>\n<td>The invoice status.</td>\n</tr>\n<tr>\n<td>unpaidAmount</td>\n<td>String</td>\n<td>The invoice unpaid amount.</td>\n</tr>\n<tr>\n<td>walletAddress</td>\n<td>String</td>\n<td>Blockchain address for invoice payment.</td>\n</tr>\n<tr>\n<td>walletAddressExplorerLink</td>\n<td>String</td>\n<td>Blockchain explorer for <strong>walletAddress</strong>.</td>\n</tr>\n<tr>\n<td>formUrl</td>\n<td>String</td>\n<td>Payment form URL.</td>\n</tr>\n<tr>\n<td>customFields</td>\n<td>object</td>\n<td>Custom fields</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoices","{id}"],"host":["{{payments_api_url}}merchant"],"query":[],"variable":[]}},"response":[{"id":"c2d566ab-a5cd-4f60-84b0-5d8bac734347","name":"Get invoice by id","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"Your merchant API ID","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"Signature current request","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"Unique request ID","type":"text"}],"url":"{{payments_api_url}}merchant/invoices/ID"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"errors\": [],\n    \"data\": {\n        \"invoice\": {\n            \"id\": \"ID\",\n            \"externalId\": \"321\",\n            \"amount\": \"500.0000000000\",\n            \"amountUsd\": \"0\",\n            \"paidAmount\": \"0\",\n            \"paidAmountUsd\": \"0\",\n            \"currency\": \"USDT_TRC-20\",\n            \"currencyConvert\": \"\",\n            \"title\": \"TRON_PAYMENT\",\n            \"description\": \"BUY_CAR\",\n            \"successUrl\": \"https://swup_payments.requestcatcher.com/\",\n            \"errorUrl\": \"https://swup_payments.requestcatcher.com/\",\n            \"callbackUrl\": \"https://swup_payments.requestcatcher.com/\",\n            \"expiresAfter\": 100,\n            \"merchantFee\": \"0\",\n            \"merchantFeeUsd\": \"0\",\n            \"expiresAt\": \"2022-12-08T13:53:36+00:00\",\n            \"createdAt\": \"2022-12-08T13:51:56+00:00\",\n            \"updatedAt\": \"2022-12-08T13:51:56+00:00\",\n            \"confirmedAt\": null,\n            \"status\": \"pending\",\n            \"unpaidAmount\": \"500.000000000000000000000000000000000000\",\n            \"walletAddress\": \"tronTJJaukRu2SGJMrxppZfkMmvzqQprgojhvS\",\n            \"walletAddressExplorerLink\": \"https://tronscan.org/#/address/tronTJJaukRu2SGJMrxppZfkMmvzqQprgojhvS\"\n        },\n        \"formUrl\": \"http://localhost:3000/d42d3dbf-7c17-429b-b667-aa3f74b40217\"\n    }\n}"}],"_postman_id":"a6e156c8-95b0-4130-bafc-991e43a60413"}],"id":"ede160c5-980a-47ba-9035-9d938c8af3ba","description":"<h2 id=\"invoice-statuses\">Invoice statuses:</h2>\n<ul>\n<li><p><code>pending</code> - Awaiting payment;</p>\n</li>\n<li><p><code>expired</code> - time to pay is over;</p>\n</li>\n<li><p><code>success</code> - fully paid;</p>\n</li>\n<li><p><code>partial_paid</code> - partial paid;</p>\n</li>\n<li><p><code>refunded</code> - invoice refunded.</p>\n</li>\n</ul>\n","_postman_id":"ede160c5-980a-47ba-9035-9d938c8af3ba"},{"name":"Withdrawal","item":[{"name":"Create crypto withdrawal","id":"c6aae26e-2b4e-43eb-b9d5-a790bdc71a73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"<p>Your merchant API ID</p>\n","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"<p>Signature current request</p>\n","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"<p>Unique request ID</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"200\",\n    \"address\": \"TMzz9MrUhHMBDZwDsX1PAJ3wVDBXdEm9iN\",\n    \"currency\": \"USDT_TRC-20\",\n    \"externalId\": \"456\",\n    \"destinationTag\": null,\n    \"clientFee\": true\n}"},"url":"{{payments_api_url}}merchant/withdrawals","description":"<p>The API endpoint creates a crypto withdrawal.</p>\n<h2 id=\"request-fields\">Request fields:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>String</td>\n<td>Withdrawal amount.</td>\n</tr>\n<tr>\n<td>address</td>\n<td>String</td>\n<td>Blockchain address to withdrawal funds.</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>String</td>\n<td>Withdrawal currency.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>String</td>\n<td>(Required) Your withdrawal id, must be unique</td>\n</tr>\n<tr>\n<td>destinationTag</td>\n<td>Integer</td>\n<td>(Optional) Blockchain destination tag. (e.g. for XRP)</td>\n</tr>\n<tr>\n<td>clientFee</td>\n<td>Bool</td>\n<td>(Optional) Who will pay the merchant fee. Default: <strong>true</strong>. Example: <strong>amount</strong> = 100, <strong>merchantFee</strong> = 2. If <strong>clientFee = true,</strong> receiver gets 98 and 100 is deducted from the balance. If <strong>clientFee = false,</strong> receiver gets 100 and 102 is deducted from the balance.</td>\n</tr>\n<tr>\n<td>callbackUrl</td>\n<td>String</td>\n<td>(Optional) URL to send callbacks.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"successful-response-fields\">Successful response fields:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</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>The withdrawal ID.</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>String</td>\n<td>The withdrawal amount.</td>\n</tr>\n<tr>\n<td>merchantFee</td>\n<td>String</td>\n<td>The withdrawal merchant fee.</td>\n</tr>\n<tr>\n<td>address</td>\n<td>String</td>\n<td>Blockchain address to withdrawal funds.</td>\n</tr>\n<tr>\n<td>destinationTag</td>\n<td>Integer</td>\n<td>(Optional) Blockchain destination tag. (e.g. for XRP)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>String</td>\n<td>The withdrawal status.</td>\n</tr>\n<tr>\n<td>completedAt</td>\n<td>String</td>\n<td>(Optional) The withdrawal completed at. ISO format.</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>String</td>\n<td>The withdrawal created at. ISO format.</td>\n</tr>\n<tr>\n<td>updatedAt</td>\n<td>String</td>\n<td>The withdrawal updated at. ISO format.</td>\n</tr>\n<tr>\n<td>source</td>\n<td>String</td>\n<td>The withdrawal source.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>String</td>\n<td>Your withdrawal ID.</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>String</td>\n<td>The withdrawal currency.</td>\n</tr>\n<tr>\n<td>transaction.amount</td>\n<td>String</td>\n<td>The blockchain transaction amount.</td>\n</tr>\n<tr>\n<td>transaction.balanceBefore</td>\n<td>String</td>\n<td>Balance before withdrawal.</td>\n</tr>\n<tr>\n<td>transaction.balanceAfter</td>\n<td>String</td>\n<td>Balance after withdrawal.</td>\n</tr>\n<tr>\n<td>transaction.createdAt</td>\n<td>String</td>\n<td>The transaction created at.</td>\n</tr>\n<tr>\n<td>transaction.merchantFee</td>\n<td>String</td>\n<td>The withdrawal merchant fee.</td>\n</tr>\n<tr>\n<td>transaction.status</td>\n<td>String</td>\n<td>The blockchain transaction status.</td>\n</tr>\n<tr>\n<td>transaction.toAddress</td>\n<td>String</td>\n<td>Blockchain address to withdrawal funds.</td>\n</tr>\n<tr>\n<td>transaction.id</td>\n<td>String</td>\n<td>The transaction ID.</td>\n</tr>\n<tr>\n<td>transaction.txid</td>\n<td>String</td>\n<td>The blockchain transaction txID.</td>\n</tr>\n<tr>\n<td>transaction.txidLinkExplorer</td>\n<td>String</td>\n<td>Blockchain explorer for transaction.</td>\n</tr>\n<tr>\n<td>callbackUrl</td>\n<td>String</td>\n<td>URL to send callbacks.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["withdrawals"],"host":["{{payments_api_url}}merchant"],"query":[],"variable":[]}},"response":[{"id":"c0e264a6-c537-4123-b73f-063f6106ff41","name":"Create crypto withdrawal","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"Your merchant API ID","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"Signature current request","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"Unique request ID","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"100\",\n    \"address\": \"TMzz9MrUhHMBDZwDsX1PAJ3wVDBXdEm9iN\",\n    \"currency\": \"USDT_TRC-20\",\n    \"externalId\": \"456\",\n    \"destinationTag\": null,\n    \"clientFee\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{payments_api_url}}merchant/withdrawals"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"errors\": [],\n    \"data\": {\n        \"withdrawal\": {\n            \"amount\": \"100\",\n            \"merchantFee\": \"2.000000000000000000000000000000000000\",\n            \"address\": \"TMzz9MrUhHMBDZwDsX1PAJ3wVDBXdEm9iN\",\n            \"destinationTag\": null,\n            \"status\": \"new\",\n            \"transaction\": {\n                \"amount\": \"98.0000000000\",\n                \"balanceBefore\": \"100\",\n                \"balanceAfter\": \"0\",\n                \"createdAt\": \"2022-12-08T13:57:38+00:00\",\n                \"merchantFee\": \"2.000000000000000000000000000000000000\",\n                \"status\": \"unconfirmed\",\n                \"toAddress\": \"TMzz9MrUhHMBDZwDsX1PAJ3wVDBXdEm9iN\",\n                \"id\": \"ID\",\n                \"txid\": null,\n                \"txidLinkExplorer\": null\n            },\n            \"completedAt\": null,\n            \"createdAt\": \"2022-12-08T13:57:38+00:00\",\n            \"updatedAt\": \"2022-12-08T13:57:38+00:00\",\n            \"id\": \"WSYAKUOG\",\n            \"source\": \"external\",\n            \"externalId\": \"456\",\n            \"currency\": \"USDT_TRC-20\"\n        }\n    }\n}"}],"_postman_id":"c6aae26e-2b4e-43eb-b9d5-a790bdc71a73"},{"name":"Create fiat withdrawal","id":"bbfb0111-e18a-4448-8bd9-e95bed5abdb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"<p>Your merchant API ID</p>\n","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"<p>Signature current request</p>\n","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"<p>Unique request ID</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"100\",\n    \"currency\": \"INR\",\n    \"externalId\": \"456\",\n    \"destinationTag\": null,\n    \"clientFee\": true,\n    \"accountHolder\": \"John Wick\",\n    \"accountNumber\": \"4444444444444444\",\n    \"ifscCode\": \"1234567\",\n    \"callbackUrl\": \"https://your-domain/callback\",\n    \"expire\": \"2025\",\n    \"clientIp\": \"127.0.0.1\"\n}"},"url":"{{payments_api_url}}merchant/withdrawals/fiat","description":"<p>The API endpoint creates a fiat withdrawal.</p>\n<h2 id=\"request-fields\">Request fields:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>String</td>\n<td>Withdrawal amount.</td>\n</tr>\n<tr>\n<td>accountHolder</td>\n<td>String</td>\n<td>Account holder</td>\n</tr>\n<tr>\n<td>accountNumber</td>\n<td>String</td>\n<td>Account number</td>\n</tr>\n<tr>\n<td>ifscCode</td>\n<td>String</td>\n<td>IFSC code</td>\n</tr>\n<tr>\n<td>expire</td>\n<td>String</td>\n<td>Account expire</td>\n</tr>\n<tr>\n<td>clientIp</td>\n<td>String</td>\n<td>Client IP</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>String</td>\n<td>Withdrawal currency.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>String</td>\n<td>(Required) Your withdrawal id, must be unique</td>\n</tr>\n<tr>\n<td>destinationTag</td>\n<td>Integer</td>\n<td>(Optional) Blockchain destination tag. (e.g. for XRP)</td>\n</tr>\n<tr>\n<td>clientFee</td>\n<td>Bool</td>\n<td>(Optional) Who will pay the merchant fee. Default: <strong>true</strong>. Example: <strong>amount</strong> = 100, <strong>merchantFee</strong> = 2. If <strong>clientFee = true,</strong> receiver gets 98 and 100 is deducted from the balance. If <strong>clientFee = false,</strong> receiver gets 100 and 102 is deducted from the balance.</td>\n</tr>\n<tr>\n<td>callbackUrl</td>\n<td>String</td>\n<td>(Optional) URL to send callbacks.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"successful-response-fields\">Successful response fields:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</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>The withdrawal ID.</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>String</td>\n<td>The withdrawal amount.</td>\n</tr>\n<tr>\n<td>merchantFee</td>\n<td>String</td>\n<td>The withdrawal merchant fee.</td>\n</tr>\n<tr>\n<td>address</td>\n<td>String</td>\n<td>Blockchain address to withdrawal funds.</td>\n</tr>\n<tr>\n<td>destinationTag</td>\n<td>Integer</td>\n<td>(Optional) Blockchain destination tag. (e.g. for XRP)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>String</td>\n<td>The withdrawal status.</td>\n</tr>\n<tr>\n<td>completedAt</td>\n<td>String</td>\n<td>(Optional) The withdrawal completed at. ISO format.</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>String</td>\n<td>The withdrawal created at. ISO format.</td>\n</tr>\n<tr>\n<td>updatedAt</td>\n<td>String</td>\n<td>The withdrawal updated at. ISO format.</td>\n</tr>\n<tr>\n<td>source</td>\n<td>String</td>\n<td>The withdrawal source.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>String</td>\n<td>Your withdrawal ID.</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>String</td>\n<td>The withdrawal currency.</td>\n</tr>\n<tr>\n<td>transaction.amount</td>\n<td>String</td>\n<td>The blockchain transaction amount.</td>\n</tr>\n<tr>\n<td>transaction.balanceBefore</td>\n<td>String</td>\n<td>Balance before withdrawal.</td>\n</tr>\n<tr>\n<td>transaction.balanceAfter</td>\n<td>String</td>\n<td>Balance after withdrawal.</td>\n</tr>\n<tr>\n<td>transaction.createdAt</td>\n<td>String</td>\n<td>The transaction created at.</td>\n</tr>\n<tr>\n<td>transaction.merchantFee</td>\n<td>String</td>\n<td>The withdrawal merchant fee.</td>\n</tr>\n<tr>\n<td>transaction.status</td>\n<td>String</td>\n<td>The blockchain transaction status.</td>\n</tr>\n<tr>\n<td>transaction.toAddress</td>\n<td>String</td>\n<td>Blockchain address to withdrawal funds.</td>\n</tr>\n<tr>\n<td>transaction.id</td>\n<td>String</td>\n<td>The transaction ID.</td>\n</tr>\n<tr>\n<td>transaction.txid</td>\n<td>String</td>\n<td>The blockchain transaction txID.</td>\n</tr>\n<tr>\n<td>transaction.txidLinkExplorer</td>\n<td>String</td>\n<td>Blockchain explorer for transaction.</td>\n</tr>\n<tr>\n<td>callbackUrl</td>\n<td>String</td>\n<td>URL to send callbacks.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["withdrawals","fiat"],"host":["{{payments_api_url}}merchant"],"query":[],"variable":[]}},"response":[{"id":"6b81b916-e76e-46bb-9748-cbeb933edf5c","name":"Create fiat withdrawal","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"Your merchant API ID","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"Signature current request","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"Unique request ID","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"100\",\n    \"currency\": \"INR\",\n    \"externalId\": \"456\",\n    \"clientFee\": true,\n    \"accountHolder\": \"John Wick\",\n    \"accountNumber\": \"4444444444444444\",\n    \"ifscCode\": \"1234567\",\n    \"callbackUrl\": \"https://your-domain/callback\",\n    \"expire\": \"2025\",\n    \"clientIp\": \"127.0.0.1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{payments_api_url}}merchant/withdrawals/fiat"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"errors\": [],\n    \"data\": {\n        \"withdrawal\": {\n            \"amount\": \"100\",\n            \"merchantFee\": \"2.000000000000000000000000000000000000\",\n            \"address\": \"TMzz9MrUhHMBDZwDsX1PAJ3wVDBXdEm9iN\",\n            \"destinationTag\": null,\n            \"status\": \"new\",\n            \"transaction\": {\n                \"amount\": \"98.0000000000\",\n                \"balanceBefore\": \"100\",\n                \"balanceAfter\": \"0\",\n                \"createdAt\": \"2022-12-08T13:57:38+00:00\",\n                \"merchantFee\": \"2.000000000000000000000000000000000000\",\n                \"status\": \"unconfirmed\",\n                \"toAddress\": null,\n                \"id\": \"ID\",\n                \"txid\": null,\n                \"txidLinkExplorer\": null\n            },\n            \"completedAt\": null,\n            \"createdAt\": \"2022-12-08T13:57:38+00:00\",\n            \"updatedAt\": \"2022-12-08T13:57:38+00:00\",\n            \"id\": \"WSYAKUOG\",\n            \"source\": \"external\",\n            \"externalId\": \"456\",\n            \"currency\": \"INR\"\n        }\n    }\n}"}],"_postman_id":"bbfb0111-e18a-4448-8bd9-e95bed5abdb5"},{"name":"Get withdrawal by id","id":"17391631-a660-44a4-8027-8381afa9aaeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"<p>Your merchant API ID</p>\n","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"<p>Signature current request</p>\n","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"<p>Unique request ID</p>\n","type":"text"}],"url":"{{payments_api_url}}merchant/withdrawals/{id}","description":"<p>The API endpoint returns a withdrawal by ID.</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</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>Wtihdrawal ID</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"successful-response-fields\">Successful response fields:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</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>The withdrawal ID.</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>String</td>\n<td>The withdrawal amount.</td>\n</tr>\n<tr>\n<td>merchantFee</td>\n<td>String</td>\n<td>The withdrawal merchant fee.</td>\n</tr>\n<tr>\n<td>address</td>\n<td>String</td>\n<td>Blockchain address to withdrawal funds.</td>\n</tr>\n<tr>\n<td>destinationTag</td>\n<td>Integer</td>\n<td>(Optional) Blockchain destination tag. (e.g. for XRP)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>String</td>\n<td>The withdrawal status.</td>\n</tr>\n<tr>\n<td>completedAt</td>\n<td>String</td>\n<td>(Optional) The withdrawal completed at. ISO format.</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>String</td>\n<td>The withdrawal created at. ISO format.</td>\n</tr>\n<tr>\n<td>updatedAt</td>\n<td>String</td>\n<td>The withdrawal updated at. ISO format.</td>\n</tr>\n<tr>\n<td>source</td>\n<td>String</td>\n<td>The withdrawal source.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>String</td>\n<td>Your withdrawal ID.</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>String</td>\n<td>The withdrawal currency.</td>\n</tr>\n<tr>\n<td>transaction.amount</td>\n<td>String</td>\n<td>The blockchain transaction amount.</td>\n</tr>\n<tr>\n<td>transaction.balanceBefore</td>\n<td>String</td>\n<td>Balance before withdrawal.</td>\n</tr>\n<tr>\n<td>transaction.balanceAfter</td>\n<td>String</td>\n<td>Balance after withdrawal.</td>\n</tr>\n<tr>\n<td>transaction.createdAt</td>\n<td>String</td>\n<td>The transaction created at.</td>\n</tr>\n<tr>\n<td>transaction.merchantFee</td>\n<td>String</td>\n<td>The withdrawal merchant fee.</td>\n</tr>\n<tr>\n<td>transaction.status</td>\n<td>String</td>\n<td>The blockchain transaction status.</td>\n</tr>\n<tr>\n<td>transaction.toAddress</td>\n<td>String</td>\n<td>Blockchain address to withdrawal funds.</td>\n</tr>\n<tr>\n<td>transaction.id</td>\n<td>String</td>\n<td>The transaction ID.</td>\n</tr>\n<tr>\n<td>transaction.txid</td>\n<td>String</td>\n<td>The blockchain transaction txID.</td>\n</tr>\n<tr>\n<td>transaction.txidLinkExplorer</td>\n<td>String</td>\n<td>Blockchain explorer for transaction.</td>\n</tr>\n<tr>\n<td>callbackUrl</td>\n<td>String</td>\n<td>URL to send callbacks.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["withdrawals","{id}"],"host":["{{payments_api_url}}merchant"],"query":[],"variable":[]}},"response":[{"id":"6df4bd6f-de06-4054-be17-1298672ce5b0","name":"Get withdrawal by id","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"Your merchant API ID","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"Signature current request","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"Unique request ID","type":"text"}],"url":"{{payments_api_url}}merchant/withdrawals/ID"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"errors\": [],\n    \"data\": {\n        \"withdrawal\": {\n            \"amount\": \"100\",\n            \"merchantFee\": \"2.000000000000000000000000000000000000\",\n            \"address\": \"TMzz9MrUhHMBDZwDsX1PAJ3wVDBXdEm9iN\",\n            \"destinationTag\": null,\n            \"status\": \"new\",\n            \"transaction\": {\n                \"amount\": \"98.0000000000\",\n                \"balanceBefore\": \"0\",\n                \"balanceAfter\": \"0\",\n                \"createdAt\": \"2022-12-08T13:57:38+00:00\",\n                \"merchantFee\": \"2.000000000000000000000000000000000000\",\n                \"status\": \"unconfirmed\",\n                \"toAddress\": \"TMzz9MrUhHMBDZwDsX1PAJ3wVDBXdEm9iN\",\n                \"id\": \"ID\",\n                \"txid\": null,\n                \"txidLinkExplorer\": null\n            },\n            \"completedAt\": null,\n            \"createdAt\": \"2022-12-08T13:57:38+00:00\",\n            \"updatedAt\": \"2022-12-08T13:57:38+00:00\",\n            \"id\": \"6bb07d1a-38e0-4fdf-af83-bb857b6dd690\",\n            \"source\": \"external\",\n            \"externalId\": \"456\",\n            \"currency\": \"USDT_TRC-20\"\n        }\n    }\n}"}],"_postman_id":"17391631-a660-44a4-8027-8381afa9aaeb"}],"id":"a275e8e0-2816-488a-89da-8881806d7a7b","description":"<h2 id=\"withdrawal-statuses\">Withdrawal statuses:</h2>\n<ul>\n<li><p><code>new</code> - Withdrawal request created;</p>\n</li>\n<li><p><code>processing</code> - withdrawal processing;</p>\n</li>\n<li><p><code>completed</code> - withdrawal completed;</p>\n</li>\n<li><p><code>rejected</code> - withdrawal rejected (system problems).</p>\n</li>\n</ul>\n<h2 id=\"withdrawal-sources\">Withdrawal sources:</h2>\n<ul>\n<li><p><code>local</code> - Withdrawals created from merchant dashboard;</p>\n</li>\n<li><p><code>external</code> - withdrawals created from merchant API;</p>\n</li>\n<li><p><code>invoice_refund</code> - withdrawals created from invoice refund.</p>\n</li>\n</ul>\n","_postman_id":"a275e8e0-2816-488a-89da-8881806d7a7b"},{"name":"Exchange","item":[{"name":"Get exchange min amount","id":"52f1d369-eded-4995-9cbd-1feec573e4db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"<p>Your merchant API ID</p>\n","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"<p>Signature current request</p>\n","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"<p>Unique request ID</p>\n","type":"text"}],"url":"{{payments_api_url}}merchant/exchanges/min-amount?fromCurrency=USD&toCurrency=BTC&flow=float_rate","description":"<p>The API endpoint returns the minimum amount for an exchange pair.</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fromCurrency</td>\n<td>String</td>\n<td>Exchange from currency.</td>\n</tr>\n<tr>\n<td>toCurrency</td>\n<td>String</td>\n<td>Exchange to currency.</td>\n</tr>\n<tr>\n<td>flow</td>\n<td>String</td>\n<td>Exchange flow.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"successful-response-fields\">Successful response fields:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>minAmount</td>\n<td>String</td>\n<td>Min amount for an exchange pair.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["exchanges","min-amount"],"host":["{{payments_api_url}}merchant"],"query":[{"key":"fromCurrency","value":"USD"},{"key":"toCurrency","value":"BTC"},{"description":{"content":"<p>float_rate, fix_rate</p>\n","type":"text/plain"},"key":"flow","value":"float_rate"}],"variable":[]}},"response":[{"id":"7f97e662-b2d7-45e4-8505-76962929b61c","name":"Get exchange min amount","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"Your merchant API ID","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"Signature current request","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"Unique request ID","type":"text"}],"url":{"raw":"{{payments_api_url}}merchant/exchanges/min-amount?fromCurrency=USD&toCurrency=BTC&flow=float_rate","host":["{{payments_api_url}}merchant"],"path":["exchanges","min-amount"],"query":[{"key":"fromCurrency","value":"USD"},{"key":"toCurrency","value":"BTC"},{"key":"flow","value":"float_rate","description":"float_rate, fix_rate"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"errors\": [],\n    \"data\": {\n        \"minAmount\": \"10\"\n    }\n}"}],"_postman_id":"52f1d369-eded-4995-9cbd-1feec573e4db"},{"name":"Get exchange estimated amount","id":"ee8b74e8-652b-43ee-89e1-2127359769d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"<p>Your merchant API ID</p>\n","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"<p>Signature current request</p>\n","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"<p>Unique request ID</p>\n","type":"text"}],"url":"{{payments_api_url}}merchant/exchanges/estimated-amount?fromCurrency=USD&toCurrency=BTC&flow=float_rate&amount=200000","description":"<p>The API endpoint returns the estimated exchange amount.</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fromCurrency</td>\n<td>String</td>\n<td>Exchange from currency.</td>\n</tr>\n<tr>\n<td>toCurrency</td>\n<td>String</td>\n<td>Exchange to currency.</td>\n</tr>\n<tr>\n<td>flow</td>\n<td>String</td>\n<td>Exchange flow.</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>String</td>\n<td>Exchange amount.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"successful-response-fields\">Successful response fields:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>rateId</td>\n<td>String</td>\n<td>Rate ID.</td>\n</tr>\n<tr>\n<td>convertFee</td>\n<td>String</td>\n<td>Merchange convert fee.</td>\n</tr>\n<tr>\n<td>estimatedAmount</td>\n<td>String</td>\n<td>Estimeted amount.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["exchanges","estimated-amount"],"host":["{{payments_api_url}}merchant"],"query":[{"key":"fromCurrency","value":"USD"},{"key":"toCurrency","value":"BTC"},{"description":{"content":"<p>float_rate, fix_rate</p>\n","type":"text/plain"},"key":"flow","value":"float_rate"},{"key":"amount","value":"200000"}],"variable":[]}},"response":[{"id":"3dc07b08-d97c-423a-857c-5eb675e344f2","name":"Get exchange estimated amount","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"Your merchant API ID","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"Signature current request","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"Unique request ID","type":"text"}],"url":{"raw":"{{payments_api_url}}merchant/exchanges/estimated-amount?fromCurrency=USD&toCurrency=BTC&flow=float_rate&amount=200000","host":["{{payments_api_url}}merchant"],"path":["exchanges","estimated-amount"],"query":[{"key":"fromCurrency","value":"USD"},{"key":"toCurrency","value":"BTC"},{"key":"flow","value":"float_rate","description":"float_rate, fix_rate"},{"key":"amount","value":"200000"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"errors\": [],\n    \"data\": {\n        \"rateId\": \"QpMEeFfv7PTQbQOBDdhH6AmsbMIcrUzW\",\n        \"convertFee\": \"12.4000000000\",\n        \"estimatedAmount\": \"107.6000000000\"\n    }\n}"}],"_postman_id":"ee8b74e8-652b-43ee-89e1-2127359769d3"},{"name":"Create exchange","id":"a2c471e7-ac93-42ba-b4f3-07c027efe73c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"<p>Your merchant API ID</p>\n","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"<p>Signature current request</p>\n","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"<p>Unique request ID</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"200\",\n    \"rateId\": \"wSvUTOustUcpWat71uhm5nnL9nkSMLmq\",\n    \"fromCurrency\": \"USD\",\n    \"externalId\": \"456\",\n    \"toCurrency\": \"BTC\"\n}"},"url":"{{payments_api_url}}merchant/exchange","description":"<p>The API endpoint creates a exchange.</p>\n<h2 id=\"request-fields\">Request fields:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>String</td>\n<td>Exchange amount.</td>\n</tr>\n<tr>\n<td>rateId</td>\n<td>String</td>\n<td>nullable</td>\n</tr>\n<tr>\n<td>fromCurrency</td>\n<td>String</td>\n<td>Excahnge from currency.</td>\n</tr>\n<tr>\n<td>toCurrency</td>\n<td>String</td>\n<td>Excahnge to currency.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>String</td>\n<td>Your exchange ID.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"successful-response-fields\">Successful response fields:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</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>The exchange ID.</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>String</td>\n<td>The exchange amount.</td>\n</tr>\n<tr>\n<td>expectedAmount</td>\n<td>String</td>\n<td>The expected exchange amount will change during the calculation.</td>\n</tr>\n<tr>\n<td>clientStatus</td>\n<td>String</td>\n<td>The exchange status.</td>\n</tr>\n<tr>\n<td>source</td>\n<td>String</td>\n<td>The exchange source.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>String</td>\n<td>The exchange status.</td>\n</tr>\n<tr>\n<td>completedAt</td>\n<td>String</td>\n<td>(Optional) The exchange completed at. ISO format.</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>String</td>\n<td>The exchange created at. ISO format.</td>\n</tr>\n<tr>\n<td>updatedAt</td>\n<td>String</td>\n<td>The exchange updated at. ISO format.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>String</td>\n<td>Your exchange ID.</td>\n</tr>\n<tr>\n<td>fromCurrency</td>\n<td>String</td>\n<td>The exchange from currency.</td>\n</tr>\n<tr>\n<td>toCurrency</td>\n<td>String</td>\n<td>The exchange to currency.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["exchange"],"host":["{{payments_api_url}}merchant"],"query":[],"variable":[]}},"response":[{"id":"bfe932c5-faf9-4796-8ed4-5fe750a7b8d6","name":"Create exchange","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"Your merchant API ID","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"Signature current request","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"Unique request ID","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"200\",\n    \"rateId\": \"wSvUTOustUcpWat71uhm5nnL9nkSMLmq\",\n    \"fromCurrency\": \"USD\",\n    \"externalId\": \"456\",\n    \"toCurrency\": \"BTC\"\n}","options":{"raw":{"language":"json"}}},"url":"{{payments_api_url}}merchant/exchange"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"errors\": [],\n    \"data\": {\n        \"exchange\": {\n            \"amount\": \"200\",\n            \"expectedAmount\": \"0\",\n            \"clientStatus\": \"new\",\n            \"externalId\": \"456\",\n            \"source\": \"external\",\n            \"createdAt\": \"2023-02-16T21:23:47+00:00\",\n            \"updatedAt\": \"2023-02-16T21:23:47+00:00\",\n            \"completedAt\": null,\n            \"id\": \"ID\",\n            \"fromCurrency\": \"USD\",\n            \"toCurrency\": \"BTC\"\n        }\n    }\n}"}],"_postman_id":"a2c471e7-ac93-42ba-b4f3-07c027efe73c"},{"name":"Get exchange by id","id":"58bfb79e-e24f-4359-9db8-e8940c595780","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"<p>Your merchant API ID</p>\n","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"<p>Signature current request</p>\n","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"<p>Unique request ID</p>\n","type":"text"}],"url":"{{payments_api_url}}merchant/exchanges/{id}","description":"<p>The API endpoint returns a exchange by ID.</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</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>Exchange ID</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"successful-response-fields\">Successful response fields:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</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>The exchange ID.</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>String</td>\n<td>The exchange amount.</td>\n</tr>\n<tr>\n<td>expectedAmount</td>\n<td>String</td>\n<td>The expected exchange amount will change during the calculation.</td>\n</tr>\n<tr>\n<td>clientStatus</td>\n<td>String</td>\n<td>The exchange status.</td>\n</tr>\n<tr>\n<td>source</td>\n<td>String</td>\n<td>The exchange source.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>String</td>\n<td>The exchange status.</td>\n</tr>\n<tr>\n<td>completedAt</td>\n<td>String</td>\n<td>(Optional) The exchange completed at. ISO format.</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>String</td>\n<td>The exchange created at. ISO format.</td>\n</tr>\n<tr>\n<td>updatedAt</td>\n<td>String</td>\n<td>The exchange updated at. ISO format.</td>\n</tr>\n<tr>\n<td>externalId</td>\n<td>String</td>\n<td>Your exchange ID.</td>\n</tr>\n<tr>\n<td>fromCurrency</td>\n<td>String</td>\n<td>The exchange from currency.</td>\n</tr>\n<tr>\n<td>toCurrency</td>\n<td>String</td>\n<td>The exchange to currency.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["exchanges","{id}"],"host":["{{payments_api_url}}merchant"],"query":[],"variable":[]}},"response":[{"id":"3e7bcdd3-293d-4d9d-b019-8022c669cb01","name":"Get exchange by id","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"Your merchant API ID","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"Signature current request","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"Unique request ID","type":"text"}],"url":"{{payments_api_url}}merchant/exchanges/ID"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"errors\": [],\n    \"data\": {\n        \"exchange\": {\n            \"amount\": \"200\",\n            \"expectedAmount\": \"0\",\n            \"clientStatus\": \"new\",\n            \"externalId\": \"456\",\n            \"source\": \"external\",\n            \"createdAt\": \"2023-02-16T21:23:47+00:00\",\n            \"updatedAt\": \"2023-02-16T21:23:47+00:00\",\n            \"completedAt\": null,\n            \"id\": \"ID\",\n            \"fromCurrency\": \"USD\",\n            \"toCurrency\": \"BTC\"\n        }\n    }\n}"}],"_postman_id":"58bfb79e-e24f-4359-9db8-e8940c595780"}],"id":"0abd6b38-375f-4a1d-8fa4-489f83e94e49","description":"<h5 id=\"the-exchange-only-works-with-cryptocurrency\"><strong>The exchange only works with cryptocurrency.</strong></h5>\n<h2 id=\"exchange-sources\">Exchange sources:</h2>\n<ul>\n<li><p><code>local</code> - Exchanges created from merchant dashboard;</p>\n</li>\n<li><p><code>external</code> - exchanges created from merchant API;</p>\n</li>\n<li><p><code>auto</code> - exchanges created from invoice.</p>\n</li>\n</ul>\n<h2 id=\"exchange-statuses\">Exchange statuses:</h2>\n<ul>\n<li><p><code>new</code> - Exchange request created;</p>\n</li>\n<li><p><code>processing</code> - exchange processing;</p>\n</li>\n<li><p><code>completed</code> - exchange completed;</p>\n</li>\n<li><p><code>rejected</code> - exchange rejected (system problems).</p>\n</li>\n</ul>\n","_postman_id":"0abd6b38-375f-4a1d-8fa4-489f83e94e49"},{"name":"Balance","item":[{"name":"Get balances","id":"9972c049-2d79-444b-98bd-e7907d81ce32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"<p>Your merchant API ID</p>\n","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"<p>Signature current request</p>\n","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"<p>Unique request ID</p>\n","type":"text"}],"url":"{{payments_api_url}}merchant/balances","description":"<p>The API endpoint returns balances.</p>\n<h2 id=\"successful-response-fields\">Successful response fields:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</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>The balance ID</td>\n</tr>\n<tr>\n<td>balance</td>\n<td>String</td>\n<td>Balance</td>\n</tr>\n<tr>\n<td>hold</td>\n<td>String</td>\n<td>Holded balance</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>String</td>\n<td>The balance currency.</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>String</td>\n<td>The balance created at. ISO format.  <br /></td>\n</tr>\n<tr>\n<td>updatedAt</td>\n<td>String</td>\n<td>The balance updated at. ISO format.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["balances"],"host":["{{payments_api_url}}merchant"],"query":[],"variable":[]}},"response":[{"id":"3533ad31-510b-493b-aad0-ab3ee48a4092","name":"Get balances","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"Your merchant API ID","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"Signature current request","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"Unique request ID","type":"text"}],"url":"{{payments_api_url}}merchant/balances"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"errors\": [],\n    \"data\": {\n        \"balances\": [\n            {\n                \"id\": \"ID\",\n                \"balance\": \"0.0000000000\",\n                \"hold\": \"0.0000000000\",\n                \"createdAt\": \"2022-11-30T20:23:26+00:00\",\n                \"updatedAt\": \"2022-11-30T20:23:26+00:00\",\n                \"currency\": \"BTC\"\n            },\n            {\n                \"id\": \"ID\",\n                \"balance\": \"0.0000000000\",\n                \"hold\": \"0.0000000000\",\n                \"createdAt\": \"2022-11-30T20:23:26+00:00\",\n                \"updatedAt\": \"2022-11-30T20:23:26+00:00\",\n                \"currency\": \"LTC\"\n            },\n            {\n                \"id\": \"ID\",\n                \"balance\": \"0.0000000000\",\n                \"hold\": \"0.0000000000\",\n                \"createdAt\": \"2022-11-30T20:23:26+00:00\",\n                \"updatedAt\": \"2022-11-30T20:23:26+00:00\",\n                \"currency\": \"DOGE\"\n            },\n            {\n                \"id\": \"ID\",\n                \"balance\": \"0.0000000000\",\n                \"hold\": \"0.0000000000\",\n                \"createdAt\": \"2022-11-30T20:23:26+00:00\",\n                \"updatedAt\": \"2022-11-30T20:23:26+00:00\",\n                \"currency\": \"DASH\"\n            },\n            {\n                \"id\": \"ID\",\n                \"balance\": \"0.0000000000\",\n                \"hold\": \"0.0000000000\",\n                \"createdAt\": \"2022-11-30T20:23:26+00:00\",\n                \"updatedAt\": \"2022-11-30T20:23:26+00:00\",\n                \"currency\": \"BCH\"\n            },\n            {\n                \"id\": \"ID\",\n                \"balance\": \"0.0000000000\",\n                \"hold\": \"0.0000000000\",\n                \"createdAt\": \"2022-11-30T20:23:26+00:00\",\n                \"updatedAt\": \"2022-11-30T20:23:26+00:00\",\n                \"currency\": \"ETH\"\n            },\n            {\n                \"id\": \"ID\",\n                \"balance\": \"0.0000000000\",\n                \"hold\": \"0.0000000000\",\n                \"createdAt\": \"2022-11-30T20:23:26+00:00\",\n                \"updatedAt\": \"2022-11-30T20:23:26+00:00\",\n                \"currency\": \"USDT_ERC-20\"\n            },\n            {\n                \"id\": \"ID\",\n                \"balance\": \"0.0000000000\",\n                \"hold\": \"0.0000000000\",\n                \"createdAt\": \"2022-11-30T20:23:26+00:00\",\n                \"updatedAt\": \"2022-11-30T20:23:26+00:00\",\n                \"currency\": \"TRX\"\n            },\n            {\n                \"id\": \"ID\",\n                \"balance\": \"0.0000000000\",\n                \"hold\": \"0.0000000000\",\n                \"createdAt\": \"2022-11-30T20:23:26+00:00\",\n                \"updatedAt\": \"2022-11-30T20:23:26+00:00\",\n                \"currency\": \"USDT_TRC-20\"\n            },\n            {\n                \"id\": \"ID\",\n                \"balance\": \"0.0000000000\",\n                \"hold\": \"0.0000000000\",\n                \"createdAt\": \"2022-11-30T20:23:26+00:00\",\n                \"updatedAt\": \"2022-11-30T20:23:26+00:00\",\n                \"currency\": \"USD\"\n            }\n        ]\n    }\n}"}],"_postman_id":"9972c049-2d79-444b-98bd-e7907d81ce32"}],"id":"f135701f-6df1-4ebe-b0a4-58c70f2c7d54","_postman_id":"f135701f-6df1-4ebe-b0a4-58c70f2c7d54","description":""},{"name":"Exchange rate","item":[{"name":"Get exchange rates","id":"6eba9dc4-37c9-4d31-85f6-272cae367165","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"<p>Your merchant API ID</p>\n","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"<p>Signature current request</p>\n","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"<p>Unique request ID</p>\n","type":"text"}],"url":"{{payments_api_url}}merchant/exchange-rates","description":"<p>The API endpoint returns exchange rates.</p>\n<h2 id=\"successful-response-fields\">Successful response fields:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fromCurrency</td>\n<td>String</td>\n<td>From currency.</td>\n</tr>\n<tr>\n<td>toCurrency</td>\n<td>String</td>\n<td>To currency.</td>\n</tr>\n<tr>\n<td>value</td>\n<td>String</td>\n<td>Exchange rate.</td>\n</tr>\n<tr>\n<td>actualAt</td>\n<td>String</td>\n<td>Exchange rate actual at. ISO format.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["exchange-rates"],"host":["{{payments_api_url}}merchant"],"query":[],"variable":[]}},"response":[{"id":"fa4b2ced-254d-4e9a-be8e-0e3f2a8ffa36","name":"Get exchange rates","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-merchant-id","value":"{{merchant_id}}","description":"Your merchant API ID","type":"text"},{"key":"x-merchant-signature","value":"CALCULATED_SIGNATURE","description":"Signature current request","type":"text"},{"key":"x-nonce","value":"NONCE_VAL","description":"Unique request ID","type":"text"}],"url":"{{payments_api_url}}merchant/exchange-rates"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"errors\": [],\n    \"data\": {\n        \"exchangeRates\": [\n            {\n                \"fromCurrency\": \"TRX\",\n                \"toCurrency\": \"USD\",\n                \"value\": \"0.000000000000\",\n                \"actualAt\": \"2022-08-02T06:12:49+00:00\"\n            },\n            {\n                \"fromCurrency\": \"ETH\",\n                \"toCurrency\": \"USD\",\n                \"value\": \"100.000000000000\",\n                \"actualAt\": \"2022-08-02T06:12:49+00:00\"\n            },\n            {\n                \"fromCurrency\": \"BTC\",\n                \"toCurrency\": \"USD\",\n                \"value\": \"200.000000000000\",\n                \"actualAt\": \"2022-08-02T06:12:49+00:00\"\n            },\n            {\n                \"fromCurrency\": \"LTC\",\n                \"toCurrency\": \"USD\",\n                \"value\": \"300.000000000000\",\n                \"actualAt\": \"2022-08-02T06:12:49+00:00\"\n            },\n            {\n                \"fromCurrency\": \"DOGE\",\n                \"toCurrency\": \"USD\",\n                \"value\": \"400.000000000000\",\n                \"actualAt\": \"2022-08-02T06:12:49+00:00\"\n            },\n            {\n                \"fromCurrency\": \"DASH\",\n                \"toCurrency\": \"USD\",\n                \"value\": \"500.000000000000\",\n                \"actualAt\": \"2022-08-02T06:12:49+00:00\"\n            },\n            {\n                \"fromCurrency\": \"BCH\",\n                \"toCurrency\": \"USD\",\n                \"value\": \"600.000000000000\",\n                \"actualAt\": \"2022-08-02T06:12:49+00:00\"\n            },\n            {\n                \"fromCurrency\": \"USD\",\n                \"toCurrency\": \"USD\",\n                \"value\": \"700.000000000000\",\n                \"actualAt\": \"2022-08-02T06:12:49+00:00\"\n            }\n        ]\n    }\n}"}],"_postman_id":"6eba9dc4-37c9-4d31-85f6-272cae367165"}],"id":"f44e6965-fb64-4046-9bdd-a6d5741d24a9","_postman_id":"f44e6965-fb64-4046-9bdd-a6d5741d24a9","description":""}]}