{"info":{"_postman_id":"2e12a0eb-e166-4668-b08b-c81abaa95d49","name":"API Faradpay","description":"<html><head></head><body><h1 id=\"faradpay-payment-gateway-api\">Faradpay Payment Gateway API</h1>\n<p>Faradpay is a crypto payment gateway for businesses. Accept crypto payments (<strong>pay-in</strong>), keep the money in your <strong>custody balance</strong> and send <strong>payouts</strong> to your customers from the same balance, with low, transparent fees set per token.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Base URL</strong></td>\n<td><code>https://gateway.faradpay.com/api</code></td>\n</tr>\n<tr>\n<td><strong>Sign up</strong></td>\n<td><a href=\"https://gateway.faradpay.com/register\">https://gateway.faradpay.com/register</a></td>\n</tr>\n<tr>\n<td><strong>Log in (merchant panel)</strong></td>\n<td><a href=\"https://gateway.faradpay.com/login\">https://gateway.faradpay.com/login</a></td>\n</tr>\n<tr>\n<td><strong>Format</strong></td>\n<td>JSON over HTTPS (<code>Content-Type: application/json</code>)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"what-you-can-do\">What you can do</h2>\n<ul>\n<li><strong>Accept payments (pay-in):</strong> create a payment, show the customer the pay address, get a callback when it is finished.</li>\n<li><strong>Custody balance:</strong> with Custody ON, finished payments are credited to your Faradpay balance (minus the token fee).</li>\n<li><strong>Payouts (withdrawals):</strong> send funds from your custody balance to any address, single or in bulk (up to 100 per request).</li>\n<li><strong>Registered payout addresses:</strong> restrict payouts to addresses you registered, with an optional activation delay and e-mail alerts.</li>\n<li><strong>IP whitelist:</strong> accept API calls only from your server IPs.</li>\n<li><strong>Signed callbacks (IPN):</strong> verify that every callback really comes from Faradpay.</li>\n</ul>\n<h2 id=\"authentication\">Authentication</h2>\n<ol>\n<li>Sign up at <a href=\"https://gateway.faradpay.com/register\">https://gateway.faradpay.com/register</a> and verify your e-mail.</li>\n<li>In the panel open <strong>Store settings → Keys</strong> and create an <strong>API key</strong>. (Revealing a key needs an e-mail OTP.)</li>\n<li>Send it in the header of every request: <code>x-api-key: YOUR_API_KEY</code>.</li>\n<li>For callbacks, open <strong>Store settings → Notification</strong> and generate your <strong>IPN Secret Key</strong>. Save it, it is used to verify callbacks.</li>\n</ol>\n<p>Keep the API key and IPN secret on your server only. Never put them in a web page, app or chat. If a key leaks, create a new one in the panel and stop using the old one.</p>\n<h2 id=\"integration-flow-standard\">Integration flow (standard)</h2>\n<ol>\n<li><strong>Create payment:</strong> <code>POST /payment</code> with the amount and currency. Optionally pass <code>ipnCallbackUrl</code>.</li>\n<li><strong>Show the customer</strong> <code>payAddress</code>, <code>payCurrency</code> and the amount. The payment is valid for 6 hours.</li>\n<li><strong>Get the callback</strong> on your <code>ipnCallbackUrl</code> when the payment is <code>finished</code>, and verify its <code>X-CALLBACK-SIGNATURE</code>.</li>\n<li><strong>Confirm</strong> with <code>GET /payment/{paymentId}/status</code> if you want a second check.</li>\n<li><strong>Credit your customer</strong> only after the verified <code>finished</code> callback.</li>\n<li><strong>Payouts (optional):</strong> register the customer's address with <code>POST /payout-address</code>, then call <code>POST /payout</code>. You get a callback when the payout is <code>FINISHED</code> or <code>FAILED</code>, or poll <code>GET /payout/{batchPayoutId}/status</code>.</li>\n</ol>\n<h2 id=\"fees\">Fees</h2>\n<p>Fees are per token and shown in your panel (token fee + service %). An active package or free-trial period can reduce or remove them. For payouts the fee is added to the amount and taken from your custody balance. If the balance is too low the request is refused and nothing is created.</p>\n<h2 id=\"errors\">Errors</h2>\n<p>Every error is JSON: <code>{ \"status\": \"error\", \"message\": \"...\", \"errors\": [...] }</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td>Invalid request (check the body, amount, currency or balance)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Missing or invalid API key</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Not allowed: account blocked, IP not whitelisted, payouts disabled, or address not registered</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Duplicate (for example the same <code>orderId</code>)</td>\n</tr>\n<tr>\n<td>429</td>\n<td>Too many requests, slow down</td>\n</tr>\n</tbody>\n</table>\n</div><p>Need help? Open a support ticket in the merchant panel.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Faradpay Payment Gateway API","slug":"faradpay-payment-gateway-api"}],"owner":"60410737","collectionId":"2e12a0eb-e166-4668-b08b-c81abaa95d49","publishedId":"2sBYPv4Yoh","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-11-25T05:19:10.000Z"},"item":[{"name":"Payments (deposits)","item":[{"name":"Create payment","id":"fc49c720-043e-45c0-9d0c-453ae6a40f35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"priceAmount\": 10.0,\n  \"priceCurrency\": \"USDTBSC\",\n  \"payCurrency\": \"USDTBSC\",\n  \"orderId\": \"ORDER-1001\",\n  \"orderDescription\": \"Deposit (Online)\",\n  \"ipnCallbackUrl\": \"https://your-site.com/faradpay/ipn\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway.faradpay.com/api/payment","description":"<p>Creates a payment and returns the address the customer must pay.</p>\n<ul>\n<li><code>priceAmount</code> minimum: 1 (OPBNB 0.00001, PAXG 0.000001, G20 0.0001). The admin can set a higher minimum per token.</li>\n<li><code>orderId</code> (optional) must be unique per merchant. An order that is <code>expired</code> or <code>failed</code> may be reused.</li>\n<li><code>ipnCallbackUrl</code> (optional) is where Faradpay sends the callback for THIS payment. If omitted, your saved callback URL (panel → Notification) is used. Must be https and a public address.</li>\n<li>Paths are under <code>/api</code> (e.g. <code>https://gateway.faradpay.com/api/payment</code>).</li>\n</ul>\n","urlObject":{"path":["payment"],"host":["https://gateway.faradpay.com/api"],"query":[],"variable":[]}},"response":[{"id":"81026cfb-74d5-47fc-81b2-c3a3ec4c15a1","name":"200 Created","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"priceAmount\": 10.0,\n  \"priceCurrency\": \"USDTBSC\",\n  \"payCurrency\": \"USDTBSC\",\n  \"orderId\": \"ORDER-1001\",\n  \"orderDescription\": \"Deposit (Online)\",\n  \"ipnCallbackUrl\": \"https://your-site.com/faradpay/ipn\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway.faradpay.com/api/payment","description":"Creates a payment and returns the address the customer must pay.\n\n- `priceAmount` minimum: 1 (OPBNB 0.00001, PAXG 0.000001, G20 0.0001). The admin can set a higher minimum per token.\n- `orderId` (optional) must be unique per merchant. An order that is `expired` or `failed` may be reused.\n- `ipnCallbackUrl` (optional) is where Faradpay sends the callback for THIS payment. If omitted, your saved callback URL (panel → Notification) is used. Must be https and a public address.\n- Paths are under `/api` (e.g. `https://gateway.faradpay.com/api/payment`)."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"message\": \"Payment created successfully\",\n  \"data\": {\n    \"paymentId\": \"pay_f3f0f904edd71314d6dc3f4f46c247b7\",\n    \"paymentStatus\": \"waiting\",\n    \"payAddress\": \"0x0000000000000000000000000000000000000000\",\n    \"payCurrency\": \"USDTBSC\",\n    \"priceAmount\": \"10\",\n    \"priceCurrency\": \"USDTBSC\",\n    \"network\": \"bsc\",\n    \"orderId\": \"ORDER-1001\",\n    \"orderDescription\": \"Deposit (Online)\",\n    \"expiresAt\": \"2026-11-26T09:59:42.000Z\",\n    \"createdAt\": \"2026-11-25T09:59:42.000Z\",\n    \"updatedAt\": \"2026-11-25T09:59:42.000Z\",\n    \"purchaseId\": \"286\"\n  }\n}"},{"id":"6974e098-0dbd-4e0a-9d35-8b83cb15d8e4","name":"409 Duplicate orderId","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"priceAmount\": 10.0,\n  \"priceCurrency\": \"USDTBSC\",\n  \"payCurrency\": \"USDTBSC\",\n  \"orderId\": \"ORDER-1001\",\n  \"orderDescription\": \"Deposit (Online)\",\n  \"ipnCallbackUrl\": \"https://your-site.com/faradpay/ipn\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway.faradpay.com/api/payment","description":"Creates a payment and returns the address the customer must pay.\n\n- `priceAmount` minimum: 1 (OPBNB 0.00001, PAXG 0.000001, G20 0.0001). The admin can set a higher minimum per token.\n- `orderId` (optional) must be unique per merchant. An order that is `expired` or `failed` may be reused.\n- `ipnCallbackUrl` (optional) is where Faradpay sends the callback for THIS payment. If omitted, your saved callback URL (panel → Notification) is used. Must be https and a public address.\n- Paths are under `/api` (e.g. `https://gateway.faradpay.com/api/payment`)."},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"message\": \"Order ID already exists with status: waiting\",\n  \"errors\": []\n}"},{"id":"fab4bb7d-1a8b-4e51-a9f0-b60175ee122e","name":"400 Below minimum","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"priceAmount\": 10.0,\n  \"priceCurrency\": \"USDTBSC\",\n  \"payCurrency\": \"USDTBSC\",\n  \"orderId\": \"ORDER-1001\",\n  \"orderDescription\": \"Deposit (Online)\",\n  \"ipnCallbackUrl\": \"https://your-site.com/faradpay/ipn\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway.faradpay.com/api/payment","description":"Creates a payment and returns the address the customer must pay.\n\n- `priceAmount` minimum: 1 (OPBNB 0.00001, PAXG 0.000001, G20 0.0001). The admin can set a higher minimum per token.\n- `orderId` (optional) must be unique per merchant. An order that is `expired` or `failed` may be reused.\n- `ipnCallbackUrl` (optional) is where Faradpay sends the callback for THIS payment. If omitted, your saved callback URL (panel → Notification) is used. Must be https and a public address.\n- Paths are under `/api` (e.g. `https://gateway.faradpay.com/api/payment`)."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"message\": \"Min amount is 1 for USDTBSC\",\n  \"errors\": []\n}"},{"id":"bd213f79-da2f-436a-8d55-836ce7acd538","name":"403 Blocked account","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"priceAmount\": 10.0,\n  \"priceCurrency\": \"USDTBSC\",\n  \"payCurrency\": \"USDTBSC\",\n  \"orderId\": \"ORDER-1001\",\n  \"orderDescription\": \"Deposit (Online)\",\n  \"ipnCallbackUrl\": \"https://your-site.com/faradpay/ipn\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway.faradpay.com/api/payment","description":"Creates a payment and returns the address the customer must pay.\n\n- `priceAmount` minimum: 1 (OPBNB 0.00001, PAXG 0.000001, G20 0.0001). The admin can set a higher minimum per token.\n- `orderId` (optional) must be unique per merchant. An order that is `expired` or `failed` may be reused.\n- `ipnCallbackUrl` (optional) is where Faradpay sends the callback for THIS payment. If omitted, your saved callback URL (panel → Notification) is used. Must be https and a public address.\n- Paths are under `/api` (e.g. `https://gateway.faradpay.com/api/payment`)."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"message\": \"Forbidden\",\n  \"errors\": [\n    \"This account is blocked. Please contact support.\"\n  ]\n}"}],"_postman_id":"fc49c720-043e-45c0-9d0c-453ae6a40f35"},{"name":"Payment status","id":"48e1e5f6-cc3a-4dc9-8138-c0515242d236","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://gateway.faradpay.com/api/payment/pay_xxxxxxxxxxxxxxxx/status","description":"<p>Status of one payment: <code>waiting</code>, <code>confirming</code>, <code>partial</code>, <code>finished</code>, <code>failed</code>, <code>expired</code>.</p>\n","urlObject":{"path":["payment","pay_xxxxxxxxxxxxxxxx","status"],"host":["https://gateway.faradpay.com/api"],"query":[],"variable":[]}},"response":[{"id":"63cb21f1-613b-4edc-8946-d99e7b22a77e","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://gateway.faradpay.com/api/payment/pay_xxxxxxxxxxxxxxxx/status","description":"Status of one payment: `waiting`, `confirming`, `partial`, `finished`, `failed`, `expired`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"message\": \"Payment status retrieved\",\n  \"data\": {\n    \"status\": \"finished\",\n    \"amount\": \"10\",\n    \"currency\": \"USDTBSC\",\n    \"network\": \"bsc\",\n    \"transactionHash\": \"0x\\u2026\",\n    \"createdAt\": \"2026-11-25T09:59:42.000Z\",\n    \"updatedAt\": \"2026-11-25T10:03:11.000Z\"\n  }\n}"},{"id":"27a31adf-6938-43c2-a81c-10edfe77b462","name":"404 Not found","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://gateway.faradpay.com/api/payment/pay_xxxxxxxxxxxxxxxx/status","description":"Status of one payment: `waiting`, `confirming`, `partial`, `finished`, `failed`, `expired`."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"message\": \"Payment not found\",\n  \"errors\": []\n}"}],"_postman_id":"48e1e5f6-cc3a-4dc9-8138-c0515242d236"}],"id":"8a681732-d73c-41e5-b44a-b1faea3e2cd7","_postman_id":"8a681732-d73c-41e5-b44a-b1faea3e2cd7","description":""},{"name":"Payouts (withdrawals)","item":[{"name":"Create payout","id":"ab1bcbba-7ee3-4654-9428-7c7dcb9c55b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"withdrawals\": [\n    {\n      \"address\": \"0x0000000000000000000000000000000000000000\",\n      \"currency\": \"USDTBSC\",\n      \"amount\": 1,\n      \"ipnCallbackUrl\": \"https://your-site.com/faradpay/payout-ipn\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway.faradpay.com/api/payout","description":"<p>Sends funds from your custody balance. Up to 100 withdrawals per request, all in the SAME currency.</p>\n<ul>\n<li>Needs custody ON for your account and enough balance for <code>amount + fee</code>. The fee is set per token by Faradpay.</li>\n<li>If you turned on <strong>Registered addresses only</strong>, every <code>address</code> must be registered first (see <em>Registered payout addresses</em>). Otherwise: <code>403 Wrong address</code>.</li>\n<li>If the balance is too low you get an error and <strong>no payout is created</strong>.</li>\n<li><code>ipnCallbackUrl</code> (optional) is called when the payout is FINISHED or FAILED. https only.</li>\n<li>Send the header <code>Content-Type: application/json</code> and a JSON body, otherwise the server sees an empty body.</li>\n</ul>\n","urlObject":{"path":["payout"],"host":["https://gateway.faradpay.com/api"],"query":[],"variable":[]}},"response":[{"id":"1abdffef-bec2-4709-b89e-3e4311f3e121","name":"200 Accepted","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"withdrawals\": [\n    {\n      \"address\": \"0x0000000000000000000000000000000000000000\",\n      \"currency\": \"USDTBSC\",\n      \"amount\": 1,\n      \"ipnCallbackUrl\": \"https://your-site.com/faradpay/payout-ipn\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway.faradpay.com/api/payout","description":"Sends funds from your custody balance. Up to 100 withdrawals per request, all in the SAME currency.\n\n- Needs custody ON for your account and enough balance for `amount + fee`. The fee is set per token by Faradpay.\n- If you turned on **Registered addresses only**, every `address` must be registered first (see *Registered payout addresses*). Otherwise: `403 Wrong address`.\n- If the balance is too low you get an error and **no payout is created**.\n- `ipnCallbackUrl` (optional) is called when the payout is FINISHED or FAILED. https only.\n- Send the header `Content-Type: application/json` and a JSON body, otherwise the server sees an empty body."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"message\": \"Payout initiated successfully\",\n  \"data\": {\n    \"batchPayoutId\": \"b7c1e3a0-0000-0000-0000-000000000000\",\n    \"withdrawals\": [\n      {\n        \"id\": \"5d1f\\u2026\",\n        \"address\": \"0x0000000000000000000000000000000000000000\",\n        \"currency\": \"USDTBSC\",\n        \"amount\": 1,\n        \"status\": \"WAITING\",\n        \"created_at\": \"2026-11-25T10:00:00.000Z\"\n      }\n    ]\n  }\n}"},{"id":"6a6c95c8-3ec4-4123-a8b4-64b2f8855206","name":"403 Address not registered","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"withdrawals\": [\n    {\n      \"address\": \"0x0000000000000000000000000000000000000000\",\n      \"currency\": \"USDTBSC\",\n      \"amount\": 1,\n      \"ipnCallbackUrl\": \"https://your-site.com/faradpay/payout-ipn\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway.faradpay.com/api/payout","description":"Sends funds from your custody balance. Up to 100 withdrawals per request, all in the SAME currency.\n\n- Needs custody ON for your account and enough balance for `amount + fee`. The fee is set per token by Faradpay.\n- If you turned on **Registered addresses only**, every `address` must be registered first (see *Registered payout addresses*). Otherwise: `403 Wrong address`.\n- If the balance is too low you get an error and **no payout is created**.\n- `ipnCallbackUrl` (optional) is called when the payout is FINISHED or FAILED. https only.\n- Send the header `Content-Type: application/json` and a JSON body, otherwise the server sees an empty body."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"message\": \"Wrong address: this address is not registered for payouts.\",\n  \"errors\": [\n    \"0x0000000000000000000000000000000000000000 is not registered. Register it with POST /payout-address first.\"\n  ]\n}"},{"id":"03f6aef4-9015-4d92-a355-90207a391ab5","name":"400 Insufficient balance","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"withdrawals\": [\n    {\n      \"address\": \"0x0000000000000000000000000000000000000000\",\n      \"currency\": \"USDTBSC\",\n      \"amount\": 1,\n      \"ipnCallbackUrl\": \"https://your-site.com/faradpay/payout-ipn\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway.faradpay.com/api/payout","description":"Sends funds from your custody balance. Up to 100 withdrawals per request, all in the SAME currency.\n\n- Needs custody ON for your account and enough balance for `amount + fee`. The fee is set per token by Faradpay.\n- If you turned on **Registered addresses only**, every `address` must be registered first (see *Registered payout addresses*). Otherwise: `403 Wrong address`.\n- If the balance is too low you get an error and **no payout is created**.\n- `ipnCallbackUrl` (optional) is called when the payout is FINISHED or FAILED. https only.\n- Send the header `Content-Type: application/json` and a JSON body, otherwise the server sees an empty body."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"message\": \"Insufficient balance. Required: 1.015 USDTBSC (including fees), available: 0.5.\",\n  \"errors\": []\n}"},{"id":"70ea7133-0c43-446c-a7e4-96aebce1b942","name":"400 Empty body","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"withdrawals\": [\n    {\n      \"address\": \"0x0000000000000000000000000000000000000000\",\n      \"currency\": \"USDTBSC\",\n      \"amount\": 1,\n      \"ipnCallbackUrl\": \"https://your-site.com/faradpay/payout-ipn\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway.faradpay.com/api/payout","description":"Sends funds from your custody balance. Up to 100 withdrawals per request, all in the SAME currency.\n\n- Needs custody ON for your account and enough balance for `amount + fee`. The fee is set per token by Faradpay.\n- If you turned on **Registered addresses only**, every `address` must be registered first (see *Registered payout addresses*). Otherwise: `403 Wrong address`.\n- If the balance is too low you get an error and **no payout is created**.\n- `ipnCallbackUrl` (optional) is called when the payout is FINISHED or FAILED. https only.\n- Send the header `Content-Type: application/json` and a JSON body, otherwise the server sees an empty body."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"message\": \"Empty request body. Send JSON with the header \\\"Content-Type: application/json\\\"\",\n  \"errors\": []\n}"}],"_postman_id":"ab1bcbba-7ee3-4654-9428-7c7dcb9c55b4"},{"name":"Payout status","id":"6c9e2bbc-6e3d-4f66-b069-b583229acba1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://gateway.faradpay.com/api/payout/paste-batchPayoutId/status","description":"<p>Status of a batch. Each withdrawal status: <code>WAITING</code>, <code>PROCESSING</code>, <code>SENDING</code>, <code>FINISHED</code>, <code>FAILED</code>. A payout of a blocked account stays <code>WAITING</code> (on hold). You can only read your own payouts.</p>\n","urlObject":{"path":["payout","paste-batchPayoutId","status"],"host":["https://gateway.faradpay.com/api"],"query":[],"variable":[]}},"response":[{"id":"91196a85-8298-449b-8508-cf0689e41a74","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://gateway.faradpay.com/api/payout/paste-batchPayoutId/status","description":"Status of a batch. Each withdrawal status: `WAITING`, `PROCESSING`, `SENDING`, `FINISHED`, `FAILED`. A payout of a blocked account stays `WAITING` (on hold). You can only read your own payouts."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"message\": \"Batch payout status retrieved\",\n  \"data\": {\n    \"id\": \"b7c1e3a0-0000-0000-0000-000000000000\",\n    \"withdrawals\": [\n      {\n        \"id\": \"5d1f\\u2026\",\n        \"address\": \"0x0000000000000000000000000000000000000000\",\n        \"currency\": \"USDTBSC\",\n        \"amount\": \"1\",\n        \"status\": \"FINISHED\",\n        \"batch_withdrawal_id\": \"b7c1e3a0-\\u2026\"\n      }\n    ]\n  }\n}"}],"_postman_id":"6c9e2bbc-6e3d-4f66-b069-b583229acba1"}],"id":"6581856d-8616-488a-add5-f71eb79f20e1","_postman_id":"6581856d-8616-488a-add5-f71eb79f20e1","description":""},{"name":"Registered payout addresses","item":[{"name":"Add address","id":"dcb51ae9-a7c3-4be5-889f-4b51dff684cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"externalId\": \"user_123\",\n  \"currency\": \"USDTBSC\",\n  \"address\": \"0x0000000000000000000000000000000000000000\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway.faradpay.com/api/payout-address","description":"<p>Registers an address for <code>externalId</code> + <code>currency</code>. <code>409</code> if it already exists (use <em>Update address</em>). <code>400</code> if the address does not match the currency's network.</p>\n","urlObject":{"path":["payout-address"],"host":["https://gateway.faradpay.com/api"],"query":[],"variable":[]}},"response":[{"id":"00154ed7-e5db-4b9e-801c-ce5bf42d628c","name":"200 Registered","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"externalId\": \"user_123\",\n  \"currency\": \"USDTBSC\",\n  \"address\": \"0x0000000000000000000000000000000000000000\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway.faradpay.com/api/payout-address","description":"Registers an address for `externalId` + `currency`. `409` if it already exists (use *Update address*). `400` if the address does not match the currency's network."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"message\": \"Address registered\",\n  \"data\": {\n    \"externalId\": \"user_123\",\n    \"currency\": \"USDTBSC\",\n    \"address\": \"0x0000000000000000000000000000000000000000\",\n    \"activeFrom\": \"2026-11-25T10:00:00.000Z\"\n  }\n}"},{"id":"dda1f5bd-7750-40d5-b45c-dee9a423c80d","name":"409 Exists","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"externalId\": \"user_123\",\n  \"currency\": \"USDTBSC\",\n  \"address\": \"0x0000000000000000000000000000000000000000\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway.faradpay.com/api/payout-address","description":"Registers an address for `externalId` + `currency`. `409` if it already exists (use *Update address*). `400` if the address does not match the currency's network."},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"message\": \"An address is already registered for this externalId and currency. Use PUT /payout-address to update it.\",\n  \"errors\": []\n}"}],"_postman_id":"dcb51ae9-a7c3-4be5-889f-4b51dff684cc"},{"name":"Add addresses (bulk, max 100)","id":"2792ec20-bccb-4e96-a82d-46155d653951","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"addresses\": [\n    {\n      \"externalId\": \"user_123\",\n      \"currency\": \"USDTBSC\",\n      \"address\": \"0x0000000000000000000000000000000000000000\"\n    },\n    {\n      \"externalId\": \"user_124\",\n      \"currency\": \"USDTTRX\",\n      \"address\": \"T\\u2026\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway.faradpay.com/api/payout-address/bulk","description":"<p>Registers many at once. Rows that already exist or are invalid are listed in <code>failed</code>; the rest are added.</p>\n","urlObject":{"path":["payout-address","bulk"],"host":["https://gateway.faradpay.com/api"],"query":[],"variable":[]}},"response":[{"id":"b3a458c2-7585-4bbd-abcd-5e3fa142af81","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"addresses\": [\n    {\n      \"externalId\": \"user_123\",\n      \"currency\": \"USDTBSC\",\n      \"address\": \"0x0000000000000000000000000000000000000000\"\n    },\n    {\n      \"externalId\": \"user_124\",\n      \"currency\": \"USDTTRX\",\n      \"address\": \"T\\u2026\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway.faradpay.com/api/payout-address/bulk","description":"Registers many at once. Rows that already exist or are invalid are listed in `failed`; the rest are added."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"message\": \"1 address(es) registered\",\n  \"data\": {\n    \"added\": 1,\n    \"failed\": [\n      {\n        \"externalId\": \"user_124\",\n        \"currency\": \"USDTTRX\",\n        \"reason\": \"exists\"\n      }\n    ],\n    \"activeFrom\": \"2026-11-25T10:00:00.000Z\"\n  }\n}"}],"_postman_id":"2792ec20-bccb-4e96-a82d-46155d653951"},{"name":"Update address","id":"0cc0375c-80e0-412b-a013-90762406c4d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"externalId\": \"user_123\",\n  \"currency\": \"USDTBSC\",\n  \"address\": \"0x0000000000000000000000000000000000000000\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway.faradpay.com/api/payout-address","description":"<p>Changes the address of an existing <code>externalId</code> + <code>currency</code>. It goes through the activation delay again and you get an e-mail alert.</p>\n","urlObject":{"path":["payout-address"],"host":["https://gateway.faradpay.com/api"],"query":[],"variable":[]}},"response":[{"id":"1d1e5de9-7531-4696-8ccf-dad3b8184d82","name":"404 Not registered yet","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"externalId\": \"user_123\",\n  \"currency\": \"USDTBSC\",\n  \"address\": \"0x0000000000000000000000000000000000000000\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway.faradpay.com/api/payout-address","description":"Changes the address of an existing `externalId` + `currency`. It goes through the activation delay again and you get an e-mail alert."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"error\",\n  \"message\": \"No address registered for this externalId and currency. Use POST /payout-address first.\",\n  \"errors\": []\n}"}],"_postman_id":"0cc0375c-80e0-412b-a013-90762406c4d9"},{"name":"List addresses","id":"861fab9b-3603-40d9-bdd3-7b1791c504d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://gateway.faradpay.com/api/payout-address?externalId=user_123&currency=USDTBSC","description":"<p>Optional filters: <code>externalId</code>, <code>currency</code>. <code>active: true</code> means the delay has passed and payouts to it are allowed.</p>\n","urlObject":{"path":["payout-address"],"host":["https://gateway.faradpay.com/api"],"query":[{"key":"externalId","value":"user_123"},{"key":"currency","value":"USDTBSC"}],"variable":[]}},"response":[{"id":"b2a9ba7f-c08a-4473-86fc-a8832c0bf1ca","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://gateway.faradpay.com/api/payout-address?externalId=user_123&currency=USDTBSC","host":["https://gateway.faradpay.com/api"],"path":["payout-address"],"query":[{"key":"externalId","value":"user_123"},{"key":"currency","value":"USDTBSC"}]},"description":"Optional filters: `externalId`, `currency`. `active: true` means the delay has passed and payouts to it are allowed."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"message\": \"Registered addresses\",\n  \"data\": [\n    {\n      \"externalId\": \"user_123\",\n      \"currency\": \"USDTBSC\",\n      \"address\": \"0x0000000000000000000000000000000000000000\",\n      \"activeFrom\": \"2026-11-25T10:00:00.000Z\",\n      \"active\": true,\n      \"updatedAt\": \"2026-11-25T10:00:00.000Z\"\n    }\n  ]\n}"}],"_postman_id":"861fab9b-3603-40d9-bdd3-7b1791c504d2"},{"name":"Delete address","id":"c02db52c-bf2b-4ffa-9810-877f77c48d66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-api-key","value":"","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://gateway.faradpay.com/api/payout-address?externalId=user_123&currency=USDTBSC","description":"<p>Removes the address of <code>externalId</code> (and <code>currency</code> if given). You get an e-mail alert.</p>\n","urlObject":{"path":["payout-address"],"host":["https://gateway.faradpay.com/api"],"query":[{"key":"externalId","value":"user_123"},{"key":"currency","value":"USDTBSC"}],"variable":[]}},"response":[],"_postman_id":"c02db52c-bf2b-4ffa-9810-877f77c48d66"}],"id":"f74efa6a-b69d-48a9-96f6-b54e96f5ffee","description":"<p>Register the wallet address of each of YOUR users from YOUR backend (never from a browser: the API key must stay secret). <code>externalId</code> is your own user/order id.</p>\n<p>Turn on <strong>Registered addresses only</strong> in the panel (Store settings → Keys). Then payouts are sent only to registered, ACTIVE addresses.</p>\n<p><strong>Safety delay:</strong> in the panel you can set an activation delay (hours). An address added or changed through the API is usable only after <code>activeFrom</code>, and you get an e-mail alert when an address is changed or removed.</p>\n","_postman_id":"f74efa6a-b69d-48a9-96f6-b54e96f5ffee"},{"name":"Callbacks (IPN) – how to verify","item":[],"id":"28af7cd9-f2d6-4fa4-b0ef-8950565b4e57","description":"<p>Faradpay POSTs JSON to your <code>ipnCallbackUrl</code> (payment) or the payout's <code>ipnCallbackUrl</code>.</p>\n<p><strong>Signature (optional but recommended).</strong> Each callback has the header <code>X-CALLBACK-SIGNATURE</code> = HMAC-SHA256 of the <strong>raw request body</strong> using your <strong>IPN Secret Key</strong> (panel → Notification), as hex.</p>\n<p>Node.js:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-js\">const crypto = require('crypto');\nconst expected = crypto.createHmac('sha256', IPN_SECRET).update(rawBody).digest('hex');\nconst ok = crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(req.headers['x-callback-signature'] || ''));\n</code></pre>\n<p>PHP:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">$expected = hash_hmac('sha256', $rawBody, $ipnSecret);\n$ok = hash_equals($expected, $_SERVER['HTTP_X_CALLBACK_SIGNATURE'] ?? '');\n</code></pre>\n<p>Use the raw body string, not a re-encoded JSON. Never share the secret. Make your handler idempotent (ignore a <code>payment_id</code>/<code>id</code> you already processed). If you do not verify, nothing else changes.</p>\n<p><strong>Payment callback body:</strong> <code>payment_id, parent_payment_id, payment_status, pay_address, price_amount, price_currency, pay_amount, actually_paid, pay_currency, order_id, order_description, purchase_id, outcome_amount, outcome_currency, fee</code>.</p>\n<p><strong>Payout callback body:</strong> <code>id, status (FINISHED | FAILED), txHash, amount, address, currency, fee</code>.</p>\n<p>Tip: while testing, use a receiver such as webhook.site and paste ONLY the URL (no extra text).</p>\n","_postman_id":"28af7cd9-f2d6-4fa4-b0ef-8950565b4e57"}],"variable":[{"key":"baseUrl","value":"https://gateway.faradpay.com/api"},{"key":"apiKey","value":""},{"key":"paymentId","value":"pay_xxxxxxxxxxxxxxxx"},{"key":"batchPayoutId","value":"paste-batchPayoutId"}]}