{"info":{"_postman_id":"b0d5f13a-37fb-42e7-a59e-e22c843040e7","name":"API OTC - Comprar Bitcoin","description":"<html><head></head><body><p><strong>Introduction:</strong></p>\n<p>This is the Comprar Bitcoin API. You can use it to integrate and automate the usage of your account.</p>\n<p>Our API is in constant evolution, prioritizing bug fixes and the release of new features while striving to maintain backward compatibility whenever possible. If you feel any functionality is missing, please let us know by contacting our support team.</p>\n<p><strong>Contact Support:</strong></p>\n<ul>\n<li><p><strong>Name:</strong> Comprar Bitcoin</p>\n</li>\n<li><p><strong>Support Email:</strong> <a href=\"https://mailto:suporte@comprarbitcoin.io\">suporte@comprarbitcoin.io</a></p>\n</li>\n</ul>\n<p><strong>Staging (Sandbox) vs. Production:</strong></p>\n<p>The API features a fully functional staging environment, meaning you can perform tests on all endpoints using mocked data. The API Key and Secret are bound to the specific environment; therefore, an API Key issued for the staging environment will not work in the production environment, and vice versa.</p>\n<p>Requests for the staging and production environments have different base URLs:</p>\n<ul>\n<li><p><strong>Staging environment base URL:</strong> <code>https://api.sandbox.otccomprarbitcoin.io</code></p>\n</li>\n<li><p><strong>Production environment base URL:</strong> <code>https://api.otccomprarbitcoin.io</code></p>\n</li>\n</ul>\n<p><strong>API Key Generation Process:</strong></p>\n<p>The issuance of API keys for both the staging and production environments is performed via the following steps:</p>\n<ol>\n<li><p>The user must generate a key pair (public and private) locally.</p>\n</li>\n<li><p>The user sends the public key to the Comprar Bitcoin support team.</p>\n</li>\n<li><p>The Comprar Bitcoin support team uses the public key to generate an encrypted API Key and Secret.</p>\n</li>\n<li><p>The Comprar Bitcoin support team sends the encrypted API Key and Secret to the user.</p>\n</li>\n<li><p>The user decrypts the API Key and Secret using the private key generated in step 1.</p>\n</li>\n<li><p>The user begins using the decrypted API Key and Secret for API authentication.</p>\n</li>\n</ol>\n<p><strong>Generating Public and Private Keys:</strong></p>\n<p>The process for generating SSL certificates may vary depending on the operating system. In the following example, we will use OpenSSL. The source code and installation binaries can be downloaded from the official repository (<a href=\"https://github.com/openssl/openssl?tab=readme-ov-file#download\">https://github.com/openssl/openssl?tab=readme-ov-file#download</a>).</p>\n<p>In your operating system's terminal, navigate to the folder where you wish to store the certificate and execute the following command:</p>\n<p><code>openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:4096</code></p>\n<p>This command will generate a file named “private_key.pem” containing the private key. Next, execute the following command to generate the public key:</p>\n<p><code>openssl rsa -pubout -in private_key.pem -out public_key.pem</code></p>\n<p>This command will generate a file named “public_key.pem” containing the public key.</p>\n<p><strong>Sending the Public Key:</strong></p>\n<p>The generated public key must be sent to the Comprar Bitcoin support team. You can copy the content of the public_key.pem file and send it via the created support group.</p>\n<p><strong>Decrypting the API Secret:</strong></p>\n<p>The encrypted API Secret sent by the Comprar Bitcoin support team is Base64 encoded. Therefore, the first step is to decode it. In Linux environments, you can do this with the following command:</p>\n<p><code>echo 'PASTE_THE_PROTECTED_API_SECRET_HERE' | base64 --decode &gt; secret.bin</code></p>\n<p>The command above will create a file named secret.bin containing the binary value of the encrypted API Secret without the Base64 encoding.</p>\n<p>Now, we will decrypt the API Secret with the following command:</p>\n<p><code>openssl pkeyutl -decrypt -inkey private_key.pem -in secret.bin -out secret.txt -pkeyopt rsa_padding_mode:oaep -pkeyopt rsa_oaep_md:sha256</code></p>\n<p>The command above will create a file named secret.txt containing the decrypted API Secret value.</p>\n<p>From this moment on, you have the API Key and API Secret ready to use for API authentication.</p>\n<p><strong>ATTENTION!!! THE KEY GENERATION AND DECRYPTION PROCEDURE MUST BE PERFORMED IN A SECURE ENVIRONMENT. THE PRIVATE KEY, API KEY, AND SECRET (ENCRYPTED OR NOT) MUST NOT BE SHARED WITH THIRD PARTIES. GENERATING KEYS VIA THIS PROCEDURE GUARANTEES THE SECURITY OF YOUR ACCOUNT USAGE THROUGH THE API.</strong></p>\n<p><strong>IP Whitelisting:</strong></p>\n<p>In the staging environment, the API accepts requests from any origin. However, in the production environment, the user must contact Comprar Bitcoin support to authorize the specific server IPs that will use the API Key.</p>\n<p>For security reasons, IP ranges are not allowed; authorization requests must be made for specific IPs only. The use of intermediary services (such as proxies) or hosting the integration in a shared environment is not recommended. Binding the API Key to specific IPs is a security measure designed to prevent third parties in possession of the key from authenticating via infrastructure that does not belong to the client.</p>\n<p>By doing so, the user assumes the risk of third parties with the API Key and Secret accessing their data and funds.</p>\n<hr>\n<p><strong>API Call Rate Limit:</strong></p>\n<p>A maximum of 60 requests per minute is allowed. If you have any special requirements, please contact support.</p>\n<p><strong>Traded Pairs - Currently, the following pairs are available:</strong>&nbsp;</p>\n<ul>\n<li><p>USDT/BRL</p>\n</li>\n<li><p>USDC/BRL</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"50362445","collectionId":"b0d5f13a-37fb-42e7-a59e-e22c843040e7","publishedId":"2sB3dJysQh","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"fcb404"},"publishDate":"2025-11-26T13:05:50.000Z"},"item":[{"name":"Authentication","item":[],"id":"cf00dd76-a1c6-4764-9f99-407867d7a704","description":"<h1 id=\"comprrbitcoin-api--jwt-authentication\">Compr@rBitcoin API — JWT Authentication</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>The <strong>Compr@rBitcoin API</strong> uses <strong>JWT (JSON Web Token)</strong> authentication compliant with <strong>RFC 7519</strong>.</p>\n<p>Every request <strong>must</strong> include the following headers:</p>\n<ul>\n<li><p><code>Authorization: Bearer</code></p>\n</li>\n<li><p><code>x-api-key:</code></p>\n</li>\n</ul>\n<p>The JWT is signed using <strong>HMAC SHA-256 (HS256)</strong> with your <code>API_SECRET</code>.</p>\n<hr />\n<h2 id=\"credentials\">Credentials</h2>\n<p>You will receive two credentials:</p>\n<ul>\n<li><p><strong>API_KEY</strong><br />  Public identifier of your integration. It is sent in the <code>x-api-key</code> header and used as <code>aud</code> and <code>sub</code> in the JWT.</p>\n</li>\n<li><p><strong>API_SECRET</strong><br />  Private secret used to:</p>\n<ul>\n<li><p>Sign the JWT</p>\n</li>\n<li><p>Generate the request <code>bodyHash</code></p>\n</li>\n</ul>\n</li>\n</ul>\n<blockquote>\n<p>⚠️ <strong>Security note:</strong> Never expose <code>API_SECRET</code> in frontend or browser code. JWTs must be generated on the backend. </p>\n</blockquote>\n<hr />\n<h2 id=\"request-binding-security-model\">Request Binding (Security Model)</h2>\n<p>Each JWT is cryptographically bound to:</p>\n<ol>\n<li><p><strong>The endpoint URI path</strong> (<code>uri</code> claim)</p>\n</li>\n<li><p><strong>The request body content</strong> (<code>bodyHash</code> claim)</p>\n</li>\n</ol>\n<p>If the request path or body changes, the JWT becomes invalid.</p>\n<hr />\n<h2 id=\"token-lifetime\">Token Lifetime</h2>\n<p>To mitigate replay attacks and clock drift, the following time-based claims are used:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Claim</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>iat</code></td>\n<td>Issued At (current UNIX timestamp in seconds)</td>\n</tr>\n<tr>\n<td><code>exp</code></td>\n<td>Expiration time (current time + 5 minutes)</td>\n</tr>\n<tr>\n<td><code>nbf</code></td>\n<td>Not Before (current time - 3 minutes)</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"step-by-step-token-generation\">Step-by-Step Token Generation</h2>\n<h3 id=\"1-extract-the-api-uri\">1. Extract the API URI</h3>\n<p>Use <strong>only the pathname</strong> of the request URL.</p>\n<p><strong>Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Full URL: https://api.comprarbitcoin.com/v1/orders?test=1\nURI:      /v1/orders\n\n</code></pre><hr />\n<h3 id=\"2-build-the-authentication-body\">2. Build the Authentication Body</h3>\n<p>Create an object containing the request URI and the serialized request body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"apiUri\": \"/v1/orders\",\n  \"serializedBody\": { \"amount\": 100, \"currency\": \"BRL\" }\n}\n\n</code></pre>\n<p>Then serialize it using <code>JSON.stringify</code>.</p>\n<hr />\n<h3 id=\"3-generate-the-bodyhash\">3. Generate the <code>bodyHash</code></h3>\n<ol>\n<li><p>Compute HMAC SHA-256 of the serialized authentication body using <code>API_SECRET</code></p>\n</li>\n<li><p>Encode the result as a <strong>hexadecimal string</strong></p>\n</li>\n<li><p>Convert the hex string to UTF-8</p>\n</li>\n<li><p>Encode the UTF-8 string in <strong>Base64</strong></p>\n</li>\n</ol>\n<blockquote>\n<p>⚠️ Important:<br />The Base64 encoding is applied to the <strong>hex string</strong>, not to the raw hash bytes.<br />This behavior must be replicated exactly. </p>\n</blockquote>\n<hr />\n<h3 id=\"4-create-the-jwt-header\">4. Create the JWT Header</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"alg\": \"HS256\",\n  \"typ\": \"JWT\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"5-create-the-jwt-payload-claims\">5. Create the JWT Payload (Claims)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"iss\": \"Compr@rBitcoin\",\n  \"aud\": \"API_KEY\",\n  \"sub\": \"API_KEY\",\n  \"exp\": 1700000000,\n  \"iat\": 1699999700,\n  \"nbf\": 1699999500,\n  \"uri\": \"/v1/orders\",\n  \"bodyHash\": \"&lt;computed_body_hash&gt;\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"6-sign-the-token\">6. Sign the Token</h3>\n<ul>\n<li><p>Base64URL-encode the header and payload</p>\n</li>\n<li><p>Concatenate them with a dot (<code>.</code>)</p>\n</li>\n<li><p>Sign the result using <strong>HMAC SHA-256</strong> with <code>API_SECRET</code></p>\n</li>\n<li><p>Base64URL-encode the signature</p>\n</li>\n<li><p>Concatenate all parts to form the final JWT</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"http-headers-example\">HTTP Headers Example</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Authorization: Bearer &lt;JWT&gt;\nx-api-key: &lt;API_KEY&gt;\n\n</code></pre><hr />\n<h2 id=\"nodejs-pure-javascript-example\">Node.js (Pure JavaScript) Example</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-js\">const crypto = require(\"crypto\");\nfunction base64Url(input) {\n  return Buffer.from(input)\n    .toString(\"base64\")\n    .replace(/\\+/g, \"-\")\n    .replace(/\\//g, \"_\")\n    .replace(/=+$/, \"\");\n}\nfunction hmacSha256Hex(data, secret) {\n  return crypto\n    .createHmac(\"sha256\", secret)\n    .update(data, \"utf8\")\n    .digest(\"hex\");\n}\nfunction createJwt({ apiKey, apiSecret, requestUrl, body }) {\n  const url = new URL(requestUrl);\n  const apiUri = url.pathname;\n  const authBody = {\n    apiUri,\n    serializedBody: body ?? \"\"\n  };\n  const serializedAuthBody = JSON.stringify(authBody);\n  const bodyHashHex = hmacSha256Hex(serializedAuthBody, apiSecret);\n  const bodyHash = Buffer.from(bodyHashHex, \"utf8\").toString(\"base64\");\n  const now = Math.floor(Date.now() / 1000);\n  const header = {\n    alg: \"HS256\",\n    typ: \"JWT\"\n  };\n  const payload = {\n    iss: \"Compr@rBitcoin\",\n    aud: apiKey,\n    sub: apiKey,\n    iat: now,\n    nbf: now - 180,\n    exp: now + 300,\n    uri: apiUri,\n    bodyHash\n  };\n  const encodedHeader = base64Url(JSON.stringify(header));\n  const encodedPayload = base64Url(JSON.stringify(payload));\n  const data = `${encodedHeader}.${encodedPayload}`;\n  const signature = crypto\n    .createHmac(\"sha256\", apiSecret)\n    .update(data)\n    .digest(\"base64\")\n    .replace(/\\+/g, \"-\")\n    .replace(/\\//g, \"_\")\n    .replace(/=+$/, \"\");\n  return `${data}.${signature}`;\n}\n\n</code></pre>\n<hr />\n<h2 id=\"summary\">Summary</h2>\n<ul>\n<li><p>JWT authentication follows <strong>RFC 7519</strong></p>\n</li>\n<li><p>Tokens are short-lived and request-specific</p>\n</li>\n<li><p>Both request path and body are cryptographically protected</p>\n</li>\n<li><p>HS256 with shared secret (<code>API_SECRET</code>) is used for signing</p>\n</li>\n</ul>\n<p>For support or credential management, contact the <strong>Compr@rBitcoin</strong> technical team.</p>\n","_postman_id":"cf00dd76-a1c6-4764-9f99-407867d7a704"},{"name":"RFQ","item":[{"name":"Request for quote.","id":"7c9f790f-d20d-43ea-9088-dcaf7c639b4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"a1b2c3d4-5678-90ab-cdef-1234567890ab\",\n  \"currency_pair\": \"BTC/BRL\",\n  \"side\": \"BUY\",\n  \"input_type\": \"QUANTITY\",\n  \"amount\": \"0.0005\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/request","description":"<p>This operation allows you to request a new Quote to Buy or Sell with a base and quote currency. You can specify the input in two different ways: using 'input_type' OR 'amount_type' (mutually exclusive - use one or the other, not both).</p>\n<p><strong>Two Ways to Specify Input (choose one):</strong></p>\n<p><strong>Option 1: Using 'input_type'</strong></p>\n<ul>\n<li>input_type='QUANTITY': Provide crypto quantity in 'amount' field</li>\n<li>input_type='COST': Provide total cost in 'cost' field ('amount' should be null)</li>\n</ul>\n<p><strong>Option 2: Using 'amount_type'</strong></p>\n<ul>\n<li>amount_type='CRYPTO': Provide crypto quantity in 'amount' field</li>\n<li>amount_type='FIAT': Provide fiat amount in 'amount' field. <strong>Important:</strong> Response will swap values - 'amount' becomes the total cost and 'cost' becomes the crypto quantity.</li>\n</ul>\n<p>See examples below for each scenario.</p>\n","urlObject":{"path":["crypto","quote","request"],"host":["https://api.otccomprarbitcoin.io/v1/user-api"],"query":[],"variable":[]}},"response":[{"id":"488082eb-fe4e-4ec0-aee5-42acc3f89c15","name":"Response for input_type=QUANTITY","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"a1b2c3d4-5678-90ab-cdef-1234567890ab\",\n  \"currency_pair\": \"BTC/BRL\",\n  \"side\": \"BUY\",\n  \"input_type\": \"QUANTITY\",\n  \"amount\": \"0.0005\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"quote_id\": \"fa80ead5-b765-43cd-95aa-f41054488bde\",\n  \"creation_time\": \"2025-11-04T21:34:57.351Z\",\n  \"cost\": 270.358315929,\n  \"amount\": 0.0005,\n  \"quote_expiration_time\": \"2025-11-04T21:35:57.351Z\",\n  \"status_quote\": \"CREATED\",\n  \"external_id\": \"a1b2c3d4-5678-90ab-cdef-1234567890ab\",\n  \"currency_pair\": \"BTC/BRL\",\n  \"side\": \"BUY\",\n  \"price\": 540716.631858,\n  \"amount_type\": \"QUANTITY\",\n  \"user_id\": \"a506a94d-e129-4341-b73a-a9d6a005f896\"\n}"},{"id":"d4a64c02-72cc-4491-852a-9c82dffb3798","name":"Response for input_type=COST","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"b2c3d4e5-6789-01bc-def2-234567890abc\",\n  \"currency_pair\": \"ADA/BRL\",\n  \"side\": \"BUY\",\n  \"input_type\": \"COST\",\n  \"cost\": \"100\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"quote_id\": \"e2d3c4b5-a697-8899-0011-bbccddeeaabb\",\n  \"creation_time\": \"2025-11-04T21:30:00.000Z\",\n  \"cost\": 100,\n  \"amount\": 40.5,\n  \"quote_expiration_time\": \"2025-11-04T21:31:00.000Z\",\n  \"status_quote\": \"CREATED\",\n  \"external_id\": \"b2c3d4e5-6789-01bc-def2-234567890abc\",\n  \"currency_pair\": \"ADA/BRL\",\n  \"side\": \"BUY\",\n  \"price\": 2.469135802,\n  \"amount_type\": \"QUANTITY\",\n  \"user_id\": \"a506a94d-e129-4341-b73a-a9d6a005f896\"\n}"},{"id":"f3013714-fbe0-4ff8-b04c-473f156f3a99","name":"Response for amount_type=FIAT (VALUES SWAPPED!)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"c3d4e5f6-7890-12cd-ef34-34567890abcd\",\n  \"currency_pair\": \"SOL/BRL\",\n  \"side\": \"BUY\",\n  \"amount\": \"100\",\n  \"amount_type\": \"FIAT\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"quote_id\": \"a2b10dfa-98c2-4552-8e73-e68f36ef0576\",\n  \"creation_time\": \"2025-11-04T21:34:02.319Z\",\n  \"cost\": 0.0001,\n  \"amount\": 100,\n  \"quote_expiration_time\": \"2025-11-04T21:35:02.319Z\",\n  \"status_quote\": \"CREATED\",\n  \"external_id\": \"c3d4e5f6-7890-12cd-ef34-34567890abcd\",\n  \"currency_pair\": \"BTC/BRL\",\n  \"side\": \"BUY\",\n  \"price\": 1000000,\n  \"amount_type\": \"COST\",\n  \"user_id\": \"a506a94d-e129-4341-b73a-a9d6a005f896\"\n}"},{"id":"22c47d65-a1b5-4908-8ad0-70250aee6be3","name":"Response for amount_type=CRYPTO (or default without amount_type)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"d4e5f6a7-8901-23de-f456-4567890abcde\",\n  \"currency_pair\": \"SOL/BRL\",\n  \"side\": \"BUY\",\n  \"amount\": \"10\",\n  \"amount_type\": \"CRYPTO\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"quote_id\": \"d46f4645-80c4-49e3-b482-b9a7f6ce2850\",\n  \"creation_time\": \"2025-11-04T21:34:36.455Z\",\n  \"cost\": 54.10608684818,\n  \"amount\": 0.0001,\n  \"quote_expiration_time\": \"2025-11-04T21:35:36.455Z\",\n  \"status_quote\": \"CREATED\",\n  \"external_id\": \"d4e5f6a7-8901-23de-f456-4567890abcde\",\n  \"currency_pair\": \"BTC/BRL\",\n  \"side\": \"BUY\",\n  \"price\": 541060.8684818,\n  \"amount_type\": \"QUANTITY\",\n  \"user_id\": \"a506a94d-e129-4341-b73a-a9d6a005f896\"\n}"},{"id":"02d85771-675c-4329-905b-ad273f7d3c53","name":"Option 1: input_type=QUANTITY (crypto quantity)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"a1b2c3d4-5678-90ab-cdef-1234567890ab\",\n  \"currency_pair\": \"BTC/BRL\",\n  \"side\": \"BUY\",\n  \"input_type\": \"QUANTITY\",\n  \"amount\": \"0.0005\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/request"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"fa063c7f-1942-4fee-a01c-1d6852a9f514","name":"Option 1: input_type=COST (total cost)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"b2c3d4e5-6789-01bc-def2-234567890abc\",\n  \"currency_pair\": \"ADA/BRL\",\n  \"side\": \"BUY\",\n  \"input_type\": \"COST\",\n  \"cost\": \"100\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/request"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"061e31d3-cbfe-4397-9b9c-537ee40b95c9","name":"Option 2: amount_type=FIAT (fiat amount - swaps response)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"c3d4e5f6-7890-12cd-ef34-34567890abcd\",\n  \"currency_pair\": \"SOL/BRL\",\n  \"side\": \"BUY\",\n  \"amount\": \"100\",\n  \"amount_type\": \"FIAT\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/request"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"9b06ebe2-b94d-4c88-9034-37676d4bd7e9","name":"Option 2: amount_type=CRYPTO (crypto quantity)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"d4e5f6a7-8901-23de-f456-4567890abcde\",\n  \"currency_pair\": \"SOL/BRL\",\n  \"side\": \"BUY\",\n  \"amount\": \"10\",\n  \"amount_type\": \"CRYPTO\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/request"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"940ed17b-6801-4598-b838-9adc5a5d26c7","name":"Option 1: input_type=QUANTITY (crypto quantity)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"a1b2c3d4-5678-90ab-cdef-1234567890ab\",\n  \"currency_pair\": \"BTC/BRL\",\n  \"side\": \"BUY\",\n  \"input_type\": \"QUANTITY\",\n  \"amount\": \"0.0005\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/request"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"fb332e57-2509-4bcb-9101-0d5b2dfa47f9","name":"Option 1: input_type=COST (total cost)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"b2c3d4e5-6789-01bc-def2-234567890abc\",\n  \"currency_pair\": \"ADA/BRL\",\n  \"side\": \"BUY\",\n  \"input_type\": \"COST\",\n  \"cost\": \"100\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/request"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"05fd0644-5d6e-4ca0-afa2-749ad37d169c","name":"Option 2: amount_type=FIAT (fiat amount - swaps response)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"c3d4e5f6-7890-12cd-ef34-34567890abcd\",\n  \"currency_pair\": \"SOL/BRL\",\n  \"side\": \"BUY\",\n  \"amount\": \"100\",\n  \"amount_type\": \"FIAT\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/request"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"240aac1a-7eec-405e-9625-17062b269a69","name":"Option 2: amount_type=CRYPTO (crypto quantity)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"d4e5f6a7-8901-23de-f456-4567890abcde\",\n  \"currency_pair\": \"SOL/BRL\",\n  \"side\": \"BUY\",\n  \"amount\": \"10\",\n  \"amount_type\": \"CRYPTO\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/request"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"c5e814c4-af58-44bd-9519-ecbfe5f5715e","name":"Option 1: input_type=QUANTITY (crypto quantity)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"a1b2c3d4-5678-90ab-cdef-1234567890ab\",\n  \"currency_pair\": \"BTC/BRL\",\n  \"side\": \"BUY\",\n  \"input_type\": \"QUANTITY\",\n  \"amount\": \"0.0005\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/request"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"d1e5f11c-368e-460b-b924-6978eb84a38a","name":"Option 1: input_type=COST (total cost)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"b2c3d4e5-6789-01bc-def2-234567890abc\",\n  \"currency_pair\": \"ADA/BRL\",\n  \"side\": \"BUY\",\n  \"input_type\": \"COST\",\n  \"cost\": \"100\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/request"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"4318a00c-6cb7-4ddc-8a4f-91b2ccd894b0","name":"Option 2: amount_type=FIAT (fiat amount - swaps response)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"c3d4e5f6-7890-12cd-ef34-34567890abcd\",\n  \"currency_pair\": \"SOL/BRL\",\n  \"side\": \"BUY\",\n  \"amount\": \"100\",\n  \"amount_type\": \"FIAT\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/request"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"5cc100cb-cc38-4cdd-8931-51aa6f044f13","name":"Option 2: amount_type=CRYPTO (crypto quantity)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"d4e5f6a7-8901-23de-f456-4567890abcde\",\n  \"currency_pair\": \"SOL/BRL\",\n  \"side\": \"BUY\",\n  \"amount\": \"10\",\n  \"amount_type\": \"CRYPTO\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/request"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"}],"_postman_id":"7c9f790f-d20d-43ea-9088-dcaf7c639b4f"},{"name":"Accept an Existing RFQ","id":"a2819e99-39d7-44b0-a9ac-abcbd4ead57e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"83a68336-a419-4931-bd33-a8675f663736\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/execute/trade/:quote_id","description":"<p>Accept a quote that has been previously generated.</p>\n","urlObject":{"path":["crypto","quote","execute","trade",":quote_id"],"host":["https://api.otccomprarbitcoin.io/v1/user-api"],"query":[],"variable":[{"id":"f0612281-a9b7-46a8-817a-724aa884125d","description":{"content":"<p>Unique identifier of the quote generated by Comprar bitcoin.</p>\n","type":"text/plain"},"type":"any","value":"a67053b8-d408-4dce-ba65-656436e8d750","key":"quote_id"}]}},"response":[{"id":"1550f218-9f67-4346-b412-e90673282b2f","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"83a68336-a419-4931-bd33-a8675f663736\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/execute/trade/:quote_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["crypto","quote","execute","trade",":quote_id"],"variable":[{"key":"quote_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"creation_time\": \"1985-08-18T01:30:27.157Z\",\n  \"quote_expiration_time\": \"2004-02-11T19:31:10.515Z\",\n  \"executed_time\": \"2014-06-04T21:13:34.164Z\",\n  \"user_id\": \"string\",\n  \"external_id\": \"string\",\n  \"quote_id\": \"ef99384f-7745-1e52-1b11-2e3e872e1160\",\n  \"currency_pair\": \"string\",\n  \"price\": \"string\",\n  \"amount\": \"string\",\n  \"amount_type\": \"CRYPTO\",\n  \"cost\": \"string\",\n  \"status_quote\": \"ACCEPTED\",\n  \"side\": \"SELL\"\n}"},{"id":"76d14b02-d837-470b-b970-d955fb292ea1","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"83a68336-a419-4931-bd33-a8675f663736\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/execute/trade/:quote_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["crypto","quote","execute","trade",":quote_id"],"variable":[{"key":"quote_id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"76ac065b-1404-49a5-92d3-d6ca89ff1f61","name":"Not Found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"83a68336-a419-4931-bd33-a8675f663736\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/execute/trade/:quote_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["crypto","quote","execute","trade",":quote_id"],"variable":[{"key":"quote_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"26f28125-1396-4bd0-a21b-57470b6958b3","name":"Server Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"83a68336-a419-4931-bd33-a8675f663736\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/execute/trade/:quote_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["crypto","quote","execute","trade",":quote_id"],"variable":[{"key":"quote_id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"}],"_postman_id":"a2819e99-39d7-44b0-a9ac-abcbd4ead57e"},{"name":"Get quote","id":"0f37b3ff-33ad-49b1-b56a-20ddabf692fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/:quote_id","description":"<p>This operation allows you to get a quote.</p>\n","urlObject":{"path":["crypto","quote",":quote_id"],"host":["https://api.otccomprarbitcoin.io/v1/user-api"],"query":[],"variable":[{"id":"aaf6dd07-8e72-40f5-9bd7-87ee3d139a3e","type":"any","key":"quote_id"}]}},"response":[{"id":"9639fea2-db28-437c-8b28-3e28b4ccc17c","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/:quote_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["crypto","quote",":quote_id"],"variable":[{"key":"quote_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"executed_time\": \"0001-01-01T00:00:00\",\n  \"quote_id\": \"481d1a21-97b0-48d7-b292-b168cafc3695\",\n  \"creation_time\": \"2022-01-20T19:31:16.191+00:00\",\n  \"cost\": \"76.961495\",\n  \"amount\": \"10.0\",\n  \"price\": \"7.6961495\",\n  \"quote_expiration_time\": \"2022-01-20T20:31:16.191+00:00\",\n  \"status_quote\": \"CREATED\",\n  \"external_id\": \"e530767a-4f73-448a-96b7-e10b4c9a889b\",\n  \"side\": \"BUY\",\n  \"currency_pair\": \"ADA/BRL\",\n  \"amount_type\": \"CRYPTO\",\n  \"user_id\": \"4bcda85c-0d15-4205-bb7b-90b7d20adb64\"\n}"},{"id":"30e75b1a-40b4-42d5-ae8b-64401148b057","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/:quote_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["crypto","quote",":quote_id"],"variable":[{"key":"quote_id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"16609749-dca2-4288-9575-db68a8419558","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/:quote_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["crypto","quote",":quote_id"],"variable":[{"key":"quote_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"41765047-7b04-49e8-a13f-186e2338f62c","name":"Server Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/:quote_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["crypto","quote",":quote_id"],"variable":[{"key":"quote_id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"}],"_postman_id":"0f37b3ff-33ad-49b1-b56a-20ddabf692fb"},{"name":"Delete requested quote.","id":"b21189ad-ab97-4b89-8fac-268e68b41742","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/cancel/quote_id/:quote_id","description":"<p>This operation allows you to delete requested quote.</p>\n","urlObject":{"path":["crypto","quote","cancel","quote_id",":quote_id"],"host":["https://api.otccomprarbitcoin.io/v1/user-api"],"query":[],"variable":[{"id":"0ac8d0d4-ae8c-4743-92ca-dfad2bd40d4f","type":"any","value":"string","key":"quote_id"}]}},"response":[{"id":"d194f0b2-7af7-4601-8249-bdb3b141f54e","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/cancel/quote_id/:quote_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["crypto","quote","cancel","quote_id",":quote_id"],"variable":[{"key":"quote_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"quote_id\": \"481d1a21-97b0-48d7-b292-b168cafc3695\",\n  \"creation_time\": \"2022-01-20T19:31:16.191+00:00\",\n  \"cost\": \"76.961495\",\n  \"amount\": \"10.0\",\n  \"price\": \"7.6961495\",\n  \"quote_expiration_time\": \"2022-01-20T20:31:16.191+00:00\",\n  \"status_quote\": \"CANCELED\",\n  \"external_id\": \"e530767a-4f73-448a-96b7-e10b4c9a889b\",\n  \"side\": \"BUY\",\n  \"currency_pair\": \"ADA/BRL\",\n  \"amount_type\": \"CRYPTO\",\n  \"user_id\": \"4bcda85c-0d15-4205-bb7b-90b7d20adb64\"\n}"},{"id":"72b2ad40-cfdb-4e9c-85f0-4303b4a07866","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/cancel/quote_id/:quote_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["crypto","quote","cancel","quote_id",":quote_id"],"variable":[{"key":"quote_id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"537b11a9-338b-45a1-bf11-ffc42256bb9a","name":"Not Found","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/cancel/quote_id/:quote_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["crypto","quote","cancel","quote_id",":quote_id"],"variable":[{"key":"quote_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"64614539-d77d-4222-946b-5e8cf759c103","name":"Server Error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/quote/cancel/quote_id/:quote_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["crypto","quote","cancel","quote_id",":quote_id"],"variable":[{"key":"quote_id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"}],"_postman_id":"b21189ad-ab97-4b89-8fac-268e68b41742"}],"id":"c9db69d4-7071-45df-8338-9805c86d1170","_postman_id":"c9db69d4-7071-45df-8338-9805c86d1170","description":""},{"name":"Balance","item":[{"name":"Get balances","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","packages":{},"requests":{},"id":"5f89c842-0b15-4b2b-997d-119d7ddf17ed"}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{},"requests":{},"id":"e6bac04b-545d-4449-8dfa-80768d23e169"}}],"id":"b9c647b9-b527-4f66-bea3-49583bb699e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/balance","description":"<p>This operation allows you to get the available/current balance of a particular currency and user.</p>\n","urlObject":{"path":["crypto","balance"],"host":["https://api.otccomprarbitcoin.io/v1/user-api"],"query":[],"variable":[]}},"response":[{"id":"ff79552e-5e56-4796-be20-8a52f4ac2552","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"currency\": \"XTZ\",\n    \"currency_type\": \"CRYPTO\",\n    \"available_balance\": \"0.0\",\n    \"current_balance\": \"0.0\",\n    \"last_change_date\": \"2022-01-17T21:19:13.512Z\",\n    \"rate\": \"0.0\",\n    \"balance_brl\": \"0.0\"\n  }\n]"},{"id":"77ee236d-4759-4bf9-bc81-f85c488820d2","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/balance"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"2019-08-24T14:15:22Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\"\n  ]\n}"},{"id":"914dc517-b2ed-49eb-bb8c-90b5a81b1381","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/balance"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"2019-08-24T14:15:22Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\"\n  ]\n}"},{"id":"e1b9fc71-002c-441c-a05e-b36011afd966","name":"Server Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/balance"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"2019-08-24T14:15:22Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\"\n  ]\n}"}],"_postman_id":"b9c647b9-b527-4f66-bea3-49583bb699e6"},{"name":"Get balance by currency","id":"090c474f-71e4-4c78-8bd4-5ecf147fcd76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/balance/currency/:currency?currency=string","description":"<p><strong>Resumo:</strong>\nEste endpoint permite consultar o saldo disponível/atual de uma determinada moeda para o usuário autenticado na plataforma.</p>\n<p><strong>Parâmetros de entrada:</strong></p>\n<ul>\n<li><code>currency</code> (path ou query, obrigatório): Código da moeda que deseja consultar o saldo (ex: BTC, ETH, USDT).<ul>\n<li>Exemplo de uso no path: <code>/crypto/balance/currency/BTC</code></li>\n<li>Exemplo de uso como query param: <code>/crypto/balance/currency?currency=BTC</code></li>\n</ul>\n</li>\n</ul>\n<p><strong>Exemplo de requisição:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-http\">GET https://api.otccomprarbitcoin.io/v1/user-api/crypto/balance/currency/BTC\nHeaders:\n  Accept: application/json\n  Authorization: Bearer &lt;seu_token_jwt&gt;\n</code></pre>\n<p><strong>Exemplo de resposta (200 - Sucesso):</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"currency\": \"BTC\",\n  \"balance\": \"0.12345678\",\n  \"available\": \"0.12000000\",\n  \"locked\": \"0.00345678\"\n}\n</code></pre>\n<p><strong>Possíveis erros:</strong></p>\n<ul>\n<li>400 Bad Request: Parâmetro 'currency' ausente ou inválido.</li>\n<li>401 Unauthorized: Token de autenticação ausente ou inválido.</li>\n<li>404 Not Found: Moeda não encontrada para o usuário.</li>\n<li>500 Internal Server Error: Erro inesperado no servidor.</li>\n</ul>\n<p><strong>Autenticação:</strong></p>\n<ul>\n<li>Este endpoint requer autenticação JWT. Inclua o header <code>Authorization: Bearer &lt;seu_token_jwt&gt;</code> em todas as requisições.</li>\n<li>O token pode ser obtido conforme instruções de autenticação da plataforma.</li>\n</ul>\n<p><strong>Observações:</strong></p>\n<ul>\n<li>Certifique-se de utilizar o código da moeda conforme suportado pela plataforma.</li>\n<li>Os valores retornados estão em formato string para maior precisão.</li>\n</ul>\n","urlObject":{"path":["crypto","balance","currency",":currency"],"host":["https://api.otccomprarbitcoin.io/v1/user-api"],"query":[{"key":"currency","value":"string"}],"variable":[{"id":"f89c60ff-d00c-4515-959c-26d5bf446599","type":"any","key":"currency"}]}},"response":[{"id":"214be4c2-3d21-4f51-8a30-69cc04563887","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/balance/currency/:currency?currency=string","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["crypto","balance","currency",":currency"],"query":[{"key":"currency","value":"string"}],"variable":[{"key":"currency"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"currency\": \"XTZ\",\n  \"currency_type\": \"CRYPTO\",\n  \"available_balance\": \"0.0\",\n  \"current_balance\": \"0.0\",\n  \"last_change_date\": \"2022-01-17T21:19:13.512Z\",\n  \"rate\": \"0.0\",\n  \"balance_brl\": \"0.0\"\n}"},{"id":"e0b3133e-ea38-4a63-aa20-5adfe4f7bb6d","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/balance/currency/:currency?currency=string","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["crypto","balance","currency",":currency"],"query":[{"key":"currency","value":"string"}],"variable":[{"key":"currency"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"0848afbf-77e4-4266-b4d6-87a836b89347","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/balance/currency/:currency?currency=string","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["crypto","balance","currency",":currency"],"query":[{"key":"currency","value":"string"}],"variable":[{"key":"currency"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"e0093ee3-e7c2-4311-8cdd-741f5ca4a65b","name":"Server Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/balance/currency/:currency?currency=string","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["crypto","balance","currency",":currency"],"query":[{"key":"currency","value":"string"}],"variable":[{"key":"currency"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"}],"_postman_id":"090c474f-71e4-4c78-8bd4-5ecf147fcd76"}],"id":"8bd50561-8129-4500-8b95-fbcacad1230e","_postman_id":"8bd50561-8129-4500-8b95-fbcacad1230e","description":""},{"name":"Price","item":[{"name":"Simulation","id":"b84536f9-db2d-429a-b1c7-5cddab372d75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"195416ef-a5c6-4cac-9771-8ff72a0ef66f\",\n  \"currency_pair\": \"ADA/BRL\",\n  \"side\": \"BUY\",\n  \"amount\": \"1\",\n  \"amount_type\": \"CRYPTO\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/price/simulation","description":"<p>This operation allows you to get the last price of the specified currency pair</p>\n","urlObject":{"path":["crypto","price","simulation"],"host":["https://api.otccomprarbitcoin.io/v1/user-api"],"query":[],"variable":[]}},"response":[{"id":"ce06e404-28c3-4c81-bb74-9a58aed0778e","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"195416ef-a5c6-4cac-9771-8ff72a0ef66f\",\n  \"currency_pair\": \"ADA/BRL\",\n  \"side\": \"BUY\",\n  \"amount\": \"1\",\n  \"amount_type\": \"CRYPTO\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/price/simulation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"currency_pair\": \"string\",\n  \"price\": 398.4989504269598\n}"},{"id":"9628c8cd-6dee-4984-ab56-9eaa0b540129","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"195416ef-a5c6-4cac-9771-8ff72a0ef66f\",\n  \"currency_pair\": \"ADA/BRL\",\n  \"side\": \"BUY\",\n  \"amount\": \"1\",\n  \"amount_type\": \"CRYPTO\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/price/simulation"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"410bdfaa-4a7d-46b9-833a-7f4054030541","name":"Not Found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"195416ef-a5c6-4cac-9771-8ff72a0ef66f\",\n  \"currency_pair\": \"ADA/BRL\",\n  \"side\": \"BUY\",\n  \"amount\": \"1\",\n  \"amount_type\": \"CRYPTO\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/price/simulation"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"2106c175-beaa-4417-85dd-e7d3b84d960e","name":"Server Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"195416ef-a5c6-4cac-9771-8ff72a0ef66f\",\n  \"currency_pair\": \"ADA/BRL\",\n  \"side\": \"BUY\",\n  \"amount\": \"1\",\n  \"amount_type\": \"CRYPTO\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/crypto/price/simulation"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"}],"_postman_id":"b84536f9-db2d-429a-b1c7-5cddab372d75"}],"id":"e25a4aa9-cebd-4537-8baa-9f4150f8cbbe","_postman_id":"e25a4aa9-cebd-4537-8baa-9f4150f8cbbe","description":""},{"name":"Order","item":[{"name":"Get Order by Quote","id":"b45cae7b-948e-49da-ae4d-21cf3d347233","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.otccomprarbitcoin.io/v1/user-apicrypto/order/quote_id/:quote_id","description":"<p>Retrieves a specific order entry on the company's ledger using its associated quote_id.</p>\n","urlObject":{"path":["order","quote_id",":quote_id"],"host":["https://api.otccomprarbitcoin.io/v1/user-apicrypto"],"query":[],"variable":[{"id":"a23e0c50-e8db-4b85-a917-24e1ca24eb95","description":{"content":"<p>Unique identifier of the quote.</p>\n","type":"text/plain"},"type":"any","value":"3ab4b3b3-12c7-4797-986f-aafaaf4c9850","key":"quote_id"},{"id":"54a9740e-617c-4d95-b34e-f033cb48c674","description":{"content":"<p>Specifies of the end-user generated by the company.</p>\n","type":"text/plain"},"type":"any","value":"8384105c-fd9d-42f4-9500-4067fe7cc171","key":"user_id"}]}},"response":[{"id":"55f7504d-ac8b-4b46-8cb5-195ff8aa4c02","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-apicrypto/order/quote_id/:quote_id","host":["https://api.otccomprarbitcoin.io/v1/user-apicrypto"],"path":["order","quote_id",":quote_id"],"variable":[{"key":"quote_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"order_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"quote_id\": \"7319bef0-08a8-41ea-93d4-040b9287ad56\",\n  \"customer_id\": \"9b36b4a6-2afe-47b3-b811-92e8dd276f26\",\n  \"external_id\": \"4cd58526-2898-4b09-8dd5-3c629a0e87b7\",\n  \"ledger_id\": \"5556831c-fba1-41fb-8e46-a03a3986305d\",\n  \"currency_pair\": \"BTC/USD\",\n  \"is_manual\": true,\n  \"creation_date\": \"2022-04-06T00:12:20.457Z\",\n  \"side\": \"SELL\",\n  \"status\": \"CREATED\",\n  \"forex\": {\n    \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n    \"status\": \"CREATED\",\n    \"done\": true,\n    \"amount\": \"10\",\n    \"currency_pair\": \"BTC/BRL\",\n    \"date_time\": \"2021-06-28T14:30:27.551Z\",\n    \"side\": \"SELL\",\n    \"price\": \"255621.13\",\n    \"cost\": \"105621.13\",\n    \"fee\": \"0\",\n    \"external_id\": \"2223131-5717-7867-b3fc-2c963f66afa6\",\n    \"counter_party\": \"65t45654-6890-dsF4-b3fc-56c63f66afa6\"\n  },\n  \"exchange\": {\n    \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n    \"status\": \"CREATED\",\n    \"done\": true,\n    \"amount\": \"10\",\n    \"currency_pair\": \"BTC/BRL\",\n    \"date_time\": \"2021-06-28T14:30:27.551Z\",\n    \"side\": \"SELL\",\n    \"price\": \"255621.13\",\n    \"cost\": \"105621.13\",\n    \"fee\": \"0\",\n    \"external_id\": \"2223131-5717-7867-b3fc-2c963f66afa6\",\n    \"counter_party\": \"65t45654-6890-dsF4-b3fc-56c63f66afa6\"\n  },\n  \"order_quote\": {\n    \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n    \"status\": \"CREATED\",\n    \"done\": true,\n    \"amount\": \"10\",\n    \"currency_pair\": \"BTC/BRL\",\n    \"date_time\": \"2021-06-28T14:30:27.551Z\",\n    \"side\": \"SELL\",\n    \"price\": \"255621.13\",\n    \"cost\": \"105621.13\",\n    \"spread\": \"0\",\n    \"external_id\": \"2223131-5717-7867-b3fc-2c963f66afa6\"\n  }\n}"},{"id":"20ec31b9-8b09-4068-8008-12d467503cc9","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-apicrypto/order/quote_id/:quote_id","host":["https://api.otccomprarbitcoin.io/v1/user-apicrypto"],"path":["order","quote_id",":quote_id"],"variable":[{"key":"quote_id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"a526c84a-1205-494b-a47b-936de56fd93f","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-apicrypto/order/quote_id/:quote_id","host":["https://api.otccomprarbitcoin.io/v1/user-apicrypto"],"path":["order","quote_id",":quote_id"],"variable":[{"key":"quote_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"a4a9394c-a7a7-49d5-a01f-be84e56e7bc5","name":"Server Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-apicrypto/order/quote_id/:quote_id","host":["https://api.otccomprarbitcoin.io/v1/user-apicrypto"],"path":["order","quote_id",":quote_id"],"variable":[{"key":"quote_id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"}],"_postman_id":"b45cae7b-948e-49da-ae4d-21cf3d347233"}],"id":"f4adbf6e-95bf-4b9f-a2e1-6333160c7c96","_postman_id":"f4adbf6e-95bf-4b9f-a2e1-6333160c7c96","description":""},{"name":"Ledger","item":[{"name":"Get Ledger","id":"3ef2fb0c-2e09-4b7e-b206-80d0155ac76d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.otccomprarbitcoin.io/v1/user-api/ledger?transaction_type=DEPOSIT&page_number=&page_size=100&date_from=Now - 30 days&date_to=Now&order_by=ASC","description":"<p>Retrieves basic information for each entry recorded in the company ledger.</p>\n","urlObject":{"path":["ledger"],"host":["https://api.otccomprarbitcoin.io/v1/user-api"],"query":[{"description":{"content":"<p>Specifies the type of the funding, whether it is a \"ORDER, a \"WITHDRAW\" or a \"DEPOSIT\".</p>\n","type":"text/plain"},"key":"transaction_type","value":"DEPOSIT"},{"key":"page_number","value":""},{"key":"page_size","value":"100"},{"description":{"content":"<p>Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"], The maximum interval is 30 days, depending on the date_to value.</p>\n","type":"text/plain"},"key":"date_from","value":"Now - 30 days"},{"description":{"content":"<p>Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"].</p>\n","type":"text/plain"},"key":"date_to","value":"Now"},{"key":"order_by","value":"ASC"}],"variable":[]}},"response":[{"id":"9c7930ea-6873-45ab-a9ab-e76bdb33d604","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/ledger?transaction_type=DEPOSIT&page_number=&page_size=100&date_from=Now - 30 days&date_to=Now&order_by=ASC","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["ledger"],"query":[{"key":"transaction_type","value":"DEPOSIT","description":"Specifies the type of the funding, whether it is a \"ORDER, a \"WITHDRAW\" or a \"DEPOSIT\"."},{"key":"page_number","value":""},{"key":"page_size","value":"100"},{"key":"date_from","value":"Now - 30 days","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"], The maximum interval is 30 days, depending on the date_to value."},{"key":"date_to","value":"Now","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"]."},{"key":"order_by","value":"ASC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"current_page\": 0,\n  \"total_pages\": 0,\n  \"total_records\": 0,\n  \"page_size\": 0,\n  \"data\": {\n    \"is_visible\": true,\n    \"is_impact\": true,\n    \"ledger_date_time\": \"022-04-06T00:30:54.172Z\",\n    \"external_id\": \"a34014d9-4ac0-4559-ab7c-bd1ba2b57e98\",\n    \"quote\": {\n      \"quote_id\": \"a34014d9-4ac0-4559-ab7c-bd1ba2b57e98\",\n      \"order\": {\n        \"order_id\": \"a34014d9-4ac0-4559-ab7c-bd1ba2b57e98\",\n        \"external_id\": \"a34014d9-4ac0-4559-ab7c-bd1ba2b57e98\"\n      },\n      \"trade\": {\n        \"trade_id\": \"a34014d9-4ac0-4559-ab7c-bd1ba2b57e98\",\n        \"external_id\": \"a34014d9-4ac0-4559-ab7c-bd1ba2b57e98\"\n      },\n      \"forex\": {\n        \"forex_id\": \"a34014d9-4ac0-4559-ab7c-bd1ba2b57e98\",\n        \"external_id\": \"a34014d9-4ac0-4559-ab7c-bd1ba2b57e98\"\n      }\n    },\n    \"status\": \"DONE\",\n    \"transaction_type\": \"ORDER\",\n    \"currency_from\": {\n      \"user_id\": \"4bcda85c-0d15-4205-bb7b-90b7d20adb64\",\n      \"user_name\": \"USER TESTE\",\n      \"user_document\": \"11233463721\",\n      \"currency_type\": \"CRYPTO\",\n      \"currency_value\": \"USDC\",\n      \"amount\": 100\n    },\n    \"currency_to\": {\n      \"user_id\": \"4bcda85c-0d15-4205-bb7b-90b7d20adb64\",\n      \"user_name\": \"USER TESTE\",\n      \"user_document\": \"11233463721\",\n      \"currency_type\": \"FIAT\",\n      \"currency_value\": \"BRL\",\n      \"amount\": 537.87195\n    },\n    \"fee\": 0,\n    \"is_manual\": true\n  }\n}"},{"id":"e13b3c65-98aa-49a2-851c-6760b1f16917","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/ledger?transaction_type=DEPOSIT&page_number=&page_size=100&date_from=Now - 30 days&date_to=Now&order_by=ASC","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["ledger"],"query":[{"key":"transaction_type","value":"DEPOSIT","description":"Specifies the type of the funding, whether it is a \"ORDER, a \"WITHDRAW\" or a \"DEPOSIT\"."},{"key":"page_number","value":""},{"key":"page_size","value":"100"},{"key":"date_from","value":"Now - 30 days","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"], The maximum interval is 30 days, depending on the date_to value."},{"key":"date_to","value":"Now","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"]."},{"key":"order_by","value":"ASC"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"ecfd62af-8cbb-4a32-b08b-3277c231a538","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/ledger?transaction_type=DEPOSIT&page_number=&page_size=100&date_from=Now - 30 days&date_to=Now&order_by=ASC","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["ledger"],"query":[{"key":"transaction_type","value":"DEPOSIT","description":"Specifies the type of the funding, whether it is a \"ORDER, a \"WITHDRAW\" or a \"DEPOSIT\"."},{"key":"page_number","value":""},{"key":"page_size","value":"100"},{"key":"date_from","value":"Now - 30 days","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"], The maximum interval is 30 days, depending on the date_to value."},{"key":"date_to","value":"Now","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"]."},{"key":"order_by","value":"ASC"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"6f8e14cd-ac40-4b95-be98-910f75d10f8f","name":"Server Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/ledger?transaction_type=DEPOSIT&page_number=&page_size=100&date_from=Now - 30 days&date_to=Now&order_by=ASC","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["ledger"],"query":[{"key":"transaction_type","value":"DEPOSIT","description":"Specifies the type of the funding, whether it is a \"ORDER, a \"WITHDRAW\" or a \"DEPOSIT\"."},{"key":"page_number","value":""},{"key":"page_size","value":"100"},{"key":"date_from","value":"Now - 30 days","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"], The maximum interval is 30 days, depending on the date_to value."},{"key":"date_to","value":"Now","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"]."},{"key":"order_by","value":"ASC"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"}],"_postman_id":"3ef2fb0c-2e09-4b7e-b206-80d0155ac76d"}],"id":"ae9d61bd-c65b-44c3-bc29-3cb98fe10829","_postman_id":"ae9d61bd-c65b-44c3-bc29-3cb98fe10829","description":""},{"name":"Funding","item":[{"name":"Create Withdraw","id":"9935fbc8-5e21-49d3-b3ce-9e3cf399722f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"amount\": \"0.005\",\n  \"address_id\": \"91d9f78d-e104-4d12-9f85-0a667fc83c7e\",\n  \"tags\": [\n    {\n      \"value\": \"100\",\n      \"key\": \"transaction_description\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/funding/withdraw","description":"<p>Initiates an on-chain withdrawal transaction from the specified address ID. The address must be registered as an origin address for withdrawal requests.</p>\n","urlObject":{"path":["funding","withdraw"],"host":["https://api.otccomprarbitcoin.io/v1/user-api"],"query":[],"variable":[]}},"response":[{"id":"e6902b27-3454-4911-b42d-a3e47161a6b5","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"amount\": \"0.005\",\n  \"address_id\": \"91d9f78d-e104-4d12-9f85-0a667fc83c7e\",\n  \"tags\": [\n    {\n      \"value\": \"100\",\n      \"key\": \"transaction_description\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/funding/withdraw"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"funding_id\": \"a34014d9-4ac0-4559-ab7c-bd1ba2b57e98\"\n}"},{"id":"4f9ccb3d-054f-4494-a40d-eef88ebb73ec","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"amount\": \"0.005\",\n  \"address_id\": \"91d9f78d-e104-4d12-9f85-0a667fc83c7e\",\n  \"tags\": [\n    {\n      \"value\": \"100\",\n      \"key\": \"transaction_description\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/funding/withdraw"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"2019-08-24T14:15:22Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\"\n  ]\n}"},{"id":"ccabfb61-0b64-4378-8dd0-c79ce5f82c17","name":"Not Found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"amount\": \"0.005\",\n  \"address_id\": \"91d9f78d-e104-4d12-9f85-0a667fc83c7e\",\n  \"tags\": [\n    {\n      \"value\": \"100\",\n      \"key\": \"transaction_description\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/funding/withdraw"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"2019-08-24T14:15:22Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\"\n  ]\n}"},{"id":"54288853-6e42-4d36-858c-7534c45c6475","name":"Server Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"amount\": \"0.005\",\n  \"address_id\": \"91d9f78d-e104-4d12-9f85-0a667fc83c7e\",\n  \"tags\": [\n    {\n      \"value\": \"100\",\n      \"key\": \"transaction_description\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/funding/withdraw"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"2019-08-24T14:15:22Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\"\n  ]\n}"}],"_postman_id":"9935fbc8-5e21-49d3-b3ce-9e3cf399722f"},{"name":"Create Deposit","id":"2e1593ff-202e-4d67-b64d-04bc22af0888","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"currency\": \"BTC\",\n  \"currency_type\": \"CRYPTO\",\n  \"amount\": \"0.05\",\n  \"transaction\": \"195416ef-a5c6-4cac-9771-8ff72a0ef66f\",\n  \"tags\": [\n    {\n      \"key\": \"purpose\",\n      \"value\": \"0.05\"\n    },\n    {\n      \"key\": \"purpose\",\n      \"value\": \"0.05\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/funding/deposit","description":"<p><strong>Body:</strong></p>\n<ul>\n<li><p><strong>currency (string):</strong></p>\n<ul>\n<li>Specifies the symbol of the currency related to the current operation (e.g., \"BTC\")</li>\n</ul>\n</li>\n<li><p><strong>currency_type (string):</strong></p>\n<ul>\n<li><p>ENUM: <code>\"FIAT\"</code> <code>\"CRYPTO\"</code></p>\n</li>\n<li><p>Specifies the type of currency, whether it is a fiat currency \"FIAT\" or a cryptocurrency \"CRYPTO\".</p>\n</li>\n</ul>\n</li>\n<li><p><strong>amount (string):</strong></p>\n<ul>\n<li>Specifies the amount value will be withdraw or deposit.</li>\n</ul>\n</li>\n<li><p><strong>transaction (string):</strong></p>\n<ul>\n<li>Deposit Destination</li>\n</ul>\n</li>\n<li><p><strong>tags (array or null):</strong></p>\n<ul>\n<li><p>Optional list of metadata tags in key-value format.</p>\n</li>\n<li><p><strong>array:</strong> [{</p>\n<ul>\n<li><p><strong>key (string or null):</strong></p>\n<ul>\n<li>Specifies a descriptive label or reference ID to help identify this transaction in statements or transaction history.</li>\n</ul>\n</li>\n<li><p><strong>value (string or null):</strong></p>\n<ul>\n<li>Specifies the value</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p>}]</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["funding","deposit"],"host":["https://api.otccomprarbitcoin.io/v1/user-api"],"query":[],"variable":[]}},"response":[{"id":"694186ee-99cc-4263-affc-7925fdf3c8a9","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"currency\": \"BTC\",\n  \"currency_type\": \"CRYPTO\",\n  \"amount\": \"0.05\",\n  \"transaction\": \"195416ef-a5c6-4cac-9771-8ff72a0ef66f\",\n  \"tags\": [\n    {\n      \"key\": \"purpose\",\n      \"value\": \"salary\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/funding/deposit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"funding_id\": \"a34014d9-4ac0-4559-ab7c-bd1ba2b57e98\"\n}"},{"id":"b80f37bc-b881-445d-88c1-a1e029cbe8a7","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"currency\": \"BTC\",\n  \"currency_type\": \"CRYPTO\",\n  \"amount\": \"0.05\",\n  \"transaction\": \"195416ef-a5c6-4cac-9771-8ff72a0ef66f\",\n  \"tags\": [\n    {\n      \"key\": \"purpose\",\n      \"value\": \"0.05\"\n    },\n    {\n      \"key\": \"purpose\",\n      \"value\": \"0.05\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/funding/deposit"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"6cd2ad60-0d4c-4346-8bac-04ba3345f7ae","name":"Not Found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"currency\": \"BTC\",\n  \"currency_type\": \"CRYPTO\",\n  \"amount\": \"0.05\",\n  \"transaction\": \"195416ef-a5c6-4cac-9771-8ff72a0ef66f\",\n  \"tags\": [\n    {\n      \"key\": \"purpose\",\n      \"value\": \"0.05\"\n    },\n    {\n      \"key\": \"purpose\",\n      \"value\": \"0.05\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/funding/deposit"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"da833da8-e5cf-49c8-9ad8-9bc4cfefeec8","name":"Server Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"currency\": \"BTC\",\n  \"currency_type\": \"CRYPTO\",\n  \"amount\": \"0.05\",\n  \"transaction\": \"195416ef-a5c6-4cac-9771-8ff72a0ef66f\",\n  \"tags\": [\n    {\n      \"key\": \"purpose\",\n      \"value\": \"0.05\"\n    },\n    {\n      \"key\": \"purpose\",\n      \"value\": \"0.05\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/funding/deposit"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"}],"_postman_id":"2e1593ff-202e-4d67-b64d-04bc22af0888"},{"name":"Get Funding","id":"2ae41676-4b4d-4001-9cc1-e006598c2bab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.otccomprarbitcoin.io/v1/user-api/funding?transaction_type=DEPOSIT&status=APPROVED&state=APPROVED&page_number=1&page_size=100&date_from=Now - 60 days&date_to=Now&order_by=ASC","description":"<p>Retrieves a list of funding transactions, providing details and information about the transactions related to funding activities. </p>\n<p>The endpoint response includes the funding activity status, as detailed in the table below. When both the “status” attribute and the “state” are provided, only the “status” attribute will be considered in the endpoint call.</p>\n<p>Duplicated transactions cannot be filtered; Instead, they're always linked to their original transaction. This helps identify where the duplication originated.</p>\n<table> <tr> <th>STATE</th> <th>STATUS</th> <th>DESCRIPTION</th> </tr> <tr> <td>PENDING</td> <td>PENDING</td> <td>The funding operation requested by the user is currently pending.</td> </tr> <tr> <td>COMPLETED</td> <td>APPROVED</td> <td>The funding operation requested by the user has been manually approved.</td> </tr> <tr> <td>COMPLETED</td> <td>REJECTED</td> <td>The funding operation requested by the user has been manually rejected.</td> </tr> <tr> <td>COMPLETED</td> <td>MANUAL</td> <td>The funding operation was requested by the operator/admin.</td> </tr> <tr> <td>PENDING / COMPLETED</td> <td>DUPLICATED</td> <td>A funding operation was requested with a duplicated hash, already used in another transaction.</td> </tr> <tr> <td>COMPLETED</td> <td>AUTO_APPROVED</td> <td>The funding operation has been automatically identified and approved by the system, following predefined settings.</td> </tr> <tr><td>PENDING</td> <td>WAITING_CONFIRMATION</td> <td>The withdrawal process has started, aiming to insert the transaction on the blockchain. Currently awaiting confirmation.</td> </tr> <tr> <td>PENDING</td> <td>IN_PROGRESS</td> <td>The withdrawal is currently in progress on the blockchain.</td> </tr> <tr> <td>COMPLETED</td> <td>CONFIRMED</td> <td>The withdrawal process is confirmed, with all necessary blockchain validations completed.</td> </tr> <tr> <td>PENDING</td> <td>FAILED</td> <td>The withdrawal failed due to communication issues with the blockchain.</td> </tr> <tr> <td>PENDING</td> <td>CANCELED</td> <td>The withdrawal was canceled while attempting to insert the transaction into the blockchain.</td> </tr> </table>","urlObject":{"path":["funding"],"host":["https://api.otccomprarbitcoin.io/v1/user-api"],"query":[{"description":{"content":"<p>Specifies the type of the funding, whether it is a \"WITHDRAW\" or a \"DEPOSIT\".</p>\n","type":"text/plain"},"key":"transaction_type","value":"DEPOSIT"},{"description":{"content":"<p>Specifies the status of the funding.</p>\n","type":"text/plain"},"key":"status","value":"APPROVED"},{"description":{"content":"<p>Indicates the current state of the funding activity. A ‘PENDING’ state signifies that the funding process is ongoing and hasn’t reached a final status. In contrast, a ‘COMPLETED’ state indicates that the funding has concluded, with the final status denoting either success or failure</p>\n","type":"text/plain"},"key":"state","value":"APPROVED"},{"description":{"content":"<p>Specifies the page number from which the request will start.</p>\n","type":"text/plain"},"key":"page_number","value":"1"},{"description":{"content":"<p>Specifies the number of items displayed per page in the paginated result.</p>\n","type":"text/plain"},"key":"page_size","value":"100"},{"description":{"content":"<p>Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"], The maximum interval is 30 days, depending on the date_to value.</p>\n","type":"text/plain"},"key":"date_from","value":"Now - 60 days"},{"description":{"content":"<p>Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"].</p>\n","type":"text/plain"},"key":"date_to","value":"Now"},{"key":"order_by","value":"ASC"}],"variable":[]}},"response":[{"id":"2bc0e34f-abbc-44f0-9486-5d8494baff38","name":"CRYPTO funding","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/funding?transaction_type=DEPOSIT&status=APPROVED&state=APPROVED&page_number=1&page_size=100&date_from=Now - 60 days&date_to=Now&order_by=ASC","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["funding"],"query":[{"key":"transaction_type","value":"DEPOSIT","description":"Specifies the type of the funding, whether it is a \"WITHDRAW\" or a \"DEPOSIT\"."},{"key":"status","value":"APPROVED","description":"Specifies the status of the funding."},{"key":"state","value":"APPROVED","description":"Indicates the current state of the funding activity. A ‘PENDING’ state signifies that the funding process is ongoing and hasn’t reached a final status. In contrast, a ‘COMPLETED’ state indicates that the funding has concluded, with the final status denoting either success or failure"},{"key":"page_number","value":"1","description":"Specifies the page number from which the request will start."},{"key":"page_size","value":"100","description":"Specifies the number of items displayed per page in the paginated result."},{"key":"date_from","value":"Now - 60 days","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"], The maximum interval is 30 days, depending on the date_to value."},{"key":"date_to","value":"Now","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"]."},{"key":"order_by","value":"ASC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"current_page\": 1,\n  \"total_pages\": 10,\n  \"total_records\": 100,\n  \"page_size\": 10,\n  \"data\": [\n    {\n      \"id\": \"a34014d9-4ac0-4559-ab7c-bd1ba2b57e98\",\n      \"user_internal_id\": \"ere45345-455g-4559-rtre-342rete2342\",\n      \"transaction_type\": \"WITHDRAWAL\",\n      \"type\": \"CRYPTO\",\n      \"status\": \"PENDING\",\n      \"amount\": \"10.5\",\n      \"transaction\": \"9f460ae8319b1b921ddacdaacf91270567fdad4faf93b9f5c4478b04d5214238\",\n      \"created_at\": \"2022-01-17T21:19:13.512Z\",\n      \"updated_at\": \"2022-01-17T21:19:13.512Z\",\n      \"auto_identified\": false,\n      \"crypto\": {\n        \"address\": \"bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh\",\n        \"asset\": \"BTC\"\n      }\n    }\n  ]\n}"},{"id":"66aae42f-dbf5-44c6-89aa-78479170cc43","name":"FIAT funding","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/funding?transaction_type=DEPOSIT&status=APPROVED&state=APPROVED&page_number=1&page_size=100&date_from=Now - 60 days&date_to=Now&order_by=ASC","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["funding"],"query":[{"key":"transaction_type","value":"DEPOSIT","description":"Specifies the type of the funding, whether it is a \"WITHDRAW\" or a \"DEPOSIT\"."},{"key":"status","value":"APPROVED","description":"Specifies the status of the funding."},{"key":"state","value":"APPROVED","description":"Indicates the current state of the funding activity. A ‘PENDING’ state signifies that the funding process is ongoing and hasn’t reached a final status. In contrast, a ‘COMPLETED’ state indicates that the funding has concluded, with the final status denoting either success or failure"},{"key":"page_number","value":"1","description":"Specifies the page number from which the request will start."},{"key":"page_size","value":"100","description":"Specifies the number of items displayed per page in the paginated result."},{"key":"date_from","value":"Now - 60 days","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"], The maximum interval is 30 days, depending on the date_to value."},{"key":"date_to","value":"Now","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"]."},{"key":"order_by","value":"ASC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"current_page\": 1,\n  \"total_pages\": 10,\n  \"total_records\": 100,\n  \"page_size\": 10,\n  \"data\": [\n    {\n      \"id\": \"a34014d9-4ac0-4559-ab7c-bd1ba2b57e98\",\n      \"user_internal_id\": \"ere45345-455g-4559-rtre-342rete2342\",\n      \"transaction_type\": \"WITHDRAWAL\",\n      \"type\": \"FIAT\",\n      \"status\": \"PENDING\",\n      \"amount\": \"10.5\",\n      \"created_at\": \"2022-01-17T21:19:13.512Z\",\n      \"updated_at\": \"2022-01-17T21:19:13.512Z\",\n      \"auto_identified\": false,\n      \"bank\": {\n        \"code\": \"341\",\n        \"account\": \"4654\",\n        \"branch\": \"1\",\n        \"currency\": \"BRL\"\n      }\n    }\n  ]\n}"},{"id":"c0fa62c1-b2b0-414b-83e6-8c5f68442f61","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/funding?transaction_type=DEPOSIT&status=APPROVED&state=APPROVED&page_number=1&page_size=100&date_from=Now - 60 days&date_to=Now&order_by=ASC","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["funding"],"query":[{"key":"transaction_type","value":"DEPOSIT","description":"Specifies the type of the funding, whether it is a \"WITHDRAW\" or a \"DEPOSIT\"."},{"key":"status","value":"APPROVED","description":"Specifies the status of the funding."},{"key":"state","value":"APPROVED","description":"Indicates the current state of the funding activity. A ‘PENDING’ state signifies that the funding process is ongoing and hasn’t reached a final status. In contrast, a ‘COMPLETED’ state indicates that the funding has concluded, with the final status denoting either success or failure"},{"key":"page_number","value":"1","description":"Specifies the page number from which the request will start."},{"key":"page_size","value":"100","description":"Specifies the number of items displayed per page in the paginated result."},{"key":"date_from","value":"Now - 60 days","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"], The maximum interval is 30 days, depending on the date_to value."},{"key":"date_to","value":"Now","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"]."},{"key":"order_by","value":"ASC"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"381e9990-fd7e-49ef-b3d6-2692a6fc2e3e","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/funding?transaction_type=DEPOSIT&status=APPROVED&state=APPROVED&page_number=1&page_size=100&date_from=Now - 60 days&date_to=Now&order_by=ASC","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["funding"],"query":[{"key":"transaction_type","value":"DEPOSIT","description":"Specifies the type of the funding, whether it is a \"WITHDRAW\" or a \"DEPOSIT\"."},{"key":"status","value":"APPROVED","description":"Specifies the status of the funding."},{"key":"state","value":"APPROVED","description":"Indicates the current state of the funding activity. A ‘PENDING’ state signifies that the funding process is ongoing and hasn’t reached a final status. In contrast, a ‘COMPLETED’ state indicates that the funding has concluded, with the final status denoting either success or failure"},{"key":"page_number","value":"1","description":"Specifies the page number from which the request will start."},{"key":"page_size","value":"100","description":"Specifies the number of items displayed per page in the paginated result."},{"key":"date_from","value":"Now - 60 days","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"], The maximum interval is 30 days, depending on the date_to value."},{"key":"date_to","value":"Now","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"]."},{"key":"order_by","value":"ASC"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"c517008b-3133-4c81-b951-f14ed13824fd","name":"Server Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/funding?transaction_type=DEPOSIT&status=APPROVED&state=APPROVED&page_number=1&page_size=100&date_from=Now - 60 days&date_to=Now&order_by=ASC","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["funding"],"query":[{"key":"transaction_type","value":"DEPOSIT","description":"Specifies the type of the funding, whether it is a \"WITHDRAW\" or a \"DEPOSIT\"."},{"key":"status","value":"APPROVED","description":"Specifies the status of the funding."},{"key":"state","value":"APPROVED","description":"Indicates the current state of the funding activity. A ‘PENDING’ state signifies that the funding process is ongoing and hasn’t reached a final status. In contrast, a ‘COMPLETED’ state indicates that the funding has concluded, with the final status denoting either success or failure"},{"key":"page_number","value":"1","description":"Specifies the page number from which the request will start."},{"key":"page_size","value":"100","description":"Specifies the number of items displayed per page in the paginated result."},{"key":"date_from","value":"Now - 60 days","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"], The maximum interval is 30 days, depending on the date_to value."},{"key":"date_to","value":"Now","description":"Formats Accepts: [\"YYYY-MM-DD\", \"YYYY-MM-DD HH:MM:SS\"]."},{"key":"order_by","value":"ASC"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"}],"_postman_id":"2ae41676-4b4d-4001-9cc1-e006598c2bab"}],"id":"67324051-2eb3-4564-8946-bf0a6d9eef27","_postman_id":"67324051-2eb3-4564-8946-bf0a6d9eef27","description":""},{"name":"Withdraw Address","item":[{"name":"Get Address","id":"9bc11271-e81b-41fa-8ee0-7bdf92b06e27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/:address_id","description":"<p>Retrieves an address that is registered as an origin address for withdrawal requests.</p>\n","urlObject":{"path":["addresses",":address_id"],"host":["https://api.otccomprarbitcoin.io/v1/user-api"],"query":[],"variable":[{"id":"081aabf3-c9ef-47a3-b6f4-9e9b91be49b3","description":{"content":"<p>Specifies the ID of the address.</p>\n","type":"text/plain"},"type":"any","value":"e7f24bb0-08cf-442d-aaba-819008ff6c39","key":"address_id"}]}},"response":[{"id":"0e671b1a-8ba7-45ee-bbd5-91dce2e2522f","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/:address_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["addresses",":address_id"],"variable":[{"key":"address_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"user_id\": \"ce4a2856-c569-4c6b-a3d1-646499d7b4f7\",\n  \"address_id\": \"33abd072-fe3a-4234-ba38-2999dd3f5dcd\",\n  \"name\": \"Address Fiat Name\",\n  \"type\": \"FIAT\",\n  \"bank\": {\n    \"code\": \"260\",\n    \"branch\": \"1\",\n    \"account\": \"123456\",\n    \"currency\": \"BRL\"\n  }\n}"},{"id":"d72b3b9a-21ce-448f-991e-89c8d59e5e25","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/:address_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["addresses",":address_id"],"variable":[{"key":"address_id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"6f87ad5f-a5a1-4072-8c16-eaef6a91943c","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/:address_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["addresses",":address_id"],"variable":[{"key":"address_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"5065cc9b-51af-422e-a237-ea9e7b62ceaa","name":"Server Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/:address_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["addresses",":address_id"],"variable":[{"key":"address_id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"}],"_postman_id":"9bc11271-e81b-41fa-8ee0-7bdf92b06e27"},{"name":"Delete Addresses","id":"e3681a5f-3856-47ce-a612-148ac2ccff7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/:address_id","description":"<p>Deletes an address that is registered as an origin address for withdrawal requests. This endpoint removes the specified address from the list of approved origin addresses, preventing it from being used as a source for future withdrawals.</p>\n","urlObject":{"path":["addresses",":address_id"],"host":["https://api.otccomprarbitcoin.io/v1/user-api"],"query":[],"variable":[{"id":"8a2a1773-d68c-4e6f-ae9d-f84d96bd02d3","description":{"content":"<p>Specifies the identifier address.</p>\n","type":"text/plain"},"type":"any","value":"e7f24bb0-08cf-442d-aaba-819008ff6c39","key":"address_id"}]}},"response":[{"id":"16237275-dd09-4bf0-b7c0-d85325d27d56","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/:address_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["addresses",":address_id"],"variable":[{"key":"address_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"711b41a5-b695-4289-a308-1cb93b283095","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/:address_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["addresses",":address_id"],"variable":[{"key":"address_id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"5b748a3a-a449-4426-88dc-cc4787d3fe97","name":"Not Found","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/:address_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["addresses",":address_id"],"variable":[{"key":"address_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"b9074adf-0086-4a7a-830d-db63211678d3","name":"Server Error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/:address_id","host":["https://api.otccomprarbitcoin.io/v1/user-api"],"path":["addresses",":address_id"],"variable":[{"key":"address_id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"}],"_postman_id":"e3681a5f-3856-47ce-a612-148ac2ccff7d"},{"name":"Get Withdraw Addresses","id":"14addac6-8440-4c01-bbe1-d63d00007cfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/withdraw","description":"<p>Retrieves a list of addresses, per end-user, that are registered as an origin address for withdrawal requests.</p>\n","urlObject":{"path":["addresses","withdraw"],"host":["https://api.otccomprarbitcoin.io/v1/user-api"],"query":[],"variable":[]}},"response":[{"id":"768abaea-e33b-442b-8e84-13fed3886c6c","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/withdraw"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"user_id\": \"ce4a2856-c569-4c6b-a3d1-646499d7b4f7\",\n    \"address_id\": \"33abd072-fe3a-4234-ba38-2999dd3f5dcd\",\n    \"name\": \"Address Fiat Name\",\n    \"type\": \"FIAT\",\n    \"bank\": {\n      \"code\": \"260\",\n      \"branch\": \"1\",\n      \"account\": \"123456\",\n      \"currency\": \"BRL\"\n    }\n  },\n  {\n    \"user_id\": \"ce4a2856-c569-4c6b-a3d1-646499d7b4f7\",\n    \"address_id\": \"a2c4f9e4-426e-4678-8891-d96af8286bdd\",\n    \"name\": \"Address Crypto Name\",\n    \"type\": \"CRYPTO\",\n    \"crypto\": {\n      \"address\": \"1houkky29bentnpip2vvdlckamn4njrksk\",\n      \"asset\": \"BTC\",\n      \"blockchain_id\": \"434bc4dc-8adf-4a3d-90e1-ef61bd604869\"\n    }\n  }\n]"},{"id":"a5e263ae-d226-4bb7-a859-58eab318ff20","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/withdraw"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"5252695a-0501-48e0-8674-ae029f2f36b7","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/withdraw"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"72d3dd00-99a8-491c-afad-d854c317fae8","name":"Server Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/withdraw"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"}],"_postman_id":"14addac6-8440-4c01-bbe1-d63d00007cfc"},{"name":"Create Addresses","id":"04f1c1d2-d6af-44d4-8b4c-b47a9ac55805","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Address Name\",\n  \"type\": \"FIAT\",\n  \"bank\": {\n    \"currency\": \"BRL\",\n    \"code\": \"341\",\n    \"account\": \"64587\",\n    \"branch\": \"1\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/withdraw","description":"<p>This operation allows the create a withdraw address</p>\n","urlObject":{"path":["addresses","withdraw"],"host":["https://api.otccomprarbitcoin.io/v1/user-api"],"query":[],"variable":[]}},"response":[{"id":"16aa7497-64b7-462d-8869-b7d6642d4ff9","name":"200 - FIAT Address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Address Name\",\n  \"type\": \"FIAT\",\n  \"bank\": {\n    \"currency\": \"BRL\",\n    \"code\": \"341\",\n    \"account\": \"64587\",\n    \"branch\": \"1\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/withdraw"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"user_id\": \"ce4a2856-c569-4c6b-a3d1-646499d7b4f7\",\n  \"address_id\": \"33abd072-fe3a-4234-ba38-2999dd3f5dcd\",\n  \"name\": \"Address Fiat Name\",\n  \"type\": \"FIAT\",\n  \"bank\": {\n    \"code\": \"260\",\n    \"branch\": \"1\",\n    \"account\": \"123456\",\n    \"currency\": \"BRL\"\n  }\n}"},{"id":"24f129f9-d02a-446c-955b-bb3367306520","name":"200 - CRYPTO address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Address Name\",\n  \"type\": \"CRYPTO\",\n  \"crypto\": {\n    \"asset\": \"BTC\",\n    \"address\": \"1houkky29bentnpip2vvdlckamn4njrksk\",\n    \"blockchain_id\": \"434bc4dc-8adf-4a3d-90e1-ef61bd604869\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/withdraw"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"user_id\": \"ce4a2856-c569-4c6b-a3d1-646499d7b4f7\",\n  \"address_id\": \"33abd072-fe3a-4234-ba38-2999dd3f5dcd\",\n  \"name\": \"Address Fiat Name\",\n  \"type\": \"FIAT\",\n  \"bank\": {\n    \"code\": \"260\",\n    \"branch\": \"1\",\n    \"account\": \"123456\",\n    \"currency\": \"BRL\"\n  }\n}"},{"id":"997add87-cf02-4c26-b210-9de4f5f8bb31","name":"400, 404, 500 - FIAT Address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Address Name\",\n  \"type\": \"FIAT\",\n  \"bank\": {\n    \"currency\": \"BRL\",\n    \"code\": \"341\",\n    \"account\": \"64587\",\n    \"branch\": \"1\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/withdraw"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"3630a505-7d71-47f2-9f29-29ac007cef9a","name":"400, 404, 500 - CRYPTO address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Address Name\",\n  \"type\": \"CRYPTO\",\n  \"crypto\": {\n    \"asset\": \"BTC\",\n    \"address\": \"1houkky29bentnpip2vvdlckamn4njrksk\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.otccomprarbitcoin.io/v1/user-api/addresses/withdraw"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"string\",\n  \"detail\": \"string\",\n  \"timestamp\": \"1964-04-14T20:44:19.077Z\",\n  \"path\": \"string\",\n  \"errorCode\": \"string\",\n  \"errors\": [\n    \"string\",\n    \"string\"\n  ]\n}"}],"_postman_id":"04f1c1d2-d6af-44d4-8b4c-b47a9ac55805"}],"id":"2b819b1d-23b3-439a-879b-e16740e77ae2","_postman_id":"2b819b1d-23b3-439a-879b-e16740e77ae2","description":""},{"name":"Blockchain","item":[{"name":"Get all blockchains","id":"f1c529f1-b3e7-4c95-b41f-94390bc46b7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.otccomprarbitcoin.io/v1/user-api/blockchain","urlObject":{"path":["blockchain"],"host":["https://api.otccomprarbitcoin.io/v1/user-api"],"query":[],"variable":[]}},"response":[{"id":"c78d073b-c7c0-4eb0-a141-c5a32c1eb770","name":"200","originalRequest":{"method":"GET","header":[],"url":"https://api.otccomprarbitcoin.io/v1/user-api/blockchain"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Date","value":"Sun, 01 Mar 2026 00:16:28 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1734"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"c83c1dca-aeb2-4a8a-bb94-036c395e9521"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization"},{"key":"x-amzn-Remapped-Content-Length","value":"1734"},{"key":"x-amzn-Remapped-Connection","value":"keep-alive"},{"key":"x-amz-apigw-id","value":"ZhHEJHZdrPEEbhA="},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, PATCH, OPTIONS"},{"key":"x-amzn-Remapped-Date","value":"Sun, 01 Mar 2026 00:16:28 GMT"},{"key":"Access-Control-Max-Age","value":"1728000"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    {\n        \"id\": \"8b47d55f-d0ea-4349-961d-28206c9867dc\",\n        \"name\": \"Bitcoin Blockcypher Testnet\",\n        \"network\": \"Testnet\",\n        \"accept_gas_station\": false\n    },\n    {\n        \"id\": \"547a17bd-add7-47d1-a259-517308e2f720\",\n        \"name\": \"Ethereum Sepolia Testnet\",\n        \"network\": \"Testnet\",\n        \"accept_gas_station\": true\n    },\n    {\n        \"id\": \"8eab8537-ae3f-40bf-80c2-6b4da707e741\",\n        \"name\": \"Ethereum Mainnet\",\n        \"network\": \"Mainnet\",\n        \"accept_gas_station\": true\n    },\n    {\n        \"id\": \"7ed96d0f-804d-485a-b255-a5ff87e2ec53\",\n        \"name\": \"Solana Devnet\",\n        \"network\": \"Testnet\",\n        \"accept_gas_station\": false\n    },\n    {\n        \"id\": \"0525aede-5dc4-4798-8863-d8b5be6c09ca\",\n        \"name\": \"Solana\",\n        \"network\": \"Mainnet\",\n        \"accept_gas_station\": false\n    },\n    {\n        \"id\": \"f2daac62-4e25-4f10-8257-f8e68c2e8fe9\",\n        \"name\": \"Litecoin\",\n        \"network\": \"Mainnet\",\n        \"accept_gas_station\": false\n    },\n    {\n        \"id\": \"bd69c6bb-b80a-4f3c-9f4d-e8117b67f7a5\",\n        \"name\": \"Bitcoin\",\n        \"network\": \"Mainnet\",\n        \"accept_gas_station\": false\n    },\n    {\n        \"id\": \"0f5cf2e2-f45f-4f34-bc0b-c2636c5d8416\",\n        \"name\": \"Rayls Platform\",\n        \"network\": \"Mainnet\",\n        \"accept_gas_station\": false\n    },\n    {\n        \"id\": \"7083a363-dc60-4100-a890-9adf7a33632a\",\n        \"name\": \"Hathor\",\n        \"network\": \"Mainnet\",\n        \"accept_gas_station\": false\n    },\n    {\n        \"id\": \"efaecb17-9db9-4b75-9593-f659d9925fab\",\n        \"name\": \"Rayls Caixa\",\n        \"network\": \"Mainnet\",\n        \"accept_gas_station\": false\n    },\n    {\n        \"id\": \"091facc7-5ad9-4ef1-9c28-bf6e42f97b0e\",\n        \"name\": \"Rayls Nimofast\",\n        \"network\": \"Mainnet\",\n        \"accept_gas_station\": false\n    },\n    {\n        \"id\": \"7fea1b06-015a-4d06-b31d-08c13c681b6c\",\n        \"name\": \"Bitcoin Testnet\",\n        \"network\": \"Testnet\",\n        \"accept_gas_station\": false\n    },\n    {\n        \"id\": \"858bee12-7212-44c4-8765-5dc6dc318a96\",\n        \"name\": \"Blackbox\",\n        \"network\": \"Mainnet\",\n        \"accept_gas_station\": false\n    },\n    {\n        \"id\": \"98d7c27b-3fb7-479f-a969-650f5fa65a6f\",\n        \"name\": \"Tron\",\n        \"network\": \"Mainnet\",\n        \"accept_gas_station\": false\n    },\n    {\n        \"id\": \"89a6bb61-d54a-46e9-9ca8-265a08ae18b9\",\n        \"name\": \"Tron Nile Testnet\",\n        \"network\": \"Testnet\",\n        \"accept_gas_station\": false\n    }\n]"},{"id":"7c6bfd00-9206-4791-ab5b-45f90dfa5b8a","name":"400","originalRequest":{"method":"GET","header":[],"url":"https://api.otccomprarbitcoin.io/v1/user-api/blockchain"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Sun, 01 Mar 2026 00:16:28 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1734"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"c83c1dca-aeb2-4a8a-bb94-036c395e9521"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization"},{"key":"x-amzn-Remapped-Content-Length","value":"1734"},{"key":"x-amzn-Remapped-Connection","value":"keep-alive"},{"key":"x-amz-apigw-id","value":"ZhHEJHZdrPEEbhA="},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, PATCH, OPTIONS"},{"key":"x-amzn-Remapped-Date","value":"Sun, 01 Mar 2026 00:16:28 GMT"},{"key":"Access-Control-Max-Age","value":"1728000"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"string\",\n    \"detail\": \"string\",\n    \"timestamp\": \"2019-08-24T14:15:22Z\",\n    \"path\": \"string\",\n    \"errorCode\": \"string\",\n    \"errors\": [\n        \"string\"\n    ]\n}"},{"id":"98629dce-fd5c-49a4-9a2f-023f9e037853","name":"500","originalRequest":{"method":"GET","header":[],"url":"https://api.otccomprarbitcoin.io/v1/user-api/blockchain"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Sun, 01 Mar 2026 00:16:28 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1734"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"c83c1dca-aeb2-4a8a-bb94-036c395e9521"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization"},{"key":"x-amzn-Remapped-Content-Length","value":"1734"},{"key":"x-amzn-Remapped-Connection","value":"keep-alive"},{"key":"x-amz-apigw-id","value":"ZhHEJHZdrPEEbhA="},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, PATCH, OPTIONS"},{"key":"x-amzn-Remapped-Date","value":"Sun, 01 Mar 2026 00:16:28 GMT"},{"key":"Access-Control-Max-Age","value":"1728000"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"string\",\n    \"detail\": \"string\",\n    \"timestamp\": \"2019-08-24T14:15:22Z\",\n    \"path\": \"string\",\n    \"errorCode\": \"string\",\n    \"errors\": [\n        \"string\"\n    ]\n}"}],"_postman_id":"f1c529f1-b3e7-4c95-b41f-94390bc46b7d"}],"id":"73867c1f-d270-4e6c-b438-5f1f9c173875","_postman_id":"73867c1f-d270-4e6c-b438-5f1f9c173875","description":""}],"event":[{"listen":"prerequest","script":{"id":"4bcae29d-511e-4b36-971f-712ae686cbc6","type":"text/javascript","packages":{},"requests":{},"exec":["const companyName = \"Compr@rBitcoin\";\r","const apiKey = pm.collectionVariables.get('API_KEY');\r","const apiSecret = pm.collectionVariables.get('API_SECRET');\r","const algorithm = \"HS256\";\r","const tokenType = \"JWT\";\r","const audience = apiKey;\r","\r","const now = new Date();\r","const expirationTime = Math.floor((new Date(now.getTime() + 5 * 60 * 1000)).getTime() / 1000);\r","const issuedAt = Math.floor(now.getTime() / 1000);\r","const notBefore = Math.floor((new Date(now.getTime() - 3 * 60 * 1000)).getTime() / 1000);\r","\r","// Pegar informações da requisição atual do Postman\r","const requestUri = pm.request.url.toString();\r","const url = new URL(requestUri);\r","const apiUri = url.pathname;\r","\r","console.log(\"requestUri:\", requestUri);\r","console.log(\"apiUri:\", apiUri);\r","\r","// Pegar o body da requisição atual\r","let requestBody;\r","try {\r","    if (pm.request.body && pm.request.body.raw) {\r","        requestBody = JSON.parse(pm.request.body.raw);\r","        console.log(\"requestBody from Postman:\", requestBody);\r","    } else {\r","        requestBody = \"\";\r","        console.log(\"No body found, using empty object\");\r","    }\r","} catch (error) {\r","    console.log(\"Erro ao fazer parse do body:\", error);\r","    requestBody = {};\r","}\r","\r","const authBody = {\r","    \"apiUri\": apiUri,\r","    \"serializedBody\": requestBody\r","};\r","\r","const formattedAuthBody = JSON.stringify(authBody);\r","console.log(\"formattedAuthBody:\", formattedAuthBody);\r","\r","const computedBodyHex = CryptoJS.HmacSHA256(formattedAuthBody, apiSecret).toString();\r","const computedBodyHexBase64 = CryptoJS.enc.Base64.stringify(CryptoJS.enc.Utf8.parse(computedBodyHex));\r","\r","console.log(\"computedBodyHexBase64:\", computedBodyHexBase64);\r","\r","const headerJWT = {\r","    \"alg\": algorithm,\r","    \"typ\": tokenType\r","};\r","\r","const claimJWT = {\r","    \"iss\": companyName,\r","    \"aud\": audience,\r","    \"exp\": expirationTime,\r","    \"iat\": issuedAt,\r","    \"nbf\": notBefore,\r","    \"uri\": apiUri,\r","    \"sub\": apiKey,\r","    \"bodyHash\": computedBodyHexBase64\r","};\r","\r","// Função para codificar base64 URL-safe\r","function base64UrlEscape(str) {\r","    return str.replace(/\\+/g, '-').replace(/\\//g, '_').replace(/=/g, '');\r","}\r","\r","// Função para criar JWT manualmente\r","function createJWT(header, payload, secret) {\r","    const encodedHeader = base64UrlEscape(CryptoJS.enc.Base64.stringify(CryptoJS.enc.Utf8.parse(JSON.stringify(header))));\r","    const encodedPayload = base64UrlEscape(CryptoJS.enc.Base64.stringify(CryptoJS.enc.Utf8.parse(JSON.stringify(payload))));\r","    \r","    const data = encodedHeader + \".\" + encodedPayload;\r","    const signature = base64UrlEscape(CryptoJS.enc.Base64.stringify(CryptoJS.HmacSHA256(data, secret)));\r","    \r","    return data + \".\" + signature;\r","}\r","\r","const encodedJWT = createJWT(headerJWT, claimJWT, apiSecret);\r","\r","// SET HEADERS\r","pm.request.headers.add(`Authorization: Bearer ${encodedJWT}`)\r","pm.request.headers.add(`x-api-key: ${apiKey}`)"]}},{"listen":"test","script":{"id":"b2f9bdf0-044c-4474-83cc-f23f447ce62b","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.otccomprarbitcoin.io/v1/user-api"},{"key":"API_KEY","value":""},{"key":"API_SECRET","value":""},{"key":"----------------------","value":""},{"key":"DEV_baseUrl","value":"https://api.sandbox.otccomprarbitcoin.io/"},{"key":"DEV_API_KEY","value":""},{"key":"DEV_API_SECRET","value":""}]}