{"info":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","description":"<html><head></head><body><h1 id=\"1-about-this-documentation\">1 - About this documentation</h1>\n<p>This documentation references the Bit Capital platform APIs in their versions:</p>\n<ul>\n<li>API - Core version: <code>2.9.x</code></li>\n</ul>\n<p>This documentations intends to inform technical informations only. If you want to know about procedures and operational rules of all environment in the Bit Capital Platform, <a href=\"https://developers.bitcapital.com.br/\">please visit here</a></p>\n<p>It is recommended to read this documentations with two panes layout. It cam be configured in the superior menu of this site.  </p>\n<p>The <strong>BitCapital Core API</strong> allows you to programmatically access data and resources from the Tokenization and Banking platforms, providing an easy way to access and manage financial resources and digital wallets in a fully regulated environment for Brazilian customers.</p>\n<p>The easiest way to get started with the API is to click the Run in Postman button present at the top of the documentation page and use the <strong>Postman App</strong> to send requests.</p>\n<p>For more information, check the <a href=\"https://bitcapital.com.br/develoeprs\">Bitcapital Developers</a> portal.</p>\n<h1 id=\"2-pix-api\">2 - PIX API</h1>\n<p>For our clients that optionally uses PIX Instant payment System, we offer a exclusive API at <a href=\"https://bitcapital.stoplight.io/\">https://bitcapital.stoplight.io/</a><br>Please visit this website for this service.</p>\n<h1 id=\"3-understanding-the-platform\">3 - Understanding the platform</h1>\n<h3 id=\"scopes-and-roles\">Scopes and Roles</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>role</th>\n<th>function</th>\n<th>scopes of permission</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mediator</code></td>\n<td>the <strong>highest possible level</strong> of permission that the Bit Capital client has. This role can manage all domain of your environment.It is with this profile that the client will work to implement the development of his solution. The \"mediator\" credentials are delivered through an exchange of keys by the tech team of both teams. The Bit Capital services contractor is solely responsible for the security of this login acess credentials</td>\n<td><a href=\"https://docs.bitcapital.com.br/?version=latest#b73e76be-c6c1-4a2e-8434-ccfea50cc548\">see the scopes in the login example link in this link</a></td>\n</tr>\n<tr>\n<td><code>consumer</code></td>\n<td>is the role for the consumer of the platform (the costumer). This profile is limited to changes to <strong>your data only</strong>, not allowing neither to search or edit any data others consumers than your own. All <code>consumer</code> accounts are managed by a <code>mediator</code> of the same <code>domain</code></td>\n<td><a href=\"https://docs.bitcapital.com.br/?version=latest#b73e76be-c6c1-4a2e-8434-ccfea50cc548\">see the scopes in the login example link in this link</a></td>\n</tr>\n<tr>\n<td><code>audit</code></td>\n<td>this user has <strong>read-only permission</strong>. Assigned to audit team and compliance team.</td>\n<td><a href=\"https://docs.bitcapital.com.br/?version=latest#b73e76be-c6c1-4a2e-8434-ccfea50cc548\">see the scopes in the login example link in this link</a></td>\n</tr>\n<tr>\n<td><code>operator</code></td>\n<td>designated for <strong>basic operations</strong> such as service desk service. It does not have access to sensitive consumer data.</td>\n<td><a href=\"https://docs.bitcapital.com.br/?version=latest#b73e76be-c6c1-4a2e-8434-ccfea50cc548\">see the scopes in the login example link in this link</a></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"infrastructure\">Infrastructure</h3>\n<p>Every application running inside the platform has its own container instance, isolated in the Bitcapital Cluster and accessible through a specific URL in the BT Core load balancers.</p>\n<blockquote>\n<p><strong>Status and Maintenance:</strong> All systems are monitored in real time, with performance, uptime and maintenance information being publicly available at:<br><a href=\"https://status.btcore.app/\">https://status.btcore.app</a></p>\n</blockquote>\n<h4 id=\"instances\">Instances</h4>\n<p>We provide 2 development environments to your dev team, it's called <em><strong>instances</strong></em>. These are <strong>Testnet</strong> and <strong>Nighlty</strong>.<br>Depending on the kind of contract with Bit Capital, we will make one or both available to you. Today, for partners who hire Banking services is avaliabe the <strong>testnet</strong> instance. For PIX partners, we provide the <strong>nighltly</strong> for your development.<br><em><strong>Tip:</strong></em> <a href=\"https://cloud.google.com/customers/bit-capital?hl=pt-br\"><em><strong>see the Bit Capital Case in Google :)</strong></em></a></p>\n<h4 id=\"domains\">Domains</h4>\n<p>Domain is your domain! It's your space where you as a <code>mediator</code> credential can develop all strategies fo your banking solution. You as <code>mediator</code> has total permission inside your domain.</p>\n<h3 id=\"api-client-credentials\">API client credentials</h3>\n<p>To start using this API you need both a <strong>Client ID</strong> and a <strong>Client Secret</strong>, emitted by the Bit Capital infrastruture team.</p>\n<blockquote>\n<h4 id=\"if-you-dont-have-yours-yet-request-the-yours-right-now-at-httpsdevelopersbitcapitalcombr-or-send-a-mail-to-helloatbitcapitalcombr-or-if-you-are-not-a-millenium-call-us-55-11-4200-bit0\"><strong>If you don't have yours yet, request the yours right now</strong> at <a href=\"https://developers.bitcapital.com.br/\">https://developers.bitcapital.com.br/</a> or send a mail to hello[at]bitcapital.com.br or (if you are not a millenium) call us +55 11 4200-bit0</h4>\n</blockquote>\n<ul>\n<li><strong><code>API_BASE_URL</code></strong>: The instance URL in the load balancer. For example: <code>https://testnet.btcore.app</code> or <code>https://nightly.btcore.app</code> for PIX credentials.</li>\n<li><strong><code>CLIENT_ID</code></strong>: The unique client ID that identifies the platform being used to access the API.</li>\n<li><strong><code>CLIENT_SECRET</code></strong>: A non-expirable secret key, used to securely sign requests to the platform.</li>\n</ul>\n<h3 id=\"login-with-mediator-credentials\">Login with <code>mediator</code> credentials</h3>\n<p>As a partner application running inside the Bitcapital Platform, you'll be provided with a set of Mediator credentials. It allows you to sign users up in the platform, validate their documents and handle all its financial resources.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>curl --location --request POST 'https://testnet.btcore.app/oauth/token' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Authorization: Basic ABEARERTOKEN' \\\n--data-urlencode 'grant_type=password' \\\n--data-urlencode 'username=emailmediator@email.com' \\\n--data-urlencode 'password=astrongpassword'\n\n</code></pre><ul>\n<li><strong>Email</strong>: An email address to contact the mediator in the platform</li>\n<li><strong>Password</strong>: A non-expirable secret key, to access the resources in the platform</li>\n</ul>\n<h3 id=\"login-with-consumer-credentials\">Login with <code>consumer</code> credentials</h3>\n<p>A consumer is an account for the end-user to interact financially with the system. They are grouped into buckets called Domains, which hold some business logics and global limits.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>curl --location --request POST 'https://testnet.btcore.app/oauth/token' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Authorization: Basic ABEARERTOKEN' \\\n--data-urlencode 'grant_type=password' \\\n--data-urlencode 'username=mailconsumer@email.com' \\\n--data-urlencode 'password=astrongpassword'\n\n</code></pre><ul>\n<li><strong>Email</strong>: An email address to identify the consumer in the platform, not communication will be send directly to the consumer</li>\n<li><strong>Password</strong>: An optional passphrase to allow the consumer to interact directly with the BT Core APIs, performing operations without holding a mediator token.</li>\n</ul>\n<h3 id=\"sdk-development\">SDK Development</h3>\n<p>Some examples to develop using SDK.</p>\n<h4 id=\"authenticating-with-client-credentials\">Authenticating with client credentials</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>import Bitcapital from '@bitcapital/core-sdk';\n// Initialize the session instance to authenticate\n// using the Bitcapital Core OAuth 2.0 provider.\nconst bitcapital = Bitcapital.initialize({\n  // Instance URL for REST API calls\n  baseURL: 'https://your-instance.btcore.app',\n  // Credentials for OAuth 2.0 requests\n  clientId: '&lt; YOUR CLIENT_ID HERE &gt;',\n  clientSecret: '&lt; YOUR CLIENT_SECRET HERE &gt;',\n});\ntry {\n  // Authenticate a client (API, service, etc) with the credentials from\n  // the previous Bitcapital initialization method call.\n  // If succeeds and available, the credentials will be stored in the \n  // session instance and in the local storage (for browser environments).\n  const user = await bitcapital.session().clientCredentials();\n  // The session returns a virtual user info and its credentials\n  console.log(user.credentials.accessToken);\n  // To logout and clear the current credentials, use the \"destroy\" action\n  await bitcapital.session().destroy();\n} catch(exception) {\n  // Something went wrong, probably credentials are invalid\n  console.error(exception);\n}\n\n</code></pre><h3 id=\"issuing-custom-assets\">Issuing custom assets</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>import Bitcapital from '@bitcapital/core-sdk';\n// Initialize the session instance to authenticate\n// using the Bitcapital Core OAuth 2.0 provider.\nconst bitcapital = Bitcapital.initialize({\n  // Instance URL for REST API calls\n  baseURL: 'https://your-instance.btcore.app',\n  // Credentials for OAuth 2.0 requests\n  clientId: '&lt; YOUR CLIENT_ID HERE &gt;',\n  clientSecret: '&lt; YOUR CLIENT_SECRET HERE &gt;',\n});\ntry {\n  // Authenticate a client (API, service, etc) with the credentials from\n  // the previous Bitcapital initialization method call.\n  // If succeeds and available, the credentials will be stored in the \n  // session instance and in the local storage (for browser environments).\n  await bitcapital.session().clientCredentials();\n  // List your asset in the platform\n  const asset = await bitcapital.assets().create({\n    name: 'My Awesome Personal Coin',\n    code: 'MAPC',\n  });\n  // Emit some MAPC tokens to a specific wallet\n  let transaction = await bitcapital.assets().emit({\n    code: 'MAPC',\n    amount: '10.00', // The amount to be credited\n    destination: ' WALLET ID '\n  });\n  // P2P payment in MAPC tokens between two consumers\n    transaction = await bitcapital.payments.pay({\n  source: ' WALLET ID ',\n  recipients: [{\n    asset: 'MAPC',\n    amount: '10.00',\n    destination: ' WALLET ID '\n  }];\n  // Destroy some MAPC tokens from a specific wallet\n  transaction = await bitcapital.assets().destroy({\n    code: 'MAPC',\n    amount: '10.00',\n    source: ' WALLET ID '\n  });\n  // To logout and clear the current credentials, use the \"destroy\" action\n  await bitcapital.session().destroy();\n} catch(exception) {\n  // Something went wrong, probably credentials are invalid\n  console.error(exception);\n}\n\n</code></pre><h3 id=\"getting-started\">Getting Started</h3>\n<p>Start by authenticating in the platform using the <strong>OAuth 2.0</strong> protocol. Then, holding a valid access token, you can start by checking the current <code>domain</code> information. This is where your consumer accounts will be created and managed.</p>\n<p><strong>- A simple way to verify if you are logged in the platform</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl --location --request GET \"https://testnet.btcore.app/users/me\" \\\n  --header \"Authorization: Bearer ABEARERTOKEN\" \\\n\n</code></pre>\n<p><strong>- Response of a creation of a `consumer`</strong></p>\n<p>According to your Core version (v2 ou v3) the responses must be a little difference of each one.</p>\n<p>To view the responses, please follow the responses in the <a href=\"https://docs.bitcapital.com.br/?version=latest#a8cada24-8c2f-440a-a11a-05d5136cd11a\"><strong>onboardidng section</strong></a>.</p>\n<h1 id=\"4-schema-responses\">4 - Schema responses</h1>\n<p>This section shows line by line the responses of the most common endpoints on the platform. We believe to be of great help to all developers. In addition, any questions do not hesitate to contact us.</p>\n<h3 id=\"schema-response-for-get-api_base_urlusersid-in-core-v2\"><strong>Schema Response for</strong> <strong><code>GET {{API_BASE_URL}}/users/:id</code></strong> <strong>in Core v2</strong></h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-typescript\">{\n    \"id\": \"c2c7436b-07a4-49bb-9ef5-11c47b6f5461\", //the unique userId, the main Id of all users\n    \"status\": \"active\", // the user state\n    \"name\": \"Name of Consumer\", //concatenated from firstName + lastName\n    \"firstName\": \"Name\",\n    \"lastName\": \"of Consumer\",\n    \"email\": \"name.of.consumer0@gmail.com\",\n    \"role\": \"consumer\", // mediator | audit | operator | consumer\n    \"twoFactorRequired\": false, // avaliable only on-demand\n    \"updatedAt\": \"2021-02-10T23:33:33.706Z\", // ISO 8601\n    \"createdAt\": \"2021-02-10T23:33:33.706Z\",  // ISO 8601\n    \"states\": [ //states of a \"user\" arranged in timeline earlier to older\n        {\n            \"id\": \"b54ec56c-e0d5-4c84-b1be-c3084e0b90c3\",\n            \"status\": \"active\", // 3rd pasristed state of user object\n            \"createdAt\": \"2021-02-10T23:33:51.426Z\",\n            \"updatedAt\": \"2021-02-10T23:33:51.426Z\",\n            \"additionalData\": {}\n        },\n        {\n            \"id\": \"06a57276-d108-4a81-adf5-ff8b11f3243c\",\n            \"status\": \"processing\", //2nd persisted state of user object\n            \"createdAt\": \"2021-02-10T23:33:33.895Z\",\n            \"updatedAt\": \"2021-02-10T23:33:33.895Z\",\n            \"additionalData\": {}\n        },\n        {\n            \"id\": \"e9f07df8-5f27-4bc0-8272-04b1aba26ba2\",\n            \"status\": \"pending\", // 1st persisted state of user object\n            \"createdAt\": \"2021-02-10T23:33:33.710Z\",\n            \"updatedAt\": \"2021-02-10T23:33:33.710Z\",\n            \"additionalData\": {}\n        }\n    ],\n    \"wallets\": [\n        {\n            \"id\": \"a7e56ab1-5e9c-4981-a64a-989483632149\", //identification of walletID\n            \"states\": [ //states of a \"wallet\" arranged in timeline earlier to older\n                {\n                    \"id\": \"1f64e299-3c98-41a5-8e65-6dea10988777\",\n                    \"status\": \"ready\",  // 5th pasristed state of user object\n                    \"createdAt\": \"2021-02-10T23:33:51.283Z\",\n                    \"updatedAt\": \"2021-02-10T23:33:51.283Z\",\n                    \"additionalData\": {}\n                },\n                {\n                    \"id\": \"30cc4e1c-974d-40cf-8de6-f5eb4fb1d5c5\",\n                    \"status\": \"pending_provider_approval\",  // 4th pasristed state of user object\n                    \"createdAt\": \"2021-02-10T23:33:51.051Z\",\n                    \"updatedAt\": \"2021-02-10T23:33:51.051Z\",\n                    \"additionalData\": {}\n                },\n                {\n                    \"id\": \"14b7bcf2-5bcb-460a-aaec-5a5e794d7a60\",\n                    \"status\": \"registered_in_provider\",  // 3rd pasristed state of user object\n                    \"createdAt\": \"2021-02-10T23:33:46.018Z\",\n                    \"updatedAt\": \"2021-02-10T23:33:46.018Z\",\n                    \"additionalData\": {}\n                },\n                {\n                    \"id\": \"9f844a3c-6eaf-487b-abdb-2ce2ebcb6fd6\",\n                    \"status\": \"registered\",  // 2nd pasristed state of user object\n                    \"createdAt\": \"2021-02-10T23:33:36.020Z\",\n                    \"updatedAt\": \"2021-02-10T23:33:36.020Z\",\n                    \"additionalData\": {\n                        \"transaction\": \"162ffc98-e04b-400c-9669-84b84b829578\",\n                        \"hash\": \"9ba8bda7465b592ee610f51b257dd3120cc3e14e50ff7c915820469882bca875\"\n                    }\n                },\n                {\n                    \"id\": \"c8c12a02-cb58-45e7-ada3-6ab62e138d07\",\n                    \"status\": \"pending\",  // 1st pasristed state of user object\n                    \"createdAt\": \"2021-02-10T23:33:33.735Z\",\n                    \"updatedAt\": \"2021-02-10T23:33:33.735Z\",\n                    \"additionalData\": {\n                        \"acceptProviderLegalTerms\": true,\n                        \"fingerprint\": \"PostmanRuntime/7.26.8#::ffff:10.142.15.240\"\n                    }\n                }\n            ],\n            \"stellar\": {\n                \"publicKey\": \"GDHSJMK7PUEVRFGFFFFH6A3WCAHL7I3ZWR5HER3HKNRISNO7GXXIZRYH\" //publicKey in Stellar blockchain\n            },\n            \"updatedAt\": \"2021-02-10T23:33:33.732Z\",\n            \"createdAt\": \"2021-02-10T23:33:33.732Z\",\n            \"deletedAt\": null,\n            \"status\": \"ready\",  // persisted status of wallet\n            \"additionalData\": {} // additional data if necessary\n        }\n    ],\n    \"consumer\": { //consumer has all personal data of a user\n        \"id\": \"4fc0324c-2e23-4c72-9b09-c2d912be3213\", // the consumerId (not the main id of platform)\n        \"birthCity\": \"Sao Paulo\",\n        \"birthState\": \"SP\",\n        \"birthday\": \"1980-02-29T12:00:00.000Z\", //ISO 8601\n        \"motherName\": \"Mae do user PF\", \n        \"civilStatus\": \"single\", // single | married | divorced\n        \"financialProfit\": \"100.00\", //string with dot separator\n        \"financialEquity\": \"100.00\", //string with dot separator\n        \"type\": \"personal\", // personal | corporate\n        \"pep\": false, // political exposure\n        \"taxId\": \"12345678912\", // cpf | cnpj\n        \"status\": \"ready\", // last persisted status of consumerId \n        \"states\": [ //states of \"consumer\" arranged in timeline earlier to older\n            {\n                \"id\": \"601ef672-4c5a-4d9b-888b-003b97f2c384\",\n                \"status\": \"ready\", // 7th persisted state of user object\n                \"createdAt\": \"2021-02-10T23:33:51.461Z\",\n                \"updatedAt\": \"2021-02-10T23:33:51.461Z\",\n                \"additionalData\": {}\n            },\n            {\n                \"id\": \"b81642f5-8a1c-4411-b7ec-c95c624d8351\",\n                \"status\": \"pending_billing_plan_subscription\", // 6th persisted state of user object\n                \"createdAt\": \"2021-02-10T23:33:51.315Z\",\n                \"updatedAt\": \"2021-02-10T23:33:51.315Z\",\n                \"additionalData\": {}\n            },\n            {\n                \"id\": \"4c89c87c-fe89-4257-892f-91110449844e\",\n                \"status\": \"processing_provider_documents\", // 5th persisted state of user object\n                \"createdAt\": \"2021-02-10T23:33:51.091Z\",\n                \"updatedAt\": \"2021-02-10T23:33:51.091Z\",\n                \"additionalData\": {}\n            },\n            {\n                \"id\": \"0b12c0f5-b751-450c-a4bc-5d0a6af65c82\",\n                \"status\": \"processing_wallets\", // 4th persisted state of user object\n                \"createdAt\": \"2021-02-10T23:33:34.149Z\",\n                \"updatedAt\": \"2021-02-10T23:33:34.149Z\",\n                \"additionalData\": {}\n            },\n            {\n                \"id\": \"19d89969-9ba3-4a25-b3ab-02e209debc25\",\n                \"status\": \"pending_legal_acceptance\", // 3rd persisted state of user object\n                \"createdAt\": \"2021-02-10T23:33:34.007Z\",\n                \"updatedAt\": \"2021-02-10T23:33:34.007Z\",\n                \"additionalData\": {}\n            },\n            {\n                \"id\": \"f2b54505-57ea-40b3-94db-fa2f4bd1bbbc\",\n                \"status\": \"processing_documents\", // 2nd persisted state of user object\n                \"createdAt\": \"2021-02-10T23:33:33.932Z\",\n                \"updatedAt\": \"2021-02-10T23:33:33.932Z\",\n                \"additionalData\": {}\n            },\n            {\n                \"id\": \"15ca977a-9e5e-4113-a26a-7e3e3e319397\",\n                \"status\": \"pending_documents\", // 1st persisted state of user object\n                \"createdAt\": \"2021-02-10T23:33:33.715Z\",\n                \"updatedAt\": \"2021-02-10T23:33:33.715Z\",\n                \"additionalData\": {}\n            }\n        ],\n        \"updatedAt\": \"2021-02-10T23:33:51.461Z\",\n        \"createdAt\": \"2021-02-10T23:33:33.713Z\",\n        \"phones\": [\n            {\n                \"default\": true, // at least one must be st defeult to be the number to be validadet by sms\n                \"id\": \"b1140153-2a52-43af-a73a-7b65a8c9909e\",\n                \"number\": \"999888999\",\n                \"code\": \"27\",\n                \"countryCode\": \"55\",\n                \"fullNumber\": \"+5527999888999\", //concatenated field\n                \"verifiedAt\": \"2021-02-10T23:50:33.728Z\", //if \"null\" means the phone is not validated yet\n                \"updatedAt\": \"2021-02-10T23:33:33.728Z\",\n                \"createdAt\": \"2021-02-10T23:33:33.728Z\"\n            }\n        ],\n        \"addresses\": [\n            {\n                \"id\": \"6b96b768-19e7-4cdd-bce6-9d4f3f27aa9a\",\n                \"status\": \"own\",\n                \"default\": true, // at least one must be st default to receive the physical card\n                \"reference\": \"pto de referencia\",\n                \"country\": \"BR\",\n                \"state\": \"ES\",\n                \"city\": \"Vitoria\",\n                \"code\": \"29018280\",\n                \"neighborhood\": \"Centro\",\n                \"complement\": \"casa 01\",\n                \"number\": \"100\",\n                \"street\": \"Parque Moscoso\",\n                \"updatedAt\": \"2021-02-10T23:33:33.720Z\",\n                \"createdAt\": \"2021-02-10T23:33:33.720Z\"\n            }\n        ]\n    },\n    \"domain\": { //domain of the user\n        \"id\": \"1294999d-c4c1-412a-933a-2b5c750593a4\", //the domain of the user is in\n        \"name\": \"Bit Capital Network\", //name of the domain\n        \"role\": \"root\" // type os domain, default is \"commom\"\n    }\n}\n\n</code></pre>\n<h3 id=\"schema-response-for-get-api_base_urlusersid-in-core-v3\"><strong>Schema Response for</strong> <strong><code>GET {{API_BASE_URL}}/users/:id</code></strong> <strong>in Core v3</strong></h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"id\": \"31224b73-5b26-4cac-b74e-e30ef1f99384\",\n    \"status\": \"active\", // the user state\n    \"name\": \"User Name\", //concatenated from firstName + lastName\n    \"firstName\": \"User Name\",\n    \"lastName\": \"Name\",\n    \"username\": \"emailuser@email.com\", //for best practice, it must be the same as email field\n    \"email\": \"emailuser@email.com\",\n    \"role\": \"consumer\",  // mediator | audit | operator | consumer\n    \"twoFactorRequired\": false, // avaliable only on-demand\n    \"updatedAt\": \"2021-03-19T17:58:03.963Z\",\n    \"createdAt\": \"2021-03-17T15:27:13.298Z\",\n    \"states\": [ //states of a \"user\" arranged in timeline earlier to older\n        {\n            \"id\": \"d096f915-8e47-442c-8a90-24a4b4074fb7\",\n            \"status\": \"active\",  // 3rd persisted state of object\n            \"createdAt\": \"2021-03-17T15:27:17.223Z\",\n            \"updatedAt\": \"2021-03-17T15:27:17.223Z\",\n            \"additionalData\": {\n                \"pod\": \"nightly-core-core-api-consumer-workers-6fdb854df7-5qv6k\"\n            }\n        },\n        {\n            \"id\": \"c378e88c-3d61-4fc2-801f-6e1f580fd3c1\",\n            \"status\": \"processing\",  // 2nd persisted state of object\n            \"createdAt\": \"2021-03-17T15:27:15.852Z\",\n            \"updatedAt\": \"2021-03-17T15:27:15.852Z\",\n            \"additionalData\": {\n                \"pod\": \"nightly-core-core-api-consumer-workers-6fdb854df7-5qv6k\"\n            }\n        },\n        {\n            \"id\": \"6b599e5f-e9cf-49ab-b740-a4228d1c7be7\",\n            \"status\": \"pending\",  // 1st persisted state of object\n            \"createdAt\": \"2021-03-17T15:27:13.305Z\",\n            \"updatedAt\": \"2021-03-17T15:27:13.305Z\",\n            \"additionalData\": {}\n        }\n    ],\n    \"wallets\": [\n        {\n            \"id\": \"c2f15407-a567-4795-9f4d-a4dffcc40ae6\",\n            \"status\": \"ready\", //transient status of wallet\n            \"states\": [\n                {\n                    \"id\": \"712fe93f-aabe-48f7-858d-4dfe4068044e\",\n                    \"status\": \"registered\", // 2nd persisted state of object\n                    \"createdAt\": \"2021-03-17T15:27:17.217Z\",\n                    \"updatedAt\": \"2021-03-17T15:27:17.217Z\",\n                    \"additionalData\": {\n                        \"transaction\": \"ea278329-1a5a-454f-a898-54b079a3e0b8\",\n                        \"hash\": \"fab7e0a36eb0ef5b4c27b4eb2897eb57225916c4a56e4718a1fb08982dd73455\"\n                    }\n                },\n                {\n                    \"id\": \"92d488c8-3455-45de-90aa-1b87485e7ed9\",\n                    \"status\": \"pending\", // 1st persisted state of object\n                    \"createdAt\": \"2021-03-17T15:27:13.517Z\",\n                    \"updatedAt\": \"2021-03-17T15:27:13.517Z\",\n                    \"additionalData\": {}\n                }\n            ],\n            \"stellar\": {\n                \"publicKey\": \"GA7S2HWITAOMQORM6KOWFZTBZ3GSVF5ZFRNDHYJJBP7XXM54GHSCJP63\"\n            },\n            \"updatedAt\": \"2021-03-17T15:27:13.498Z\",\n            \"createdAt\": \"2021-03-17T15:27:13.498Z\",\n            \"deletedAt\": null,\n            \"assetRegistrations\": [\n                {\n                    \"id\": \"b21ea196-c91d-4741-b5ab-bfe9ba5f42f4\",\n                    \"status\": \"ready\",  //transient status of asset required:true\n                    \"asset\": {\n                        \"id\": \"33b986c9-23ee-4262-ada7-0c9ed1b07b66\",\n                        \"name\": \"BRL Parati\", //name of asset\n                        \"code\": \"BRLP\", //assetCode of asset\n                        \"root\": true, // main asset of user\n                        \"required\": true, // it means this asset is required dy default\n                        \"provider\": \"parati-provider\" // provider of this service\n                    },\n                    \"reportId\": \"3198e092-73e5-48fe-83ce-11f1085dc82a\", //Id of compliance report for this asset\n                    \"createdAt\": \"2021-03-17T15:27:13.620Z\",\n                    \"updatedAt\": \"2021-03-17T15:27:13.283Z\",\n                    \"deletedAt\": null,\n                    \"states\": [\n                        {\n                            \"id\": \"f1220b16-c4b3-47c4-9600-2e1d84d3d197\",\n                            \"status\": \"ready\", // 7th persisted state of object\n                            \"createdAt\": \"2021-03-17T15:43:02.960Z\",\n                            \"updatedAt\": \"2021-03-17T15:43:02.960Z\",\n                            \"additionalData\": {\n                                \"pod\": \"nightly-core-core-api-consumer-workers-6fdb854df7-5qv6k\"\n                            }\n                        },\n                        {\n                            \"id\": \"0f8e1d5a-980f-4cf2-ba31-215d182efee6\",\n                            \"status\": \"approved\", // 5th persisted state of object\n                            \"createdAt\": \"2021-03-17T15:43:00.086Z\",\n                            \"updatedAt\": \"2021-03-17T15:43:00.086Z\",\n                            \"additionalData\": {\n                                \"pod\": \"nightly-core-core-api-consumer-workers-6fdb854df7-dpzwb\"\n                            }\n                        },\n                        {\n                            \"id\": \"c7257560-49bd-4e2b-bd3f-5b1fad9863ac\",\n                            \"status\": \"processing\", // 4th persisted state of object\n                            \"createdAt\": \"2021-03-17T15:42:58.461Z\",\n                            \"updatedAt\": \"2021-03-17T15:42:58.461Z\",\n                            \"additionalData\": {\n                                \"pod\": \"nightly-core-core-api-consumer-workers-6fdb854df7-dpzwb\"\n                            }\n                        },\n                        {\n                            \"id\": \"0801ee90-69a7-4228-bbc3-33d8f182dfa2\",\n                            \"status\": \"processing\", // 3rd persisted state of object\n                            \"createdAt\": \"2021-03-17T15:42:58.453Z\",\n                            \"updatedAt\": \"2021-03-17T15:42:58.453Z\",\n                            \"additionalData\": {\n                                \"pod\": \"nightly-core-core-api-consumer-workers-6fdb854df7-dpzwb\"\n                            }\n                        },\n                        {\n                            \"id\": \"44b206c4-a5d4-4512-b180-c07224810d0e\",\n                            \"status\": \"pending_documents\", // 2nd persisted state of object\n                            \"createdAt\": \"2021-03-17T15:27:13.821Z\",\n                            \"updatedAt\": \"2021-03-17T15:27:13.821Z\",\n                            \"additionalData\": {\n                                \"pod\": \"nightly-core-core-api-server-785c7c85f-59rhr\"\n                            }\n                        },\n                        {\n                            \"id\": \"ff128e54-f7c9-4d69-a016-74b7ecf705d8\",\n                            \"status\": \"pending_registration\", // 1st persisted state of object\n                            \"createdAt\": \"2021-03-17T15:27:13.639Z\",\n                            \"updatedAt\": \"2021-03-17T15:27:13.639Z\",\n                            \"additionalData\": {}\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"5af3d3fc-f225-4464-866f-1a839fac9d5e\",\n                    \"status\": \"ready\", //transient status of this asset\n                    \"asset\": {\n                        \"id\": \"150e9076-72cb-43b5-a3db-956f7584c422\",\n                        \"name\": \"Test Coin\", //name of asset\n                        \"code\": \"TCN\", //assetCode of asset\n                        \"root\": false, // is not main asset of user\n                        \"required\": false, // it means this asset is not required dy default\n                        \"provider\": null // provider of this service\n                    },\n                    \"reportId\": null, // this asset has not required compliance check\n                    \"createdAt\": \"2021-03-17T15:27:13.835Z\",\n                    \"updatedAt\": \"2021-03-17T15:27:13.835Z\",\n                    \"deletedAt\": null,\n                    \"states\": [\n                        {\n                            \"id\": \"32b09de7-b3e6-4fa1-87a5-6d474372c668\",\n                            \"status\": \"ready\", // 3rd persisted state of object\n                            \"createdAt\": \"2021-03-17T15:27:21.954Z\",\n                            \"updatedAt\": \"2021-03-17T15:27:21.954Z\",\n                            \"additionalData\": {\n                                \"pod\": \"nightly-core-core-api-consumer-workers-6fdb854df7-dpzwb\"\n                            }\n                        },\n                        {\n                            \"id\": \"626ed6f0-6333-45a5-83f5-dcd14f4ed96e\",\n                            \"status\": \"approved\", // 2nd persisted state of object\n                            \"createdAt\": \"2021-03-17T15:27:14.496Z\",\n                            \"updatedAt\": \"2021-03-17T15:27:14.496Z\",\n                            \"additionalData\": {\n                                \"pod\": \"nightly-core-core-api-consumer-workers-6fdb854df7-5qv6k\"\n                            }\n                        },\n                        {\n                            \"id\": \"6bec3a68-bcae-45dd-b458-87638c9e1bef\",\n                            \"status\": \"pending_registration\", // 1st persisted state of object\n                            \"createdAt\": \"2021-03-17T15:27:13.850Z\",\n                            \"updatedAt\": \"2021-03-17T15:27:13.850Z\",\n                            \"additionalData\": {}\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"d100e159-633d-46a2-a4bb-c0be05a9acfa\",\n                    \"status\": \"ready\", //transient status of this asset\n                    \"asset\": {\n                        \"id\": \"63f4af75-8bfb-4925-ade0-265337770297\",\n                        \"name\": \"BRL Bs2\", //name of asset\n                        \"code\": \"BRLB\", //assetCode of asset\n                        \"root\": false, // it is not main asset of user\n                        \"required\": false, // it means this asset is not required by default\n                        \"provider\": \"bs2\" // provider of this service\n                    },\n                    \"reportId\": null, // this asset has not required compliance check\n                    \"createdAt\": \"2021-03-17T15:27:13.891Z\",\n                    \"updatedAt\": \"2021-03-17T15:27:13.891Z\",\n                    \"deletedAt\": null,\n                    \"states\": [\n                        {\n                            \"id\": \"e1f94265-485f-46a9-83bf-2552c4565982\",\n                            \"status\": \"ready\", // 3rd persisted state of object\n                            \"createdAt\": \"2021-03-17T15:27:21.952Z\",\n                            \"updatedAt\": \"2021-03-17T15:27:21.952Z\",\n                            \"additionalData\": {\n                                \"pod\": \"nightly-core-core-api-consumer-workers-6fdb854df7-5qv6k\"\n                            }\n                        },\n                        {\n                            \"id\": \"fbb799f7-f94a-495f-8bdc-8c755af33ea8\",\n                            \"status\": \"approved\", // 2nd persisted state of object\n                            \"createdAt\": \"2021-03-17T15:27:15.369Z\",\n                            \"updatedAt\": \"2021-03-17T15:27:15.369Z\",\n                            \"additionalData\": {\n                                \"pod\": \"nightly-core-core-api-consumer-workers-6fdb854df7-dpzwb\"\n                            }\n                        },\n                        {\n                            \"id\": \"62cb8104-d03c-4440-b1fa-49760b6a2db7\",\n                            \"status\": \"pending_registration\", // 1st persisted state of object\n                            \"createdAt\": \"2021-03-17T15:27:13.917Z\",\n                            \"updatedAt\": \"2021-03-17T15:27:13.917Z\",\n                            \"additionalData\": {}\n                        }\n                    ]\n                }\n            ],\n            \"assets\": [ //a object that resumes all assets for this user\n                {\n                    \"id\": \"33b986c9-23ee-4262-ada7-0c9ed1b07b66\",\n                    \"name\": \"BRL Parati\",\n                    \"code\": \"BRLP\",\n                    \"root\": true,\n                    \"required\": true,\n                    \"provider\": \"parati-provider\"\n                },\n                {\n                    \"id\": \"150e9076-72cb-43b5-a3db-956f7584c422\",\n                    \"name\": \"Test Coin\",\n                    \"code\": \"TCN\",\n                    \"root\": false,\n                    \"required\": false,\n                    \"provider\": null\n                },\n                {\n                    \"id\": \"63f4af75-8bfb-4925-ade0-265337770297\",\n                    \"name\": \"BRL Bs2\",\n                    \"code\": \"BRLB\",\n                    \"root\": false,\n                    \"required\": false,\n                    \"provider\": \"bs2\"\n                }\n            ],\n            \"additionalData\": {\n                \"acceptProviderLegalTerms\": true,\n                \"fingerprint\": \"PostmanRuntime/7.26.10#35.237.4.70\" //the fingertip of \"pending_legal_terms\" acceptance\n            }\n        }\n    ],\n    \"consumer\": {\n        \"id\": \"400f5836-bfbe-40c2-a961-9be96bc884b7\", //id of consumer ( it is not the main Id of user)\n        \"birthCity\": null, \n        \"birthState\": null,\n        \"birthday\": \"1980-02-29T00:00:00.000Z\",\n        \"motherName\": \"Mae do userPF\",\n        \"civilStatus\": \"single\",\n        \"financialProfit\": \"1000.00\",\n        \"financialEquity\": \"1000.00\",\n        \"type\": \"personal\",\n        \"pep\": false,\n        \"taxId\": \"08538995766\",\n        \"status\": \"ready\",\n        \"states\": [\n            {\n                \"id\": \"584aaa09-7e26-4850-888c-a41326f8e903\",\n                \"status\": \"ready\",\n                \"createdAt\": \"2021-03-17T15:27:17.500Z\",\n                \"updatedAt\": \"2021-03-17T15:27:17.500Z\",\n                \"additionalData\": {\n                    \"pod\": \"nightly-core-core-api-consumer-workers-6fdb854df7-5qv6k\"\n                }\n            },\n            {\n                \"id\": \"f6a7c3b7-a53d-478a-a5e1-64a85b5a587c\",\n                \"status\": \"pending_billing_plan_subscription\",\n                \"createdAt\": \"2021-03-17T15:27:16.403Z\",\n                \"updatedAt\": \"2021-03-17T15:27:16.403Z\",\n                \"additionalData\": {\n                    \"pod\": \"nightly-core-core-api-consumer-workers-6fdb854df7-5qv6k\"\n                }\n            },\n            {\n                \"id\": \"5f9bf03f-5551-47d8-aa8a-001bb2b5eb27\",\n                \"status\": \"pending_legal_acceptance\",\n                \"createdAt\": \"2021-03-17T15:27:13.325Z\",\n                \"updatedAt\": \"2021-03-17T15:27:13.325Z\",\n                \"additionalData\": {}\n            }\n        ],\n        \"updatedAt\": \"2021-03-17T15:27:17.500Z\",\n        \"createdAt\": \"2021-03-17T15:27:13.318Z\",\n        \"phones\": [\n            {\n                \"default\": true,\n                \"id\": \"a86ca4ff-2b42-41a6-822e-1dcd7eb2bf03\",\n                \"number\": \"888555444\",\n                \"code\": \"27\",\n                \"countryCode\": \"55\",\n                \"fullNumber\": \"+5527888555444\",\n                \"verifiedAt\": null,\n                \"updatedAt\": \"2021-03-17T15:27:13.438Z\",\n                \"createdAt\": \"2021-03-17T15:27:13.438Z\"\n            }\n        ],\n        \"addresses\": [\n            {\n                \"id\": \"ab36107a-cc95-4f16-9287-cce1a2d5c642\",\n                \"status\": \"own\",\n                \"default\": true,\n                \"reference\": \"pto de referencia\",\n                \"country\": \"BR\",\n                \"state\": \"ES\",\n                \"city\": \"Vitoria\",\n                \"code\": \"29018280\",\n                \"neighborhood\": \"Centro\",\n                \"complement\": \"casa 01\",\n                \"number\": \"100\",\n                \"street\": \"Parque Moscoso\",\n                \"updatedAt\": \"2021-03-17T15:27:13.423Z\",\n                \"createdAt\": \"2021-03-17T15:27:13.423Z\"\n            }\n        ]\n    },\n    \"domain\": {\n        \"id\": \"7f717a62-a2d2-4fec-a8aa-ce2b2dbbdf4e\",\n        \"name\": \"NOSSO DOMINIO\",\n        \"role\": \"common\"\n    }\n} \n\n</code></pre><h3 id=\"schema-response-for-get-api_base_urlwalletsid-in-core-v2\"><strong>Schema response for</strong> <strong><code>GET {{API_BASE_URL}}/wallets/:id</code></strong> <strong>in Core v2</strong></h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"id\": \"e744b6f8-ecb4-4e32-8cd1-d199d100a5e3\", //walletID\n    \"status\": \"ready\", // transient sattus of wallet\n    \"states\": [\n        {\n            \"id\": \"807235c8-3bc4-4e0d-834a-a60ec56cc9eb\",\n            \"status\": \"registered\", //2nd persisted status of wallet\n            \"createdAt\": \"2021-03-24T13:15:11.038Z\",\n            \"updatedAt\": \"2021-03-24T13:15:11.038Z\",\n            \"additionalData\": {\n                \"transaction\": \"196a2109-9197-4c2b-9a58-709dbf338f78\",\n                \"hash\": \"593349467a7dd7aa418099dc2925fcba732fbc8c45e051638b95a752d8522387\"\n            }\n        },\n        {\n            \"id\": \"74b7c148-dabe-408d-a443-31562b10a80a\",\n            \"status\": \"pending\", //1st persisted status of wallet\n            \"createdAt\": \"2021-03-24T13:15:02.121Z\",\n            \"updatedAt\": \"2021-03-24T13:15:02.121Z\",\n            \"additionalData\": {}\n        }\n    ],\n    \"stellar\": {\n        \"publicKey\": \"GDDVHXQRY2W35TTRXLKUTPMZCP3OZTN6OCZLN4F2KYTZLZEBDQXDYP4R\" //blochchain hash registration\n    },\n    \"updatedAt\": \"2021-03-24T13:15:02.112Z\",\n    \"createdAt\": \"2021-03-24T13:15:02.112Z\",\n    \"deletedAt\": null,\n    \"user\": {\n        \"id\": \"119fc608-64f6-4f83-8344-5c322b35d910\",\n        \"name\": \"Name of Consumer\", //consumer owner of wallet\n        \"firstName\": \"Name of Consumer\",\n        \"lastName\": \"lastname od Consumer\",\n        \"username\": \"consumer@email.com\", \n        \"email\": \"consumer@email.com\",\n        \"role\": \"consumer\", // role\n        \"twoFactorRequired\": false, // two factor not active in this consumer\n        \"updatedAt\": \"2021-03-24T13:15:01.973Z\",\n        \"createdAt\": \"2021-03-24T13:15:01.973Z\",\n        \"domain\": {\n            \"id\": \"c0346fb6-f606-480e-bf65-8d77d0730d60\", //domainID of consumer\n            \"name\": \"trinus tech\", // domain of consumer\n            \"role\": \"common\"\n        }\n    },\n    \"additionalData\": {\n        \"acceptProviderLegalTerms\": true,\n        \"fingerprint\": \"PostmanRuntime/7.26.8#189.120.78.15\" //fingertip of where consumer has acceptep the legal terms to use the plaftorm\n    },\n    \"assets\": [ // list of all asset in thie wallet\n        {\n            \"pendingBalance\": {\n                \"amount\": \"13.0000000\" // if some transfers still not \"settled\" it will show as \"pendingBalance\"\n            },\n            \"balance\": \"87.0000000\",\n            \"authorizableBalance\": \"87.0000000\", //THE REAL AMOUNT AVALIABLE here is where must be show to consumer front\n            \"consolidatedBalance\": \"100.0000000\",\n            \"provider\": \"parati-provider\", //provider of this asset\n            \"code\": \"BRLP\", //accet code\n            \"name\": \"BRL Parati\", //asset name\n            \"deletedAt\": null,\n            \"updatedAt\": {},\n            \"createdAt\": {},\n            \"id\": \"c4b54553-935b-461c-b5e0-6dbc8a39b72b\" // assetID\n        },\n        {\n            \"pendingBalance\": {\n                \"amount\": \"0.0000000\" // if some transfers still not \"settled\" it will show as \"pendingBalance\"\n            },\n            \"balance\": \"0.0000000\",\n            \"authorizableBalance\": \"0.0000000\", //THE REAL AMOUNT AVALIABLE here is where must be show to consumer front (if necessary)\n            \"consolidatedBalance\": \"0.0000000\",\n            \"provider\": \"bs2\", //provider of this asset\n            \"code\": \"BRLB\", //asset code\n            \"name\": \"BRL BS2\", //asset name\n            \"deletedAt\": null,\n            \"updatedAt\": {},\n            \"createdAt\": {},\n            \"id\": \"06099790-f403-41ce-8882-38ceb2865d68\" //assetID\n        },\n        {\n            \"pendingBalance\": {\n                \"amount\": \"0.0000000\"\n            },\n            \"balance\": \"0.0000000\",\n            \"authorizableBalance\": \"0.0000000\",\n            \"consolidatedBalance\": \"0.0000000\",\n            \"provider\": \"celcoin-provider\",\n            \"code\": \"BRLN\",\n            \"name\": \"BRL Celcoin\",\n            \"deletedAt\": null,\n            \"updatedAt\": {},\n            \"createdAt\": {},\n            \"id\": \"f046702e-f76f-4f03-9686-2975748a3a71\"\n        }\n    ]\n}\n\n</code></pre><h3 id=\"schema-response-for-get-api_base_urlwalletsid-in-core-v3\"><strong>Schema Response for</strong> <strong><code>GET {{API_BASE_URL}}/wallets/:id</code></strong> <strong>in Core v3</strong></h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"id\": \"c2f15407-a567-4795-9f4d-a4dffcc40ae6\",\n    \"status\": \"ready\",\n    \"states\": [\n        {\n            \"id\": \"712fe93f-aabe-48f7-858d-4dfe4068044e\",\n            \"status\": \"registered\",\n            \"createdAt\": \"2021-03-17T15:27:17.217Z\",\n            \"updatedAt\": \"2021-03-17T15:27:17.217Z\",\n            \"additionalData\": {\n                \"transaction\": \"ea278329-1a5a-454f-a898-54b079a3e0b8\",\n                \"hash\": \"fab7e0a36eb0ef5b4c27b4eb2897eb57225916c4a56e4718a1fb08982dd73455\"\n            }\n        },\n        {\n            \"id\": \"92d488c8-3455-45de-90aa-1b87485e7ed9\",\n            \"status\": \"pending\",\n            \"createdAt\": \"2021-03-17T15:27:13.517Z\",\n            \"updatedAt\": \"2021-03-17T15:27:13.517Z\",\n            \"additionalData\": {}\n        }\n    ],\n    \"stellar\": {\n        \"publicKey\": \"GA7S2HWITAOMQORM6KOWFZTBZ3GSVF5ZFRNDHYJJBP7XXM54GHSCJP63\"\n    },\n    \"updatedAt\": \"2021-03-17T15:27:13.498Z\",\n    \"createdAt\": \"2021-03-17T15:27:13.498Z\",\n    \"deletedAt\": null,\n    \"user\": {\n        \"id\": \"31224b73-5b26-4cac-b74e-e30ef1f99384\",\n        \"name\": \"Brunao Vieira\",\n        \"firstName\": \"Brunao\",\n        \"lastName\": \"Vieira\",\n        \"username\": \"brunovieria231@email.com\",\n        \"email\": \"a_semana_inteir@fiqueitees.pe\",\n        \"role\": \"consumer\",\n        \"twoFactorRequired\": false,\n        \"updatedAt\": \"2021-03-19T17:58:03.963Z\",\n        \"createdAt\": \"2021-03-17T15:27:13.298Z\",\n        \"domain\": {\n            \"id\": \"7f717a62-a2d2-4fec-a8aa-ce2b2dbbdf4e\",\n            \"name\": \"NOSSO DOMINIO\",\n            \"role\": \"common\"\n        }\n    },\n    \"additionalData\": {\n        \"acceptProviderLegalTerms\": true,\n        \"fingerprint\": \"PostmanRuntime/7.26.10#35.237.4.70\"\n    },\n    \"assets\": [\n        {\n            \"pendingBalance\": {\n                \"amount\": \"0.0000000\"\n            },\n            \"balance\": \"89.0000000\",\n            \"authorizableBalance\": \"89.0000000\",\n            \"consolidatedBalance\": \"89.0000000\",\n            \"provider\": \"parati-provider\",\n            \"code\": \"BRLP\",\n            \"name\": \"BRL Parati\",\n            \"deletedAt\": null,\n            \"updatedAt\": {},\n            \"createdAt\": {},\n            \"id\": \"33b986c9-23ee-4262-ada7-0c9ed1b07b66\"\n        },\n        {\n            \"pendingBalance\": {\n                \"amount\": \"0.0000000\"\n            },\n            \"balance\": \"0.0000000\",\n            \"authorizableBalance\": \"0.0000000\",\n            \"consolidatedBalance\": \"0.0000000\",\n            \"provider\": null,\n            \"code\": \"TCN\",\n            \"name\": \"Test Coin\",\n            \"deletedAt\": null,\n            \"updatedAt\": {},\n            \"createdAt\": {},\n            \"id\": \"150e9076-72cb-43b5-a3db-956f7584c422\"\n        },\n        {\n            \"pendingBalance\": {\n                \"amount\": \"0.0000000\"\n            },\n            \"balance\": \"0.0000000\",\n            \"authorizableBalance\": \"0.0000000\",\n            \"consolidatedBalance\": \"0.0000000\",\n            \"provider\": \"bs2\",\n            \"code\": \"BRLB\",\n            \"name\": \"BRL Bs2\",\n            \"deletedAt\": null,\n            \"updatedAt\": {},\n            \"createdAt\": {},\n            \"id\": \"63f4af75-8bfb-4925-ade0-265337770297\"\n        }\n    ]\n}\n\n</code></pre><h3 id=\"schema-response-for-payment-boleto-in\"><strong>Schema response for payment</strong> <strong><code>BOLETO-IN</code></strong></h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>    {\n        \"banking\": null, // not aplicable in boleto_in type payment \n        \"payments\": [\n            {\n                \"status\": \"settled\", // final sattus of a PAYMENT\n                \"type\": \"boleto_in\", // type of payment\n                \"destination\": {\n                    \"id\": \"80349602-ad67-4737-a06b-e9918b51a38e\", // the walletID of destination consumer\n                    \"stellar\": {\n                        \"publicKey\": \"GBIMVYYXYLNZ5ZW5WVL36MHG2G26VPOBEQ5KDGIMCDGXOKFRCBSSDUTZ\" // blockchain register of this transaction\n                    },\n                    \"updatedAt\": \"2020-09-16T19:38:59.663Z\",\n                    \"createdAt\": \"2020-09-16T19:38:59.663Z\",\n                    \"deletedAt\": null,\n                    \"user\": {\n                        \"id\": \"c07bd96c-59aa-4677-8bb6-9765a83f205d\", //userID consumer destination\n                        \"name\": \"Bruno da Silva Vieira\", //name ofd estination consumer\n                        \"firstName\": \"Bruno da Silva\",\n                        \"lastName\": \"Vieira\",\n                        \"email\": \"bruno.vieira@outlook.com\",\n                        \"role\": \"consumer\",\n                        \"twoFactorRequired\": false,\n                        \"updatedAt\": \"2021-03-26T17:24:36.576Z\",\n                        \"createdAt\": \"2020-09-16T19:38:58.753Z\"\n                    },\n                    \"additionalData\": {}\n                },\n                \"amount\": \"5.01\", // tha amount of payment\n                \"asset\": {\n                    \"id\": \"98a4e3eb-cfef-4f64-b7c8-fcfe29e6378f\",\n                    \"name\": \"BRL BS2\", // name of asset of this payment\n                    \"code\": \"BRLB\", // asset code of this paymen\n                    \"root\": false, // not root asset\n                    \"provider\": \"bs2\", // provider of asset\n                    \"required\": false, //not required asset \n                    \"updatedAt\": \"2020-08-05T23:53:47.775Z\",\n                    \"createdAt\": \"2020-08-05T23:53:47.775Z\"\n                },\n                \"scheduleFor\": null, // not aplicable in boleto_in type payment \n                \"updatedAt\": \"2021-02-18T10:25:45.554Z\",\n                \"createdAt\": \"2021-02-18T10:25:45.554Z\",\n                \"id\": \"aca994b4-ad3e-4819-b0b5-4106376d5eb9\" // paymentID of destination side of transaction\n            }\n        ],\n        \"source\": {\n            \"id\": \"106d6869-d475-4e38-b586-905acd80a720\", //walletID of source of payment\n            \"root\": true,\n            \"stellar\": {\n                \"publicKey\": \"GAGPSIHDVEMMMH55GI3YNNR4KPU4OKZGF3XBOWYRCJWCNZNT4PHVI2DC\" // registration of this wallet in blockchain\n            },\n            \"updatedAt\": \"2020-05-05T20:18:03.421Z\",\n            \"createdAt\": \"2020-05-05T20:18:03.421Z\",\n            \"deletedAt\": null,\n            \"user\": {\n                \"id\": \"64698d90-cf84-466a-99a6-63b6214878e9\", //walletID of the source\n                \"name\": \"Bit Capital Issuer\", // name of the source of payment ( If Bit Capital Issuer, this means is external income amount,)\n                \"firstName\": \"Bit Capital\",\n                \"lastName\": \"Issuer\",\n                \"email\": \"admin@btcore.app\",\n                \"role\": \"admin\",\n                \"twoFactorRequired\": false,\n                \"updatedAt\": \"2020-05-05T20:18:03.397Z\",\n                \"createdAt\": \"2020-05-05T20:18:03.397Z\"\n            },\n            \"additionalData\": {}\n        },\n        \"states\": [\n            {\n                \"additionalData\": {\n                    \"pod\": \"production-core-core-api-transaction-workers-997556467-59fqn\"\n                },\n                \"updatedAt\": \"2021-02-18T10:25:52.451Z\",\n                \"createdAt\": \"2021-02-18T10:25:52.451Z\",\n                \"status\": \"notified\", // last state of a transaction ( 5th)\n                \"id\": \"c85fb1c4-7d29-4fc4-8e71-581d99e61614\"\n            },\n            {\n                \"additionalData\": {\n                    \"pod\": \"production-core-core-api-transaction-workers-997556467-lhlz8\"\n                },\n                \"updatedAt\": \"2021-02-18T10:25:51.860Z\",\n                \"createdAt\": \"2021-02-18T10:25:51.860Z\",\n                \"status\": \"executed\", // 4th state of a transaction\n                \"id\": \"dc5aab34-d4ea-40c9-af89-27a31c6b37ce\"\n            },\n            {\n                \"additionalData\": {\n                    \"authorized\": [],\n                    \"pod\": \"production-core-core-api-server-7fcb6dc58b-qwf8h\"\n                },\n                \"updatedAt\": \"2021-02-18T10:25:47.124Z\",\n                \"createdAt\": \"2021-02-18T10:25:45.596Z\",\n                \"status\": \"accepted\", // 3rd state of a transaction\n                \"id\": \"5052a5bd-2971-42a7-997e-b327cfe59892\"\n            },\n            {\n                \"additionalData\": {\n                    \"authorized\": [],\n                    \"skipped\": [\n                        {\n                            \"provider\": \"bs2\",\n                            \"payment\": \"aca994b4-ad3e-4819-b0b5-4106376d5eb9\",\n                            \"asset\": \"BRLB\" // the asset of transaction\n                        }\n                    ]\n                },\n                \"updatedAt\": \"2021-02-18T10:25:45.580Z\",\n                \"createdAt\": \"2021-02-18T10:25:45.580Z\",\n                \"status\": \"AUTHORIZED\", // 2nd state of a transaction ( here the transaction is registered in blockchain\n                \"id\": \"86e38300-5a59-4bb5-80f0-8881b408a370\"\n            },\n            {\n                \"additionalData\": {},\n                \"updatedAt\": \"2021-02-18T10:25:45.546Z\",\n                \"createdAt\": \"2021-02-18T10:25:45.546Z\",\n                \"status\": \"pending\", // 1st state of a transaction\n                \"id\": \"1df95a55-1803-43de-91b6-ca283dae2928\"\n            }\n        ],\n        \"updatedAt\": \"2021-02-18T10:25:51.073Z\",\n        \"createdAt\": \"2021-02-18T10:25:45.540Z\",\n        \"additionalData\": {\n            \"externalTransaction\": { // here we can identify which boleto is referred\n                \"postbackId\": \"9863f8e4-525e-49a2-aa1e-442dd7c633fd\",\n                \"createdAt\": \"2021-02-18T07:25:42.4938016-03:00\", //\n                \"id\": \"c1d8b05c-01b0-4362-a860-7a7500a8b207\" // this id is the boletoID already paid, with this id you can identify what Boleto it refers,is very important this infomation. To see tha datas of boleto you need to use the endpoint GET {{API_BASE_URL}}/boletos/{{boletoID}}.  \n            },\n            \"hash\": \"e6264f8b9d5aff8bf1f90367448d8d22628d30f19cffee6aebe8f7cb4e846649\"\n        },\n        \"status\": \"notified\", //status of this transaction\n        \"type\": \"payment\", // type of this transaction\n        \"id\": \"279a4791-1b16-4224-8f23-39987524526f\" // the transactionID \n    }\n\n</code></pre><h3 id=\"schema-response-for-payment-ted-out-post-api_base_urlwalletsidwithdraw\"><strong>Schema response for payment TED-OUT</strong> <strong><code>POST {{API_BASE_URL}}/wallets/:id/withdraw</code></strong></h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"banking\": { //information about the favoured person registered in platform. See Favoured management in TED-OUT section\n        \"accountDigit\": \"\",\n        \"account\": \"9180733\", \n        \"agencyDigit\": \"0\",\n        \"agency\": \"1\", \n        \"bank\": \"260\", //bank number (COMPE)\n        \"type\": \"checking\", \n        \"holderType\": \"personal\", //personal or corporate\n        \"taxId\": \"32322929840\", //CNPJ or CNPJ\n        \"name\": \"Name of Consumer Destination\",\n        \"updatedAt\": \"2021-03-15T17:57:47.347Z\",\n        \"createdAt\": \"2021-03-15T17:57:47.347Z\",\n        \"id\": \"28af131f-65d2-463c-bda3-006e30a53b54\" //the bankingID of favoured person\n    },\n    \"payments\": [\n        {\n            \"status\": \"settled\", //the last state of a payment\n            \"type\": \"withdrawal\", // money movement of trasnaction ( see Finance Management section)\n            \"destination\": { // all informations about the destination starts here\n                \"id\": \"98f2a79e-fcfe-4d16-bc29-1afb8dcd1f17\",\n                \"root\": true,\n                \"stellar\": {\n                    \"publicKey\": \"GAGPSIHDVEMMMH55GI3YNNR4KPU4OKZGF3XBOWYRCJWCNZNT4PHVI2DC\" /blockchain registerof this wallet\n                },\n                \"updatedAt\": \"2021-02-16T01:45:51.520Z\",\n                \"createdAt\": \"2021-02-16T01:45:51.520Z\",\n                \"deletedAt\": null,\n                \"user\": {\n                    \"id\": \"c3df1c5e-51fa-49e8-8d0d-4e185d1b029b\", //userID of destination\n                    \"name\": \"Bit Capital Issuer\", /name of consumer of destination **IMPORTANT: TO UNDERSTAND WHAT MEANS BIT CAPITAL ISSUER PLEASE VISIT \"FINANCE MANAGEMENT SECTION\"\n                    \"firstName\": \"Bit Capital\",\n                    \"lastName\": \"Issuer\",\n                    \"username\": \"admin@btcore.app\",\n                    \"email\": \"admin@btcore.app\",\n                    \"role\": \"admin\",\n                    \"twoFactorRequired\": false,\n                    \"updatedAt\": \"2021-02-16T01:45:51.586Z\",\n                    \"createdAt\": \"2021-02-16T01:45:51.494Z\"\n                },\n                \"additionalData\": {}  //some additional info about this wallet\n            },\n            \"amount\": \"9.00\", //the amount of this payment\n            \"asset\": { //some infomations about the asset of this payment\n                \"id\": \"1a7f988b-5c7b-4549-93c2-a0fe509dfa4a\", //payment's assetID \n                \"name\": \"BRL Parati\",\n                \"code\": \"BRLP\", //payment's asset code\n                \"root\": true,\n                \"provider\": \"parati-provider\",\n                \"required\": true,\n                \"updatedAt\": \"2021-02-16T01:45:51.529Z\",\n                \"createdAt\": \"2021-02-16T01:45:51.529Z\"\n            },\n            \"scheduleFor\": null, //if a scheduled TED, this filed must be filled\n            \"updatedAt\": \"2021-03-15T18:23:27.760Z\",\n            \"createdAt\": \"2021-03-15T17:57:47.679Z\",\n            \"id\": \"69c009c4-f637-4f3d-b67a-a3c94c89771e\"  //the paymentID of this payment\n        }\n    ],\n    \"source\": { //all information about the source starts here\n        \"id\": \"41048161-05a9-4411-b033-cff78d1018b4\", //walletID of consumer of source\n        \"stellar\": {\n            \"publicKey\": \"GB3UXUGZWEQEWWLDIESBOKUMM5EVK3Z3EMLFKI2YLBOF4L5264JB2HOL\"  //blockchain register of this wallet\n        },\n        \"updatedAt\": \"2021-02-25T17:14:55.742Z\",\n        \"createdAt\": \"2021-02-25T17:14:55.742Z\",\n        \"deletedAt\": null,\n        \"user\": {\n            \"id\": \"bd40d656-bd7b-46ed-8362-fc0296d5330b\", //userID of consumer of source\n            \"name\": \"Name of Consumer Source\", //name of consumer of source \n            \"firstName\": \"Name of Consumer\",\n            \"lastName\": \"Source\",\n            \"username\": \"userNameConsumer\",\n            \"email\": \"userName@email.com\",\n            \"role\": \"consumer\",\n            \"twoFactorRequired\": false,\n            \"updatedAt\": \"2021-02-25T17:14:55.564Z\",\n            \"createdAt\": \"2021-02-25T17:14:55.564Z\"\n        }, \n        \"additionalData\": { //some additional info about this wallet\n            \"acceptProviderLegalTerms\": true,\n            \"fingerprint\": \"PostmanRuntime/7.26.10#179.113.244.183\"  //the fingertip of legal terms acceptance\n        }\n    },\n    \"states\": [ //here starts all informations about the status os this transaction, the timeline of payments\n        {\n            \"additionalData\": {\n                \"pod\": \"production-core-core-api-transaction-workers-6b6676f989-ds69q\"\n            },\n            \"updatedAt\": \"2021-03-15T18:23:35.074Z\",\n            \"createdAt\": \"2021-03-15T18:23:35.074Z\",\n            \"status\": \"notified\", // the last state of a transaction. It means all done, and all webhooks sent.\n            \"id\": \"878bfba3-830f-4f14-be69-8f00bf6bc438\"\n        },\n        {\n            \"additionalData\": {\n                \"pod\": \"production-core-core-api-transaction-workers-6b6676f989-dx564\"\n            },\n            \"updatedAt\": \"2021-03-15T18:23:34.423Z\",\n            \"createdAt\": \"2021-03-15T18:23:34.423Z\",\n            \"status\": \"executed\", //the 4th state of a transaction. It means all done, but NOT sent webhook yet.\n            \"id\": \"89cde4ab-f58b-493a-b5f0-a0ab1abd84b8\"\n        },\n        {\n            \"additionalData\": {\n                \"authorized\": [],\n                \"pod\": \"production-core-core-api-server-6449f74964-m5frz\"\n            },\n            \"updatedAt\": \"2021-03-15T18:23:30.761Z\",\n            \"createdAt\": \"2021-03-15T18:23:27.783Z\",\n            \"status\": \"accepted\",  // 3rd state of a transaction. A necessary state to measure our SLA in BACEN. It means both sides accepted the transaction and we sent a notification to BACEN\n            \"id\": \"ad602168-33cf-4d35-af26-76f8523d14de\"\n        },\n        {\n            \"additionalData\": { //some additional necessary infos\n                \"authorized\": [],\n                \"skipped\": [\n                    {\n                        \"provider\": \"parati-provider\", // the provider of the asset\n                        \"payment\": \"69c009c4-f637-4f3d-b67a-a3c94c89771e\", // the paymentID (again)\n                        \"asset\": \"BRLP\"  // the asset of the AUTHORIZED state\n                    }\n                ]\n            },\n            \"updatedAt\": \"2021-03-15T17:57:47.704Z\",\n            \"createdAt\": \"2021-03-15T17:57:47.704Z\",\n            \"status\": \"AUTHORIZED\", // the 2nd state of payment. It means this transaction is written in blockchain. At this point is not possible to cancel this transaction. If a destination consumer was not found, or some data errors was typed, after this transaction was TOTALLY COMPLETED, a new transactionn will be created with the type \"transaction_reversal\" to credit all values to teh source. \n            \"id\": \"e0dccc7b-1c5d-4ced-8a4a-42a469f81162\"\n        },\n        {\n            \"additionalData\": {},\n            \"updatedAt\": \"2021-03-15T17:57:47.673Z\",\n            \"createdAt\": \"2021-03-15T17:57:47.673Z\",\n            \"status\": \"pending\", //the first state of a transaction. Where the transaction starts.\n            \"id\": \"beb06977-2238-479c-9e32-5760ef12e7a3\"\n        }\n    ],\n    \"updatedAt\": \"2021-03-15T18:23:33.997Z\",\n    \"createdAt\": \"2021-03-15T17:57:47.667Z\",\n    \"additionalData\": { //this additionalData show all data received by BACEN\n        \"transactionId\": \"jaYMBH3qms\",\n        \"referenceCode\": \"jaYMBH3qms\",\n        \"destination\": {\n            \"accountHolderTaxId\": \"32322929840\",\n            \"accountHolderType\": \"personal\",\n            \"accountHolderName\": \"Name of Consumer Destination\",\n            \"accountNumber\": \"9180733\",\n            \"branchNumber\": \"1\",\n            \"accountType\": \"checking\",\n            \"bankNumber\": \"260\",\n            \"ispb\": \"18236120\"\n        },\n        \"arrangement\": \"str\",  //if TED is \"str\" if PIX is \"pix\"\n        \"reversal\": false,\n        \"purpose\": 10, //BACEN purpose\n        \"source\": {\n            \"accountHolderTaxId\": \"32322929840\",\n            \"accountHolderType\": \"personal\",\n            \"accountHolderName\": \"Name of Consumer Source\",\n            \"accountNumber\": \"10905\",\n            \"branchNumber\": \"0001\",\n            \"accountType\": \"checking\",\n            \"bankNumber\": \"326\",\n            \"ispb\": \"3311443\"\n        },\n        \"hash\": \"e365737d2811787e0f5f4421713feea1655f29bba8e1ebf49b8672ec54d8ee76\",\n        \"str\": {\n            \"messageCode\": \"STR0008R1\",  //STR message Code. To get all possible messages from STR, download in https://www.bcb.gov.br/content/estabilidadefinanceira/cedsfn/Catalogos/Catalogo_de_Servicos_do_SFN_Volume_I_Versao_502.pdf\n            \"messageId\": \"STR20210315035110883\" //STR message\n        }\n    },\n    \"status\": \"notified\",  //the last status of transaction\n    \"type\": \"payment\", //type of transaction\n    \"id\": \"c40a36c3-bd73-4a1a-9bd2-f21c84414b36\" //transactionID\n}\n\n</code></pre><h3 id=\"schema-response-for-payment-ted-in\"><strong>Schema response for payment</strong> <strong><code>TED-IN</code></strong></h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"banking\": null, //if the payment has a favoured, all information will be displayed here\n    \"payments\": [\n        {\n            \"status\": \"settled\", //the last state of a payment\n            \"type\": \"deposit\", // money movement of trasnaction ( see Finance Management section)\n            \"destination\": { // all informations about the destination starts here\n                \"id\": \"feb8503c-d7aa-4f85-8333-6a705f95b533\", //walletID of consumer of destination\n                \"stellar\": {\n                    \"publicKey\": \"GDNFHUD5ZCFW4MMHHQ2GDXWFRLQAMYQMJLCTKVBGNEZYXYPFPSJTNJZO\" //blockchain registerof this wallet\n                },\n                \"updatedAt\": \"2021-03-19T13:13:45.065Z\",\n                \"createdAt\": \"2021-03-19T13:13:45.065Z\",\n                \"deletedAt\": null,\n                \"user\": { \n                    \"id\": \"01261a24-9a73-4360-b2b8-d04a483571f5\", //userID of destination\n                    \"name\": \"Consumer of Destination\", //name of consumer of destination\n                    \"firstName\": \"Consumer\", \n                    \"lastName\": \"of Destination\",\n                    \"username\": \"userNameOfCOnsumer\",\n                    \"email\": \"emailconsumerdestination@email.com\", //email of consumer of destination\n                    \"role\": \"consumer\",\n                    \"twoFactorRequired\": false,\n                    \"updatedAt\": \"2021-03-19T13:13:44.809Z\",\n                    \"createdAt\": \"2021-03-19T13:13:44.809Z\"\n                },\n                \"additionalData\": { //some additional info about this wallet\n                    \"acceptProviderLegalTerms\": true,\n                    \"fingerprint\": \"PostmanRuntime/7.26.10#187.34.144.47\" //the fingertip of legal terms acceptance\n                }\n            },\n            \"amount\": \"1.00\", //the amount of this payment\n            \"asset\": { //some infomations about the asset of this payment\n                \"id\": \"c4b54553-935b-461c-b5e0-6dbc8a39b72b\", //payment's assetID \n                \"name\": \"BRL Parati\",\n                \"code\": \"BRLP\", //payment's asset code\n                \"root\": true, \n                \"provider\": \"parati-provider\",\n                \"required\": true,\n                \"updatedAt\": \"2021-03-11T01:30:37.900Z\",\n                \"createdAt\": \"2021-03-11T01:30:37.900Z\"\n            },\n            \"scheduleFor\": null, //if a scheduled TED, this filed must be filled\n            \"updatedAt\": \"2021-03-19T18:50:43.656Z\",\n            \"createdAt\": \"2021-03-19T18:50:43.656Z\",\n            \"id\": \"48da5e61-3b71-49b7-bebe-3566c492ecfa\" //the paymentID of this payment\n        }\n    ],\n    \"source\": { //all information about the source starts here\n        \"id\": \"6010622e-0c63-4082-a8a2-8da98fcb7787\", //walletID of consumer of source\n        \"root\": true, \n        \"stellar\": {\n            \"publicKey\": \"GAGPSIHDVEMMMH55GI3YNNR4KPU4OKZGF3XBOWYRCJWCNZNT4PHVI2DC\" //blockchain register of this wallet\n        },\n        \"updatedAt\": \"2021-03-11T01:30:37.884Z\",\n        \"createdAt\": \"2021-03-11T01:30:37.884Z\",\n        \"deletedAt\": null,\n        \"user\": { \n            \"id\": \"cbb474f7-6eb2-433b-b655-936bf2645ffe\", //userID of consumer of source\n            \"name\": \"Bit Capital Issuer\", //name of consumer of source **IMPORTANT: TO UNDERSTAND WHAT MEANS BIT CAPITAL ISSUER PLEASE VISIT \"FINANCE MANAGEMENT SECTION\"\n            \"firstName\": \"Bit Capital\",\n            \"lastName\": \"Issuer\",\n            \"username\": \"admin@btcore.app\",\n            \"email\": \"admin@btcore.app\",\n            \"role\": \"admin\",\n            \"twoFactorRequired\": false,\n            \"updatedAt\": \"2021-03-11T01:30:38.106Z\",\n            \"createdAt\": \"2021-03-11T01:30:37.849Z\"\n        },\n        \"additionalData\": {} //some additional info about this wallet\n    },\n    \"states\": [ //here starts all informations about the status os this transaction, the timeline of payments\n        {\n            \"additionalData\": {\n                \"pod\": \"production-core-core-api-transaction-workers-57d9d58f65-wg9xh\"\n            },\n            \"updatedAt\": \"2021-03-19T18:50:51.702Z\",\n            \"createdAt\": \"2021-03-19T18:50:51.702Z\",\n            \"status\": \"notified\",  // the last state of a transaction. It means all done, and all webhooks sent.\n            \"id\": \"4cc0c34b-0218-4030-826c-93cbb7b2a77a\"\n        },\n        {\n            \"additionalData\": {\n                \"pod\": \"production-core-core-api-transaction-workers-57d9d58f65-frwbx\"\n            },\n            \"updatedAt\": \"2021-03-19T18:50:50.646Z\",\n            \"createdAt\": \"2021-03-19T18:50:50.646Z\",\n            \"status\": \"executed\", //the 4th state of a transaction. It means all done, but NOT sent webhook yet.\n            \"id\": \"a1770070-3dbb-4022-8803-d795c123070c\"\n        },\n        {\n            \"additionalData\": {\n                \"authorized\": [],\n                \"pod\": \"production-core-core-api-server-5994b5d7cd-fszzr\"\n            },\n            \"updatedAt\": \"2021-03-19T18:50:47.006Z\",\n            \"createdAt\": \"2021-03-19T18:50:44.047Z\",\n            \"status\": \"accepted\", // 3rd state of a transaction. A necessary state to measure our SLA in BACEN. It means both sides accepted the transaction and we sent a notification to BACEN\n            \"id\": \"ff8073f1-2f4e-4b69-9e14-dbf28287b1cb\"\n        },\n        {\n            \"additionalData\": { //some additional necessary infos\n                \"authorized\": [],\n                \"skipped\": [\n                    {\n                        \"provider\": \"parati-provider\", // the provider of the asset\n                        \"payment\": \"48da5e61-3b71-49b7-bebe-3566c492ecfa\", // the paymentID (again)\n                        \"asset\": \"BRLP\" // the asset of the AUTHORIZED state\n                    }\n                ]\n            },\n            \"updatedAt\": \"2021-03-19T18:50:43.692Z\",\n            \"createdAt\": \"2021-03-19T18:50:43.692Z\",\n            \"status\": \"AUTHORIZED\", // the 2nd state of payment. It means this transaction is written in blockchain. At this point is not possible to cancel this transaction. If a destination consumer was not found, or some data errors was typed, after this transaction was TOTALLY COMPLETED, a new transactionn will be created with the type \"transaction_reversal\" to credit all values to teh source. \n            \"id\": \"cb260d9b-cc79-4eca-9eaa-5c9e5b4ab63c\"\n        },\n        {\n            \"additionalData\": {},\n            \"updatedAt\": \"2021-03-19T18:50:43.589Z\",\n            \"createdAt\": \"2021-03-19T18:50:43.589Z\",\n            \"status\": \"pending\", //the first state of a transaction. Where the transaction starts.\n            \"id\": \"55bff677-12b2-480c-939f-5daf6d1d04ef\"\n        }\n    ],\n    \"updatedAt\": \"2021-03-19T18:50:50.032Z\", \n    \"createdAt\": \"2021-03-19T18:50:43.574Z\", \n    \"additionalData\": { //this additionalData show all data received by BACEN\n        \"externalTransaction\": {\n            \"id\": \"STR20210319034211531\" //the STR message\n        },\n        \"destination\": { //data of destination\n            \"accountHolderTaxId\": \"32322929840\",\n            \"accountHolderType\": \"personal\",\n            \"accountHolderName\": \"NAME OF CONSUMER DESTINATION\",\n            \"accountNumber\": \"17004\",\n            \"branchNumber\": \"1\",\n            \"accountType\": \"checking\",\n            \"bankNumber\": \"326\",\n            \"ispb\": \"03311443\"\n        },\n        \"arrangement\": \"str\", //if TED is \"str\" if PIX is \"pix\"\n        \"reversal\": false,\n        \"purpose\": \"Crédito em Conta\", //BACEN purpose\n        \"source\": {\n            \"accountHolderTaxId\": \"32322929840\",\n            \"accountHolderType\": \"personal\",\n            \"accountHolderName\": \"NAME OF CONSUMER SOURCE\",\n            \"accountNumber\": \"9180733\",\n            \"branchNumber\": \"1\",\n            \"accountType\": \"checking\",\n            \"bankNumber\": \"260\",\n            \"ispb\": \"18236120\"\n        },\n        \"hash\": \"e086a38506350fb32362c86a33db3019599a6ae30f0b726d3523e52d5ec9e05f\",\n        \"str\": {\n            \"messageCode\": \"STR0008R2\", //STR message Code. To get all possible messages from STR, download in https://www.bcb.gov.br/content/estabilidadefinanceira/cedsfn/Catalogos/Catalogo_de_Servicos_do_SFN_Volume_I_Versao_502.pdf\n            \"messageId\": \"STR20210319034211531\" //STR message\n        }\n    },\n    \"status\": \"notified\", //the last status of transaction\n    \"type\": \"payment\", //type of transaction\n    \"id\": \"c3a75969-aec0-4a10-a038-6cfa2f445cc6\" //transactionID\n}\n\n</code></pre><h1 id=\"5-labs-bit-capital\">5 - Labs Bit Capital</h1>\n<p>You can check tools for help here <a href=\"https://labs.btcore.app\">Labs Bit Capital</a> in the Bitcapital Labs for more information and sample codes.</p>\n<hr>\n<h1 id=\"6-glossary\">6 - Glossary</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>term</th>\n<th>where to find</th>\n<th>info</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>partner</code></td>\n<td>TBA</td>\n<td>the corporation contractor of Bit Capital Services. This partner has a <code>mediator</code> login</td>\n</tr>\n<tr>\n<td><code>mediator</code></td>\n<td>TBA</td>\n<td>a login to access Bit Capital's platform by the Partner</td>\n</tr>\n<tr>\n<td><code>consumer</code></td>\n<td>TBA</td>\n<td>a costumer of partner. To distinguish our partner to a consumer in the end of chain.</td>\n</tr>\n<tr>\n<td><code>asset</code></td>\n<td>TBA</td>\n<td>the money representation in platform.</td>\n</tr>\n<tr>\n<td><code>BRLP</code></td>\n<td>TBA</td>\n<td>the asset code representation of Brazilian Real in the platfom</td>\n</tr>\n<tr>\n<td><code>domain</code></td>\n<td>TBA</td>\n<td>part of infrastructure delivered to our partner to and register the consumers of yours</td>\n</tr>\n<tr>\n<td><code>instance</code></td>\n<td><a href=\"https://docs.bitcapital.com.br/?version=latest#understanding-your-platform\">Understanding your platfom</a></td>\n<td>the infrastructure environment delivered to our partners</td>\n</tr>\n<tr>\n<td><code>payment</code></td>\n<td><a href=\"https://docs.bitcapital.com.br/?version=latest#6febc303-f8a3-4cc5-bfd1-b172e52557a9\">Payments</a></td>\n<td>all kind of payment in the platform</td>\n</tr>\n<tr>\n<td><code>transaction</code></td>\n<td><a href=\"https://docs.bitcapital.com.br/?version=latest#c23dea8a-d7a8-4091-9fdd-f8889268a534\">Finance management</a></td>\n<td>represents changes in blockchain</td>\n</tr>\n<tr>\n<td><code>mediator</code></td>\n<td><a href=\"https://docs.bitcapital.com.br/?version=latest#intro\">Introduction</a></td>\n<td>maximum permission of a partner</td>\n</tr>\n<tr>\n<td><code>onboarding</code></td>\n<td><a href=\"https://docs.bitcapital.com.br/?version=latest#a8cada24-8c2f-440a-a11a-05d5136cd11a\">Onboarding</a></td>\n<td>al</td>\n</tr>\n<tr>\n<td><code>ispb</code></td>\n<td>true</td>\n<td>identification of Finance Insitution in BACEN ( identificação no Sitema de Pagamentos Brasileiro</td>\n</tr>\n<tr>\n<td><code>platform</code></td>\n<td>TBA</td>\n<td>all environment and API avaliable to our partner</td>\n</tr>\n<tr>\n<td><code>actor</code></td>\n<td>TBA</td>\n<td>the human person that executes a endpoint</td>\n</tr>\n<tr>\n<td><code>blockchain</code></td>\n<td>TBA</td>\n<td>ledger where all transactions are registered</td>\n</tr>\n<tr>\n<td><code>stellar</code></td>\n<td>TBA</td>\n<td>the technology used in our Blockchain</td>\n</tr>\n<tr>\n<td><code>BACEN</code></td>\n<td>TBA</td>\n<td>central bank of Brazil</td>\n</tr>\n<tr>\n<td><code>SPI</code></td>\n<td>TBA</td>\n<td>Instant Payment System (Sistema de Pagamentos Instantâneos) used um PIX API</td>\n</tr>\n<tr>\n<td><code>SPB</code></td>\n<td>TBA</td>\n<td>Brazilian system payment (Sistema de Pagamentos Brasileiro) used in Core AP</td>\n</tr>\n<tr>\n<td><code>no-named card</code></td>\n<td><a href=\"https://docs.bitcapital.com.br/?version=latest#651b95ad-2d3e-4cc0-84cc-070883d0a241\">Cards</a></td>\n<td>physical cards embossed with no name.</td>\n</tr>\n</tbody>\n</table>\n</div><hr>\n<h1 id=\"7-documentation-changelog\">7 - Documentation CHANGELOG</h1>\n<p>Some endpoints become obsolete for use and others will be accredited. Below are all the updates of the Documentation and Endpoints.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>#### Documentation renew\n- in 2022 all documentation\n#### Documentation v3.0.51\n- [x] fixed new informations about creating a service in:\n-- Billing management / Services\n#### Documentation v3.0.50\n- [x] added new endpoints:\n-- Onboarding / Core 3.x.x / Corporate\n#### Documentation v3.0.13\n- [x] Deprecated endpoint information:\n-- Cards / Card payments\n- [x] added new endpoints: \n-- Cards / unblock no-named card\n-- Environment management / Edit webhook URL\n- [x] added TED-IN and TED-OUT Schema in Schema response section;\n- [x] added STR messages code in Finance management section;\n#### Documentation v3.0.10\n- [x] added new section SDK Development;\n- [x] added new section Schema Response;\n- [x] added new endpoints: \n-- Finance management / Judicials / Blocking partial or total balance\n-- Boleto / Boleto Pay / Payment proof \n#### Documentation v3.0.7\n- [x] added new endpoints: \n-- Finance management / Create a new wallet\n-- Finance management / Payment statement by asset\n- [x] added Glossary section;\n- [x] added more documentation about Cards;\n- [x] started documentation of PIX API; \n#### Documentation v3.0.7\n- [x] added documentations about Cards\n- [x] added UML graphics in sections: Boleto, Finance management ans P2P\n#### Documentation v3.0.5\n- [x] added new endpoint:\n-- TED / TED OUT scheduled;\n- [x] added documentation about Money Movement in Finance management section\n#### Documentation v3.0.4\n- [x] added documentation of TED-IN and TED-OUT in TED section;\n- [x] added documentation section for \"Assets management\" in:\n-- Finance management / Assets management \n#### Documentation v3.0.3\n- [x] added documentation of status in Onboarding section;\n- [x] added some payload examples of received TED-IN and received BOLETO;\n#### Documentation v3.0.1\n- [x] added new endpoints: \n-- User management / Administrative users / Create administrative users\n#### Documentation v3\n- [x] equalized the Documentation version (this site) to the API version. Now the documentations will follow the laytest version of API avaliable.\n#### Documentation v2.4.2\n- [x] added new endpoints: \n-- Boleto / Boleto Pay / Payment proof\n-- Boleto /Boleto Emit / Emit a Boleto to a payer\n-- Billing management / Plans / Create a plan with absolute fees\n-- Billing management / Plans / Create a plan with % fees\n- [x] added new informatiosn about Billing in Billing section\n#### Documentation v2.4.1\n- [x] added full information about Billing Management and it's dependencies\n- [x] added link to Labs Bit Capital. Tools for troubleshooting some codes\n#### Documentation v2.4\n- [x] rearranged the endpoint structure of Onboarding section. Now it is possible to follow the necessary steps according to your version of the instance;\n- [x] added endpoint GET /accounting/wallet-balance in \"Accounting\" section;\n#### Documentation v2.3\n- [x] New endpoints for * Onboarding * to meet version 3.0 of the **Bitcapital Core API**;\n- [x] Legacy Onboarding endpoints are rearranged in the \"deprecated\" folder within Onboarding;\n\n</code></pre><hr>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"1 - About this documentation","slug":"1-about-this-documentation"},{"content":"2 - PIX API","slug":"2-pix-api"},{"content":"3 - Understanding the platform","slug":"3-understanding-the-platform"},{"content":"4 - Schema responses","slug":"4-schema-responses"},{"content":"5 - Labs Bit Capital","slug":"5-labs-bit-capital"},{"content":"6 - Glossary","slug":"6-glossary"},{"content":"7 - Documentation CHANGELOG","slug":"7-documentation-changelog"}],"owner":"5527374","collectionId":"79fae379-3985-44e7-9b47-def275b99435","publishedId":"RWgnWfSy","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-08-10T19:29:26.000Z"},"item":[{"name":"Status","item":[{"name":"View status","id":"83f77d81-12ec-4ff2-bc35-402b02289db8","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{API_BASE_URL}}/status","description":"<ul>\n<li>\"hash\" - The last time the Core has been updated</li>\n<li>\"version\": - the version of your Core<br />\nNecessary SCOPE to perform `users:read`</li>\n</ul>\n<p><code>GHERKIN</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">GIVEN Actor is logged in platform\nWHEN actor perform the action\nTHEN the response must be 200\n</code></pre>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["status"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"02c20398-42dc-49d5-acf9-01ad6b2f20b1","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"88","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Jul 2018 12:36:36 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"58-BYKGKTQj4t3hHJSlsYa2khj1rbE\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\n    \"hash\": \"bea8ee9 2021-02-26T17:54:44.000Z\",\n    \"environment\": \"testnet\",\n    \"uptime\": 20080927,\n    \"domain\": {\n        \"id\": \"214e4a0d-4a1c-46cb-9aef-2e2109a218d9\",\n        \"name\": \"Default Domain\",\n        \"role\": \"default\"\n    },\n    \"version\": \"3.0.0-alpha.7\",\n    \"name\": \"@bitcapital/core-api\"\n}"}],"_postman_id":"83f77d81-12ec-4ff2-bc35-402b02289db8"}],"id":"f125321f-d86a-4126-932c-f871ad4aff45","_postman_id":"f125321f-d86a-4126-932c-f871ad4aff45","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"OAuth 2.0","item":[{"name":"Login at platform","event":[{"listen":"test","script":{"id":"da6240cb-27b4-4769-a2fe-72f660e350b7","exec":["","pm.test(\"Valid OAuth 2.0 credentials\", function () {","    var jsonData = pm.response.json();","    pm.expect(jsonData.access_token).to.be.ok;","    pm.environment.set(\"BC_BEARER_TOKEN\", jsonData.access_token);","});"],"type":"text/javascript"}}],"id":"b73e76be-c6c1-4a2e-8434-ccfea50cc548","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"username":"{{OAUTH_CLIENT_ID}}","password":"{{OAUTH_CLIENT_SECRET}}","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","description":"<p>The OAuth 2.0 grant type for the authentication.</p>\n","type":"text"},{"key":"username","value":"{{ADMIN_EMAIL}}","description":"<p>The username for the authentication.</p>\n","type":"text"},{"key":"password","value":"{{ADMIN_PASSWORD}}","description":"<p>The password credential.</p>\n","type":"text"},{"key":"scope","value":"{{SCOPES}}","description":"<p>The requested scopes for this access token.</p>\n","type":"text","disabled":true}]},"url":"{{API_BASE_URL}}/oauth/token","description":"<p>Authenticates in the OAuth 2.0 API using a set of User credentials, such as a Mediator or a Consumer. This is the most complete authentication method and exposes most of the financially impacting token scopes.\n<br />\nNecessary SCOPE to perform <code>\"oauth-clients:read\"</code></p>\n<p><code>GHERKIN</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">GIVEN Actor has all necessary clients to login in the platform\nWHEN actor perform the action\nTHEN the response must be 200\nTHEN the response must show all permitted scopes\n</code></pre>\n","urlObject":{"path":["oauth","token"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"567848f5-5b30-426e-a8e5-1b1dc5680db4","name":"Operator Login","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Basic {{BASIC_CREDENTIALS}}","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[{"description":"The OAuth 2.0 grant type for the authentication.","key":"grant_type","type":"text","value":"password"},{"description":"The username for the authentication.","key":"username","type":"text","value":"{{ADMIN_EMAIL}}"},{"description":"The password credential.","key":"password","type":"text","value":"{{ADMIN_PASSWORD}}"},{"description":"The requested scopes for this access token.","key":"scope","type":"text","value":"{{SCOPES}}","disabled":true}]},"url":"{{API_BASE_URL}}/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"ABEARERTOKEN\",\n    \"token_type\": \"Bearer\",\n    \"refresh_token\": \"AREFRESHTOKEN\",\n    \"scope\": [\n        \"assets:read\",\n        \"domains:read\",\n        \"domains:metrics\",\n        \"oauth-clients:read\",\n        \"payments:read\",\n        \"transactions:read\",\n        \"users:read\",\n        \"users:kyc:read\",\n        \"users:bankings:read\",\n        \"users:documents:read\",\n        \"users:write\",\n        \"users:bankings:write\",\n        \"users:documents:write\",\n        \"users:documents:evaluate\",\n        \"users:documents:read\",\n        \"users:delete\",\n        \"users:block\",\n        \"queues:write\",\n        \"wallets:read\",\n        \"wallets:write\",\n        \"transactions:read\",\n        \"transactions:cancel\",\n        \"transactions:confirm\",\n        \"issues:read\",\n        \"alerts:read\",\n        \"phone_credit:providers:read\",\n        \"wallets:write\",\n        \"payments:read\",\n        \"queues:write\",\n        \"services:read\",\n        \"invoices:read\",\n        \"plans:read\",\n        \"contracts:read\",\n        \"legals:write\",\n        \"legals:accept\",\n        \"provider:read\"\n    ],\n    \"user_id\": \"25bbcdda-f854-40d1-b2a4-af0df4166bf8\",\n    \"expires_in\": 604800\n}"},{"id":"6d010759-8305-4336-9078-ccacde2cef18","name":"Audit Login","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Basic {{BASIC_CREDENTIALS}}","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[{"description":"The OAuth 2.0 grant type for the authentication.","key":"grant_type","type":"text","value":"password"},{"description":"The username for the authentication.","key":"username","type":"text","value":"{{ADMIN_EMAIL}}"},{"description":"The password credential.","key":"password","type":"text","value":"{{ADMIN_PASSWORD}}"},{"description":"The requested scopes for this access token.","key":"scope","type":"text","value":"{{SCOPES}}","disabled":true}]},"url":"{{API_BASE_URL}}/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"ABEARERTOKEN\",\n    \"token_type\": \"Bearer\",\n    \"refresh_token\": \"AREFRESHTOKEN\",\n    \"scope\": [\n        \"assets:read\",\n        \"services:read\",\n        \"invoices:read\",\n        \"plans:read\",\n        \"contracts:read\",\n        \"branches:read\",\n        \"domains:read\",\n        \"domains:metrics\",\n        \"oauth-clients:read\",\n        \"payments:read\",\n        \"transactions:read\",\n        \"users:read\",\n        \"users:kyc:read\",\n        \"users:bankings:read\",\n        \"users:documents:read\",\n        \"users:secret_tokens:read\",\n        \"users:legals:read\",\n        \"wallets:read\",\n        \"issues:read\",\n        \"alerts:read\",\n        \"phone_credit:providers:read\",\n        \"queues:read\",\n        \"provider:read\"\n    ],\n    \"user_id\": \"52a1d499-d86e-418a-a720-75c3facfde87\",\n    \"expires_in\": 604800\n}"},{"id":"8457387e-758a-410b-a086-94b690a4ad44","name":"400 - Invalid credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Basic BASIC_CREDENTIALS","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","description":"The OAuth 2.0 grant type for the authentication.","type":"text"},{"key":"username","value":"gatekeeper@nxtep.io","description":"The username for the authentication.","type":"text"},{"key":"password","value":"<SOME INVALID PASSWORD>","description":"The password credential.","type":"text"}]},"url":"{{API_BASE_URL}}/oauth/token"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"1858","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sun, 18 Feb 2018 04:28:06 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"742-yPVRy/jRZ1vL8wMjNYnpFgf485g\"","name":"ETag","description":""},{"key":"Vary","value":"X-HTTP-Method-Override","name":"Vary","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":null,"body":"{\"status\":400,\"message\":\"[400] Invalid grant: user credentials are invalid (stackId: 466f7acd-ea57-403b-aa02-84dc8b0288fa)\",\"stackId\":\"466f7acd-ea57-403b-aa02-84dc8b0288fa\"}"},{"id":"887a3147-a13f-4014-a3ea-41459c01cc5e","name":"Invalid Scope","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Basic {{BASIC_CREDENTIALS}}","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","description":"The OAuth 2.0 grant type for the authentication.","type":"text"},{"key":"username","value":"{{ADMIN_EMAIL}}","description":"The username for the authentication.","type":"text"},{"key":"password","value":"{{ADMIN_PASSWORD}}","description":"The password credential.","type":"text"},{"key":"scope","value":"{{SCOPES}}","description":"The requested scopes for this access token.","type":"text"}]},"url":"{{API_BASE_URL}}/oauth/token"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] Invalid scope: Requested scope is invalid (stackId: 75509ef3-a59d-45c6-8cd7-31a581763603)\",\n    \"stackId\": \"75509ef3-a59d-45c6-8cd7-31a581763603\",\n    \"details\": {\n        \"code\": 400\n    }\n}"},{"id":"cf402168-0694-4b7d-9619-07da4efc0572","name":"Consumer Login","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Basic {{BASIC_CREDENTIALS}}","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[{"description":"The OAuth 2.0 grant type for the authentication.","key":"grant_type","type":"text","value":"password"},{"description":"The username for the authentication.","key":"username","type":"text","value":"{{ADMIN_EMAIL}}"},{"description":"The password credential.","key":"password","type":"text","value":"{{ADMIN_PASSWORD}}"},{"description":"The requested scopes for this access token.","key":"scope","type":"text","value":"{{SCOPES}}","disabled":true}]},"url":"{{API_BASE_URL}}/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"ABEARERTOKEN\",\n    \"token_type\": \"Bearer\",\n    \"refresh_token\": \"AREFRESHTOKEN\",\n    \"scope\": [\n        \"assets:read\",\n        \"services:read\",\n        \"invoices:read\",\n        \"plans:read\",\n        \"contracts:read\",\n        \"branches:read\",\n        \"domains:read\",\n        \"domains:metrics\",\n        \"oauth-clients:read\",\n        \"payments:read\",\n        \"transactions:read\",\n        \"users:read\",\n        \"users:kyc:read\",\n        \"users:bankings:read\",\n        \"users:documents:read\",\n        \"users:secret_tokens:read\",\n        \"users:legals:read\",\n        \"wallets:read\",\n        \"issues:read\",\n        \"alerts:read\",\n        \"phone_credit:providers:read\",\n        \"queues:read\",\n        \"provider:read\"\n    ],\n    \"user_id\": \"48a7c1c0-2a74-40e9-ab8d-06744ceef75e\",\n    \"expires_in\": 604800\n}"},{"id":"e4b7590d-696f-4f8b-a5dd-ab7aa0ad28e1","name":"Mediator Login","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Basic {{BASIC_CREDENTIALS}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","description":"The OAuth 2.0 grant type for the authentication.","type":"text"},{"key":"username","value":"{{ADMIN_EMAIL}}","description":"The username for the authentication.","type":"text"},{"key":"password","value":"{{ADMIN_PASSWORD}}","description":"The password credential.","type":"text"},{"key":"scope","value":"{{SCOPES}}","description":"The requested scopes for this access token.","type":"text","disabled":true}]},"url":"{{API_BASE_URL}}/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-API-Version","value":"0.0.7-alpha.2"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"cache-control","value":"no-store"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"691"},{"key":"ETag","value":"W/\"2b3-iZTdyCU3BJWNXu5ng1viKatcSHI\""},{"key":"Date","value":"Mon, 03 Dec 2018 19:06:53 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"ABEARERTOKEN\",\n    \"token_type\": \"Bearer\",\n    \"refresh_token\": \"AREFRESHTOKEN\",\n    \"scope\": [\n        \"assets:read\",\n        \"services:read\",\n        \"invoices:read\",\n        \"plans:read\",\n        \"contracts:read\",\n        \"branches:read\",\n        \"domains:read\",\n        \"domains:metrics\",\n        \"oauth-clients:read\",\n        \"payments:read\",\n        \"transactions:read\",\n        \"users:read\",\n        \"users:kyc:read\",\n        \"users:bankings:read\",\n        \"users:documents:read\",\n        \"users:secret_tokens:read\",\n        \"users:legals:read\",\n        \"wallets:read\",\n        \"issues:read\",\n        \"alerts:read\",\n        \"phone_credit:providers:read\",\n        \"queues:read\",\n        \"provider:read\"\n    ],\n    \"user_id\": \"52a1d499-d86e-418a-a720-75c3facfde87\",\n    \"expires_in\": 604800\n}"}],"_postman_id":"b73e76be-c6c1-4a2e-8434-ccfea50cc548"},{"name":"Who am I","id":"ba020900-d1e4-4aeb-b76c-d8f36bf48872","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/users/me","description":"<p>Gets the current user information based on the supplied Access Token.\n<br />\nNecessary SCOPE to perform <code>\"users:read\"</code></p>\n<p><code>GHERKIN</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">GIVEN Actor is logged in platform\nWHEN actor perform the action\nTHEN the response must be 200\n</code></pre>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["users","me"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"5ea9bb9e-fbc0-4bc5-8e08-d416318f512f","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/users/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"514","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Jul 2018 12:37:03 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"202-Cb27++b+8xIdiNkS1IVIGztQT+A\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"25bbcdda-f854-40d1-b2a4-af0df4166bf8\",\n    \"name\": \"Name of Operator\",\n    \"firstName\": \"Name\",\n    \"lastName\": \"of Operator\",\n    \"email\": \"nameof+operator@bitcapital.com.br\",\n    \"role\": \"operator\",\n    \"twoFactorRequired\": false,\n    \"updatedAt\": \"2020-05-31T06:16:34.582Z\",\n    \"createdAt\": \"2020-05-31T06:16:34.582Z\",\n    \"wallets\": [\n        {\n            \"id\": \"9fae7a8a-65d2-4fcf-a708-cead43eebaa3\",\n            \"states\": [\n                {\n                    \"id\": \"ceabcb91-a6bc-4322-996c-08d99c6ead6e\",\n                    \"status\": \"pending\",\n                    \"createdAt\": \"2020-06-12T13:37:48.246Z\",\n                    \"updatedAt\": \"2020-06-12T13:37:48.246Z\",\n                    \"additionalData\": {\n                        \"acceptProviderLegalTerms\": true,\n                        \"fingerprint\": \"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36#201.27.139.47\"\n                    }\n                }\n            ],\n            \"stellar\": {\n                \"publicKey\": \"GCFUWBX7NGBITD4V5HRXG6U2PYSKIJMXHKVQMXKY6JKBHMOCHFUL4HFS\"\n            },\n            \"updatedAt\": \"2020-06-12T13:37:48.226Z\",\n            \"createdAt\": \"2020-06-12T13:37:48.226Z\",\n            \"deletedAt\": null,\n            \"status\": \"pending\",\n            \"additionalData\": {}\n        }\n    ],\n    \"consumer\": null,\n    \"domain\": {\n        \"id\": \"78bf2fea-f961-4542-8a9a-c389a44f7a1e\",\n        \"name\": \"Bit Capital Network\",\n        \"role\": \"root\"\n    }\n}"},{"id":"a3daa771-93d1-4d04-b58f-8a9af9a0af75","name":"401 - Invalid credentials","originalRequest":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/users/me"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"2187","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sun, 18 Feb 2018 04:36:37 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"88b-2CNy8o1LFDR0/7s0qEATeQYSJ9w\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":null,"body":"{\"status\":401,\"message\":\"[401] Credentials missing or invalid (stackId: 7311acc8-692c-49ed-946e-d497c6b4e5d6)\",\"stackId\":\"7311acc8-692c-49ed-946e-d497c6b4e5d6\",\"details\":{\"code\":\"UNAUTHORIZED\"}\""}],"_postman_id":"ba020900-d1e4-4aeb-b76c-d8f36bf48872"},{"name":"/oauth/token (refresh_token)","event":[{"listen":"test","script":{"id":"6fcdf8dc-035b-498d-a01b-ad05ef7d1169","exec":["","pm.test(\"Valid OAuth 2.0 credentials\", function () {","    var jsonData = pm.response.json();","    pm.expect(jsonData.access_token).to.be.ok;","    pm.environment.set(\"BC_BEARER_TOKEN\", jsonData.access_token);","});"],"type":"text/javascript"}}],"id":"9b5b56df-5582-4d98-852b-c030232cf976","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"{{OAUTH_CLIENT_SECRET}}","username":"{{OAUTH_CLIENT_ID}}","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","description":"<p>The content type required by the OAuth 2.0 protocol for this request</p>\n"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"refresh_token","description":"<p>The OAuth 2.0 grant type for the authentication.</p>\n","type":"text"},{"key":"refresh_token","value":"98d7714411d4dee683ce61db3d5c49caa0e6e63b","description":"<p>The refresh_token for the authentication.</p>\n","type":"text"}]},"url":"{{API_BASE_URL}}/oauth/token","description":"<p>This method is used to keep a token active for extended periods of time, using a set of client credentials and a valid refresh token, you can generate a new pair of access and refresh tokens.\n<br />\nNecessary SCOPE to perform <code>\"oauth-clients:write\"</code></p>\n","urlObject":{"path":["oauth","token"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b5b56df-5582-4d98-852b-c030232cf976"},{"name":"/oauth/token (client_credentials)","event":[{"listen":"test","script":{"id":"1acb7fa5-fe58-46ef-8933-e9bfdbff7c87","exec":["","pm.test(\"Valid OAuth 2.0 credentials\", function () {","    var jsonData = pm.response.json();","    pm.expect(jsonData.access_token).to.be.ok;","    pm.environment.set(\"BC_BEARER_TOKEN\", jsonData.access_token);","});"],"type":"text/javascript"}}],"id":"8dd1d62e-58bc-41b2-8c85-cca3963f1dae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"{{OAUTH_CLIENT_SECRET}}","username":"{{OAUTH_CLIENT_ID}}","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","description":"<p>The OAuth 2.0 grant type for the authentication.</p>\n","type":"text"}]},"url":"{{API_BASE_URL}}/oauth/token","description":"<p>Authenticates in the OAuth 2.0 provider using a set of client credentials. This is the most straightforward grant type and its suited for read-only access to some simple informations and methods.\n<br />\nNecessary SCOPE to perform <code>oauth-clients:write</code></p>\n","urlObject":{"path":["oauth","token"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8dd1d62e-58bc-41b2-8c85-cca3963f1dae"},{"name":"/oauth/token (secret_token)","event":[{"listen":"test","script":{"id":"c4e574d3-39eb-417f-8f1f-7f09fee11e81","exec":["","pm.test(\"Valid OAuth 2.0 credentials\", function () {","    var jsonData = pm.response.json();","    pm.expect(jsonData.access_token).to.be.ok;","    pm.environment.set(\"BC_BEARER_TOKEN\", jsonData.access_token);","});"],"type":"text/javascript"}}],"id":"081d7781-05cd-4efa-9f5d-ca0afa6a9475","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"{{OAUTH_CLIENT_SECRET}}","username":"{{OAUTH_CLIENT_ID}}","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","description":"<p>The content type required by the OAuth 2.0 protocol for this request</p>\n"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"secret_token","description":"<p>The OAuth 2.0 grant type for the authentication.</p>\n","type":"text"},{"key":"secret_token","value":"{{SECRET_TOKEN}}","description":"<p>The refresh_token for the authentication.</p>\n","type":"text"}]},"url":"{{API_BASE_URL}}/oauth/token","description":"<p>Authenticates in the OAuth 2.0 API using a Secret Token credential, a long lived token generated previously.\n<br />\nNecessary SCOPE to perform <code>oauth-clients:write</code></p>\n","urlObject":{"path":["oauth","token"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"081d7781-05cd-4efa-9f5d-ca0afa6a9475"},{"name":"Revoke token","id":"b0cdf185-97f4-4dee-a68e-f6b9e091c949","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Important!: If not define a token, the platform will revoke all user's tokens.</p>\n","key":"accessToken","type":"text","value":"23ad8bfc77279c895ed8d65a77ac803bd16c53093b90513f9217535faaa43544"},{"key":"refreshToken","value":"","type":"text","disabled":true}]},"url":"{{API_BASE_URL}}/oauth/revoke","description":"<p>Revokes a set of OAuth 2.0 tokens, such as Access Tokens or Refresh tokens.\n<br />\nNecessary SCOPE to perform <code>oauth-clients:write</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["oauth","revoke"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"2e23c6cd-668f-4eb2-bf0a-081a9d4ca8d7","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"raw","raw":""},"url":"{{API_BASE_URL}}/oauth/revoke"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"26","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sun, 18 Feb 2018 05:18:50 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"1a-WGjM10aHdDpHzMPYPhhm3VHjKwk\"","name":"ETag","description":""},{"key":"Vary","value":"X-HTTP-Method-Override","name":"Vary","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"revoked\": true,\n    \"count\": 3\n}"}],"_postman_id":"b0cdf185-97f4-4dee-a68e-f6b9e091c949"}],"id":"30b498c1-3b7b-4a89-9eee-65209f286b6f","description":"<p>The OAuth 2.0 provider for the Bitcapital Platform is an authentication layer used to access protected resources in the REST API. Start by generating your Basic Token using both your <strong>Client ID</strong> and <strong>Client Secret</strong>.</p>\n<br />\n\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>BASIC_CREDENTIALS = base64(CLIENT_ID + : + CLIENT_SECRET);\n</code></pre><br />\nWith your basic token and a set of `mediator` credentials (also provided by the Bitcapital Team), you can access your instance resources.\n\n\n<br />\nAll requests are managed using OAuth Scopes, for permission handling and access control.\n\n\n<blockquote>\n<p>to see all roles and scopes click here and choose mediator response</p>\n</blockquote>\n<br />\n\n<h1 id=\"request-signing\">Request Signing</h1>\n<br />\n\n<p>Some of the API endpoints requires Request Signing for preventing packet tampering. The request signature is created with an HMAC using SHA256. The hash should be created using a concatenation of the following strings using the credential secret comma-separated:</p>\n<br />\n\n<ul>\n<li>The uppercase HTTP method being used, e.g. <code>GET</code> or <code>POST</code>.</li>\n<li>The request path, e.g. <code>/consumers</code>.</li>\n<li>The UNIX timestamp in seconds for the request. This must be within 30 seconds of the time at which the request is received at the server or the request will not be considered valid.</li>\n<li>If present, the request body.</li>\n</ul>\n<br />\n\n<p>Then, pass the signature information as HTTP Headers in the request:</p>\n<ul>\n<li><strong>X-Request-Timestamp</strong>: The timestamp of the request signing.</li>\n<li><strong>X-Request-Signature</strong>: The computed hash for the request.</li>\n</ul>\n<br />\n# Labs Bit Capital\n\n<p>You can check the <a href=\"https://labs.btcore.app/signing\">Request Signing Toolbox</a> in the Bitcapital Labs for more information and sample codes.</p>\n<hr />","event":[{"listen":"prerequest","script":{"id":"94c92405-3cea-4e36-ad46-49623bceb863","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ec8864c3-dc3b-423c-9484-2efff2958b22","type":"text/javascript","exec":[""]}}],"_postman_id":"30b498c1-3b7b-4a89-9eee-65209f286b6f","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Onboarding","item":[{"name":"Core 2.x.x","item":[{"name":"Create Consumer (PJ)","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"7226202c-07ef-42f1-a093-91e630cd21e1"}},{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"d129131f-12d5-491b-b186-b621b011d9bf"}}],"id":"79b00e60-a859-4eae-ae78-ac9c294355bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"domain\": \"7a30763c-cd3f-4bdb-964a-39c83218f915\",\r\n    \"firstName\": \"EMPRESA\",\r\n    \"lastName\": \"LEGALNAME LTDA\",\r\n    \"email\": \"emailempresa@email.com\",\r\n    \"role\": \"consumer\",\r\n    \"consumer\": {\r\n        \"birthday\": \"2019-09-07T12:00:00.000Z\",\r\n        \"motherName\": null,\r\n        \"companyData\": {\r\n            \"establishmentFormat\": \"LTDA\",\r\n            \"stateRegistration\": \"\",\r\n            \"partnerChanged\": false,\r\n            \"openingDate\": \"2019-09-07T12:00:00.000Z\",\r\n            \"legalStatus\": \"active\",\r\n            \"legalNature\": \"213-5\",\r\n            \"activities\": [\r\n                {\r\n                    \"description\": \"Treinamento em desenvolvimento profissional e gerencial\",\r\n                    \"isMain\": true,\r\n                    \"code\": \"85.99-6-04\"\r\n                },\r\n                {\r\n                    \"description\": \"Edição de cadastros, listas e de outros produtos gráficos\",\r\n                    \"isMain\": false,\r\n                    \"code\": \"58.19-1-00\"\r\n                },\r\n                {\r\n                    \"description\": \"Outras atividades de ensino não especificadas anteriormente\",\r\n                    \"isMain\": false,\r\n                    \"code\": \"85.99-6-99\"\r\n                }\r\n            ],\r\n            \"tradeName\": \"EMPRESA Consultoria e Treinamentos\",\r\n            \"legalName\": \"EMPRESA LEGAL NAME LTDA\",\r\n            \"partners\": [\r\n                {\r\n                    \"birthCountry\": \"Brasil\",\r\n                    \"motherName\": \"MAE DO PARTNER PF\",\r\n                    \"birthDate\": \"1980-03-01T12:00:00.000Z\",\r\n                    \"addresses\": [\r\n                        {\r\n                            \"neighborhood\": \"Jardim Vergueiro\",\r\n                            \"complement\": \"43 bl5\",\r\n                            \"reference\": \"\",\r\n                            \"country\": \"BR\",\r\n                            \"street\": \"Av Padre Arlindo Vieira\",\r\n                            \"status\": \"own\",\r\n                            \"number\": \"3100\",\r\n                            \"state\": \"SP\",\r\n                            \"code\": \"04166003\",\r\n                            \"city\": \"São Paulo\"\r\n                        }\r\n                    ],\r\n                    \"profile\": \"owner\",\r\n                    \"phones\": [\r\n                        {\r\n                            \"number\": \"966259243\",\r\n                            \"type\": \"mobile\",\r\n                            \"code\": \"11\"\r\n                        }\r\n                    ],\r\n                    \"gender\": \"M\",\r\n                    \"taxId\": \"08538995766\",\r\n                    \"isPep\": false,\r\n                    \"email\": \"bruno.vieira@outlook.com\",\r\n                    \"type\": \"personal\",\r\n                    \"name\": \"Bruno da Silva Vieira\",\r\n                    \"revenue\": 1000\r\n                }\r\n            ],\r\n            \"revenue\": 1000,\r\n            \"taxId\": \"34794217000132\"\r\n        },\r\n        \"type\": \"corporate\",\r\n        \"pep\": false,\r\n        \"taxId\": \"34794217000132\",\r\n        \"phones\": [\r\n            {\r\n                \"default\": true,\r\n                \"number\": \"966259243\",\r\n                \"code\": \"11\",\r\n                \"countryCode\": \"55\"\r\n            }\r\n        ],\r\n        \"addresses\": [\r\n            {\r\n                \"status\": \"own\",\r\n                \"default\": true,\r\n                \"reference\": \"\",\r\n                \"country\": \"BR\",\r\n                \"state\": \"SP\",\r\n                \"city\": \"São Paulo\",\r\n                \"code\": \"04166003\",\r\n                \"neighborhood\": \"Jardim Vergueiro\",\r\n                \"complement\": \"43 bl5\",\r\n                \"number\": \"3100\",\r\n                \"street\": \"Av Padre Arlindo Vieira\"\r\n            }\r\n        ]\r\n    }\r\n}"},"url":"{{API_BASE_URL}}/consumers","description":"<p>Create a new consumer.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:write</code></p>\n","urlObject":{"path":["consumers"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"a18b2714-d5d0-4478-9c00-a84226b22d18","name":"Consumer Corporate with partner Personal","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"domain\": \"7a30763c-cd3f-4bdb-964a-39c83218f915\",\r\n    \"firstName\": \"EMPRESA\",\r\n    \"lastName\": \"LEGALNAME LTDA\",\r\n    \"email\": \"emailempresa@email.com\",\r\n    \"role\": \"consumer\",\r\n    \"consumer\": {\r\n        \"birthday\": \"2019-09-07T12:00:00.000Z\",\r\n        \"motherName\": null,\r\n        \"companyData\": {\r\n            \"establishmentFormat\": \"LTDA\",\r\n            \"stateRegistration\": \"\",\r\n            \"partnerChanged\": false,\r\n            \"openingDate\": \"2019-09-07T12:00:00.000Z\",\r\n            \"legalStatus\": \"active\",\r\n            \"legalNature\": \"213-5\",\r\n            \"activities\": [\r\n                {\r\n                    \"description\": \"Treinamento em desenvolvimento profissional e gerencial\",\r\n                    \"isMain\": true,\r\n                    \"code\": \"85.99-6-04\"\r\n                },\r\n                {\r\n                    \"description\": \"Edição de cadastros, listas e de outros produtos gráficos\",\r\n                    \"isMain\": false,\r\n                    \"code\": \"58.19-1-00\"\r\n                },\r\n                {\r\n                    \"description\": \"Outras atividades de ensino não especificadas anteriormente\",\r\n                    \"isMain\": false,\r\n                    \"code\": \"85.99-6-99\"\r\n                }\r\n            ],\r\n            \"tradeName\": \"EMPRESA Consultoria e Treinamentos\",\r\n            \"legalName\": \"EMPRESA LEGAL NAME LTDA\",\r\n            \"partners\": [\r\n                {\r\n                    \"birthCountry\": \"Brasil\",\r\n                    \"motherName\": \"MAE DO PARTNER PF\",\r\n                    \"birthDate\": \"1980-03-01T12:00:00.000Z\",\r\n                    \"addresses\": [\r\n                        {\r\n                            \"neighborhood\": \"Jardim Vergueiro\",\r\n                            \"complement\": \"43 bl5\",\r\n                            \"reference\": \"\",\r\n                            \"country\": \"BR\",\r\n                            \"street\": \"Av Padre Arlindo Vieira\",\r\n                            \"status\": \"own\",\r\n                            \"number\": \"3100\",\r\n                            \"state\": \"SP\",\r\n                            \"code\": \"04166003\",\r\n                            \"city\": \"São Paulo\"\r\n                        }\r\n                    ],\r\n                    \"profile\": \"owner\",\r\n                    \"phones\": [\r\n                        {\r\n                            \"number\": \"966259243\",\r\n                            \"type\": \"mobile\",\r\n                            \"code\": \"11\"\r\n                        }\r\n                    ],\r\n                    \"gender\": \"M\",\r\n                    \"taxId\": \"08538995766\",\r\n                    \"isPep\": false,\r\n                    \"email\": \"bruno.vieira@outlook.com\",\r\n                    \"type\": \"personal\",\r\n                    \"name\": \"Bruno da Silva Vieira\",\r\n                    \"revenue\": 1000\r\n                }\r\n            ],\r\n            \"revenue\": 1000,\r\n            \"taxId\": \"34794217000132\"\r\n        },\r\n        \"type\": \"corporate\",\r\n        \"pep\": false,\r\n        \"taxId\": \"34794217000132\",\r\n        \"phones\": [\r\n            {\r\n                \"default\": true,\r\n                \"number\": \"966259243\",\r\n                \"code\": \"11\",\r\n                \"countryCode\": \"55\"\r\n            }\r\n        ],\r\n        \"addresses\": [\r\n            {\r\n                \"status\": \"own\",\r\n                \"default\": true,\r\n                \"reference\": \"\",\r\n                \"country\": \"BR\",\r\n                \"state\": \"SP\",\r\n                \"city\": \"São Paulo\",\r\n                \"code\": \"04166003\",\r\n                \"neighborhood\": \"Jardim Vergueiro\",\r\n                \"complement\": \"43 bl5\",\r\n                \"number\": \"3100\",\r\n                \"street\": \"Av Padre Arlindo Vieira\"\r\n            }\r\n        ]\r\n    }\r\n}"},"url":"{{API_BASE_URL}}/consumers"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"x-cloud-trace-context","value":"b7fe7d5276634f74a7290e2857f72fa2/32860245297433;o=1"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains"},{"key":"x-download-options","value":"noopen"},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-expose-headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"x-api-version","value":"2.7.0"},{"key":"vary","value":"X-HTTP-Method-Override, Accept-Encoding"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"cd9-PUrk2porIyX0b68J3qHpaKaOsT4\""},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Tue, 02 Mar 2021 23:32:32 GMT"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"9e8bfe29-18d1-428b-bf0a-3d418997b30d\",\n    \"name\": \"EMPRESA LEGALNAME LTDA\",\n    \"firstName\": \"EMPRESA\",\n    \"lastName\": \"LEGALNAME LTDA\",\n    \"email\": \"emailempresa@email.com\",\n    \"role\": \"consumer\",\n    \"twoFactorRequired\": false,\n    \"updatedAt\": \"2021-03-02T23:32:31.693Z\",\n    \"createdAt\": \"2021-03-02T23:32:31.702Z\",\n    \"wallets\": [\n        {\n            \"id\": \"de1c678c-1e0e-442e-9e2c-29cee7043b7c\",\n            \"states\": [\n                {\n                    \"id\": \"d55bc6b2-55b0-46fc-8c44-2c89d1b9b7a5\",\n                    \"status\": \"pending\",\n                    \"createdAt\": \"2021-03-02T23:32:31.775Z\",\n                    \"updatedAt\": \"2021-03-02T23:32:31.775Z\",\n                    \"additionalData\": {\n                        \"acceptProviderLegalTerms\": true,\n                        \"fingerprint\": \"PostmanRuntime/7.26.8#189.120.74.179\"\n                    }\n                }\n            ],\n            \"stellar\": {\n                \"publicKey\": \"GB3QAVCBPRLUXFT3WDO32BCNMNCB7BQYMJY2JER3XGSPHAGPMMKJ76Q6\"\n            },\n            \"updatedAt\": \"2021-03-02T23:32:31.769Z\",\n            \"createdAt\": \"2021-03-02T23:32:31.769Z\",\n            \"deletedAt\": null,\n            \"status\": \"pending\",\n            \"additionalData\": {}\n        }\n    ],\n    \"consumer\": {\n        \"id\": \"847fdbc7-d381-47f6-9b05-db6b9067c91e\",\n        \"birthCity\": null,\n        \"birthState\": null,\n        \"birthday\": \"2019-09-07T12:00:00.000Z\",\n        \"motherName\": null,\n        \"civilStatus\": \"unknown\",\n        \"financialProfit\": null,\n        \"financialEquity\": null,\n        \"companyData\": {\n            \"establishmentFormat\": \"LTDA\",\n            \"stateRegistration\": \"\",\n            \"partnerChanged\": false,\n            \"openingDate\": \"2019-09-07T12:00:00.000Z\",\n            \"legalStatus\": \"active\",\n            \"legalNature\": \"213-5\",\n            \"activities\": [\n                {\n                    \"description\": \"Treinamento em desenvolvimento profissional e gerencial\",\n                    \"isMain\": true,\n                    \"code\": \"85.99-6-04\"\n                },\n                {\n                    \"description\": \"Edição de cadastros, listas e de outros produtos gráficos\",\n                    \"isMain\": false,\n                    \"code\": \"58.19-1-00\"\n                },\n                {\n                    \"description\": \"Outras atividades de ensino não especificadas anteriormente\",\n                    \"isMain\": false,\n                    \"code\": \"85.99-6-99\"\n                }\n            ],\n            \"tradeName\": \"EMPRESA Consultoria e Treinamentos\",\n            \"legalName\": \"EMPRESA LEGAL NAME LTDA\",\n            \"partners\": [\n                {\n                    \"birthCountry\": \"Brasil\",\n                    \"motherName\": \"MAE DO PARTNER PF\",\n                    \"birthDate\": \"1980-03-01T12:00:00.000Z\",\n                    \"addresses\": [\n                        {\n                            \"neighborhood\": \"Jardim Vergueiro\",\n                            \"complement\": \"43 bl5\",\n                            \"reference\": \"\",\n                            \"country\": \"BR\",\n                            \"street\": \"Av Padre Arlindo Vieira\",\n                            \"status\": \"own\",\n                            \"number\": \"3100\",\n                            \"state\": \"SP\",\n                            \"code\": \"04166003\",\n                            \"city\": \"São Paulo\"\n                        }\n                    ],\n                    \"revenue\": 1000,\n                    \"profile\": \"owner\",\n                    \"phones\": [\n                        {\n                            \"number\": \"966259243\",\n                            \"type\": \"mobile\",\n                            \"code\": \"11\"\n                        }\n                    ],\n                    \"gender\": \"M\",\n                    \"taxId\": \"08538995766\",\n                    \"isPep\": false,\n                    \"email\": \"bruno.vieira@outlook.com\",\n                    \"type\": \"personal\",\n                    \"name\": \"Bruno da Silva Vieira\"\n                }\n            ],\n            \"revenue\": 1000,\n            \"taxId\": \"34794217000132\"\n        },\n        \"type\": \"corporate\",\n        \"pep\": false,\n        \"taxId\": \"34794217000132\",\n        \"status\": \"pending_documents\",\n        \"states\": [\n            {\n                \"id\": \"f303f8b4-5945-47ba-9ac0-24c3223bc299\",\n                \"status\": \"pending_documents\",\n                \"createdAt\": \"2021-03-02T23:32:31.747Z\",\n                \"updatedAt\": \"2021-03-02T23:32:31.747Z\",\n                \"additionalData\": {}\n            }\n        ],\n        \"updatedAt\": \"2021-03-02T23:32:31.747Z\",\n        \"createdAt\": \"2021-03-02T23:32:31.742Z\",\n        \"phones\": [\n            {\n                \"default\": true,\n                \"id\": \"f192e81b-04fd-4898-bee1-d0ff17c26fd1\",\n                \"number\": \"966259243\",\n                \"code\": \"11\",\n                \"countryCode\": \"55\",\n                \"fullNumber\": \"+5511966259243\",\n                \"verifiedAt\": null,\n                \"updatedAt\": \"2021-03-02T23:32:31.761Z\",\n                \"createdAt\": \"2021-03-02T23:32:31.761Z\"\n            }\n        ],\n        \"addresses\": [\n            {\n                \"id\": \"af8e469b-7c52-44bb-a611-9726ffc5d09a\",\n                \"status\": \"own\",\n                \"default\": true,\n                \"reference\": \"\",\n                \"country\": \"BR\",\n                \"state\": \"SP\",\n                \"city\": \"São Paulo\",\n                \"code\": \"04166003\",\n                \"neighborhood\": \"Jardim Vergueiro\",\n                \"complement\": \"43 bl5\",\n                \"number\": \"3100\",\n                \"street\": \"Av Padre Arlindo Vieira\",\n                \"updatedAt\": \"2021-03-02T23:32:31.755Z\",\n                \"createdAt\": \"2021-03-02T23:32:31.755Z\"\n            }\n        ]\n    },\n    \"domain\": {\n        \"id\": \"7a30763c-cd3f-4bdb-964a-39c83218f915\",\n        \"name\": \"QA_DOMAIN\",\n        \"role\": \"common\"\n    }\n}"},{"id":"ff03af35-39eb-4609-9757-37c35123f995","name":"trying v2 body instead v3 body","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"domain\": \"2009aac5-7fc6-47fa-84d2-271f19858a4f\",\r\n    \"firstName\": \"EMPRESA\",\r\n    \"lastName\": \"LEGALNAME LTDA\",\r\n    \"email\": \"emailempresa@email.com\",\r\n    \"role\": \"consumer\",\r\n    \"consumer\": {\r\n        \"birthday\": \"2019-09-07T12:00:00.000Z\",\r\n        \"motherName\": null,\r\n        \"companyData\": {\r\n            \"establishmentFormat\": \"LTDA\",\r\n            \"stateRegistration\": \"\",\r\n            \"partnerChanged\": false,\r\n            \"openingDate\": \"2019-09-07T12:00:00.000Z\",\r\n            \"legalStatus\": \"active\",\r\n            \"legalNature\": \"213-5\",\r\n            \"activities\": [\r\n                {\r\n                    \"description\": \"Treinamento em desenvolvimento profissional e gerencial\",\r\n                    \"isMain\": true,\r\n                    \"code\": \"85.99-6-04\"\r\n                },\r\n                {\r\n                    \"description\": \"Edição de cadastros, listas e de outros produtos gráficos\",\r\n                    \"isMain\": false,\r\n                    \"code\": \"58.19-1-00\"\r\n                },\r\n                {\r\n                    \"description\": \"Outras atividades de ensino não especificadas anteriormente\",\r\n                    \"isMain\": false,\r\n                    \"code\": \"85.99-6-99\"\r\n                }\r\n            ],\r\n            \"tradeName\": \"EMPRESA Consultoria e Treinamentos\",\r\n            \"legalName\": \"EMPRESA LEGAL NAME LTDA\",\r\n            \"partners\": [\r\n                {\r\n                    \"birthCountry\": \"Brasil\",\r\n                    \"motherName\": \"MAE DO PARTNER PF\",\r\n                    \"birthDate\": \"1980-03-01T12:00:00.000Z\",\r\n                    \"addresses\": [\r\n                        {\r\n                            \"neighborhood\": \"Jardim Vergueiro\",\r\n                            \"complement\": \"43 bl5\",\r\n                            \"reference\": \"\",\r\n                            \"country\": \"BR\",\r\n                            \"street\": \"Av Padre Arlindo Vieira\",\r\n                            \"status\": \"own\",\r\n                            \"number\": \"3100\",\r\n                            \"state\": \"SP\",\r\n                            \"code\": \"04166003\",\r\n                            \"city\": \"São Paulo\"\r\n                        }\r\n                    ],\r\n                    \"profile\": \"owner\",\r\n                    \"phones\": [\r\n                        {\r\n                            \"number\": \"966259243\",\r\n                            \"type\": \"mobile\",\r\n                            \"code\": \"11\"\r\n                        }\r\n                    ],\r\n                    \"gender\": \"M\",\r\n                    \"taxId\": \"08538995766\",\r\n                    \"isPep\": false,\r\n                    \"email\": \"bruno.vieira@outlook.com\",\r\n                    \"type\": \"personal\",\r\n                    \"name\": \"Bruno da Silva Vieira\",\r\n                    \"revenue\": 1000\r\n                }\r\n            ],\r\n            \"revenue\": 1000,\r\n            \"taxId\": \"34794217000132\"\r\n        },\r\n        \"type\": \"corporate\",\r\n        \"pep\": false,\r\n        \"taxId\": \"34794217000132\",\r\n        \"phones\": [\r\n            {\r\n                \"default\": true,\r\n                \"number\": \"966259243\",\r\n                \"code\": \"11\",\r\n                \"countryCode\": \"55\"\r\n            }\r\n        ],\r\n        \"addresses\": [\r\n            {\r\n                \"status\": \"own\",\r\n                \"default\": true,\r\n                \"reference\": \"\",\r\n                \"country\": \"BR\",\r\n                \"state\": \"SP\",\r\n                \"city\": \"São Paulo\",\r\n                \"code\": \"04166003\",\r\n                \"neighborhood\": \"Jardim Vergueiro\",\r\n                \"complement\": \"43 bl5\",\r\n                \"number\": \"3100\",\r\n                \"street\": \"Av Padre Arlindo Vieira\"\r\n            }\r\n        ]\r\n    }\r\n}"},"url":"{{API_BASE_URL}}/consumers"},"status":"Bad Request","code":400,"_postman_previewlanguage":"JSON","header":[{"key":"x-cloud-trace-context","value":"64cb90cb9d27a01f51242d4fb4f1d877/185667396081689;o=1"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains"},{"key":"x-download-options","value":"noopen"},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-expose-headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"x-api-version","value":"3.0.0"},{"key":"vary","value":"X-HTTP-Method-Override, Accept-Encoding"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"472-lQWPx7/FUCLUVBnklIM0quHad8A\""},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Tue, 02 Mar 2021 23:23:21 GMT"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] An error occurred during user creation (stackId: 7a496d23-7e39-4a1e-8bdf-3ce6624eb412)\",\n    \"stackId\": \"7a496d23-7e39-4a1e-8bdf-3ce6624eb412\",\n    \"details\": {\n        \"errors\": [\n            {\n                \"path\": \"/consumer\",\n                \"params\": {\n                    \"missingProperty\": \"financialEquity\"\n                },\n                \"message\": \"should have required property 'financialEquity'\"\n            },\n            {\n                \"path\": \"/consumer\",\n                \"params\": {\n                    \"missingProperty\": \"financialProfit\"\n                },\n                \"message\": \"should have required property 'financialProfit'\"\n            },\n            {\n                \"path\": \"/consumer/companyData/openingDate\",\n                \"params\": {\n                    \"format\": \"date\"\n                },\n                \"message\": \"should match format \\\"date\\\"\"\n            },\n            {\n                \"path\": \"/consumer/companyData/partners/0/profile\",\n                \"params\": {\n                    \"allowedValues\": [\n                        \"OWNER\",\n                        \"ATTORNEY\"\n                    ]\n                },\n                \"message\": \"should be equal to one of the allowed values\"\n            }\n        ]\n    },"}],"_postman_id":"79b00e60-a859-4eae-ae78-ac9c294355bc"},{"name":"Create Consumer (PF)","event":[{"listen":"prerequest","script":{"exec":["const randDig = (a, b) => Math.floor((b+1-a)*Math.random())+a; //creates a random integer between a and b (both non negatives)\r","\r","const randCpf = () => {\r","    let i = 0;\r","    let cpf=[];\r","\r","    let d1 = 0;\r","    let d2 = 0; //Both will be used to calculate the digits of the tax id\r","\r","    cpf.push(randDig(1, 9)); //first digit must be in the set [1;9]\r","    \r","    d1 = 10 * cpf[0];\r","    d2 = 11 * cpf[0];\r","\r","    for(i = 1; i < 9; i++){\r","        cpf.push(randDig(0, 9));\r","        d1 += (10 - i) * cpf[i];\r","        d2 += (11 - i) * cpf[i];\r","    }\r","    let resto11 = d1 % 11;\r","    d1 = (resto11 === 0 || resto11 ==1) ? 0:(11 - resto11);\r","\r","    cpf.push(d1);\r","    \r","    d2 += 2*d1;\r","    resto11 = d2 % 11;\r","    d2 = (resto11 == 0 || resto11 ==1) ? 0:(11 - resto11);\r","    cpf.push(d2);\r","\r","    let cpfInt = 0;\r","    for (i = 0; i < 11; i++){\r","        cpfInt+=cpf[10-i] * (10**i)   \r","     }\r","    return cpfInt;\r","};\r","\r","const mobileNumber = randDig(900000000, 999999999);\r","\r","pm.collectionVariables.set(\"randomCPF\", randCpf());\r","pm.collectionVariables.set(\"randomPhone\", mobileNumber);\r","\r",""],"type":"text/javascript","id":"8a72e3e4-068b-4f2e-95e5-34c54b0cda45"}},{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"239079cc-3963-400e-938a-00ac871cbaf9"}}],"id":"07a1ecb2-d899-46c0-9115-e32f630f5fbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"domain\": \"7a30763c-cd3f-4bdb-964a-39c83218f915\",\n    \"password\": \"P@$$w0rd\",\n    \"firstName\": \"Michael\",\n    \"lastName\": \"Hauck\",\n    \"email\": \"Julie47@gmail.com\",\n    \"consumer\": {\n        \"type\": \"personal\",\n        \"taxId\": \"{{randomCPF}}\",\n        \"motherName\": \"Mae do userPF\",\n        \"birthday\": \"1980-02-29 12:00:00\",\n        \"phones\": [\n            {\n                \"code\": \"27\",\n                \"number\": \"{{randomPhone}}\",\n                \"type\": \"mobile\"\n            }\n        ],\n        \"addresses\": [\n            {\n                \"country\": \"BR\",\n                \"state\": \"ES\",\n                \"city\": \"Vitoria\",\n                \"code\": \"29018280\",\n                \"street\": \"Parque Moscoso\",\n                \"number\": \"100\",\n                \"neighborhood\": \"Centro\",\n                \"complement\": \"casa 01\",\n                \"reference\": \"pto de referencia\",\n                \"status\": \"own\"\n            }\n        ]\n    }\n}"},"url":"{{API_BASE_URL}}/consumers","description":"<p>Create a new consumer.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:write</code></p>\n","urlObject":{"path":["consumers"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"604d7c67-2e01-4800-b785-6e4a59f8579b","name":"trying v2 body instead v3 body","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"domain\": \"2009aac5-7fc6-47fa-84d2-271f19858a4f\",\n    \"password\": \"P@$$w0rd\",\n    \"firstName\": \"Halle\",\n    \"lastName\": \"Deckow\",\n    \"email\": \"Wendell.Littel38@gmail.com\",\n    \"consumer\": {\n        \"type\": \"personal\",\n        \"taxId\": \"{{randomCPF}}\",\n        \"motherName\": \"Mae do userPF\",\n        \"birthday\": \"1980-02-29 12:00:00\",\n        \"phones\": [\n            {\n                \"code\": \"27\",\n                \"number\": \"{{randomPhone}}\",\n                \"type\": \"mobile\"\n            }\n        ],\n        \"addresses\": [\n            {\n                \"country\": \"BR\",\n                \"state\": \"ES\",\n                \"city\": \"Vitoria\",\n                \"code\": \"29018280\",\n                \"street\": \"Parque Moscoso\",\n                \"number\": \"100\",\n                \"neighborhood\": \"Centro\",\n                \"complement\": \"casa 01\",\n                \"reference\": \"pto de referencia\",\n                \"status\": \"own\"\n            }\n        ]\n    }\n}"},"url":"{{API_BASE_URL}}/consumers"},"status":"Bad Request","code":400,"_postman_previewlanguage":"JSON","header":[{"key":"x-cloud-trace-context","value":"982db08369b48559bb751b69d0cf5f49/245959691624671;o=1"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains"},{"key":"x-download-options","value":"noopen"},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-expose-headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"x-api-version","value":"3.0.0"},{"key":"vary","value":"X-HTTP-Method-Override, Accept-Encoding"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-length","value":"930"},{"key":"etag","value":"W/\"3a2-BaWpXQJkFsiMMLzXadrX+zXx1S4\""},{"key":"date","value":"Tue, 02 Mar 2021 23:26:28 GMT"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] An error occurred during user creation (stackId: 2b5fb043-559d-41bb-a5ba-7a4aa15f11a9)\",\n    \"stackId\": \"2b5fb043-559d-41bb-a5ba-7a4aa15f11a9\",\n    \"details\": {\n        \"errors\": [\n            {\n                \"path\": \"/consumer\",\n                \"params\": {\n                    \"missingProperty\": \"financialEquity\"\n                },\n                \"message\": \"should have required property 'financialEquity'\"\n            },\n            {\n                \"path\": \"/consumer\",\n                \"params\": {\n                    \"missingProperty\": \"financialProfit\"\n                },\n                \"message\": \"should have required property 'financialProfit'\"\n            },\n            {\n                \"path\": \"/consumer/birthday\",\n                \"params\": {\n                    \"format\": \"date\"\n                },\n                \"message\": \"should match format \\\"date\\\"\"\n            }\n        ]\n    }}"},{"id":"aed8fad9-a323-47fc-8f18-f8c6fe02d20a","name":"Consumer OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"domain\": \"7a30763c-cd3f-4bdb-964a-39c83218f915\",\n    \"password\": \"P@$$w0rd\",\n    \"firstName\": \"Burnice\",\n    \"lastName\": \"Leuschke\",\n    \"email\": \"Ahmad.Ratke41@gmail.com\",\n    \"consumer\": {\n        \"type\": \"personal\",\n        \"taxId\": \"{{randomCPF}}\",\n        \"motherName\": \"Mae do userPF\",\n        \"birthday\": \"1980-02-29 12:00:00\",\n        \"phones\": [\n            {\n                \"code\": \"27\",\n                \"number\": \"{{randomPhone}}\",\n                \"type\": \"mobile\"\n            }\n        ],\n        \"addresses\": [\n            {\n                \"country\": \"BR\",\n                \"state\": \"ES\",\n                \"city\": \"Vitoria\",\n                \"code\": \"29018280\",\n                \"street\": \"Parque Moscoso\",\n                \"number\": \"100\",\n                \"neighborhood\": \"Centro\",\n                \"complement\": \"casa 01\",\n                \"reference\": \"pto de referencia\",\n                \"status\": \"own\"\n            }\n        ]\n    }\n}"},"url":"{{API_BASE_URL}}/consumers"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"x-cloud-trace-context","value":"315598965f8992de5e3919d9e7ac3a2c/229923315132569;o=1"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains"},{"key":"x-download-options","value":"noopen"},{"key":"x-content-type-options","value":"nosniff"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-expose-headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"x-api-version","value":"2.7.0"},{"key":"vary","value":"X-HTTP-Method-Override, Accept-Encoding"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"80c-Hxhv5H4B32ecAAc3hFAONfpfbok\""},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Tue, 02 Mar 2021 23:32:56 GMT"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"96e78c8a-ff0a-4b54-865a-c45fb956419e\",\n    \"name\": \"Nettie Ullrich\",\n    \"firstName\": \"Nettie\",\n    \"lastName\": \"Ullrich\",\n    \"email\": \"violette69@gmail.com\",\n    \"role\": \"consumer\",\n    \"twoFactorRequired\": false,\n    \"updatedAt\": \"2021-03-02T23:32:55.930Z\",\n    \"createdAt\": \"2021-03-02T23:32:55.930Z\",\n    \"wallets\": [\n        {\n            \"id\": \"6a35202f-1533-4f8e-b58c-e03e6955ac44\",\n            \"states\": [\n                {\n                    \"id\": \"9c88675d-ce01-43fd-b637-e9f1ada5328b\",\n                    \"status\": \"pending\",\n                    \"createdAt\": \"2021-03-02T23:32:56.023Z\",\n                    \"updatedAt\": \"2021-03-02T23:32:56.023Z\",\n                    \"additionalData\": {\n                        \"acceptProviderLegalTerms\": true,\n                        \"fingerprint\": \"PostmanRuntime/7.26.8#189.120.74.179\"\n                    }\n                }\n            ],\n            \"stellar\": {\n                \"publicKey\": \"GBHE757LFZKE4EXUYD22RT7DPYGXBPWF7UYAAIFRMDFGAL6GOSBP4NYC\"\n            },\n            \"updatedAt\": \"2021-03-02T23:32:56.011Z\",\n            \"createdAt\": \"2021-03-02T23:32:56.011Z\",\n            \"deletedAt\": null,\n            \"status\": \"pending\",\n            \"additionalData\": {}\n        }\n    ],\n    \"consumer\": {\n        \"id\": \"32f46e1e-2e38-4ff7-b9f6-04757413a4e4\",\n        \"birthCity\": null,\n        \"birthState\": null,\n        \"birthday\": \"1980-02-29T12:00:00.000Z\",\n        \"motherName\": \"Mae do userPF\",\n        \"civilStatus\": \"unknown\",\n        \"financialProfit\": null,\n        \"financialEquity\": null,\n        \"type\": \"personal\",\n        \"pep\": false,\n        \"taxId\": \"41082863165\",\n        \"status\": \"pending_documents\",\n        \"states\": [\n            {\n                \"id\": \"c7d2b4ae-79be-4d7c-8ce9-fb5fe52598a1\",\n                \"status\": \"pending_documents\",\n                \"createdAt\": \"2021-03-02T23:32:55.987Z\",\n                \"updatedAt\": \"2021-03-02T23:32:55.987Z\",\n                \"additionalData\": {}\n            }\n        ],\n        \"updatedAt\": \"2021-03-02T23:32:55.987Z\",\n        \"createdAt\": \"2021-03-02T23:32:55.956Z\",\n        \"phones\": [\n            {\n                \"default\": true,\n                \"id\": \"2393b121-76ca-4ae1-9334-51c59ceb83dd\",\n                \"number\": \"925423162\",\n                \"code\": \"27\",\n                \"countryCode\": \"55\",\n                \"fullNumber\": \"+5527925423162\",\n                \"verifiedAt\": null,\n                \"updatedAt\": \"2021-03-02T23:32:56.005Z\",\n                \"createdAt\": \"2021-03-02T23:32:56.005Z\"\n            }\n        ],\n        \"addresses\": [\n            {\n                \"id\": \"d3259b72-beb2-4016-b4db-72d240044492\",\n                \"status\": \"own\",\n                \"default\": true,\n                \"reference\": \"pto de referencia\",\n                \"country\": \"BR\",\n                \"state\": \"ES\",\n                \"city\": \"Vitoria\",\n                \"code\": \"29018280\",\n                \"neighborhood\": \"Centro\",\n                \"complement\": \"casa 01\",\n                \"number\": \"100\",\n                \"street\": \"Parque Moscoso\",\n                \"updatedAt\": \"2021-03-02T23:32:56.000Z\",\n                \"createdAt\": \"2021-03-02T23:32:56.000Z\"\n            }\n        ]\n    },\n    \"domain\": {\n        \"id\": \"7a30763c-cd3f-4bdb-964a-39c83218f915\",\n        \"name\": \"QA_DOMAIN\",\n        \"role\": \"common\"\n    }\n}"}],"_postman_id":"07a1ecb2-d899-46c0-9115-e32f630f5fbe"},{"name":"List phoneID","id":"4e9cc42f-2dcb-48f9-9543-60ac760df919","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/:id/phones","description":"<p>Get all phones from a consumer by it's id.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:read</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","phones"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"e32335dd-0427-4d40-8d88-6688de7ea3d8","description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"any","value":"99cfb4bb-c9ad-457d-b285-67c840879816","key":"id"}]}},"response":[],"_postman_id":"4e9cc42f-2dcb-48f9-9543-60ac760df919"},{"name":"Send token SMS","id":"f4827c79-caf6-4565-9c3d-2213aae8dd7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{API_BASE_URL}}/consumers/:userId/phones/:phoneId/send-token","description":"<p>Ask for a token for validate the consumer mobile phone</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":userId","phones",":phoneId","send-token"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"5d0320e3-6929-4446-86b1-d9b6cc387d0a","type":"any","value":"9fcd5ded-2413-422a-8cc8-1d9ad332be5b","key":"userId"},{"id":"b75986d2-9588-4bb3-9d82-abf09c0b8efb","type":"any","value":"17b5a29b-379d-4173-afe9-18b938c22362","key":"phoneId"}]}},"response":[{"id":"18203315-4443-4446-aa06-f65c77cca566","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{API_BASE_URL}}/consumers/:userId/phones/:phoneId/send-token","host":["{{API_BASE_URL}}"],"path":["consumers",":userId","phones",":phoneId","send-token"],"variable":[{"key":"userId","value":"9fcd5ded-2413-422a-8cc8-1d9ad332be5b"},{"key":"phoneId","value":"17b5a29b-379d-4173-afe9-18b938c22362"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] Request limit per period reached. (stackId: fe1d6eec-1815-4b35-ab76-3ab4240ef8eb)\",\n    \"stackId\": \"fe1d6eec-1815-4b35-ab76-3ab4240ef8eb\",\n    \"details\": {\n        \"timeToWait\": 56.378\n    },\n    \"stack\": \"InvalidRequestError: [400] Request limit per period reached. (stackId: fe1d6eec-1815-4b35-ab76-3ab4240ef8eb)\\n    at Phone.<anonymous> (/home/ricardo/workspace/bitcapital/monorepo/core/core-api/api/models/consumer/Phone.ts:78:13)\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/home/ricardo/workspace/bitcapital/monorepo/core/core-api/dist/api/models/consumer/Phone.js:13:58)\"\n}"},{"id":"57ff93c2-7ee4-452c-a6f2-14cc105d0c16","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{API_BASE_URL}}/consumers/:userId/phones/:phoneId/send-token","host":["{{API_BASE_URL}}"],"path":["consumers",":userId","phones",":phoneId","send-token"],"variable":[{"key":"userId","value":"9fcd5ded-2413-422a-8cc8-1d9ad332be5b"},{"key":"phoneId","value":"17b5a29b-379d-4173-afe9-18b938c22362"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"coolDownTime\": 60,\n    \"expiresAt\": \"2019-08-19T14:34:23-03:00\",\n    \"expiresIn\": 300\n}"}],"_postman_id":"f4827c79-caf6-4565-9c3d-2213aae8dd7f"},{"name":"Verify token SMS","id":"6c95ab7c-9bdf-442f-8068-1503a9fb1539","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token\": \"H-132307\"\n}"},"url":"{{API_BASE_URL}}/consumers/:id/phones/:phoneId/verify","description":"<p>Sends a token to validate consumer mobile phone</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","phones",":phoneId","verify"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"2a3416f4-b260-483c-81d4-8e643b5f2624","type":"any","value":"eb330fd7-34cf-447b-ab11-15ad01a84905","key":"id"},{"id":"26079fc8-d4d4-42c2-800e-3c3a47d61cae","type":"any","value":"1071603c-8d73-4bab-98fa-f53772a410f8","key":"phoneId"}]}},"response":[{"id":"2766d6a0-97ee-4a2a-8d7b-9219e1631a70","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token\": \"9001\"\n}"},"url":{"raw":"{{API_BASE_URL}}/consumers/:userId/phones/:phoneId/verify","host":["{{API_BASE_URL}}"],"path":["consumers",":userId","phones",":phoneId","verify"],"variable":[{"key":"userId","value":"9fcd5ded-2413-422a-8cc8-1d9ad332be5b"},{"key":"phoneId","value":"17b5a29b-379d-4173-afe9-18b938c22362"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Phone successfuly verified.\"\n}"},{"id":"537f44f6-68c6-4351-9159-e5d9b044123b","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token\": \"1234\"\n}"},"url":{"raw":"{{API_BASE_URL}}/consumers/:userId/phones/:phoneId/verify","host":["{{API_BASE_URL}}"],"path":["consumers",":userId","phones",":phoneId","verify"],"variable":[{"key":"userId","value":"9fcd5ded-2413-422a-8cc8-1d9ad332be5b"},{"key":"phoneId","value":"17b5a29b-379d-4173-afe9-18b938c22362"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] The token is invalid or expired. (stackId: 25d2cf6a-449b-4999-8889-f788963e62cc)\",\n    \"stackId\": \"25d2cf6a-449b-4999-8889-f788963e62cc\",\n    \"details\": {},\n    \"stack\": \"InvalidRequestError: [400] The token is invalid or expired. (stackId: 25d2cf6a-449b-4999-8889-f788963e62cc)\\n    at Function.<anonymous> (/home/ricardo/workspace/bitcapital/monorepo/core/core-api/api/controllers/PhoneController.ts:138:13)\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/home/ricardo/workspace/bitcapital/monorepo/core/core-api/dist/api/controllers/PhoneController.js:13:58)\"\n}"}],"_postman_id":"6c95ab7c-9bdf-442f-8068-1503a9fb1539"},{"name":"Upload documents","id":"71ac88f6-4fd4-4709-a336-2203e57bd10e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/C:/Users/bruno/OneDrive/Área de Trabalho/pixe_verde.jpg"},{"key":"number","value":"08538995766","type":"text"},{"key":"reason","value":"Seems legit","description":"<p>reason of manual approvation (Compliante team only)</p>\n","type":"text","disabled":true}]},"url":"{{API_BASE_URL}}/consumers/:id/documents/:type/:side","description":"<p>Uploads a picture and stores it related with the consumer using its UUID.\nIf there's no document of this type, it will be created.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:documents:write</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","documents",":type",":side"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"4e59cadb-cbab-43b3-9650-9667152c2c13","description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"any","value":"27ec3f9d-1ce9-42dd-b0fa-611312a4c388","key":"id"},{"id":"eee0204a-4ab5-40ea-975a-d3bbc8abce5f","description":{"content":"<p>brl_individual_reg | brl_drivers_license | articles_of_association</p>\n","type":"text/plain"},"type":"any","value":"brl_individual_reg","key":"type"},{"id":"c9f90deb-7dc4-4e58-a9a8-9ab14c62584e","description":{"content":"<p>front | back | selfie | both_sides</p>\n","type":"text/plain"},"type":"any","value":"front","key":"side"}]}},"response":[{"id":"50a1db85-c7e6-4400-b999-bf394db6b253","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]},{"key":"number","value":"12345678912","type":"text"}]},"url":{"raw":"{{API_BASE_URL}}/consumers/:id/documents/:type/:side","host":["{{API_BASE_URL}}"],"path":["consumers",":id","documents",":type",":side"],"variable":[{"key":"id","value":"9fcd5ded-2413-422a-8cc8-1d9ad332be5b"},{"key":"type","value":"brl_drivers_license"},{"key":"side","value":"both_sides"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"239","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Jul 2018 16:47:54 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"ef-tLK8U0KRpsiCbUnQPhKmksBhiIE\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Vary","value":"X-HTTP-Method-Override","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1344df72-93e5-473f-8770-74313549588d\",\n    \"type\": \"brl_drivers_license\",\n    \"number\": \"12345678912\",\n    \"createdAt\": \"2019-08-19T15:19:26.964Z\",\n    \"updatedAt\": \"2019-08-19T15:28:18.722Z\"\n}"},{"id":"966d38b3-2745-4f2a-a6eb-3e2850a017f5","name":"404 - Consumer not Found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"addresses\": [\n    {\n      \"geo\": {\n        \"x\": -22.8266116,\n        \"y\": -47.0761661\n      },\n      \"country\": \"Brasil\",\n      \"city\": \"Campinas\",\n      \"code\": \"11111-111\",\n      \"address\": \"Av. Dr. Romeu Tórtima\",\n      \"number\": \"1440\",\n      \"complement\": \"No Complement\"\n    }\n  ],\n  \"phones\": [\n    {\n        \"code\": 55,\n      \"number\": \"19996191600\"\n    }\n  ]\n}"},"url":"{{API_BASE_URL}}/consumers/98ad9292-8a02-11e8-9a94-a6cf71072f73"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"602","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 21:01:43 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"25a-h+MKs3fAp47Dmra33a1YTEL8eWc\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Vary","value":"X-HTTP-Method-Override","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\"status\":404,\"message\":\"[404] 98ad9292-8a02-11e8-9a94-a6cf71072f73 not found (stackId: b2e3c322-1259-4cbe-92b4-fdab5d7ed893)\",\"stackId\":\"b2e3c322-1259-4cbe-92b4-fdab5d7ed893\",\"details\":{},\"stack\":\"HttpError: [404] 98ad9292-8a02-11e8-9a94-a6cf71072f73 not found (stackId: b2e3c322-1259-4cbe-92b4-fdab5d7ed893)\\n    at Object.<anonymous> (/home/rangel/Workspace/nxtep/bitcapital/bitcapital-core/api/filters/exists/consumer.ts:18:15)\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/home/rangel/Workspace/nxtep/bitcapital/bitcapital-core/api/filters/exists/consumer.ts:4:58)\\n    at <anonymous>\"}"}],"_postman_id":"71ac88f6-4fd4-4709-a336-2203e57bd10e"},{"name":"List Legal Terms","id":"b89d45bc-c0a0-4dec-a65d-88303412a6ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/legal-terms?skip=0&limit=50","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["legal-terms"],"host":["{{API_BASE_URL}}"],"query":[{"key":"skip","value":"0"},{"key":"limit","value":"50"}],"variable":[]}},"response":[],"_postman_id":"b89d45bc-c0a0-4dec-a65d-88303412a6ad"},{"name":"Read Legal Terms","id":"b31ce00c-2417-44f1-875a-51203ba28cfe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/:id/legal-terms","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","legal-terms"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"4be42145-af2c-43ae-84ac-cb08ff04c5be","description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"any","value":"ae44123c-9b90-4eb4-86ac-6d3fba8d7ae1","key":"id"}]}},"response":[],"_postman_id":"b31ce00c-2417-44f1-875a-51203ba28cfe"},{"name":"Accept Legal Terms","id":"6bf929b4-32f8-46ce-b046-41fe38f9374d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"ip\": \"127.0.0.1\",\n\t\"userAgent\": \"Postman\"\n}"},"url":"{{API_BASE_URL}}/consumers/:consumerId/legal-terms/:legalTermId","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":consumerId","legal-terms",":legalTermId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"f7b6178a-1d15-46d5-bb2d-fdf0fa78b06b","description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"any","value":"99cfb4bb-c9ad-457d-b285-67c840879816","key":"consumerId"},{"id":"01b0d118-6c1f-4187-981e-8755feb5c5a7","description":{"content":"<p>legaltermsID</p>\n","type":"text/plain"},"type":"any","value":"af926215-e8b6-4ebd-844d-a1d72610c666","key":"legalTermId"}]}},"response":[],"_postman_id":"6bf929b4-32f8-46ce-b046-41fe38f9374d"}],"id":"f4ba7a63-c3cb-447a-bab0-cc373154f419","_postman_id":"f4ba7a63-c3cb-447a-bab0-cc373154f419","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Core 3.x.x","item":[{"name":"Consumer States","item":[{"name":"List all phones","id":"2d114855-1cc7-4a77-ab70-0af3e91dc5d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/:id/phones","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","phones"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"de89e709-08a8-40f6-bcd2-a5ea31ab72ac","name":"Phones listed","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/consumers/:id/phones","host":["{{API_BASE_URL}}"],"path":["consumers",":id","phones"],"variable":[{"key":"id","value":"","description":"userID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"default\": true,\n        \"id\": \"ac6acef0-a129-4535-bcf3-b71d6641eae9\",\n        \"number\": \"966966966\",\n        \"code\": \"11\",\n        \"countryCode\": \"55\",\n        \"fullNumber\": \"+5511966966966\",\n        \"verifiedAt\": null,\n        \"updatedAt\": \"2021-02-16T13:46:45.357Z\",\n        \"createdAt\": \"2021-02-16T13:20:28.648Z\"\n    }\n]"}],"_postman_id":"2d114855-1cc7-4a77-ab70-0af3e91dc5d0"},{"name":"Send a token SMS","id":"d09788f1-b2e6-4055-b576-2a455e6b58c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{API_BASE_URL}}/consumers/:userId/phones/:phoneId/send-token","description":"<p>Ask for a token for validate the consumer mobile phone</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":userId","phones",":phoneId","send-token"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"string","value":"9fcd5ded-2413-422a-8cc8-1d9ad332be5b","key":"userId"},{"description":{"content":"<p>phoneID</p>\n","type":"text/plain"},"type":"string","value":"17b5a29b-379d-4173-afe9-18b938c22362","key":"phoneId"}]}},"response":[{"id":"50e5a275-337a-4a6c-855b-9023b5e6dd7d","name":"Token SMS sent","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{API_BASE_URL}}/consumers/:userId/phones/:phoneId/send-token","host":["{{API_BASE_URL}}"],"path":["consumers",":userId","phones",":phoneId","send-token"],"variable":[{"key":"userId","value":"9fcd5ded-2413-422a-8cc8-1d9ad332be5b"},{"key":"phoneId","value":"17b5a29b-379d-4173-afe9-18b938c22362"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"coolDownTime\": 60,\n    \"expiresAt\": \"2019-08-19T14:34:23-03:00\",\n    \"expiresIn\": 300\n}"},{"id":"d7626ef9-2041-4fa7-a0c2-ef60b15b7c88","name":"Time reached","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{API_BASE_URL}}/consumers/:userId/phones/:phoneId/send-token","host":["{{API_BASE_URL}}"],"path":["consumers",":userId","phones",":phoneId","send-token"],"variable":[{"key":"userId","value":"9fcd5ded-2413-422a-8cc8-1d9ad332be5b"},{"key":"phoneId","value":"17b5a29b-379d-4173-afe9-18b938c22362"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] Request limit per period reached. (stackId: fe1d6eec-1815-4b35-ab76-3ab4240ef8eb)\",\n    \"stackId\": \"fe1d6eec-1815-4b35-ab76-3ab4240ef8eb\",\n    \"details\": {\n        \"timeToWait\": 56.378\n    },\n    \"stack\": \"InvalidRequestError: [400] Request limit per period reached. (stackId: fe1d6eec-1815-4b35-ab76-3ab4240ef8eb)\\n    at Phone.<anonymous> (/home/ricardo/workspace/bitcapital/monorepo/core/core-api/api/models/consumer/Phone.ts:78:13)\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/home/ricardo/workspace/bitcapital/monorepo/core/core-api/dist/api/models/consumer/Phone.js:13:58)\"\n}"}],"_postman_id":"d09788f1-b2e6-4055-b576-2a455e6b58c9"},{"name":"Verify a token SMS","id":"2230b4b0-6af4-49d2-be66-3240c8268abc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token\": \"4670\"\n}"},"url":"{{API_BASE_URL}}/consumers/:id/phones/:phoneId/verify","description":"<p>Sends a token to validate consumer mobile phone</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","phones",":phoneId","verify"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"2df9bf05-6f70-4185-98ba-337867681c8d","type":"string","value":"158ddfde-f482-4c45-849c-01bb9d1fafcf","key":"id"},{"id":"ab315b8f-b276-4a72-8efa-2f6b86cab7f9","type":"string","value":"18fc7e1b-78ae-4b8e-b452-d8491da6c383","key":"phoneId"}]}},"response":[{"id":"03de3c85-5e40-43a7-b9a1-36f2c8d6f498","name":"Number verified","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token\": \"9001\"\n}"},"url":{"raw":"{{API_BASE_URL}}/consumers/:userId/phones/:phoneId/verify","host":["{{API_BASE_URL}}"],"path":["consumers",":userId","phones",":phoneId","verify"],"variable":[{"key":"userId","value":"9fcd5ded-2413-422a-8cc8-1d9ad332be5b"},{"key":"phoneId","value":"17b5a29b-379d-4173-afe9-18b938c22362"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Phone successfuly verified.\"\n}"},{"id":"862b307c-ae79-4a65-9a0e-86f0d42f4fe4","name":"Token invalid or expired","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token\": \"1234\"\n}"},"url":{"raw":"{{API_BASE_URL}}/consumers/:userId/phones/:phoneId/verify","host":["{{API_BASE_URL}}"],"path":["consumers",":userId","phones",":phoneId","verify"],"variable":[{"key":"userId","value":"9fcd5ded-2413-422a-8cc8-1d9ad332be5b"},{"key":"phoneId","value":"17b5a29b-379d-4173-afe9-18b938c22362"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] The token is invalid or expired. (stackId: 25d2cf6a-449b-4999-8889-f788963e62cc)\",\n    \"stackId\": \"25d2cf6a-449b-4999-8889-f788963e62cc\",\n    \"details\": {},\n    \"stack\": \"InvalidRequestError: [400] The token is invalid or expired. (stackId: 25d2cf6a-449b-4999-8889-f788963e62cc)\\n    at Function.<anonymous> (/home/ricardo/workspace/bitcapital/monorepo/core/core-api/api/controllers/PhoneController.ts:138:13)\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/home/ricardo/workspace/bitcapital/monorepo/core/core-api/dist/api/controllers/PhoneController.js:13:58)\"\n}"}],"_postman_id":"2230b4b0-6af4-49d2-be66-3240c8268abc"},{"name":"List Legal Terms","id":"b53aba63-1e71-4d70-ba72-9e40d24b37ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/legal-terms?skip=0&limit=50","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["legal-terms"],"host":["{{API_BASE_URL}}"],"query":[{"description":{"content":"<p>itens to show</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>itens to skip (MAX 50) (pagination)</p>\n","type":"text/plain"},"key":"limit","value":"50"}],"variable":[]}},"response":[{"id":"21626538-0342-464e-ac27-1d45e53bbe89","name":"All legal terms to accept","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/legal-terms?skip=0&limit=50","host":["{{API_BASE_URL}}"],"path":["legal-terms"],"query":[{"key":"skip","value":"0","description":"itens to show"},{"key":"limit","value":"50","description":"itens to skip (MAX 50) (pagination)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"deletedAt\": null,\n        \"updatedAt\": \"2021-02-15T22:11:49.660Z\",\n        \"createdAt\": \"2021-02-15T22:11:49.660Z\",\n        \"provider\": null,\n        \"body\": \"...\",\n        \"name\": \"Bitcapital Terms of Use\",\n        \"active\": true,\n        \"type\": \"terms_of_use\",\n        \"id\": \"49d2c972-1d60-4804-968d-dd15ecb3a0fc\"\n    },\n    {\n        \"deletedAt\": null,\n        \"updatedAt\": \"2021-02-15T22:11:49.660Z\",\n        \"createdAt\": \"2021-02-15T22:11:49.660Z\",\n        \"provider\": null,\n        \"body\": \"...\",\n        \"name\": \"Bitcapital Privacy Policy\",\n        \"active\": true,\n        \"type\": \"privacy_policy\",\n        \"id\": \"e0bdbca1-40f2-42f8-a117-3a4b3fb2b1da\"\n    }\n]"}],"_postman_id":"b53aba63-1e71-4d70-ba72-9e40d24b37ab"},{"name":"Read Legal Term","id":"39ed2bc2-cfad-4f67-a4f6-aad1d3b2350f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/:id/legal-terms","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","legal-terms"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"39ed2bc2-cfad-4f67-a4f6-aad1d3b2350f"},{"name":"Accept Legal Term","id":"ad8fb1aa-ccaa-46ca-96ad-69b23cfe6e44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"ip\": \"127.0.0.1\",\n    \"userAgent\": \"Postman\"\n}\n//this is for example only","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/consumers/:consumerId/legal-terms/:legalTermId","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":consumerId","legal-terms",":legalTermId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"type":"string","value":"","key":"consumerId"},{"type":"string","value":"","key":"legalTermId"}]}},"response":[{"id":"3900eb89-c2e9-4aea-88fe-13d1973a9c0a","name":"Accepted a legal term","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"ip\": \"127.0.0.1\",\n    \"userAgent\": \"Postman\"\n}\n//this is for example only","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/consumers/:consumerId/legal-terms/:legalTermId","host":["{{API_BASE_URL}}"],"path":["consumers",":consumerId","legal-terms",":legalTermId"],"variable":[{"key":"consumerId","value":""},{"key":"legalTermId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"deletedAt\": null,\n    \"updatedAt\": \"2021-03-03T03:47:42.885Z\",\n    \"createdAt\": \"2021-03-03T03:47:42.885Z\",\n    \"consumerInfo\": {\n        \"userAgent\": \"Postman\",\n        \"ip\": \"127.0.0.1\"\n    },\n    \"id\": \"cb32e0b7-3ad2-4f88-a53f-a667081bddb9\"\n}"}],"_postman_id":"ad8fb1aa-ccaa-46ca-96ad-69b23cfe6e44"}],"id":"454dd068-fb42-4431-b193-9729ad2aa5be","_postman_id":"454dd068-fb42-4431-b193-9729ad2aa5be","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Send documents to report","item":[{"name":"Generate DocumentId","id":"85ddab33-78e7-4956-a18d-8fe6ea824edb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\"type\":\"proof_of_life\"\n\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/consumers/:id/documents/","description":"<p>The process of sending documents to a reportId starts with the generation of the \"documentId\". After creating a \"documentId\" it will be necessary to send the sides of each. <br /></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","documents",""],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"28636f11-6365-487b-af9c-66f7e5cbb06e","description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"any","value":"a715bcd8-bfb7-4d8c-8a8b-9488625a5faa","key":"id"}]}},"response":[{"id":"cd2898e1-5042-4d14-ad9c-a5912b7d5caa","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\":\"brl_drivers_license\",\n    \"number\": \"123\"\n\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/consumers/:id/documents/","host":["{{API_BASE_URL}}"],"path":["consumers",":id","documents",""],"variable":[{"key":"id","value":"c9967903-e372-430b-acb9-4ce2dd935ec4","description":"userID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"X-API-Version","value":"2.6.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Vary","value":"X-HTTP-Method-Override, Accept-Encoding"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"183"},{"key":"ETag","value":"W/\"b7-vcBLAkB+iHbb76JXPV0eXDl3UHs\""},{"key":"Date","value":"Sat, 13 Feb 2021 19:24:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"isActive\": true,\n    \"id\": \"a6044b35-ea0b-4d9c-925c-b1b8e48c3876\",\n    \"type\": \"brl_drivers_license\",\n    \"number\": \"1234567891\",\n    \"createdAt\": \"2021-02-13T19:24:33.850Z\",\n    \"updatedAt\": \"2021-02-13T19:24:33.850Z\"\n}"},{"id":"d8cc8096-5816-477d-93e9-af596a1af213","name":"400 number required","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\":\"brl_drivers_license\"\n\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/consumers/:id/documents/","host":["{{API_BASE_URL}}"],"path":["consumers",":id","documents",""],"variable":[{"key":"id","value":"c9967903-e372-430b-acb9-4ce2dd935ec4","description":"userID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"JSON","header":[{"key":"X-API-Version","value":"2.6.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Vary","value":"X-HTTP-Method-Override, Accept-Encoding"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"425-BSeTtXlwNLZ+TJT3Io+a+iqWVJ8\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Sat, 13 Feb 2021 19:23:05 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] Number field is required for the provided documentType (stackId: 831dc3e4-4269-4e40-ab4e-4a04252998b2)\",\n    \"stackId\": \"831dc3e4-4269-4e40-ab4e-4a04252998b2\",\n    \"details\": {\n        \"type\": \"brl_drivers_license\"\n    },\n    \"stack\": \"HttpError: [400] Number field is required for the provided documentType (stackId: 831dc3e4-4269-4e40-ab4e-4a04252998b2)\\n    at \"\n}"}],"_postman_id":"85ddab33-78e7-4956-a18d-8fe6ea824edb"},{"name":"List DocumentId","id":"5c98b1a1-de98-4a69-a6bf-4b9cd92b3681","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/consumers/:id/documents/","description":"<p>\"brl_individual_reg\",</p>\n\"brl_drivers_license\",,<p></p>\n\"brl_passport\",,<p></p>\n\"ccmei\",,<p></p>\n\"ei_registration_requirement\",,<p></p>\n\"eireli_incorporation_statement\",,<p></p>\n\"company_bylaws\",,<p></p>\n\"articles_of_association\",,<p></p>\n\"brl_address_statement\",,<p></p>\n\"signature\",,<p></p>\n\"proof_of_life\",,<p></p>\n\"other\",<p></p><p></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","documents",""],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"7587e117-c0d8-4d89-acf1-43150412c061","description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"any","value":"a715bcd8-bfb7-4d8c-8a8b-9488625a5faa","key":"id"}]}},"response":[{"id":"d8cb4b49-85ed-4455-9bdb-240dd7034192","name":"400 number required","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\":\"brl_drivers_license\"\n\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/consumers/:id/documents/","host":["{{API_BASE_URL}}"],"path":["consumers",":id","documents",""],"variable":[{"key":"id","value":"c9967903-e372-430b-acb9-4ce2dd935ec4","description":"userID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"JSON","header":[{"key":"X-API-Version","value":"2.6.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Vary","value":"X-HTTP-Method-Override, Accept-Encoding"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"425-BSeTtXlwNLZ+TJT3Io+a+iqWVJ8\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Sat, 13 Feb 2021 19:23:05 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] Number field is required for the provided documentType (stackId: 831dc3e4-4269-4e40-ab4e-4a04252998b2)\",\n    \"stackId\": \"831dc3e4-4269-4e40-ab4e-4a04252998b2\",\n    \"details\": {\n        \"type\": \"brl_drivers_license\"\n    },\n    \"stack\": \"HttpError: [400] Number field is required for the provided documentType (stackId: 831dc3e4-4269-4e40-ab4e-4a04252998b2)\\n    at \"\n}"},{"id":"d936364f-baf5-46ab-9bbd-1e1096dd3f3b","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\":\"brl_drivers_license\",\n    \"number\": \"123\"\n\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/consumers/:id/documents/","host":["{{API_BASE_URL}}"],"path":["consumers",":id","documents",""],"variable":[{"key":"id","value":"c9967903-e372-430b-acb9-4ce2dd935ec4","description":"userID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"X-API-Version","value":"2.6.1"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Vary","value":"X-HTTP-Method-Override, Accept-Encoding"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"183"},{"key":"ETag","value":"W/\"b7-vcBLAkB+iHbb76JXPV0eXDl3UHs\""},{"key":"Date","value":"Sat, 13 Feb 2021 19:24:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"isActive\": true,\n    \"id\": \"a6044b35-ea0b-4d9c-925c-b1b8e48c3876\",\n    \"type\": \"brl_drivers_license\",\n    \"number\": \"1234567891\",\n    \"createdAt\": \"2021-02-13T19:24:33.850Z\",\n    \"updatedAt\": \"2021-02-13T19:24:33.850Z\"\n}"}],"_postman_id":"5c98b1a1-de98-4a69-a6bf-4b9cd92b3681"},{"name":"Upload of side of DocumentId","id":"94423e35-f07c-4711-8781-ad333c315de6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/home/bvieira/Desktop/pixel-branco.jpg"}]},"url":"{{API_BASE_URL}}/consumers/:id/documents/:type/:side","description":"<p>All generated documentId need to have a document attached to it. On the platform, each document sent we call \"side\". Therefore, each \"side\" is a jpg, pdf or png file with a maximum size of 3MB.</p>\n<br />","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","documents",":type",":side"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"3b032851-59c9-4da6-8ad2-99b370081dea","description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"any","value":"a715bcd8-bfb7-4d8c-8a8b-9488625a5faa","key":"id"},{"id":"cdaf43c5-d7a5-4edd-afd6-066ac95ecf14","description":{"content":"<p>proof_of_life | brl_individual_reg | brl_drivers_license | articles_of_association</p>\n","type":"text/plain"},"type":"any","value":"proof_of_life","key":"type"},{"id":"6a9ba8da-bc9d-4d4f-a63a-0120503aa464","description":{"content":"<p>front | back | selfie | both_sides</p>\n","type":"text/plain"},"type":"any","value":"selfie","key":"side"}]}},"response":[],"_postman_id":"94423e35-f07c-4711-8781-ad333c315de6"}],"id":"e0a0d249-957e-452e-831f-a0f9abb006c5","_postman_id":"e0a0d249-957e-452e-831f-a0f9abb006c5","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Personal","item":[{"name":"Create Consumer (PF)","event":[{"listen":"prerequest","script":{"id":"982ba17e-0536-4d21-8248-a6b1cc3962eb","exec":["const randDig = (a, b) => Math.floor((b+1-a)*Math.random())+a; //creates a random integer between a and b (both non negatives)\r","\r","const randCpf = () => {\r","    let i = 0;\r","    let cpf=[];\r","\r","    let d1 = 0;\r","    let d2 = 0; //Both will be used to calculate the digits of the tax id\r","\r","    cpf.push(randDig(1, 9)); //first digit must be in the set [1;9]\r","    \r","    d1 = 10 * cpf[0];\r","    d2 = 11 * cpf[0];\r","\r","    for(i = 1; i < 9; i++){\r","        cpf.push(randDig(0, 9));\r","        d1 += (10 - i) * cpf[i];\r","        d2 += (11 - i) * cpf[i];\r","    }\r","    let resto11 = d1 % 11;\r","    d1 = (resto11 === 0 || resto11 ==1) ? 0:(11 - resto11);\r","\r","    cpf.push(d1);\r","    \r","    d2 += 2*d1;\r","    resto11 = d2 % 11;\r","    d2 = (resto11 == 0 || resto11 ==1) ? 0:(11 - resto11);\r","    cpf.push(d2);\r","\r","    let cpfInt = 0;\r","    for (i = 0; i < 11; i++){\r","        cpfInt+=cpf[10-i] * (10**i)   \r","     }\r","    return cpfInt;\r","};\r","\r","const mobileNumber = randDig(900000000, 999999999);\r","\r","pm.collectionVariables.set(\"randomCPF\", randCpf());\r","pm.collectionVariables.set(\"randomPhone\", mobileNumber);\r","\r",""],"type":"text/javascript"}},{"listen":"test","script":{"id":"09d04b39-77b0-4ad0-b689-ed8749ee379d","exec":["const body = pm.response.json();","pm.collectionVariables.set(\"newConsumerPF.id\", body.id);","pm.collectionVariables.set(\"newConsumerPF.firstName\", body.firstName);","pm.collectionVariables.set(\"newConsumerPF.lastName\", body.lastName);","pm.collectionVariables.set(\"newConsumerPF.email\", body.email);","pm.collectionVariables.set(\"newConsumerPF.consumer.taxId\", body.consumer.taxId);","pm.collectionVariables.set(\"newConsumerPF.wallets[0].id\", body.wallets[0].id);","pm.collectionVariables.set(\"newConsumerPF.consumer.phones[0].number\", body.consumer.phones[0].number);",""],"type":"text/javascript"}}],"id":"7ef9a690-1f37-404c-a3f9-ed32c2db10a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"domain\": \"db5d1cd8-42a5-4769-bf05-337898ce7ef4\",\n    \"password\": \"P@$$w0rd\",\n    \"username\": \"algumUser\", //optional | if you do not specify the username the platform assumes the email as username| case Sensitive\n    \"firstName\": \"First Name\",\n    \"lastName\": \"LastName of Consumer\",\n    \"email\": \"emailofconsumer@email.com\",\n    \"consumer\": {\n        \"financialEquity\": \"1000.00\", //decimal wit dot\n        \"financialProfit\": \"1000.00\", //decimal with dot\n        \"type\": \"personal\",\n        \"taxId\": \"11122233344\", //11 digits\n        \"motherName\": \"Mother of COnsumer\",\n        \"birthday\": \"1980-02-29\", \n        \"phones\": [\n            {\n                \"code\": \"27\",\n                \"number\": \"999666555\",\n                \"type\": \"mobile\"\n            }\n        ],\n        \"addresses\": [\n            {\n                \"country\": \"BR\",\n                \"state\": \"ES\",\n                \"city\": \"Vitoria\",\n                \"code\": \"29018280\",\n                \"street\": \"Parque Moscoso\",\n                \"number\": \"100\",\n                \"neighborhood\": \"Centro\",\n                \"complement\": \"casa 01\",\n                \"reference\": \"pto de referencia\",\n                \"status\": \"own\"\n            }\n        ]\n    }\n}"},"url":"{{API_BASE_URL}}/consumers","description":"<p>Create a new consumer.\n<br />\nNecessary SCOPE to perform <code>\"users:write\"</code></p>\n<p><code>Black Box Gerking</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">GIVEN Actor is logged in platform as mediator\nWHEN actor perform the action\nTHEN the response must be 200\nAND the consumer must be created in pending status\n</code></pre>\n","urlObject":{"path":["consumers"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ef9a690-1f37-404c-a3f9-ed32c2db10a2"}],"id":"b1ccb47c-46aa-4010-93be-d436a052a6fa","_postman_id":"b1ccb47c-46aa-4010-93be-d436a052a6fa","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Corporate","item":[{"name":"Create Consumer (PJ)","event":[{"listen":"prerequest","script":{"id":"9e50d4a8-9bb2-452f-83eb-b60ea60eaedc","exec":["const randDig = (a, b) => Math.floor((b+1-a)*Math.random())+a; //creates a random integer between a and b (both non negatives)","","const randCpf = () => {","    let i = 0;","    let cpf=[];","","    let d1 = 0;","    let d2 = 0; //Both will be used to calculate the digits of the tax id","","    cpf.push(randDig(1, 9)); //first digit must be in the set [1;9]","    ","    d1 = 10 * cpf[0];","    d2 = 11 * cpf[0];","","    for(i = 1; i < 9; i++){","        cpf.push(randDig(0, 9));","        d1 += (10 - i) * cpf[i];","        d2 += (11 - i) * cpf[i];","    }","    let resto11 = d1 % 11;","    d1 = (resto11 === 0 || resto11 ==1) ? 0:(11 - resto11);","","    cpf.push(d1);","    ","    d2 += 2*d1;","    resto11 = d2 % 11;","    d2 = (resto11 == 0 || resto11 ==1) ? 0:(11 - resto11);","    cpf.push(d2);","","    let cpfInt = 0;","    for (i = 0; i < 11; i++){","        cpfInt+=cpf[10-i] * (10**i)   ","     }","    return cpfInt;","};","","const mobileNumber = randDig(900000000, 999999999);","","pm.collectionVariables.set(\"randomCPF\", randCpf());","pm.collectionVariables.set(\"randomPhone\", mobileNumber);","",""],"type":"text/javascript"}},{"listen":"test","script":{"id":"defa098a-4516-4966-90e9-c9c6abe4163d","exec":[""],"type":"text/javascript"}}],"id":"22487767-8747-45aa-a907-eba30ff5e892","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"domain\": \"5f1953f1-8035-4a58-9390-b456065be79a\",\n    \"username\": \"userName\",\n    \"firstName\": \"Empresa Company\",\n    \"lastName\": \"Consumer PJ ME\",\n    \"password\": \"P@$$w0rd\",\n    \"email\": \"email@emailcorporate.com.br\",\n    \"role\": \"consumer\",\n    \"consumer\": {\n        \"type\": \"corporate\", //must be \"corporate\" for companies \n        \"taxId\": \"098765432109876\", //taxId of consumer PJ\n        \"financialEquity\": \"99999.00\",\n        \"financialProfit\": \"99999.00\",\n        \"pep\": false,\n        \"phones\": [\n            {\n                \"code\": \"11\",\n                \"number\": \"9999998888\" //if \"corporate\" is not necessary to validade SMS token\n            }\n        ],\n        \"addresses\": [\n            {\n                \"country\": \"Brasil\",\n                \"state\": \"SP\",\n                \"city\": \"São Paulo\",\n                \"neighborhood\": \"Bela Vista\",\n                \"code\": \"01000000\",\n                \"street\": \"Av. Paulista\",\n                \"number\": \"1000\",\n                \"complement\": \"\"\n            }\n        ],\n        \"companyData\": {\n            \"establishmentFormat\": \"ME\", //ME | MEI | EI | EIRELI | EPP | EMPG | SS\n            \"legalName\": \"Empresa Company\",\n            \"tradeName\": \"Consumer PJ ME\",\n            \"openingDate\": \"1999-01-01\", //foundation date of company\n            \"type\": \"corporate\",\n            \"taxId\": \"098765432109876\",\n            \"financialEquity\": \"9999.00\",\n            \"financialProfit\": \"9999.00\",\n            \"pep\": false,\n            \"phones\": [\n                {\n                    \"code\": \"11\",\n                    \"number\": \"9999998888\"\n                }\n            ],\n            \"addresses\": [\n                {\n                    \"country\": \"Brasil\",\n                    \"state\": \"SP\",\n                    \"city\": \"São Paulo\",\n                    \"neighborhood\": \"Bela Vista\",\n                    \"code\": \"01000000\",\n                    \"street\": \"Av. Paulista\",\n                    \"number\": \"1000\",\n                    \"complement\": \"\"\n                }\n            ],\n            \"activities\": [\n                {\n                    \"code\": \"123456\", // CNAE code\n                    \"isMain\": true // CNAE main activity\n                },\n                {\n                    \"code\": \"654321\", //CNAE code\n                    \"isMain\": false //others CNAE\n                }\n            ],\n            \"partners\": [\n                {\n                    \"profile\": \"OWNER\", // OWNER | ATTONERY\n                    \"firstName\": \"Socio Pessoa Fisica\",\n                    \"lastName\": \"Partner 1\",\n                    \"email\": \"emailpartner1@email.com.br\",\n                    \"consumer\": { //personal data of PARTNER1\n                        \"type\": \"personal\",\n                        \"taxId\": \"09876543210\",\n                        \"financialEquity\": \"1000.00\",\n                        \"financialProfit\": \"1000.00\",\n                        \"motherName\": \"mae do conusmer\",\n                        \"civilStatus\": \"single\",\n                        \"birthday\": \"1980-02-29\",\n                        \"pep\": false,\n                        \"phones\": [\n                            {\n                                \"code\": \"11\",\n                                \"number\": \"9999998888\",\n                                \"type\": \"mobile\"\n                            }\n                        ],\n                        \"addresses\": [\n                            {\n                                \"country\": \"BR\",\n                                \"state\": \"ES\",\n                                \"city\": \"Vitoria\",\n                                \"code\": \"29018280\",\n                                \"street\": \"Parque Moscoso\",\n                                \"number\": \"100\",\n                                \"neighborhood\": \"Centro\",\n                                \"complement\": \"casa 01\",\n                                \"reference\": \"pto de referencia\",\n                                \"status\": \"own\"\n                            }\n                        ]\n                    }\n                },\n                {\n                    \"profile\": \"OWNER\", // OWNER | ATTONERY\n                    \"firstName\": \"Empresa Socio Pessoa Juridica\",\n                    \"lastName\": \"Partner 2\",\n                    \"email\": \"emailpartner2@teste.com\",\n                    \"consumer\": { //datas of PARTNER2\n                        \"type\": \"corporate\", //is a partner is \"corporate\" then it must have other \"partner\" inside the body. In this case, the consumer has 1 partner \"type:corporate\".\n                        \"taxId\": \"11122233344455\",\n                        \"financialEquity\": \"8888.00\",\n                        \"financialProfit\": \"8888.00\",\n                        \"pep\": false,\n                        \"companyData\": {\n                            \"establishmentFormat\": \"ME\",\n                            \"legalName\": \"Empresa Socio Pessoa Juridica\",\n                            \"tradeName\": \"Empresa Socio Pessoa Juridica\",\n                            \"openingDate\": \"1999-01-01\",\n                            \"type\": \"corporate\",\n                            \"taxId\": \"11122233344455\",\n                            \"financialEquity\": \"1000.00\",\n                            \"financialProfit\": \"1000.00\",\n                            \"partners\": [ //\n                                {\n                                    \"profile\": \"OWNER\",\n                                    \"firstName\": \"Socio PF da Empresa Socio Pessoa Juridica\",\n                                    \"lastName\": \"Socio PF da Empresa Socio Pessoa Juridica\",\n                                    \"email\": \"email.me@teste.com\",\n                                    \"consumer\": {\n                                        \"type\": \"personal\",\n                                        \"taxId\": \"55566677788\",\n                                        \"financialEquity\": \"1000.00\",\n                                        \"financialProfit\": \"1000.00\",\n                                        \"motherName\": \"mae do socio\",\n                                        \"civilStatus\": \"single\",\n                                        \"birthday\": \"1980-02-29\",\n                                        \"pep\": false,\n                                        \"phones\": [\n                                            {\n                                                \"code\": \"11\",\n                                                \"number\": \"9999998888\",\n                                                \"type\": \"mobile\"\n                                            }\n                                        ],\n                                        \"addresses\": [\n                                            {\n                                                \"country\": \"BR\",\n                                                \"state\": \"ES\",\n                                                \"city\": \"Vitoria\",\n                                                \"code\": \"29018280\",\n                                                \"street\": \"Parque Moscoso\",\n                                                \"number\": \"100\",\n                                                \"neighborhood\": \"Centro\",\n                                                \"complement\": \"casa 01\",\n                                                \"reference\": \"pto de referencia\",\n                                                \"status\": \"own\"\n                                            }\n                                        ]\n                                    }\n                                }\n                            ],\n                            \"activities\": [\n                                {\n                                    \"code\": \"123456\",\n                                    \"isMain\": true\n                                },\n                                {\n                                    \"code\": \"654321\",\n                                    \"isMain\": false\n                                }\n                            ]\n                        },\n                        \"phones\": [\n                            {\n                                \"code\": \"11\",\n                                \"number\": \"9999998888\",\n                                \"type\": \"mobile\"\n                            }\n                        ],\n                        \"addresses\": [\n                            {\n                                \"country\": \"BR\",\n                                \"state\": \"ES\",\n                                \"city\": \"Vitoria\",\n                                \"code\": \"29018280\",\n                                \"street\": \"Parque Moscoso\",\n                                \"number\": \"100\",\n                                \"neighborhood\": \"Centro\",\n                                \"complement\": \"casa 01\",\n                                \"reference\": \"pto de referencia\",\n                                \"status\": \"own\"\n                            }\n                        ]\n                    }\n                }\n            ]\n        }\n    }\n}"},"url":"{{API_BASE_URL}}/consumers","description":"<h3 id=\"validating-body-request-in-consumer-corporate\">Validating body request in Consumer Corporate</h3>\n<p><img src=\"http://www.plantuml.com/plantuml/svg/dPPHJzim4CUVuLD4UGuIR4XZquHWQpPLeb01qiIcFLoJA_7asDdv0kkcVlSvZbdTA2LaKLGbzp_RvyllpZqp3CG_Z5RxV_RtuboN85JyBehVrxN8J-F46ck3fA14PpPCGjstmbAGuSi-HS8EeG9Z7ZNbeN2I5K07i-cbyq0RWGnbPrXgAe6T0sdfvisqCdM9v8nFBrQm-zYBULMrYwEgozDCKwK96EF4YV1hcdT3QxQZG6K2PFgp5hmA7Iej54TWeXmpKOBi39YJNWeU7b1XPPsM80ssxuLMQApfMnDqiulSHNrq52VEO8DV88KJ2oLOW8nQ9Ifhmz42exUnzLz_TxD2dXCQiprnhPYsjlI1m0Zfrp4CZA7wglacngjP9nkl3qDLeRWl5feAhRUIUXnu-Qq5wWD8aKTVf_EFLvCq4YgoyVmEuY54xf-jFo__bYahYIKgxWlOvyZxWLfDWC4ZOyap30ifJD4C_-I0so0qIvDPEatSVPrUJ9ERcoITpvEBsybvaixcdtq04kz1Tj4_EdG1U1ScoB7hSXnww0gLDKuw7-NENWUpsS5aqlWDKBuBy_6SZmUzIteNzHxMnyBklsGlxWEy3m0_GFmBaH_D_23qkwaVn3xCLiRYGR08qjKJwHk_hfU5cRN70bEDphPkfL7ZFH1-WkRNnrG1iKBQYgXgI9C1tLTVBjFh93g_lRso3tT-Rdy8zHTS4864GQTTHq-qENlirJbgd2sen0h9QFLK1izKuNyLulXQz8DApGLIDm4dmVuzzWz2tZ1mRHe_OvqaRkI582voM3tNa_gAlwV-Url0s2xW1mNfB_MYWSRRFVFzJU8bVMAuLGntYn4DOtJFU4dRUBPp33UFJY9QCFIZskIuVLZxgdOLOMtsqTxh_JDKUVFtyYy0\" alt=\"Fileds\" /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Establishment Format</th>\n<th>Status</th>\n<th>Partner acceptance</th>\n<th>Particulars</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>MEI</td>\n<td><code>avaliable</code></td>\n<td><code>consumer</code></td>\n<td>only 1 partner</td>\n</tr>\n<tr>\n<td>EI</td>\n<td><code>avaliable</code></td>\n<td><code>consumer</code></td>\n<td>only 1 partner</td>\n</tr>\n<tr>\n<td>EIRELI</td>\n<td><code>avaliable</code></td>\n<td><code>consumer</code></td>\n<td>only 1 partner</td>\n</tr>\n<tr>\n<td>SS</td>\n<td><code>avaliable</code></td>\n<td><code>consumer</code></td>\n<td>used by professionals as simple company, only 1 partner</td>\n</tr>\n<tr>\n<td>EPP</td>\n<td><code>avaliable</code></td>\n<td><code>consumer</code> and <code>corporate</code></td>\n<td></td>\n</tr>\n<tr>\n<td>ME</td>\n<td><code>avaliable</code></td>\n<td><code>consumer</code> and <code>corporate</code></td>\n<td></td>\n</tr>\n<tr>\n<td>SA</td>\n<td><code>not avaliable</code></td>\n<td><code>consumer</code> and <code>corporate</code></td>\n<td>minimum 2 partners</td>\n</tr>\n<tr>\n<td>LTDA</td>\n<td><code>avaliable on-demand</code></td>\n<td><code>consumer</code> and <code>corporate</code></td>\n<td>minimum 2 partners</td>\n</tr>\n<tr>\n<td>MEI</td>\n<td><code>avaliable</code></td>\n<td><code>consumer</code></td>\n<td>only 1 partner</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["consumers"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"22487767-8747-45aa-a907-eba30ff5e892"}],"id":"f4ea4860-d2ae-4be6-8851-1a6a62609840","_postman_id":"f4ea4860-d2ae-4be6-8851-1a6a62609840","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}}],"id":"59c36c5f-58b9-4ae9-afa0-8ade8fb5337a","_postman_id":"59c36c5f-58b9-4ae9-afa0-8ade8fb5337a","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"(optional) Billing plan","item":[{"name":"Subscribe Consumer to a plan","id":"c3391a02-41f8-4170-8973-3058ae106537","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"subscriber\": \"{{USER_ID}}\" //userId\n\n}"},"url":"{{API_BASE_URL}}/plans/:id/subscribe","description":"<p>Subscribe user to a plan</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["plans",":id","subscribe"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>planID</p>\n","type":"text/plain"},"type":"string","value":"{{PLAN_ID}}","key":"id"}]}},"response":[{"id":"82e9dd0f-677b-4e12-8ac7-f36c09e8dcd4","name":"User subscribed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"subscriber\": \"7127f947-93ca-4114-bd0c-844c0160abc1\",\n\t\"prepaid\": false\n}"},"url":{"raw":"{{API_BASE_URL}}/plans/:id/subscribe","host":["{{API_BASE_URL}}"],"path":["plans",":id","subscribe"],"variable":[{"key":"id","value":"{{PLAN_ID}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-API-Version","value":"2.0.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Date","value":"Wed, 04 Mar 2020 12:28:50 GMT"},{"key":"X-RateLimit-Reset","value":"1583324940"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Vary","value":"X-HTTP-Method-Override, Accept-Encoding"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"654-6RMfbjR9gHLtPfLwFUU4Nin3j7I\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"44d2949d-0ac4-4cbe-8c45-6c1295c933e9\",\n    \"current\": true,\n    \"status\": \"active\",\n    \"prepaid\": false,\n    \"validFrom\": \"2020-03-04T09:28:50-03:00\",\n    \"updatedAt\": \"2020-03-04T12:28:50.196Z\",\n    \"createdAt\": \"2020-03-04T12:28:50.196Z\",\n    \"plan\": {\n        \"id\": \"21b3352e-6811-4c0d-bde6-89b2b04aa3af\",\n        \"default\": false,\n        \"status\": \"available\",\n        \"validFrom\": \"2020-03-04T09:28:42-03:00\",\n        \"updatedAt\": \"2020-03-04T12:28:42.925Z\",\n        \"createdAt\": \"2020-03-04T12:28:42.925Z\",\n        \"billingSettings\": {\n            \"settlementTrigger\": \"invoiceClosing\",\n            \"periodCalculation\": {\n                \"periodicity\": \"daily\"\n            },\n            \"invoiceClosing\": {\n                \"periodicity\": \"monthly\",\n                \"dayOfMonth\": 5\n            }\n        }\n    },\n    \"supplier\": {\n        \"id\": \"df0b993f-f3e8-42c8-a65d-2baf2fa1cc2a\",\n        \"name\": \"ideiando\",\n        \"role\": \"common\",\n        \"urls\": [],\n        \"createdAt\": \"2020-03-03T19:05:33.681Z\",\n        \"updatedAt\": \"2020-03-03T19:05:33.681Z\",\n        \"postbackUrl\": null,\n        \"settings\": {\n            \"locks\": {\n                \"total_received_transactions_value_monthly\": 0,\n                \"total_received_transactions_value_weekly\": 0,\n                \"total_recent_transactions_value_monthly\": 0,\n                \"total_received_transactions_value_daily\": 0,\n                \"total_recent_transactions_value_weekly\": 0,\n                \"total_sent_transactions_value_monthly\": 0,\n                \"total_recent_transactions_value_daily\": 0,\n                \"total_sent_transactions_value_weekly\": 0,\n                \"total_sent_transactions_value_daily\": 0,\n                \"total_single_transaction_value\": 0,\n                \"total_mobile_credits_daily\": 10,\n                \"card_expiration_time\": 24,\n                \"total_active_cards\": 3\n            },\n            \"fees\": {}\n        }\n    },\n    \"contractor\": {\n        \"id\": \"7127f947-93ca-4114-bd0c-844c0160abc1\",\n        \"name\": \"Guilherme Marques Pacheco 01\",\n        \"firstName\": \"Guilherme\",\n        \"lastName\": \"Marques Pacheco 01\",\n        \"email\": \"guilherup01@gmail.com\",\n        \"role\": \"consumer\",\n        \"twoFactorRequired\": false,\n        \"updatedAt\": \"2020-03-03T19:07:04.325Z\",\n        \"createdAt\": \"2020-03-03T19:07:04.325Z\"\n    }\n}"}],"_postman_id":"c3391a02-41f8-4170-8973-3058ae106537"},{"name":"List all services","id":"86caaba3-d1bd-42a1-83b8-5bc68421af0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":false},"method":"GET","header":[],"url":"{{API_BASE_URL}}/services","description":"<p>Get all available services for usage on plans</p>\n","urlObject":{"path":["services"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"cce6bf21-4f90-4c6e-8571-90ecc566c240","name":"/services","originalRequest":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/services"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-API-Version","value":"2.0.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Date","value":"Tue, 03 Mar 2020 18:51:24 GMT"},{"key":"X-RateLimit-Reset","value":"1583261518"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"X-Data-Length","value":"17"},{"key":"X-Data-Skip","value":"0"},{"key":"X-Data-Limit","value":"25"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"eac-KbN26pf2w/RitO7BjufjSMOsMcE\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"d5f5d02b-e2da-4a52-b6fd-243cc6b45a38\",\n        \"description\": \"Assinatura\",\n        \"name\": \"Assinatura\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"subscription\"\n    },\n    {\n        \"id\": \"3d34bceb-1261-40c8-aa93-423b8cc92224\",\n        \"description\": \"Setup\",\n        \"name\": \"Setup\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"setup\"\n    },\n    {\n        \"id\": \"c05df836-7dd6-443c-8065-fde42b89b252\",\n        \"description\": \"Taxa de manutenção por cartão ativo\",\n        \"name\": \"Taxa de manutenção por cartão ativo\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"active_card_maintenance\"\n    },\n    {\n        \"id\": \"216509d7-b931-417b-8b2d-5b223fa8f191\",\n        \"description\": \"Taxa de manutenção por conta ativa\",\n        \"name\": \"Taxa de manutenção por conta ativa\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"active_account_maintenance\"\n    },\n    {\n        \"id\": \"84ea7062-f3b6-41a8-8d46-920c43a062ba\",\n        \"description\": \"Emissão de cartão físico\",\n        \"name\": \"Emissão de cartão físico\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"physical_card_issuing\"\n    },\n    {\n        \"id\": \"b8e6cbd1-5e2f-43d8-b24d-b9462cc3c39d\",\n        \"description\": \"Emissão de segunda via de cartão físico\",\n        \"name\": \"Emissão de segunda via de cartão físico\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"card_reissue\"\n    },\n    {\n        \"id\": \"bc799662-663d-42c2-a6f6-d41c0bc4d2c5\",\n        \"description\": \"Emissão de cartão virtual\",\n        \"name\": \"Emissão de cartão virtual\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"virtual_card_issuing\"\n    },\n    {\n        \"id\": \"c9189f66-b705-4046-8e73-b5dd9917e240\",\n        \"description\": \"Saque\",\n        \"name\": \"Saque\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"withdrawal\"\n    },\n    {\n        \"id\": \"918d9043-3d14-4f42-b735-4795d4e13d65\",\n        \"description\": \"Transferência\",\n        \"name\": \"Transferência\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"transfer\"\n    },\n    {\n        \"id\": \"a6e7fce1-1b6b-40e9-bc4a-b442aaa3b064\",\n        \"description\": \"Recarga de telefone móvel\",\n        \"name\": \"Recarga de telefone móvel\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"phone_credits_purchase\"\n    },\n    {\n        \"id\": \"4c4138eb-f498-4d9d-aec9-288afe1b44d4\",\n        \"description\": \"Emissão de boleto\",\n        \"name\": \"Emissão de boleto\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"boleto_emission\"\n    },\n    {\n        \"id\": \"2b98493a-0b5e-41e2-99d2-aaa6e9f99a0c\",\n        \"description\": \"Pagamento de boleto\",\n        \"name\": \"Pagamento de boleto\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"boleto_payment\"\n    },\n    {\n        \"id\": \"2d524793-5fea-4e97-bcfd-8763115c85e9\",\n        \"description\": \"Compra no cartão\",\n        \"name\": \"Compra no cartão\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"card_purchase\"\n    },\n    {\n        \"id\": \"c2d05903-762d-49f0-a54e-6c8522d6e302\",\n        \"description\": \"Saque no cartão\",\n        \"name\": \"Saque no cartão\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"card_withdrawal\"\n    },\n    {\n        \"id\": \"f76eedcd-83ba-4897-8d5d-2074288825ac\",\n        \"description\": \"Análise manual de documentos\",\n        \"name\": \"Análise manual de documentos\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"compliance_check\"\n    },\n    {\n        \"id\": \"6c4d80e8-a544-4024-85ec-c020d382824d\",\n        \"description\": \"Processamento de imagem de documentos\",\n        \"name\": \"Processamento de imagem de documentos\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"ocr\"\n    },\n    {\n        \"id\": \"c4d57c6a-c412-48f2-baea-4fa50674a31c\",\n        \"description\": \"Reconhecimento facial\",\n        \"name\": \"Reconhecimento facial\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"facematch\"\n    }\n]"}],"_postman_id":"86caaba3-d1bd-42a1-83b8-5bc68421af0e"}],"id":"2e5fccad-d111-4dc1-9b0f-2388a834262e","_postman_id":"2e5fccad-d111-4dc1-9b0f-2388a834262e","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}}],"id":"a8cada24-8c2f-440a-a11a-05d5136cd11a","description":"<h4 id=\"what-are-⇡-persisted-status-and-↺-transient-status\">What are <strong>⇡ Persisted</strong> status and <strong>↺ Transient</strong> status</h4>\n<blockquote>\n<p>these definitions are avaliable only in Core v3.X.X</p>\n</blockquote>\n<h2 id=\"⇡-persisted-status\"><strong>⇡</strong> Persisted status</h2>\n<p>The persisted states are based on <a href=\"https://en.wikipedia.org/wiki/Finite-state_machine\">FSM (finite state machine)</a>, in which a sequence of events is executed with a pre-defined initial state and a final state. If there is a failure during the flow of states, the FSM will also report through a defined finite state. This flow is known as a persisted state.</p>\n<p>Depending on each object, they will have different persisted states. Below are the lists of possible persisted states of each object.</p>\n<br />\n\n<h4 id=\"user-persisted-states\"><code>user</code> persisted states</h4>\n<blockquote>\n<p> all states in <strong>bold</strong> are the last state of each object</p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>states</th>\n<th>type</th>\n<th>info</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>active</code></strong></td>\n<td>persisted</td>\n<td><strong>user requirements done</strong></td>\n</tr>\n<tr>\n<td><code>inactive</code></td>\n<td>persisted</td>\n<td>user deleted from the system</td>\n</tr>\n<tr>\n<td><code>processiing</code></td>\n<td>persisted</td>\n<td>user in a onboarding processing</td>\n</tr>\n<tr>\n<td><code>pending</code></td>\n<td>persisted</td>\n<td>initial state</td>\n</tr>\n</tbody>\n</table>\n</div><br />\n\n<h4 id=\"wallet-persisted-states\"><code>wallet</code> persisted states</h4>\n<blockquote>\n<p> all states in <strong>bold</strong> are the last state of each object</p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>states</th>\n<th>type</th>\n<th>info</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>registered</code></strong></td>\n<td>persisted</td>\n<td><strong>wallet registered in Blockchain</strong></td>\n</tr>\n<tr>\n<td><code>failed</code></td>\n<td>persisted</td>\n<td>wallet failed to register in Blockchain</td>\n</tr>\n<tr>\n<td><code>pending</code></td>\n<td>persisted</td>\n<td>initial state</td>\n</tr>\n</tbody>\n</table>\n</div><br />\n\n<h4 id=\"object-assetregistration\">Object <code>assetRegistration</code></h4>\n<p>This object contains all the assets available on the platform. Its status will depend on the persistent status of the assets that compose it.\nIf all <code>required:true</code> assets are ready, then the status of the <code>assetRegistration</code> will also be <code>ready</code></p>\n<h4 id=\"assetregistration-persisted-states-for-requiredtrue-asset\"><code>assetRegistration</code> persisted states (for <code>required:true</code> asset)</h4>\n<blockquote>\n<p> all states in <strong>bold</strong> are the last state of each object</p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>states</th>\n<th>type</th>\n<th>info</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>ready</code></strong></td>\n<td>persisted</td>\n<td><strong>all assets requirements done</strong></td>\n</tr>\n<tr>\n<td><code>approved</code></td>\n<td>persisted</td>\n<td>compliance analysis approved</td>\n</tr>\n<tr>\n<td><code>processing</code></td>\n<td>persisted</td>\n<td>in compliance analysis</td>\n</tr>\n<tr>\n<td><code>pending_documents</code></td>\n<td>persisted</td>\n<td>consumer needs to send all documents do compliance</td>\n</tr>\n<tr>\n<td><code>pending_registration</code></td>\n<td>persisted</td>\n<td>TBA</td>\n</tr>\n<tr>\n<td><code>failed</code></td>\n<td>persisted</td>\n<td>something wrong in asset registration</td>\n</tr>\n<tr>\n<td><code>rejected</code></td>\n<td>persisted</td>\n<td>asset rejected</td>\n</tr>\n<tr>\n<td><code>blocked</code></td>\n<td>persisted</td>\n<td>asset blocked</td>\n</tr>\n</tbody>\n</table>\n</div><br />\n\n<h4 id=\"assetregistration-persisted-states-for-requiredfalse-asset\"><code>assetRegistration</code> persisted states (for <code>required:false</code> asset)</h4>\n<blockquote>\n<p> all states in <strong>bold</strong> are the last state of each object</p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>states</th>\n<th>type</th>\n<th>info</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>ready</code></strong></td>\n<td>persisted</td>\n<td><strong>all assets requirements done</strong></td>\n</tr>\n<tr>\n<td><code>blocked</code></td>\n<td>persisted</td>\n<td>one or more assets are blocked</td>\n</tr>\n<tr>\n<td><code>rejected</code></td>\n<td>persisted</td>\n<td>one or more asset registration is rejected</td>\n</tr>\n<tr>\n<td><code>pending_documents</code></td>\n<td>persisted</td>\n<td>one or more assets needs to send documents</td>\n</tr>\n<tr>\n<td><code>approved</code></td>\n<td>persisted</td>\n<td>assets approved</td>\n</tr>\n<tr>\n<td><code>pending_registration</code></td>\n<td>persisted</td>\n<td>initial state</td>\n</tr>\n</tbody>\n</table>\n</div><br />\n\n<h4 id=\"consumer-persisted-states\"><code>consumer</code> persisted states</h4>\n<blockquote>\n<p> all states in <strong>bold</strong> are the last state of each object</p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>states</th>\n<th>type</th>\n<th>info</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>ready</code></strong></td>\n<td>persisted</td>\n<td><strong>consumer requirements done</strong></td>\n</tr>\n<tr>\n<td><code>pending_deletion</code></td>\n<td>persisted</td>\n<td>consumer status during the exclusion period</td>\n</tr>\n<tr>\n<td><code>pending_billing_plan_subscription</code></td>\n<td>persisted</td>\n<td>mediator needs to subscribe a plan to your consumer</td>\n</tr>\n<tr>\n<td><code>pending_legal_acceptance</code></td>\n<td>persisted</td>\n<td>consumer needs to read and accept all terms</td>\n</tr>\n<tr>\n<td><code>pending_phone_verification</code></td>\n<td>persisted</td>\n<td>consumer needs to verify your phone by SMS</td>\n</tr>\n</tbody>\n</table>\n</div><br />\n<br />\n\n<h2 id=\"↺-transient-status\"><strong>↺</strong> Transient status</h2>\n<br />\n\n\n<p>This type of state, as the name says, depends on other states of other objects so that its own state can evolve. The transient state transits between the objects that depend on being finalized so that it can evolve to its final state.</p>\n<p>With this example, some states of other objects can be transacted to other objects, informing that there is a pendency in some object that needs to be resolved first, so that its own state can evolve.</p>\n<h4 id=\"consumer-transient-states\"><code>consumer</code> transient states</h4>\n<blockquote>\n<p> all states in <strong>bold</strong> are the last state of each object</p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>states</th>\n<th>type</th>\n<th>info</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>ready</code></strong></td>\n<td>transient</td>\n<td><strong>consumer requirements done</strong></td>\n</tr>\n<tr>\n<td><code>pending_phone_verification</code></td>\n<td>transient</td>\n<td>consumer needs to verify your phone by SMS</td>\n</tr>\n<tr>\n<td><code>pending_legal_acceptance</code></td>\n<td>transient</td>\n<td>consumer needs to read and accept all terms</td>\n</tr>\n<tr>\n<td><code>pending_billing_plan_subscription</code></td>\n<td>transient</td>\n<td>mediator needs to subscribe a plan to your consumer</td>\n</tr>\n<tr>\n<td><code>pending_legal_acceptance</code></td>\n<td>transient</td>\n<td>consumer needs to read and accept all terms</td>\n</tr>\n<tr>\n<td><code>processing</code></td>\n<td>transient</td>\n<td>wallets still in processing status</td>\n</tr>\n<tr>\n<td><code>rejected</code></td>\n<td>transient</td>\n<td>consumer was rejected by compliance</td>\n</tr>\n<tr>\n<td><code>pending_deletion</code></td>\n<td>transient</td>\n<td>consumer is in deletion period</td>\n</tr>\n<tr>\n<td><code>deleted</code></td>\n<td>transient</td>\n<td>consumer deleted</td>\n</tr>\n</tbody>\n</table>\n</div><br />\n\n<h4 id=\"wallet-transient-states\"><code>wallet</code> transient states</h4>\n<blockquote>\n<p> all states in <strong>bold</strong> are the last state of each object</p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>states</th>\n<th>type</th>\n<th>info</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>ready</code></strong></td>\n<td>transient</td>\n<td><strong>all assets ready</strong></td>\n</tr>\n<tr>\n<td><code>failed</code></td>\n<td>transient</td>\n<td>something wrong in one os assets</td>\n</tr>\n<tr>\n<td><code>pending_registration</code></td>\n<td>transient</td>\n<td>one or more assets are pending registratarion</td>\n</tr>\n<tr>\n<td><code>pending_documents</code></td>\n<td>transient</td>\n<td>one or more assets are pending documents</td>\n</tr>\n<tr>\n<td><code>processing</code></td>\n<td>transient</td>\n<td>one or more assets is in processing</td>\n</tr>\n<tr>\n<td><code>rejected</code></td>\n<td>transient</td>\n<td>one or more assets required:true rejected</td>\n</tr>\n<tr>\n<td><code>blocked</code></td>\n<td>transient</td>\n<td>consumer state is blocked</td>\n</tr>\n<tr>\n<td><code>pending</code></td>\n<td>transient</td>\n<td>initial state</td>\n</tr>\n</tbody>\n</table>\n</div><br />","_postman_id":"a8cada24-8c2f-440a-a11a-05d5136cd11a","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Boleto","item":[{"name":"Boleto Payment","item":[{"name":"Validate a Boleto","id":"22323559-f9b7-4700-a524-ad58de4c1dca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/boletos/payment/validate/23793.38128 60077.321135 50000.063300 3 88550000002020","description":"<p>Validate a Boleto means to update current value of a Boleto.</p>\n<p>Some boletos have interest rates if paid late. In this case, the payment amounts of the boleto must be adjusted with the interest rates to be applied. In order to verify the current value of the boleto, before paying first, the new value of the bill must be \"checked\" with this endpoint.</p>\n<p>This endpoint is used to:</p>\n<ul>\n<li>check the real value of the Boleto issued by a bank;</li>\n<li>check if the Boleto is not fake and is legally registered with the CIP;</li>\n<li>check only Boletos emitted and registered in CIP;  </li>\n<li>check who will receive the amount when you pay the Boleto;</li>\n<li>check the updated value of an expired Boleto with the rates. When a Boleto is paid after its due date, some fees are applied to this boleto according to your configuration. With this endpoint, it is possible to check the updated value of the boleto so that it can be paid normally.<br /></li>\n</ul>\n<p>This endpoint <strong>is not used to</strong>:</p>\n<ul>\n<li>check any status of a Boleto issued by a concessionary;</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["boletos","payment","validate","23793.38128 60077.321135 50000.063300 3 88550000002020"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"2273b70c-b4d5-4f1d-b59e-b646a3aac023","name":"Boleto is valid","originalRequest":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/boletos/payment/validate/23793.38128 60077.321135 50000.063300 3 88550000002020"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-cloud-trace-context","value":"3a13a2a27f546ea193d82f2f437a4f21/5877460568683502959;o=1"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"expect-ct","value":"max-age=0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains"},{"key":"x-download-options","value":"noopen"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"referrer-policy","value":"no-referrer"},{"key":"x-xss-protection","value":"0"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-expose-headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-length","value":"777"},{"key":"etag","value":"W/\"309-ph4Kii6V5dfy3+vCWNukAU1M+WY\""},{"key":"date","value":"Tue, 04 Jan 2022 16:49:22 GMT"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"paymentInfo\": {\n        \"assignor\": \"BANCO BRADESCO S.A.\",\n        \"traders\": {\n            \"recipient\": \"BENEFICIARIO AMBIENTE HOMOLOGACAO\",\n            \"recipientDocument\": \"21.568.259/0001-00\",\n            \"payerDocument\": \"96.906.497/0001-00\",\n            \"payerName\": \"PAGADOR AMBIENTE HOMOLOGACAO\"\n        },\n        \"expiresAt\": \"2022-01-04T00:00:00.000Z\",\n        \"totalAmount\": 20.2,\n        \"amountDetails\": {\n            \"calculationDate\": \"2022-04-01T00:00:00.000Z\",\n            \"discount\": 0,\n            \"fineAmount\": 0,\n            \"interestAmount\": 0,\n            \"paymentAmountUpdated\": 20.2,\n            \"totalAmount\": 20.2,\n            \"minValue\": 0,\n            \"maxValue\": 0,\n            \"totalWithDiscount\": 0,\n            \"totalWithAdditional\": 0\n        },\n        \"transactionId\": 8668717,\n        \"type\": \"Compensation\",\n        \"initeHour\": \"07:00\",\n        \"endHour\": \"23:00\",\n        \"digitableLine\": \"23793381286007732113550000063300388550000002020\",\n        \"nextBusinessDay\": null,\n        \"paymentDeadline\": \"2022-01-31T00:00:00.000Z\",\n        \"allowChangeValue\": true,\n        \"nextSettle\": \"N\"\n    }\n}"}],"_postman_id":"22323559-f9b7-4700-a524-ad58de4c1dca"},{"name":"Pay a Boleto","id":"1f78418c-0f90-4559-b163-55ca08da6bbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source\": \"be527a4b-cadb-4c63-9a09-965ddfaa7972\",\n    \"digitableLine\": \"23793.38128 60077.321135 50000.063300 3 88550000002020\",\n    \"amount\": \"20.20\",\n    \"asset\": \"BRLP\",\n    \"extra\": {\n        \"autoConfirm\": true //necessary field \n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/boletos/payment/pay","description":"<p>Emit a Boleto for payments in other institiontions. Rechargable Boleto.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["boletos","payment","pay"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f78418c-0f90-4559-b163-55ca08da6bbf"},{"name":"Payment poof","id":"9f86d0ac-e8d6-4c68-a70e-1fbd970c1d47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/boletos/payment/proof?value=34191099090517232324774893170006188280000050500","description":"<p>It is a endpoint the assures if a Concessionary Boleto is already paid <strong>in the platform</strong>.</p>\n<p>If you pay a <strong>Boleto to a payer</strong> issued by another consumer that is also part of the Bit Capital platform, this endpoint can also validate this Boleto.</p>\n<br />\n\n<p>Necessary SCOPE to perform <code>payments:read</code></p>\n<br />\n\n<p><strong><code>GHERKIN</code></strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GIVEN consumer is logged\nGIVEN consumer has a paid Boleto in the platform\nWHEN consumer perform the action\nTHEN the response should be 200\nAND the settleDate field should be a valid date of paid Boleto \n</code></pre>","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["boletos","payment","proof"],"host":["{{API_BASE_URL}}"],"query":[{"key":"value","value":"34191099090517232324774893170006188280000050500"}],"variable":[]}},"response":[{"id":"50363dcc-c898-4247-bce4-2190cea6a3fe","name":"Boleto not found","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/boletos/payment/proof?value=34191099090517232324774893170006188280000050500","host":["{{API_BASE_URL}}"],"path":["boletos","payment","proof"],"query":[{"key":"value","value":"34191099090517232324774893170006188280000050500"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"x-cloud-trace-context","value":"cd8cab41bf5b9e8066bb64b6eec3cf5d/16876762305056242810;o=1"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"expect-ct","value":"max-age=0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains"},{"key":"x-download-options","value":"noopen"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"referrer-policy","value":"no-referrer"},{"key":"x-xss-protection","value":"0"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-expose-headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-length","value":"196"},{"key":"etag","value":"W/\"c4-ZrSZvfRywF08013fZ2wZfMtAhrE\""},{"key":"date","value":"Tue, 04 Jan 2022 16:51:34 GMT"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 500,\n    \"message\": \"Cannot find boleto payment from boleto with digitableLine = 34191099090517232324774893170006188280000050500\",\n    \"stackId\": \"22980abb-3942-47ee-a0ca-1a7934e5b3cd\",\n    \"details\": {}\n}"}],"_postman_id":"9f86d0ac-e8d6-4c68-a70e-1fbd970c1d47"},{"name":"Audit payed Boletos","event":[{"listen":"test","script":{"id":"98504827-bacd-4162-a14e-b7294d104bd6","exec":["pm.test(request.name, function () {","    var jsonData = pm.response.json();","    pm.expect(jsonData.credit).to.be.ok;","})",""],"type":"text/javascript"}}],"id":"8eda9a76-a8e0-4d97-97d2-6882de35b843","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/boletos/payment/audit/history?start=2021-10-15&end=2021-10-22","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["boletos","payment","audit","history"],"host":["{{API_BASE_URL}}"],"query":[{"description":{"content":"<ul>\n<li>interval between \"start\" and \"end\"  extends only max 7 days</li>\n</ul>\n","type":"text/plain"},"key":"start","value":"2021-10-15"},{"description":{"content":"<ul>\n<li>interval between \"start\" and \"end\"  extends only max 7 days</li>\n</ul>\n","type":"text/plain"},"key":"end","value":"2021-10-22"}],"variable":[]}},"response":[],"_postman_id":"8eda9a76-a8e0-4d97-97d2-6882de35b843"},{"name":"Audit payed Boletos (Summary)","event":[{"listen":"test","script":{"id":"0d038e10-317c-471d-92c2-f1546933b80a","exec":["pm.test(request.name, function () {","    var jsonData = pm.response.json();","    pm.expect(jsonData.total).to.be.ok;","})",""],"type":"text/javascript"}}],"id":"3752677a-d8bf-45c9-9139-b6e1bec28472","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/boletos/payment/audit/summary?start=2021-10-15&end=2021-10-22","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["boletos","payment","audit","summary"],"host":["{{API_BASE_URL}}"],"query":[{"description":{"content":"<ul>\n<li>interval between \"start\" and \"end\"  extends only max 7 days</li>\n</ul>\n","type":"text/plain"},"key":"start","value":"2021-10-15"},{"description":{"content":"<ul>\n<li>interval between \"start\" and \"end\"  extends only max 7 days</li>\n</ul>\n","type":"text/plain"},"key":"end","value":"2021-10-22"}],"variable":[]}},"response":[],"_postman_id":"3752677a-d8bf-45c9-9139-b6e1bec28472"}],"id":"f23c587a-d11f-4cb2-b87b-2ef1c2bd98b5","description":"<h2 id=\"bank-boletos-x-concessionary-boletos\">Bank Boletos x Concessionary Boletos</h2>\n<p>All Boletos issued by banks must be registered with the responsible agency, linked to the SPB. CIP is the agency for processing money transfers and payments, preventing fraud and ensuring that these operations can be carried out safely and effectively.\n<br />\n<br /></p>\n<h3 id=\"boletos-issued-by-banks\">Boletos issued by Banks</h3>\n<p>A distinctive feature of boletos is that they have a sequence of 5 fields for insertion of their barcode, the penultimate field being an isolated number. Altogether <strong>there are 47 characters</strong> arranged.</p>\n<p>For example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>12345.12345 12345.123456 12345.123456 1 12345678912345\n</code></pre><br />\n<br />\n\n<h3 id=\"boletos-issued-by-concessionaries\">Boletos issued by Concessionaries</h3>\n<p>The most popular services charged are water, electricity, telephone, cable TV and gas. The default is 4-digit sequences, always with the last number in the sequence being an isolated digit. Altogether, <strong>there are 48 characters</strong> arranged.</p>\n<p>For example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>12345678912-3 12345678912-3 12345678912-3 12345678912-3\n</code></pre><br />","event":[{"listen":"prerequest","script":{"id":"5334e042-6206-43ad-9124-520de5da9392","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f2cb2a98-ca12-4b31-8226-c4bc026ad9b2","type":"text/javascript","exec":[""]}}],"_postman_id":"f23c587a-d11f-4cb2-b87b-2ef1c2bd98b5","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Boleto Emission","item":[{"name":"Register a beneficiary Corporate","event":[{"listen":"test","script":{"id":"05c627a0-13ac-402e-9d12-5dd13642ebcc","exec":["pm.test(request.name, function () {","    var jsonData = pm.response.json();","    pm.expect(jsonData.id).to.be.ok;","})",""],"type":"text/javascript"}}],"id":"dce0107c-dffd-42b5-a9c8-fd8120f14446","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"wallet\": {\n        \"id\": \"7cc5a5b7-90d6-4540-a544-bb65dd120483\" //must be ready\n    },\n    \"user\": {\n        \"id\": \"e377d512-f8db-411b-b388-26d92fa715ce\",\n        \"firstName\": \"Don Jhon\",\n        \"lastName\": \"Segundo\",\n        \"name\": \"{{name}}\",\n        \"email\": \"{{email}}\",\n        \"consumer\": {\n            \"taxId\": \"{{CNPJ}}\",\n            \"type\": \"personal\",\n            \"phones\": [\n                {\n                    \"code\": \"19\",\n                    \"number\": \"982457765\",\n                    \"countryCode\": \"+55\"\n                }\n            ],\n            \"addresses\": [\n                {\n                    \"street\": \"Rua Alfredo Contato\",\n                    \"number\": \"340\",\n                    \"code\": \"88303430\",\n                    \"neighborhood\": \"Orestes Ongaro\",\n                    \"state\": \"SP\",\n                    \"city\": \"Hortolândia\",\n                    \"country\": \"BR\"\n                }\n            ]\n        },\n        \"createdAt\": \"2020-03-10\",\n        \"updatedAt\": \"2020-03-10\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/boletos/emission/register","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["boletos","emission","register"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dce0107c-dffd-42b5-a9c8-fd8120f14446"},{"name":"Register a beneficiary Personal","event":[{"listen":"test","script":{"id":"fa6daf97-317f-48cb-85f7-15657e23f63c","exec":["pm.test(request.name, function () {","    var jsonData = pm.response.json();","    pm.expect(jsonData.id).to.be.ok;","})",""],"type":"text/javascript"}}],"id":"cca26132-205a-4914-ae11-91c2bfefc57b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"wallet\": {\n        \"id\": \"7cc5a5b7-90d6-4540-a544-bb65dd120483\" //must be ready\n    },\n    \"createdAt\": \"2020-03-10\",\n    \"updatedAt\": \"2020-03-10\",\n    \"user\": {\n        \"id\": \"e377d512-f8db-411b-b388-26d92fa715ce\",\n        \"firstName\": \"Don Jhon\",\n        \"lastName\": \"Segundo\",\n        \"name\": \"{{name}}\",\n        \"email\": \"{{email}}\",\n        \"consumer\": {\n            \"taxId\": \"{{CPF}}\",\n            \"type\": \"personal\",\n            \"phones\": [\n                {\n                    \"countryCode\": \"+55\",\n                    \"code\": \"19\",\n                    \"number\": \"999666888\"\n                }\n            ],\n            \"addresses\": [\n                {\n                    \"code\": \"88303430\",\n                    \"street\": \"Rua Alfredo Contato\",\n                    \"number\": \"340\",\n                    \"neighborhood\": \"Orestes Ongaro\",\n                    \"city\": \"Hortolândia\",\n                    \"state\": \"SP\",\n                    \"country\": \"BR\"\n                }\n            ]\n        },\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/boletos/emission/register","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["boletos","emission","register"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cca26132-205a-4914-ae11-91c2bfefc57b"},{"name":"Emit a Boleto for recharge","id":"c6291b05-b58f-4bae-ba63-072bbe5faa2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"destination\": \"9fefbf29-97f9-4d4b-9a8a-95c72d6f1502\",\n\t\"asset\": \"BRLP\",\n    \"provider\":\"boleto-provider\",\n\t\"amount\": \"5.55\", \n    \"extra\":{\n            \"dueDate\": \"2021-01-31\",\n            \"expiresAt\": \"2021-01-31\"\n     }\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/boletos/emission/emit","description":"<p>Emit a Boleto for payments in other institiontions. Rechargable Boleto.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["boletos","emission","emit"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"c5c64536-cfec-4636-bd7c-51ae2fb98795","name":"Wallet not ready","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"destination\": \"d3f5a0cd-16a5-447f-aefc-1cbdca594eea\", //walletId\n    \"asset\": \"BRLB\", //asset of boleto provider\n    \"provider\": \"bs2\",\n    \"amount\": \"33.33\", //minimum 5 BRLB\n    \"expiresAt\": \"2022-02-15T12:00:00.000Z\" //expirations date of a Boleto. | Max 30 days forward\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/boletos/emit"},"status":"Wallet not ready","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] Wallet is not in the required state for the requested operation (stackId: 3dd95fd1-48a4-451b-8e4a-bad8f4d81863)\",\n    \"stackId\": \"3dd95fd1-48a4-451b-8e4a-bad8f4d81863\",\n    \"details\": {\n        \"entityId\": \"d3f5a0cd-16a5-447f-aefc-1cbdca594eea\",\n        \"requiredStatus\": \"ready\"\n    }   \n}"},{"id":"fe0bd7b2-df96-44d9-bf4c-563668ba62ee","name":"Boleto emmitted","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"destination\": \"d3f5a0cd-16a5-447f-aefc-1cbdca594eea\", //walletId\n    \"asset\": \"BRLB\", //asset of boleto provider\n    \"provider\": \"bs2\",\n    \"amount\": \"33.33\", //minimum 5 BRLB\n    \"expiresAt\": \"2022-02-15T12:00:00.000Z\" //expirations date of a Boleto. | Max 30 days forward\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/boletos/emit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"states\": [\n        {\n            \"id\": \"91eaf08b-854c-4943-a03c-29e5968243b9\",\n            \"createdAt\": \"2021-02-03T19:23:47.937Z\",\n            \"updatedAt\": \"2021-02-03T19:23:47.937Z\",\n            \"deletedAt\": null,\n            \"status\": \"pending_registration\",\n            \"additionalData\": null\n        }\n    ],\n    \"status\": \"pending_registration\",\n    \"documentNumber\": \"80992258462\",\n    \"barCode\": \"21899889700000123120010003119343809922584628\",\n    \"digitableLine\": \"21890010070311934380899225846288988970000012312\",\n    \"amount\": \"123.12\",\n    \"discount\": {\n        \"limit\": null,\n        \"value\": null,\n        \"percentage\": null\n    },\n    \"fine\": {\n        \"date\": null,\n        \"interest\": null,\n        \"value\": null\n    },\n    \"expiresAt\": \"2022-02-15T12:00:00.000Z\",\n    \"updatedAt\": \"2021-02-03T19:23:47.937Z\",\n    \"createdAt\": \"2021-02-03T19:23:47.937Z\",\n    \"id\": \"ee4b34c9-02ec-4af5-988f-745fbcef0f4e\"\n}"}],"_postman_id":"c6291b05-b58f-4bae-ba63-072bbe5faa2a"},{"name":"Emit a Boleto to a payer","id":"4d705902-aaa7-47bd-a606-a60cb66c8ab4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"destination\": \"9fefbf29-97f9-4d4b-9a8a-95c72d6f1502\",\n    \"asset\": \"BRLP\",\n    \"provider\":\"boleto-provider\",\n    \"amount\": \"88.88\",\n    \"extra\": {\n        \"expiresAt\": \"2021-12-20\",\n        \"payer\": {\n            \"firstName\": \"Fulano\",\n            \"lastName\": \"Pagador Terceiro\",\n            \"name\": \"Fulano Pagador Terceiro\",\n            \"email\": \"fulanoterceiro@email.com\",\n            \"consumer\": {\n                \"taxId\": \"08538995766\",\n                \"type\": \"personal\",\n                \"phones\": [\n                    {\n                        \"countryCode\": \"+55\",\n                        \"code\": \"11\",\n                        \"number\": \"999888666\"\n                    }\n                ],\n                \"addresses\": [\n                    {\n                        \"code\": \"29111540\",\n                        \"street\": \"Rua Jetiba\",\n                        \"number\": \"340\",\n                        \"neighborhood\": \"Cobi\",\n                        \"city\": \"Vila Velha\",\n                        \"state\": \"ES\",\n                        \"country\": \"BR\"\n                    }\n                ]\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/boletos/emission/emit","description":"<p>Emit a Boleto payment for payments to third parties. The amounts paid by third parties will be received for the wallet declared in the <strong>body</strong></p>\n<br />\nNecessary SCOPE to perform `wallets:write`\n\n<p><code>GHERKING</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GIVEN consumer is logged\nGIVEN consumer has a active wallet\nWHEN consumer perform the action\nTHEN the response should be 200\nAND the digitableLine filed should be visible\n</code></pre>","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["boletos","emission","emit"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"565fab48-96c1-44be-9e4a-339e75ed733c","name":"Wallet not ready","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"destination\": \"d3f5a0cd-16a5-447f-aefc-1cbdca594eea\", //walletId\n    \"asset\": \"BRLB\", //asset of boleto provider\n    \"provider\": \"bs2\",\n    \"amount\": \"33.33\", //minimum 5 BRLB\n    \"expiresAt\": \"2022-02-15T12:00:00.000Z\" //expirations date of a Boleto. | Max 30 days forward\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/boletos/emit"},"status":"Wallet not ready","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] Wallet is not in the required state for the requested operation (stackId: 3dd95fd1-48a4-451b-8e4a-bad8f4d81863)\",\n    \"stackId\": \"3dd95fd1-48a4-451b-8e4a-bad8f4d81863\",\n    \"details\": {\n        \"entityId\": \"d3f5a0cd-16a5-447f-aefc-1cbdca594eea\",\n        \"requiredStatus\": \"ready\"\n    }   \n}"},{"id":"67597a85-fcc4-4430-beaa-c4638c8ebee2","name":"Boleto emmitted","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"destination\": \"d3f5a0cd-16a5-447f-aefc-1cbdca594eea\", //walletId\n    \"asset\": \"BRLB\", //asset of boleto provider\n    \"provider\": \"bs2\",\n    \"amount\": \"33.33\", //minimum 5 BRLB\n    \"expiresAt\": \"2022-02-15T12:00:00.000Z\" //expirations date of a Boleto. | Max 30 days forward\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/boletos/emit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"states\": [\n        {\n            \"id\": \"91eaf08b-854c-4943-a03c-29e5968243b9\",\n            \"createdAt\": \"2021-02-03T19:23:47.937Z\",\n            \"updatedAt\": \"2021-02-03T19:23:47.937Z\",\n            \"deletedAt\": null,\n            \"status\": \"pending_registration\",\n            \"additionalData\": null\n        }\n    ],\n    \"status\": \"pending_registration\",\n    \"documentNumber\": \"80992258462\",\n    \"barCode\": \"21899889700000123120010003119343809922584628\",\n    \"digitableLine\": \"21890010070311934380899225846288988970000012312\",\n    \"amount\": \"123.12\",\n    \"discount\": {\n        \"limit\": null,\n        \"value\": null,\n        \"percentage\": null\n    },\n    \"fine\": {\n        \"date\": null,\n        \"interest\": null,\n        \"value\": null\n    },\n    \"expiresAt\": \"2022-02-15T12:00:00.000Z\",\n    \"updatedAt\": \"2021-02-03T19:23:47.937Z\",\n    \"createdAt\": \"2021-02-03T19:23:47.937Z\",\n    \"id\": \"ee4b34c9-02ec-4af5-988f-745fbcef0f4e\"\n}"}],"_postman_id":"4d705902-aaa7-47bd-a606-a60cb66c8ab4"},{"name":"Find  Boleto","id":"d7636d66-6b14-456e-b0c8-b10b8a58343f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/boletos/find?start=02/02/2021&walletId=4c5f0c35-0041-47d6-8c48-6c024fd26343&skip=0&limit=50&asset=BRLB","description":"<p>Request a list of all emitted boletos starting from a specific date.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["boletos","find"],"host":["{{API_BASE_URL}}"],"query":[{"description":{"content":"<p>DD/MM/YYYY</p>\n","type":"text/plain"},"key":"start","value":"02/02/2021"},{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"key":"walletId","value":"4c5f0c35-0041-47d6-8c48-6c024fd26343"},{"description":{"content":"<h1 id=\"results-to-skip\">results to skip</h1>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>#resultos to show</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>asset of boleto provider</p>\n","type":"text/plain"},"key":"asset","value":"BRLB"}],"variable":[]}},"response":[],"_postman_id":"d7636d66-6b14-456e-b0c8-b10b8a58343f"},{"name":"View  Boleto","id":"d004bdcc-3173-487d-9d7f-c820873a9dfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/boletos/:id","description":"<p>Request a list of all emitted boletos starting from a specific date.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["boletos",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>boletoID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"11f17506-51fe-4d0a-9876-f8a82ec16860","name":"View a Boleto","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/boletos/:id","host":["{{API_BASE_URL}}"],"path":["boletos",":id"],"variable":[{"key":"id","value":"322c43e9-ead6-4958-80b3-0bbf1c9b67e8","description":"boletoID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"states\": [\n        {\n            \"id\": \"bba84785-ad26-446e-924d-f38053eb1e6f\",\n            \"createdAt\": \"2021-02-04T14:44:55.690Z\",\n            \"updatedAt\": \"2021-02-04T14:44:55.690Z\",\n            \"deletedAt\": null,\n            \"status\": \"paid\",\n            \"additionalData\": null\n        },\n        {\n            \"id\": \"ec832883-b684-4527-a580-d99c84e4930d\",\n            \"createdAt\": \"2021-02-04T14:43:34.533Z\",\n            \"updatedAt\": \"2021-02-04T14:43:34.533Z\",\n            \"deletedAt\": null,\n            \"status\": \"pending_payment\",\n            \"additionalData\": null\n        },\n        {\n            \"id\": \"c05cdb2b-ecfa-4a65-a7b3-99064801b5c7\",\n            \"createdAt\": \"2021-02-04T14:39:18.024Z\",\n            \"updatedAt\": \"2021-02-04T14:39:18.024Z\",\n            \"deletedAt\": null,\n            \"status\": \"pending_registration\",\n            \"additionalData\": null\n        }\n    ],\n    \"status\": \"paid\",\n    \"documentNumber\": \"80946335001\",\n    \"barCode\": \"21894891000000077770010003119343809463350018\",\n    \"digitableLine\": \"21890010070311934380894633500189489100000007777\",\n    \"amount\": \"77.77\",\n    \"discount\": {\n        \"limit\": null,\n        \"value\": null,\n        \"percentage\": null\n    },\n    \"fine\": {\n        \"date\": null,\n        \"interest\": null,\n        \"value\": null\n    },\n    \"expiresAt\": \"2022-02-28T12:00:00.000Z\",\n    \"updatedAt\": \"2021-02-04T14:44:55.897Z\",\n    \"createdAt\": \"2021-02-04T14:39:18.024Z\",\n    \"id\": \"322c43e9-ead6-4958-80b3-0bbf1c9b67e8\"\n}"}],"_postman_id":"d004bdcc-3173-487d-9d7f-c820873a9dfd"}],"id":"3bd5e410-39ef-4476-a7cd-561f3b6cc9dc","description":"<p>The Boletos Emit service is a service aimed at customers who want to rechardge their own account. The payment amount (by another financial institution) will be credited to the issuer's wallet.</p>\n","event":[{"listen":"prerequest","script":{"id":"4c6f2bf0-681c-4e53-9b6c-3f9236a980a8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e210e4cf-c6a9-458a-bfdf-85d4fbf42a3d","type":"text/javascript","exec":[""]}}],"_postman_id":"3bd5e410-39ef-4476-a7cd-561f3b6cc9dc","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}}],"id":"0db5059c-eb35-4bdb-b55b-1578332f4098","_postman_id":"0db5059c-eb35-4bdb-b55b-1578332f4098","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"P2P","item":[{"name":"P2P payments","event":[{"listen":"prerequest","script":{"id":"0ef7d312-c7a3-4ac0-9e9c-e8a5875bec29","exec":["// Basic request data","const timestamp = Date.now();","const method = request.method.toUpperCase();","const url = request.url.split(\"{{API_BASE_URL}}\")[1];","","// Building request signature payload","const payload = [","    method,","    url,","    timestamp,","];","","// For POST and PUT methods, we must also pass the raw body ","if(method === 'POST' || method === 'PUT') {","    // Make sure JSON file has no tabs, spaces or new lines (uglify JSON)","    payload.push(JSON.stringify(JSON.parse(request.data)));","}","","console.log('Request signature payload', payload);","","// Generating hex for request signature","const hash = CryptoJS.HmacSHA256(payload.join(','), pm.environment.get('OAUTH_CLIENT_SECRET'));","const signature = CryptoJS.enc.Hex.stringify(hash);","","// Setting results as environment variables","pm.environment.set(\"X_REQUEST_SIGNATURE\", signature);","pm.environment.set(\"X_REQUEST_TIMESTAMP\", timestamp);","",""],"type":"text/javascript"}}],"id":"089b062c-c69d-4678-b27c-f2dd5622dd04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"<p>The request signature</p>\n","key":"X-Request-Signature","type":"text","value":"{{X_REQUEST_SIGNATURE}}"},{"description":"<p>The request timestamp</p>\n","key":"X-Request-Timestamp","type":"text","value":"{{X_REQUEST_TIMESTAMP}}"}],"body":{"mode":"raw","raw":"{\n\t\"source\": \"4df9597f-887e-49c9-b7ec-0550e73af748\", //walletID source\n\t\"recipients\": [{\n\t\t\"amount\": \"1.00\", \n        \"asset\": \"BRLP\", //optional | default: asset Root\n\t\t\"destination\": \"b0066e16-04da-4908-9560-fb72c2585148\" //walletID destination\n\t}]\n}"},"url":"{{API_BASE_URL}}/payments","description":"<p>Sends a new payment in the platform, registering it in the Stellar blockchain.</p>\n<p><img src=\"https://plantuml-server.kkeisuke.dev/svg/VOyz2m8n38Rt_8hC1GSxTf0J9pStvxIDSDWFITF_xmbIZkDq2q-Ul2-Pcf9epmceQoqzUnQWe5NmKalhcUK86s01nWuFfuKBdszNX_2TFl1EAR4Eps5aF-iVnJeCmd7MlRPnimfyrQQUmXEDKQ7I7Yp6xBdsbmimSOdBysy0.svg\" alt=\"P2P Transfer\" /></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["payments"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"31b18545-4a2d-4f8c-b7b5-db249488f338","name":"Consumer is not active","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"The request signature","key":"X-Request-Signature","type":"text","value":"{{X_REQUEST_SIGNATURE}}"},{"description":"The request timestamp","key":"X-Request-Timestamp","type":"text","value":"{{X_REQUEST_TIMESTAMP}}"}],"body":{"mode":"raw","raw":"{\n\t\"source\": \"4df9597f-887e-49c9-b7ec-0550e73af748\", //walletID source\n\t\"recipients\": [{\n\t\t\"amount\": \"1.00\", \n        \"asset\": \"BRLP\", //optional | default: asset Root\n\t\t\"destination\": \"b0066e16-04da-4908-9560-fb72c2585148\" //walletID destination\n\t}]\n}"},"url":"{{API_BASE_URL}}/payments"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] Consumer is not in the required state for the requested operation (stackId: 295b7690-67fa-4c09-9f01-f7aa4566b6b9)\",\n    \"stackId\": \"295b7690-67fa-4c09-9f01-f7aa4566b6b9\",\n    \"details\": {\n        \"requiredStatus\": [\n            \"ready\"\n        ],\n        \"userId\": \"a761a070-d186-4dd8-bb17-f62d6a95d0d2\"\n    }}"}],"_postman_id":"089b062c-c69d-4678-b27c-f2dd5622dd04"},{"name":"P2P multi-payments","event":[{"listen":"prerequest","script":{"id":"d76a6871-2b37-4bfb-ac5d-4fc96cdb6429","exec":["// Basic request data","const timestamp = Date.now();","const method = request.method.toUpperCase();","const url = request.url.split(\"{{API_BASE_URL}}\")[1];","","// Building request signature payload","const payload = [","    method,","    url,","    timestamp,","];","","// For POST and PUT methods, we must also pass the raw body ","if(method === 'POST' || method === 'PUT') {","    // Make sure JSON file has no tabs, spaces or new lines (uglify JSON)","    payload.push(JSON.stringify(JSON.parse(request.data)));","}","","console.log('Request signature payload', payload);","","// Generating hex for request signature","const hash = CryptoJS.HmacSHA256(payload.join(','), pm.environment.get('OAUTH_CLIENT_SECRET'));","const signature = CryptoJS.enc.Hex.stringify(hash);","","// Setting results as environment variables","pm.environment.set(\"X_REQUEST_SIGNATURE\", signature);","pm.environment.set(\"X_REQUEST_TIMESTAMP\", timestamp);","",""],"type":"text/javascript"}}],"id":"081bd377-64af-40f5-b3eb-4cdeee981bf3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"<p>The request signature</p>\n","key":"X-Request-Signature","type":"text","value":"{{X_REQUEST_SIGNATURE}}"},{"description":"<p>The request timestamp</p>\n","key":"X-Request-Timestamp","type":"text","value":"{{X_REQUEST_TIMESTAMP}}"}],"body":{"mode":"raw","raw":"{\n    \"source\": \"4df9597f-887e-49c9-b7ec-0550e73af748\", //walletID source\n    \"recipients\": [\n        {\n            \"amount\": \"1.00\",\n            \"asset\": \"BRLP\", //optional | default: asset Root\n            \"destination\": \"b0066e16-04da-4908-9560-fb72c2585148\" //walletID destination 1\n        },\n        {\n            \"amount\": \"2.00\",\n            \"asset\": \"BRLP\", //optional | default: asset Root\n            \"destination\": \"4e287839-637e-4c57-b0ff-d9a6fc15ce56\" //walletID destination 2\n        },\n        {\n            \"amount\": \"4.44\",\n            \"asset\": \"BRLP\", //optional | default: asset Root\n            \"destination\": \"e67227d6-15dc-434c-87a1-8b692b2aef0c\" //walletID destination 3\n        },\n        {\n            \"amount\": \"5.55\",\n            \"asset\": \"BRLP\", //optional | default: asset Root\n            \"destination\": \"0aa289b9-0dea-4aac-8942-410928244bda\" //walletID destination 4\n        },\n        {\n            \"amount\": \"1.00\",\n            \"asset\": \"BRLP\", //optional | default: asset Root\n            \"destination\": \"be823b5e-6f81-471d-b7b6-7188fb5141b5\" //walletID destination 5\n        }\n\n    ]\n}"},"url":"{{API_BASE_URL}}/payments","description":"<p>Sends a new payment in the platform, registering it in the Stellar blockchain.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["payments"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"081bd377-64af-40f5-b3eb-4cdeee981bf3"}],"id":"bb02c643-d979-4a85-b986-5730c1f05161","_postman_id":"bb02c643-d979-4a85-b986-5730c1f05161","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"TED","item":[{"name":"Favored management","item":[{"name":"List favored accounts","id":"d28fa3b7-6e3b-4fad-874b-be017d27c5e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/:userId/bankings","description":"<p>Get the list of available bank accounts for the given user.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":userId","bankings"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"string","value":"","key":"userId"}]}},"response":[],"_postman_id":"d28fa3b7-6e3b-4fad-874b-be017d27c5e0"},{"name":"Open favored account","id":"6e1cb81f-7a22-4026-9b39-b587eedd37d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/:userId/bankings/:bankingId","description":"<p>Get the bank account with the given bankingId</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":userId","bankings",":bankingId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"string","value":"","key":"userId"},{"description":{"content":"<p>bankingID</p>\n","type":"text/plain"},"type":"string","value":"","key":"bankingId"}]}},"response":[],"_postman_id":"6e1cb81f-7a22-4026-9b39-b587eedd37d7"},{"name":"Register a favored","id":"58f6c88b-26d9-4e48-9c38-64092672e3b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"checking\", //checking | saving | investment\n    \"bank\": \"341\", // COMPE bank number\n    \"agency\": \"8035\",\n    \"agencyDigit\": \"2\",\n    \"account\": \"161616\",\n    \"accountDigit\": \"2\",\n    \"taxId\": \"04011703907\", //CPF or CNPJ\n    \"name\": \"Nome Completo do Favorecido\"\n}"},"url":"{{API_BASE_URL}}/consumers/:userId/bankings","description":"<p>Creates a new bank account and associate it with the user with the given userId.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":userId","bankings"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"string","value":"","key":"userId"}]}},"response":[{"id":"16d89e64-6bd5-42ca-a95f-ef9de570b949","name":"Favoured registered","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":" {\n \t\"type\": \"checking\",\n\t\"bank\": \"260\",\n\t\"agency\": \"8074\",\n\t\"agencyDigit\": \"2\",\n\t\"account\": \"15936\",\n\t\"accountDigit\": \"2\",\n\t\"taxId\": \"012345678901\",\n\t\"name\": \"John Doe\",\n\t\"holderType\": \"personal\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/consumer/:userId/bankings","host":["{{API_BASE_URL}}"],"path":["consumer",":userId","bankings"],"variable":[{"key":"userId","value":"3c70525f-bc87-4859-8daf-ff053a5a059a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-API-Version","value":"0.0.7-alpha.2"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"182"},{"key":"ETag","value":"W/\"b6-iLVGlw/i0ASA1vOC7bkWtMTc7Os\""},{"key":"Date","value":"Mon, 03 Dec 2018 22:09:24 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n\t\"id\": \"05fb7bad-0c37-4b72-b8fc-c2415acd214d\",\n \t\"type\": \"checking\",\n\t\"bank\": \"260\",\n\t\"agency\": \"8074\",\n\t\"agencyDigit\": \"2\",\n\t\"account\": \"15936\",\n\t\"accountDigit\": \"2\",\n\t\"taxId\": \"012345678901\",\n\t\"name\": \"John Doe\",\n    \"updatedAt\": \"2018-12-03T21:12:04.050Z\",\n    \"createdAt\": \"2018-12-03T21:12:03.976Z\"\n}"}],"_postman_id":"58f6c88b-26d9-4e48-9c38-64092672e3b3"},{"name":"Delete a favored","id":"c58ce333-4ada-4ebd-bb77-faf15fb13e9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{API_BASE_URL}}/consumers/:userId/bankings/:bankingId","description":"<p>Deletes the bank account identified by the given bankingId.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":userId","bankings",":bankingId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"string","value":"","key":"userId"},{"description":{"content":"<p>bankingID</p>\n","type":"text/plain"},"type":"string","value":"","key":"bankingId"}]}},"response":[{"id":"b06eadd4-1281-4e26-a475-c334e7bf87b7","name":"Deleted favoured","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{API_BASE_URL}}/consumer/:userId/bankings/:bankingId","host":["{{API_BASE_URL}}"],"path":["consumer",":userId","bankings",":bankingId"],"variable":[{"key":"userId","value":"3c70525f-bc87-4859-8daf-ff053a5a059a"},{"key":"bankingId","value":"05fb7bad-0c37-4b72-b8fc-c2415acd214d"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-API-Version","value":"0.0.7-alpha.2"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"182"},{"key":"ETag","value":"W/\"b6-iLVGlw/i0ASA1vOC7bkWtMTc7Os\""},{"key":"Date","value":"Mon, 03 Dec 2018 22:09:24 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n}"}],"_postman_id":"c58ce333-4ada-4ebd-bb77-faf15fb13e9c"}],"id":"2158d913-89cd-455b-a21f-8b4542ed9ed4","event":[{"listen":"prerequest","script":{"id":"efe6c7bb-f4cb-44a1-b086-1cb2f9825407","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6537d792-a75d-4723-9e85-da2ed7ae9882","type":"text/javascript","exec":[""]}}],"_postman_id":"2158d913-89cd-455b-a21f-8b4542ed9ed4","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"TED OUT","id":"837dc186-bd96-4be8-8d8c-bfddc71161e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": \"99.99\",\n    \"asset\": \"BRLP\",\n    \"arrangement\": \"str\", // str for TED | pix for PIX - (optional but strognly recomended if you plan to user pix services too)\n    \"paymentPriority\": \"normal\", //always is normal - (optional)\n    \"bank\": {\n        \"bank\": 237,\n        \"agency\": 566,\n        \"agencyDigit\": \"5\",\n        \"account\": 521663,\n        \"accountDigit\": \"0\",\n        \"taxId\": \" 31213272831\",\n        \"name\": \"Fulano de Tal\",\n        \"type\": \"checking\", // checking | savings | investment \n        \"holdertype\": \"personal\" //corporate | personal\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/wallets/:id/withdraw","description":"<p>Sends a value to an external accounts (checking account for other banks and financial institutions)</p>\n<p>It is possible to send to checking account, savings account and investment account</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id","withdraw"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"24894bdb-1ae6-4da1-9833-b603cf6bec4a","name":"Internal error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": \"99.99\",\n    \"asset\": \"BRLP\",\n    \"scheduleFor\": \"2020-04-01T14:31:56.428Z\", //if you want to schedule the transaction\n    \"arrangement\": \"str\",\n    \"bank\": {\n        \"bank\": 237,\n        \"agency\": 566,\n        \"agencyDigit\": \"5\",\n        \"account\": 521663,\n        \"accountDigit\": \"0\",\n        \"taxId\": \" 31213272831\",\n        \"name\": \"Fulano de Tal\",\n        \"type\": \"checking\", // checking | savings | investment \n        \"holdertype\": \"personal\" //corporate | personal\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/wallets/:id/withdraw","host":["{{API_BASE_URL}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id","value":"","description":"walletID"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 500,\n    \"message\": \"[500] check.match is not a function (stackId: 7aa03035-a607-424c-8d16-46cac774d8b5)\",\n    \"stackId\": \"7aa03035-a607-424c-8d16-46cac774d8b5\",\n    \"details\": {}\n}"},{"id":"2e5fb4fb-4845-4b55-a215-0000d6cc140c","name":"Not enough balance","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": \"99.99\",\n    \"asset\": \"BRLP\",\n    \"scheduleFor\": \"2020-04-01T14:31:56.428Z\", //if you want to schedule the transaction\n    \"arrangement\": \"str\",\n    \"bank\": {\n        \"bank\": 237,\n        \"agency\": 566,\n        \"agencyDigit\": \"5\",\n        \"account\": 521663,\n        \"accountDigit\": \"0\",\n        \"taxId\": \" 31213272831\",\n        \"name\": \"Fulano de Tal\",\n        \"type\": \"checking\", // checking | savings | investment \n        \"holdertype\": \"personal\" //corporate | personal\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/wallets/:id/withdraw","host":["{{API_BASE_URL}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id","value":"","description":"walletID"}]}},"status":"Precondition Failed","code":412,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 412,\n    \"message\": \"[412] User does not have enough balance. (stackId: 11780663-85dc-4671-8662-304cd9f78b9a)\",\n    \"stackId\": \"11780663-85dc-4671-8662-304cd9f78b9a\",\n    \"details\": {\n        \"assets\": [\n            \"BRLP\"\n        ]\n    }\n}"},{"id":"3459da3d-3d56-4274-8b3f-2c786aa85a30","name":"Asset not authorizable","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": \"99.99\",\n    \"asset\": \"BRLP\",\n    \"scheduleFor\": \"2020-04-01T14:31:56.428Z\", //if you want to schedule the transaction\n    \"arrangement\": \"str\",\n    \"bank\": {\n        \"bank\": 237,\n        \"agency\": 566,\n        \"agencyDigit\": \"5\",\n        \"account\": 521663,\n        \"accountDigit\": \"0\",\n        \"taxId\": \" 31213272831\",\n        \"name\": \"Fulano de Tal\",\n        \"type\": \"checking\", // checking | savings | investment \n        \"holdertype\": \"personal\" //corporate | personal\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/wallets/:id/withdraw","host":["{{API_BASE_URL}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id","value":"","description":"walletID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] There is no asset with code BRLP,BRLB (stackId: ed75056f-1e58-4115-bf4c-f5920619c574)\",\n    \"stackId\": \"ed75056f-1e58-4115-bf4c-f5920619c574\",\n    \"details\": {}\n}"},{"id":"8c23053a-115a-4883-91e7-422acc1cd10e","name":"Provider not registered","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": \"99.99\",\n    \"asset\": \"BRLP\",\n    \"scheduleFor\": \"2020-04-01T14:31:56.428Z\", //if you want to schedule the transaction\n    \"arrangement\": \"str\",\n    \"bank\": {\n        \"bank\": 237,\n        \"agency\": 566,\n        \"agencyDigit\": \"5\",\n        \"account\": 521663,\n        \"accountDigit\": \"0\",\n        \"taxId\": \" 31213272831\",\n        \"name\": \"Fulano de Tal\",\n        \"type\": \"checking\", // checking | savings | investment \n        \"holdertype\": \"personal\" //corporate | personal\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/wallets/:id/withdraw","host":["{{API_BASE_URL}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id","value":"","description":"walletID"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 500,\n    \"message\": \"[500] Provider does not support the \\\"deposit\\\" feature, or has not registered its service (stackId: d43b8cc4-1721-4ae3-8672-2bccf386d36a)\",\n    \"stackId\": \"d43b8cc4-1721-4ae3-8672-2bccf386d36a\",\n    \"details\": {}\n}"},{"id":"99dd47cc-216d-480d-92f9-ea56fa5236a3","name":"Wallet not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": \"99.99\",\n    \"asset\": \"BRLP\",\n    \"scheduleFor\": \"2020-04-01T14:31:56.428Z\", //if you want to schedule the transaction\n    \"arrangement\": \"str\",\n    \"bank\": {\n        \"bank\": 237,\n        \"agency\": 566,\n        \"agencyDigit\": \"5\",\n        \"account\": 521663,\n        \"accountDigit\": \"0\",\n        \"taxId\": \" 31213272831\",\n        \"name\": \"Fulano de Tal\",\n        \"type\": \"checking\", // checking | savings | investment \n        \"holdertype\": \"personal\" //corporate | personal\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/wallets/:id/withdraw","host":["{{API_BASE_URL}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id","value":"","description":"walletID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"message\": \"[404] Wallet 76c56128-8960-49ac-a864-61f938528748 not found (stackId: 1314a35a-d39c-4f8f-be0f-5b1f3d32a9c2)\",\n    \"stackId\": \"1314a35a-d39c-4f8f-be0f-5b1f3d32a9c2\",\n    \"details\": {}\n    \n}"},{"id":"d0de0cc0-3de3-471e-8c21-6ab71f344569","name":"Ted out sent","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": \"99.99\",\n    \"asset\": \"BRLP\",\n    \"scheduleFor\": \"2020-04-01T14:31:56.428Z\", //if you want to schedule the transaction\n    \"arrangement\": \"str\",\n    \"bank\": {\n        \"bank\": 237,\n        \"agency\": 566,\n        \"agencyDigit\": \"5\",\n        \"account\": 521663,\n        \"accountDigit\": \"0\",\n        \"taxId\": \" 31213272831\",\n        \"name\": \"Fulano de Tal\",\n        \"type\": \"checking\", // checking | savings | investment \n        \"holdertype\": \"personal\" //corporate | personal\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/wallets/:id/withdraw","host":["{{API_BASE_URL}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id","value":"","description":"walletID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"c91aae56-f68b-4ca2-a67f-ec8b95b981c5\",\n    \"type\": \"payment\",\n    \"status\": \"AUTHORIZED\",\n    \"createdAt\": \"2021-02-16T13:30:54.689Z\",\n    \"updatedAt\": \"2021-02-16T13:30:54.689Z\",\n    \"banking\": {\n        \"id\": \"83bfaa50-b5ff-476f-9914-3dabd9b54034\",\n        \"bank\": \"342\",\n        \"agency\": \"1\",\n        \"agencyDigit\": \"0\",\n        \"account\": \"97265270\",\n        \"accountDigit\": \"\",\n        \"type\": \"checking\",\n        \"holderType\": \"personal\",\n        \"name\": \"John Doe\",\n        \"taxId\": \"01234567890\",\n        \"createdAt\": \"2021-02-16T13:30:54.611Z\",\n        \"updatedAt\": \"2021-02-16T13:30:54.611Z\"\n    },\n    \"payments\": [\n        {\n            \"id\": \"09402db5-ff09-4a96-82cf-dc8dc94dff0e\",\n            \"type\": \"withdrawal\",\n            \"status\": \"authorized\",\n            \"createdAt\": \"2021-02-16T13:30:54.705Z\",\n            \"updatedAt\": \"2021-02-16T13:30:54.705Z\",\n            \"amount\": \"4.44\",\n            \"destination\": {\n                \"id\": \"4e34cf92-280f-4581-9eb1-d4cb71959ff9\",\n                \"root\": true,\n                \"stellar\": {\n                    \"publicKey\": \"GBUWHPQWFMFSZJS3A3SKRBQRGLD257G3T7EAQGIL5GQIM67ZJKVKXGIN\"\n                },\n                \"updatedAt\": \"2021-02-15T21:52:21.167Z\",\n                \"createdAt\": \"2021-02-15T21:52:21.167Z\",\n                \"deletedAt\": null,\n                \"additionalData\": {}\n            },\n            \"asset\": {\n                \"id\": \"33b986c9-23ee-4262-ada7-0c9ed1b07b66\",\n                \"name\": \"BRL Parati\",\n                \"code\": \"BRLP\",\n                \"root\": true,\n                \"provider\": \"parati-provider\",\n                \"required\": true,\n                \"createdAt\": \"2021-02-15T21:52:21.180Z\",\n                \"updatedAt\": \"2021-02-15T21:52:21.180Z\"\n            }\n        }\n    ],\n    \"source\": {\n        \"id\": \"6842b221-a2e9-426d-a3d9-8f48b313e609\",\n        \"stellar\": {\n            \"publicKey\": \"GCJ2U2MBC67YE3NNNMOTQD5YYRCQR22E3N4STZ7WFHCVXHUHMXKV4HDM\"\n        },\n        \"updatedAt\": \"2021-02-16T13:20:28.658Z\",\n        \"createdAt\": \"2021-02-16T13:20:28.658Z\",\n        \"deletedAt\": null,\n        \"user\": {\n            \"id\": \"d29c41a4-09df-4ba0-917c-d49432a3b486\",\n            \"name\": \"PrimeiroNome segundo nome\",\n            \"firstName\": \"PrimeiroNome\",\n            \"lastName\": \"segundo nome\",\n            \"email\": \"email@email.com\",\n            \"role\": \"consumer\",\n            \"twoFactorRequired\": \"false\",\n            \"createdAt\": \"2021-02-16T13:20:28.595Z\",\n            \"updatedAt\": \"2021-02-16T13:20:28.595Z\",\n            \"domain\": {\n                \"id\": \"2009aac5-7fc6-47fa-84d2-271f19858a4f\",\n                \"name\": \"Bit Capital Network\",\n                \"role\": \"root\"\n            }\n        },\n        \"additionalData\": {\n            \"fingerprint\": \"PostmanRuntime/7.26.8#35.237.4.70\",\n            \"acceptProviderLegalTerms\": true\n        }\n    },\n    \"states\": [\n        {\n            \"id\": \"0f14b555-4192-4c02-9579-995629e48007\",\n            \"status\": \"AUTHORIZED\",\n            \"createdAt\": \"2021-02-16T13:30:54.733Z\",\n            \"updatedAt\": \"2021-02-16T13:30:54.733Z\",\n            \"additionalData\": {\n                \"skipped\": [\n                    {\n                        \"asset\": \"BRLP\",\n                        \"payment\": \"09402db5-ff09-4a96-82cf-dc8dc94dff0e\",\n                        \"provider\": \"parati-provider\"\n                    }\n                ],\n                \"authorized\": []\n            }\n        },\n        {\n            \"id\": \"fd62017c-66de-4918-b3d9-95ad2c8984a6\",\n            \"status\": \"pending\",\n            \"createdAt\": \"2021-02-16T13:30:54.695Z\",\n            \"updatedAt\": \"2021-02-16T13:30:54.695Z\",\n            \"additionalData\": {}\n        }\n    ],\n    \"additionalData\": {\n        \"source\": {\n            \"ispb\": \"03311443\",\n            \"bankNumber\": \"03311443\",\n            \"branchNumber\": \"0001\",\n            \"accountNumber\": \"94791416\",\n            \"accountHolderName\": \"PrimeiroNome segundo nome\",\n            \"accountHolderType\": \"personal\",\n            \"accountHolderTaxId\": \"89898989785\"\n        },\n        \"arrangement\": \"pix\",\n        \"destination\": {\n            \"ispb\": \"32997490\",\n            \"bankNumber\": \"342\",\n            \"branchNumber\": \"1\",\n            \"accountNumber\": \"97265270\",\n            \"accountHolderName\": \"John Doe\",\n            \"accountHolderType\": \"personal\",\n            \"accountHolderTaxId\": \"01234567890\"\n        }\n    }\n}"}],"_postman_id":"837dc186-bd96-4be8-8d8c-bfddc71161e1"},{"name":"TED OUT scheduled","id":"505777cb-2c9e-448c-9623-8d2a34d082ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": \"99.99\",\n    \"asset\": \"BRLP\",\n    \"scheduleFor\": \"2020-04-01T14:31:56.428Z\", //if you want to schedule the transaction\n    \"arrangement\": \"str\", // str for TED | pix for PIX\n    \"paymentPriority\": \"normal\", //always is normal\n    \"bank\": {\n        \"bank\": 237,\n        \"agency\": 566,\n        \"agencyDigit\": \"5\",\n        \"account\": 521663,\n        \"accountDigit\": \"0\",\n        \"taxId\": \" 31213272831\",\n        \"name\": \"Fulano de Tal\",\n        \"type\": \"checking\", // checking | savings | investment \n        \"holdertype\": \"personal\" //corporate | personal\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/wallets/:id/withdraw","description":"<p>Sends a value to an external accounts (checking account for other banks and financial institutions)</p>\n<p>It is possible to send to checking account, savings account and investment account</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id","withdraw"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"ff9c4e04-22f4-4b64-8737-6b226c8a83ad","description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"08ac1325-f028-4f7e-b851-7b609f02fef2","name":"Ted out sent","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": \"99.99\",\n    \"asset\": \"BRLP\",\n    \"scheduleFor\": \"2020-04-01T14:31:56.428Z\", //if you want to schedule the transaction\n    \"arrangement\": \"str\",\n    \"bank\": {\n        \"bank\": 237,\n        \"agency\": 566,\n        \"agencyDigit\": \"5\",\n        \"account\": 521663,\n        \"accountDigit\": \"0\",\n        \"taxId\": \" 31213272831\",\n        \"name\": \"Fulano de Tal\",\n        \"type\": \"checking\", // checking | savings | investment \n        \"holdertype\": \"personal\" //corporate | personal\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/wallets/:id/withdraw","host":["{{API_BASE_URL}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id","value":"","description":"walletID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"c91aae56-f68b-4ca2-a67f-ec8b95b981c5\",\n    \"type\": \"payment\",\n    \"status\": \"AUTHORIZED\",\n    \"createdAt\": \"2021-02-16T13:30:54.689Z\",\n    \"updatedAt\": \"2021-02-16T13:30:54.689Z\",\n    \"banking\": {\n        \"id\": \"83bfaa50-b5ff-476f-9914-3dabd9b54034\",\n        \"bank\": \"342\",\n        \"agency\": \"1\",\n        \"agencyDigit\": \"0\",\n        \"account\": \"97265270\",\n        \"accountDigit\": \"\",\n        \"type\": \"checking\",\n        \"holderType\": \"personal\",\n        \"name\": \"John Doe\",\n        \"taxId\": \"01234567890\",\n        \"createdAt\": \"2021-02-16T13:30:54.611Z\",\n        \"updatedAt\": \"2021-02-16T13:30:54.611Z\"\n    },\n    \"payments\": [\n        {\n            \"id\": \"09402db5-ff09-4a96-82cf-dc8dc94dff0e\",\n            \"type\": \"withdrawal\",\n            \"status\": \"authorized\",\n            \"createdAt\": \"2021-02-16T13:30:54.705Z\",\n            \"updatedAt\": \"2021-02-16T13:30:54.705Z\",\n            \"amount\": \"4.44\",\n            \"destination\": {\n                \"id\": \"4e34cf92-280f-4581-9eb1-d4cb71959ff9\",\n                \"root\": true,\n                \"stellar\": {\n                    \"publicKey\": \"GBUWHPQWFMFSZJS3A3SKRBQRGLD257G3T7EAQGIL5GQIM67ZJKVKXGIN\"\n                },\n                \"updatedAt\": \"2021-02-15T21:52:21.167Z\",\n                \"createdAt\": \"2021-02-15T21:52:21.167Z\",\n                \"deletedAt\": null,\n                \"additionalData\": {}\n            },\n            \"asset\": {\n                \"id\": \"33b986c9-23ee-4262-ada7-0c9ed1b07b66\",\n                \"name\": \"BRL Parati\",\n                \"code\": \"BRLP\",\n                \"root\": true,\n                \"provider\": \"parati-provider\",\n                \"required\": true,\n                \"createdAt\": \"2021-02-15T21:52:21.180Z\",\n                \"updatedAt\": \"2021-02-15T21:52:21.180Z\"\n            }\n        }\n    ],\n    \"source\": {\n        \"id\": \"6842b221-a2e9-426d-a3d9-8f48b313e609\",\n        \"stellar\": {\n            \"publicKey\": \"GCJ2U2MBC67YE3NNNMOTQD5YYRCQR22E3N4STZ7WFHCVXHUHMXKV4HDM\"\n        },\n        \"updatedAt\": \"2021-02-16T13:20:28.658Z\",\n        \"createdAt\": \"2021-02-16T13:20:28.658Z\",\n        \"deletedAt\": null,\n        \"user\": {\n            \"id\": \"d29c41a4-09df-4ba0-917c-d49432a3b486\",\n            \"name\": \"PrimeiroNome segundo nome\",\n            \"firstName\": \"PrimeiroNome\",\n            \"lastName\": \"segundo nome\",\n            \"email\": \"email@email.com\",\n            \"role\": \"consumer\",\n            \"twoFactorRequired\": \"false\",\n            \"createdAt\": \"2021-02-16T13:20:28.595Z\",\n            \"updatedAt\": \"2021-02-16T13:20:28.595Z\",\n            \"domain\": {\n                \"id\": \"2009aac5-7fc6-47fa-84d2-271f19858a4f\",\n                \"name\": \"Bit Capital Network\",\n                \"role\": \"root\"\n            }\n        },\n        \"additionalData\": {\n            \"fingerprint\": \"PostmanRuntime/7.26.8#35.237.4.70\",\n            \"acceptProviderLegalTerms\": true\n        }\n    },\n    \"states\": [\n        {\n            \"id\": \"0f14b555-4192-4c02-9579-995629e48007\",\n            \"status\": \"AUTHORIZED\",\n            \"createdAt\": \"2021-02-16T13:30:54.733Z\",\n            \"updatedAt\": \"2021-02-16T13:30:54.733Z\",\n            \"additionalData\": {\n                \"skipped\": [\n                    {\n                        \"asset\": \"BRLP\",\n                        \"payment\": \"09402db5-ff09-4a96-82cf-dc8dc94dff0e\",\n                        \"provider\": \"parati-provider\"\n                    }\n                ],\n                \"authorized\": []\n            }\n        },\n        {\n            \"id\": \"fd62017c-66de-4918-b3d9-95ad2c8984a6\",\n            \"status\": \"pending\",\n            \"createdAt\": \"2021-02-16T13:30:54.695Z\",\n            \"updatedAt\": \"2021-02-16T13:30:54.695Z\",\n            \"additionalData\": {}\n        }\n    ],\n    \"additionalData\": {\n        \"source\": {\n            \"ispb\": \"03311443\",\n            \"bankNumber\": \"03311443\",\n            \"branchNumber\": \"0001\",\n            \"accountNumber\": \"94791416\",\n            \"accountHolderName\": \"PrimeiroNome segundo nome\",\n            \"accountHolderType\": \"personal\",\n            \"accountHolderTaxId\": \"89898989785\"\n        },\n        \"arrangement\": \"pix\",\n        \"destination\": {\n            \"ispb\": \"32997490\",\n            \"bankNumber\": \"342\",\n            \"branchNumber\": \"1\",\n            \"accountNumber\": \"97265270\",\n            \"accountHolderName\": \"John Doe\",\n            \"accountHolderType\": \"personal\",\n            \"accountHolderTaxId\": \"01234567890\"\n        }\n    }\n}"},{"id":"62cdc343-5142-478a-8fa2-250ff7335c86","name":"Wallet not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": \"99.99\",\n    \"asset\": \"BRLP\",\n    \"scheduleFor\": \"2020-04-01T14:31:56.428Z\", //if you want to schedule the transaction\n    \"arrangement\": \"str\",\n    \"bank\": {\n        \"bank\": 237,\n        \"agency\": 566,\n        \"agencyDigit\": \"5\",\n        \"account\": 521663,\n        \"accountDigit\": \"0\",\n        \"taxId\": \" 31213272831\",\n        \"name\": \"Fulano de Tal\",\n        \"type\": \"checking\", // checking | savings | investment \n        \"holdertype\": \"personal\" //corporate | personal\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/wallets/:id/withdraw","host":["{{API_BASE_URL}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id","value":"","description":"walletID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"message\": \"[404] Wallet 76c56128-8960-49ac-a864-61f938528748 not found (stackId: 1314a35a-d39c-4f8f-be0f-5b1f3d32a9c2)\",\n    \"stackId\": \"1314a35a-d39c-4f8f-be0f-5b1f3d32a9c2\",\n    \"details\": {}\n    \n}"},{"id":"a647fb16-721c-4f24-92b1-21b4a37a78dc","name":"Provider not registered","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": \"99.99\",\n    \"asset\": \"BRLP\",\n    \"scheduleFor\": \"2020-04-01T14:31:56.428Z\", //if you want to schedule the transaction\n    \"arrangement\": \"str\",\n    \"bank\": {\n        \"bank\": 237,\n        \"agency\": 566,\n        \"agencyDigit\": \"5\",\n        \"account\": 521663,\n        \"accountDigit\": \"0\",\n        \"taxId\": \" 31213272831\",\n        \"name\": \"Fulano de Tal\",\n        \"type\": \"checking\", // checking | savings | investment \n        \"holdertype\": \"personal\" //corporate | personal\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/wallets/:id/withdraw","host":["{{API_BASE_URL}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id","value":"","description":"walletID"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 500,\n    \"message\": \"[500] Provider does not support the \\\"deposit\\\" feature, or has not registered its service (stackId: d43b8cc4-1721-4ae3-8672-2bccf386d36a)\",\n    \"stackId\": \"d43b8cc4-1721-4ae3-8672-2bccf386d36a\",\n    \"details\": {}\n}"},{"id":"bb984181-94de-4f01-b309-baf51cb51c4f","name":"Asset not authorizable","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": \"99.99\",\n    \"asset\": \"BRLP\",\n    \"scheduleFor\": \"2020-04-01T14:31:56.428Z\", //if you want to schedule the transaction\n    \"arrangement\": \"str\",\n    \"bank\": {\n        \"bank\": 237,\n        \"agency\": 566,\n        \"agencyDigit\": \"5\",\n        \"account\": 521663,\n        \"accountDigit\": \"0\",\n        \"taxId\": \" 31213272831\",\n        \"name\": \"Fulano de Tal\",\n        \"type\": \"checking\", // checking | savings | investment \n        \"holdertype\": \"personal\" //corporate | personal\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/wallets/:id/withdraw","host":["{{API_BASE_URL}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id","value":"","description":"walletID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] There is no asset with code BRLP,BRLB (stackId: ed75056f-1e58-4115-bf4c-f5920619c574)\",\n    \"stackId\": \"ed75056f-1e58-4115-bf4c-f5920619c574\",\n    \"details\": {}\n}"},{"id":"d17b9c4f-6c29-405b-85e9-d4c6eda578f0","name":"Not enough balance","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": \"99.99\",\n    \"asset\": \"BRLP\",\n    \"scheduleFor\": \"2020-04-01T14:31:56.428Z\", //if you want to schedule the transaction\n    \"arrangement\": \"str\",\n    \"bank\": {\n        \"bank\": 237,\n        \"agency\": 566,\n        \"agencyDigit\": \"5\",\n        \"account\": 521663,\n        \"accountDigit\": \"0\",\n        \"taxId\": \" 31213272831\",\n        \"name\": \"Fulano de Tal\",\n        \"type\": \"checking\", // checking | savings | investment \n        \"holdertype\": \"personal\" //corporate | personal\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/wallets/:id/withdraw","host":["{{API_BASE_URL}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id","value":"","description":"walletID"}]}},"status":"Precondition Failed","code":412,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 412,\n    \"message\": \"[412] User does not have enough balance. (stackId: 11780663-85dc-4671-8662-304cd9f78b9a)\",\n    \"stackId\": \"11780663-85dc-4671-8662-304cd9f78b9a\",\n    \"details\": {\n        \"assets\": [\n            \"BRLP\"\n        ]\n    }\n}"},{"id":"e5877570-1c22-4af7-9156-39903b2738ff","name":"Internal error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": \"99.99\",\n    \"asset\": \"BRLP\",\n    \"scheduleFor\": \"2020-04-01T14:31:56.428Z\", //if you want to schedule the transaction\n    \"arrangement\": \"str\",\n    \"bank\": {\n        \"bank\": 237,\n        \"agency\": 566,\n        \"agencyDigit\": \"5\",\n        \"account\": 521663,\n        \"accountDigit\": \"0\",\n        \"taxId\": \" 31213272831\",\n        \"name\": \"Fulano de Tal\",\n        \"type\": \"checking\", // checking | savings | investment \n        \"holdertype\": \"personal\" //corporate | personal\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/wallets/:id/withdraw","host":["{{API_BASE_URL}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id","value":"","description":"walletID"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 500,\n    \"message\": \"[500] check.match is not a function (stackId: 7aa03035-a607-424c-8d16-46cac774d8b5)\",\n    \"stackId\": \"7aa03035-a607-424c-8d16-46cac774d8b5\",\n    \"details\": {}\n}"}],"_postman_id":"505777cb-2c9e-448c-9623-8d2a34d082ca"},{"name":"TED OUT to favoured account","id":"a58c2825-315a-449e-9d5c-15f0e1142652","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": \"99.99\",\n    \"asset\": \"BRLP\",\n    \"arrangement\": \"str\", // str for TED | pix for PIX\n    \"paymentPriority\": \"normal\", //always is normal\n    \"bankingId\": \"a6baa14d-d841-4937-a265-9192f0356471\", //favored person registered in POST/bankingID\n    \"scheduleFor\": \"2020-04-01T14:31:56.428Z\" //if you want to schedule the transaction\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/wallets/:id/withdraw","description":"<p>Sends a value to an external accounts (checking account for other banks and financial institutions)</p>\n<p>It is possible to send to checking account, savings account and investment account</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id","withdraw"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"a58c2825-315a-449e-9d5c-15f0e1142652"},{"name":"List all financial institutions","id":"8fb95924-3cdb-43d1-bf53-1c3b0065afde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/financial-institutions?onlyActive=false&onlyWithCompeCode=false&provider=","description":"<p>Get the list of avaiable financial institutions.\n<br />\nNecessary SCOPE to perform <code>users:read</code></p>\n<p><strong><code>GHERKIN</code></strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GIVEN Actor is logged in platform\nWHEN actor perform the action\nTHEN the response must be 200\n</code></pre>","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["financial-institutions"],"host":["{{API_BASE_URL}}"],"query":[{"description":{"content":"<p>(Optional) Show only active financial institutions</p>\n","type":"text/plain"},"key":"onlyActive","value":"false"},{"description":{"content":"<p>(Optional) Show only FIs with compe code</p>\n","type":"text/plain"},"key":"onlyWithCompeCode","value":"false"},{"description":{"content":"<p>(Optional) explicitly tell which provider core should search for</p>\n","type":"text/plain"},"key":"provider","value":""}],"variable":[]}},"response":[{"id":"50a9f60c-d83f-43e5-8c16-42baa63eb5f0","name":"All iF listed","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/financial-institutions","host":["{{API_BASE_URL}}"],"path":["financial-institutions"],"query":[{"key":"onlyActive","value":"false","type":"text","disabled":true},{"key":"onlyWithCompeCode","value":"false","type":"text","disabled":true},{"key":"provider","value":"creditas-provider","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-API-Version","value":"1.9.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Date","value":"Tue, 07 Jan 2020 19:49:14 GMT"},{"key":"X-RateLimit-Reset","value":"1578426601"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"22734"},{"key":"ETag","value":"W/\"58ce-WXrCCOju7w3sqxyZJb9oD0Fz28o\""},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"ispb\": \"00329598\",\n        \"code\": \"407\",\n        \"name\": \"ÍNDIGO INVESTIMENTOS DISTRIBUIDORA DE TÍTULOS E VALORES MOBILIÁRIOS LTDA.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"05684234\",\n        \"code\": \"410\",\n        \"name\": \"PLANNER SOCIEDADE DE CRÉDITO AO MICROEMPREENDEDOR S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"00038121\",\n        \"code\": \"n/a\",\n        \"name\": \"Banco Central do Brasil - Selic\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"00038166\",\n        \"code\": \"n/a\",\n        \"name\": \"Banco Central do Brasil\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"00250699\",\n        \"code\": \"272\",\n        \"name\": \"AGK CORRETORA DE CAMBIO S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"00795423\",\n        \"code\": \"743\",\n        \"name\": \"Banco Semear S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"00806535\",\n        \"code\": \"100\",\n        \"name\": \"Planner Corretora de Valores S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"00997185\",\n        \"code\": \"96\",\n        \"name\": \"Banco B3 S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"01023570\",\n        \"code\": \"747\",\n        \"name\": \"Banco Rabobank International Brasil S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"01073966\",\n        \"code\": \"322\",\n        \"name\": \"Cooperativa de Crédito Rural de Abelardo Luz - Sulcredi/Crediluz\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"01330387\",\n        \"code\": \"350\",\n        \"name\": \"COOPERATIVA DE CRÉDITO RURAL DE PEQUENOS AGRICULTORES E DA REFORMA AGRÁRIA DO CE\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"01522368\",\n        \"code\": \"752\",\n        \"name\": \"Banco BNP Paribas Brasil S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"01634601\",\n        \"code\": \"91\",\n        \"name\": \"CENTRAL DE COOPERATIVAS DE ECONOMIA E CRÉDITO MÚTUO DO ESTADO DO RIO GRANDE DO S\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"01658426\",\n        \"code\": \"379\",\n        \"name\": \"COOPERFORTE - COOPERATIVA DE ECONOMIA E CRÉDITO MÚTUO DE FUNCIONÁRIOS DE INSTITU\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"01701201\",\n        \"code\": \"399\",\n        \"name\": \"Kirton Bank S.A. - Banco Múltiplo\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"01800019\",\n        \"code\": \"108\",\n        \"name\": \"PORTOCRED S.A. - CREDITO, FINANCIAMENTO E INVESTIMENTO\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"01852137\",\n        \"code\": \"378\",\n        \"name\": \"BBC LEASING S.A. - ARRENDAMENTO MERCANTIL\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"02276653\",\n        \"code\": \"360\",\n        \"name\": \"TRINUS CAPITAL DISTRIBUIDORA DE TÍTULOS E VALORES MOBILIÁRIOS S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"02318507\",\n        \"code\": \"757\",\n        \"name\": \"BANCO KEB HANA DO BRASIL S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"02332886\",\n        \"code\": \"102\",\n        \"name\": \"XP INVESTIMENTOS CORRETORA DE CÂMBIO,TÍTULOS E VALORES MOBILIÁRIOS S/A\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"02685483\",\n        \"code\": \"180\",\n        \"name\": \"CM CAPITAL MARKETS CORRETORA DE CÂMBIO, TÍTULOS E VALORES MOBILIÁRIOS LTDA\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"02801938\",\n        \"code\": \"66\",\n        \"name\": \"BANCO MORGAN STANLEY S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"02819125\",\n        \"code\": \"15\",\n        \"name\": \"UBS Brasil Corretora de Câmbio, Títulos e Valores Mobiliários S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"02992317\",\n        \"code\": \"143\",\n        \"name\": \"Treviso Corretora de Câmbio S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"02992335\",\n        \"code\": \"n/a\",\n        \"name\": \"Câmara Interbancária de Pagamentos - CIP - LDL\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"03012230\",\n        \"code\": \"62\",\n        \"name\": \"Hipercard Banco Múltiplo S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"03017677\",\n        \"code\": \"74\",\n        \"name\": \"Banco J. Safra S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"03215790\",\n        \"code\": \"387\",\n        \"name\": \"Banco Toyota do Brasil S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"03502968\",\n        \"code\": \"315\",\n        \"name\": \"PI Distribuidora de Títulos e Valores Mobiliários S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"03532415\",\n        \"code\": \"75\",\n        \"name\": \"Banco ABN Amro S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"03609817\",\n        \"code\": \"40\",\n        \"name\": \"Banco Cargill S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"03751794\",\n        \"code\": \"307\",\n        \"name\": \"Terra Investimentos Distribuidora de Títulos e Valores Mobiliários Ltda.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"03973814\",\n        \"code\": \"190\",\n        \"name\": \"SERVICOOP - COOPERATIVA DE CRÉDITO DOS SERVIDORES PÚBLICOS ESTADUAIS DO RIO GRAN\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"04062902\",\n        \"code\": \"296\",\n        \"name\": \"VISION S.A. CORRETORA DE CAMBIO\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"04184779\",\n        \"code\": \"63\",\n        \"name\": \"Banco Bradescard S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"04257795\",\n        \"code\": \"191\",\n        \"name\": \"Nova Futura Corretora de Títulos e Valores Mobiliários Ltda.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"04307598\",\n        \"code\": \"382\",\n        \"name\": \"FIDÚCIA SOCIEDADE DE CRÉDITO AO MICROEMPREENDEDOR E À EMPRESA DE PEQUENO PORTE L\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"04332281\",\n        \"code\": \"64\",\n        \"name\": \"GOLDMAN SACHS DO BRASIL BANCO MULTIPLO S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"04391007\",\n        \"code\": \"n/a\",\n        \"name\": \"Câmara Interbancária de Pagamentos\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"04814563\",\n        \"code\": \"299\",\n        \"name\": \"SOROCRED   CRÉDITO, FINANCIAMENTO E INVESTIMENTO S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"00000208\",\n        \"code\": \"70\",\n        \"name\": \"BRB - BCO DE BRASILIA S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"00315557\",\n        \"code\": \"136\",\n        \"name\": \"CONF NAC COOP CENTRAIS UNICRED\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"00360305\",\n        \"code\": \"104\",\n        \"name\": \"CAIXA ECONOMICA FEDERAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"00394460\",\n        \"code\": \"n/a\",\n        \"name\": \"STN\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"00416968\",\n        \"code\": \"77\",\n        \"name\": \"BANCO INTER\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"00517645\",\n        \"code\": \"741\",\n        \"name\": \"BCO RIBEIRAO PRETO S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"00558456\",\n        \"code\": \"739\",\n        \"name\": \"BCO CETELEM S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"01027058\",\n        \"code\": \"362\",\n        \"name\": \"CIELO S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"01181521\",\n        \"code\": \"748\",\n        \"name\": \"BCO COOPERATIVO SICREDI S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"02038232\",\n        \"code\": \"756\",\n        \"name\": \"BANCOOB\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"02398976\",\n        \"code\": \"84\",\n        \"name\": \"UNIPRIME NORTE DO PARANÁ - CC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"03046391\",\n        \"code\": \"99\",\n        \"name\": \"UNIPRIME CENTRAL CCC LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"03311443\",\n        \"code\": \"326\",\n        \"name\": \"PARATI - CFI S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"03323840\",\n        \"code\": \"25\",\n        \"name\": \"BCO ALFA S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"04632856\",\n        \"code\": \"97\",\n        \"name\": \"CREDISIS CENTRAL DE COOPERATIVAS DE CRÉDITO LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"04715685\",\n        \"code\": \"16\",\n        \"name\": \"CCM DESP TRÂNS SC E RS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"05192316\",\n        \"code\": \"411\",\n        \"name\": \"Via Certa Financiadora S.A. - Crédito, Financiamento e Investimentos\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"04913129\",\n        \"code\": \"60\",\n        \"name\": \"Confidence Corretora de Câmbio S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"05351887\",\n        \"code\": \"359\",\n        \"name\": \"ZEMA CRÉDITO, FINANCIAMENTO E INVESTIMENTO S/A\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"05790149\",\n        \"code\": \"114\",\n        \"name\": \"Central Cooperativa de Crédito no Estado do Espírito Santo - CECOOP\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"06271464\",\n        \"code\": \"36\",\n        \"name\": \"Banco Bradesco BBI S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"07207996\",\n        \"code\": \"394\",\n        \"name\": \"Banco Bradesco Financiamentos S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"07450604\",\n        \"code\": \"320\",\n        \"name\": \"China Construction Bank (Brasil) Banco Múltiplo S/A\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"07512441\",\n        \"code\": \"189\",\n        \"name\": \"HS FINANCEIRA S/A CREDITO, FINANCIAMENTO E INVESTIMENTOS\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"07652226\",\n        \"code\": \"105\",\n        \"name\": \"Lecca Crédito, Financiamento e Investimento S/A\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"07656500\",\n        \"code\": \"76\",\n        \"name\": \"Banco KDB do Brasil S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"07693858\",\n        \"code\": \"312\",\n        \"name\": \"HSCM - SOCIEDADE DE CRÉDITO AO MICROEMPREENDEDOR E À EMPRESA DE PEQUENO PORTE LT\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"08240446\",\n        \"code\": \"391\",\n        \"name\": \"COOPERATIVA DE CREDITO RURAL DE IBIAM - SULCREDI/IBIAM\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"08357240\",\n        \"code\": \"368\",\n        \"name\": \"Banco CSF S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"08609934\",\n        \"code\": \"259\",\n        \"name\": \"MONEYCORP BANCO DE CÂMBIO S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"08673569\",\n        \"code\": \"395\",\n        \"name\": \"F.D'GOLD - DISTRIBUIDORA DE TÍTULOS E VALORES MOBILIÁRIOS LTDA.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"09105360\",\n        \"code\": \"157\",\n        \"name\": \"ICAP do Brasil Corretora de Títulos e Valores Mobiliários Ltda.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"09210106\",\n        \"code\": \"183\",\n        \"name\": \"SOCRED S.A. - SOCIEDADE DE CRÉDITO AO MICROEMPREENDEDOR E À EMPRESA DE PEQUENO P\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"09274232\",\n        \"code\": \"14\",\n        \"name\": \"STATE STREET BRASIL S.A. ? BANCO COMERCIAL\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"09464032\",\n        \"code\": \"358\",\n        \"name\": \"MIDWAY S.A. - CRÉDITO, FINANCIAMENTO E INVESTIMENTO\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"09512542\",\n        \"code\": \"127\",\n        \"name\": \"Codepe Corretora de Valores e Câmbio S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"09516419\",\n        \"code\": \"79\",\n        \"name\": \"Banco Original do Agronegócio S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"10690848\",\n        \"code\": \"83\",\n        \"name\": \"Banco da China Brasil S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"10853017\",\n        \"code\": \"138\",\n        \"name\": \"Get Money Corretora de Câmbio S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"10866788\",\n        \"code\": \"24\",\n        \"name\": \"Banco Bandepe S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"11476673\",\n        \"code\": \"88\",\n        \"name\": \"BANCO RANDON S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"11495073\",\n        \"code\": \"319\",\n        \"name\": \"OM DISTRIBUIDORA DE TÍTULOS E VALORES MOBILIÁRIOS LTDA\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"11703662\",\n        \"code\": \"95\",\n        \"name\": \"Travelex Banco de Câmbio S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"11758741\",\n        \"code\": \"94\",\n        \"name\": \"Banco Finaxis S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"11970623\",\n        \"code\": \"276\",\n        \"name\": \"BANCO SENFF S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"12865507\",\n        \"code\": \"92\",\n        \"name\": \"BRK S.A. Crédito, Financiamento e Investimento\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"13220493\",\n        \"code\": \"126\",\n        \"name\": \"BR Partners Banco de Investimento S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"13293225\",\n        \"code\": \"325\",\n        \"name\": \"Órama Distribuidora de Títulos e Valores Mobiliários S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"13486793\",\n        \"code\": \"173\",\n        \"name\": \"BRL Trust Distribuidora de Títulos e Valores Mobiliários S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"13673855\",\n        \"code\": \"331\",\n        \"name\": \"Fram Capital Distribuidora de Títulos e Valores Mobiliários S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"04902979\",\n        \"code\": \"3\",\n        \"name\": \"BCO DA AMAZONIA S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"04913711\",\n        \"code\": \"37\",\n        \"name\": \"BCO DO EST. DO PA S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"05442029\",\n        \"code\": \"159\",\n        \"name\": \"CASA CREDITO S.A. SCM\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"05463212\",\n        \"code\": \"85\",\n        \"name\": \"COOP CENTRAL AILOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"07237373\",\n        \"code\": \"4\",\n        \"name\": \"BCO DO NORDESTE DO BRASIL S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"07679404\",\n        \"code\": \"82\",\n        \"name\": \"BANCO TOPÁZIO S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"07853842\",\n        \"code\": \"286\",\n        \"name\": \"CCR DE OURO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"07945233\",\n        \"code\": \"93\",\n        \"name\": \"POLOCRED SCMEPP LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"08253539\",\n        \"code\": \"273\",\n        \"name\": \"CCR DE SÃO MIGUEL DO OESTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"08561701\",\n        \"code\": \"290\",\n        \"name\": \"PAGSEGURO S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"09089356\",\n        \"code\": \"364\",\n        \"name\": \"GERENCIANET\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"09313766\",\n        \"code\": \"130\",\n        \"name\": \"CARUANA SCFI\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"09554480\",\n        \"code\": \"340\",\n        \"name\": \"SUPER PAGAMENTOS E ADMINISTRACAO DE MEIOS ELETRONICOS S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"10264663\",\n        \"code\": \"81\",\n        \"name\": \"BANCOSEGURO S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"10398952\",\n        \"code\": \"133\",\n        \"name\": \"CRESOL CONFEDERAÇÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"10573521\",\n        \"code\": \"323\",\n        \"name\": \"MERCADO PAGO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"10664513\",\n        \"code\": \"121\",\n        \"name\": \"BCO AGIBANK S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"11165756\",\n        \"code\": \"384\",\n        \"name\": \"GLOBAL SCM LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"11581339\",\n        \"code\": \"274\",\n        \"name\": \"MONEY PLUS SCMEPP LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"13009717\",\n        \"code\": \"47\",\n        \"name\": \"BCO DO EST. DE SE S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"13059145\",\n        \"code\": \"144\",\n        \"name\": \"BEXS BCO DE CAMBIO S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"13140088\",\n        \"code\": \"332\",\n        \"name\": \"ACESSO SOLUCOES PAGAMENTO SA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"13370835\",\n        \"code\": \"301\",\n        \"name\": \"BPP IP S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"00000000\",\n        \"code\": \"1\",\n        \"name\": \"BCO DO BRASIL S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"00068987\",\n        \"code\": null,\n        \"name\": \"CCLA TRIÂNGULO MINEIRO E SUDESTE DE GOIÁS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00075847\",\n        \"code\": null,\n        \"name\": \"CC UNICRED CENTRO-SUL LTDA – UNICRED CENTRO-SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00106180\",\n        \"code\": null,\n        \"name\": \"CCC DOS EST DE MT, MS E MUN DE CACOAL/RO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00259231\",\n        \"code\": null,\n        \"name\": \"CCLA SICOOB UNIMAIS METROPOLITANA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00309024\",\n        \"code\": null,\n        \"name\": \"CCC ESTADO MG - CECREMGE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00429890\",\n        \"code\": null,\n        \"name\": \"CC CREDIAGRO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00512839\",\n        \"code\": null,\n        \"name\": \"CECM SERV MUNIC SANTO ANDRE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00604122\",\n        \"code\": null,\n        \"name\": \"TRIVALE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00655522\",\n        \"code\": null,\n        \"name\": \"APE POUPEX\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00692214\",\n        \"code\": null,\n        \"name\": \"CCEC PLANALTO CENTRAL LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00694389\",\n        \"code\": null,\n        \"name\": \"CCLA SICOOB CREDICARU SC/RS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00694877\",\n        \"code\": null,\n        \"name\": \"CECM SERV EXEC FED SECSAÚDE DF\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00698609\",\n        \"code\": null,\n        \"name\": \"CC NORTE E NOROESTE DE MINAS GERAIS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00707903\",\n        \"code\": null,\n        \"name\": \"CC VALE DO CANOAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00714671\",\n        \"code\": null,\n        \"name\": \"EWALLY\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00803287\",\n        \"code\": null,\n        \"name\": \"CC VAZANTE LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00804046\",\n        \"code\": null,\n        \"name\": \"CCLA CAPITÓLIO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00815319\",\n        \"code\": null,\n        \"name\": \"SICOOB SUL-SERRANO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00869687\",\n        \"code\": null,\n        \"name\": \"CCLA BOA ESPERANÇA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00915950\",\n        \"code\": null,\n        \"name\": \"CECM SICOOB COOPERCREDI - SP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00952415\",\n        \"code\": null,\n        \"name\": \"SICOOB CREDFAZ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00966246\",\n        \"code\": null,\n        \"name\": \"CC CREDICERIPA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00968602\",\n        \"code\": null,\n        \"name\": \"CCLA VALE SÃO PATRICIO LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"00971300\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL PIONEIRA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01009908\",\n        \"code\": null,\n        \"name\": \"CCLA PARA DE MINAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01039011\",\n        \"code\": null,\n        \"name\": \"CC UNICRED DESBRAVADORA LTDA - UNICRED DESBRAVADORA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01042487\",\n        \"code\": null,\n        \"name\": \"CC SICOOB UNIDAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01060307\",\n        \"code\": null,\n        \"name\": \"CCLA VALES DO PIRANGA E MATIPÓ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01062439\",\n        \"code\": null,\n        \"name\": \"CECM DOS FUNCIONARIOS DA COMIGO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01090027\",\n        \"code\": null,\n        \"name\": \"CECMME CATEG AFINS-UNIC.NITERO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01110032\",\n        \"code\": null,\n        \"name\": \"CCPIMÉD E LA MINAS - ES LTDA. - UNICRED MINAS - ES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01152097\",\n        \"code\": null,\n        \"name\": \"CC CREDIMATA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01155801\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL CURITIBANOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01187961\",\n        \"code\": null,\n        \"name\": \"CC DISTRITO FEDERAL E ENTORNO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01205736\",\n        \"code\": null,\n        \"name\": \"CC SICOOB COSTA DO DESCOBRIMENTO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01259518\",\n        \"code\": null,\n        \"name\": \"SICOOB UNIMAIS CENTRO LESTE PAULISTA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01286361\",\n        \"code\": null,\n        \"name\": \"UNIPRIME PIONEIRA CC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01296040\",\n        \"code\": null,\n        \"name\": \"CECME GRUPO ALGAR E EMPR TRIANGULO MINEIRO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01330295\",\n        \"code\": null,\n        \"name\": \"SICOOB SERVIDORES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01374196\",\n        \"code\": null,\n        \"name\": \"CC SÃO FRANCISCO DE SALES LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01389651\",\n        \"code\": null,\n        \"name\": \"CCLA DO PLANALTO CATARINENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01526924\",\n        \"code\": null,\n        \"name\": \"CECM UNICRED IJUÍ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01559914\",\n        \"code\": null,\n        \"name\": \"CCLA LESTE E NORDESTE MINEIRO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01566038\",\n        \"code\": null,\n        \"name\": \"CCLA MANAUS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01572667\",\n        \"code\": null,\n        \"name\": \"UNICRED ERECHIM\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01604998\",\n        \"code\": null,\n        \"name\": \"CCLA SUL MINAS-SICOOB CREDIVAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01608685\",\n        \"code\": null,\n        \"name\": \"CCLA DE RIO BRANCO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01609345\",\n        \"code\": null,\n        \"name\": \"CCLA CAMPINA VERDE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01635462\",\n        \"code\": null,\n        \"name\": \"CECM MED VALES TAQUARI RP E PR\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01637949\",\n        \"code\": null,\n        \"name\": \"CCLA VALE DO PARANAPANEMA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01644264\",\n        \"code\": null,\n        \"name\": \"CCLA MEDIO PIRACICABA E CIRCUITO DO OURO LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01657678\",\n        \"code\": null,\n        \"name\": \"CCLA SEBASTIAO PARAISO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01664968\",\n        \"code\": null,\n        \"name\": \"CCLA DE ASSOCIADOS UNIRONDÔNIA LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01667352\",\n        \"code\": null,\n        \"name\": \"CCLA SERTÃO MINAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01667766\",\n        \"code\": null,\n        \"name\": \"CCLA NOVA SERRANA E REGIÃO CO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01692448\",\n        \"code\": null,\n        \"name\": \"CCLA DO PLANALTO SERRANO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01699652\",\n        \"code\": null,\n        \"name\": \"CCLA REGIÃO GUAXUPÉ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01703620\",\n        \"code\": null,\n        \"name\": \"CCLA UNIÃO CENTRO OESTE MINAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01705236\",\n        \"code\": null,\n        \"name\": \"CECM UNICRED REGIÃO DA CAMPANHA LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01709266\",\n        \"code\": null,\n        \"name\": \"CECM MÉD TEÓFILO OTONI\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01720488\",\n        \"code\": null,\n        \"name\": \"CCLA DE GOIÂNIA E MICRORREGIÕE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01722480\",\n        \"code\": null,\n        \"name\": \"VERDE ADMINISTRADORA DE CARTõES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01727929\",\n        \"code\": null,\n        \"name\": \"CCLA ALTO PARANAIBA, NOROESTE OESTE MINAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01736243\",\n        \"code\": null,\n        \"name\": \"UNIPRIME ALLIANCE - CECM\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"13720915\",\n        \"code\": \"119\",\n        \"name\": \"Banco Western Union do Brasil S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"05491616\",\n        \"code\": \"400\",\n        \"name\": \"COOPERATIVA DE CRÉDITO, POUPANÇA E SERVIÇOS FINANCEIROS DO CENTRO OESTE\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"14190547\",\n        \"code\": \"309\",\n        \"name\": \"CAMBIONET CORRETORA DE CÂMBIO LTDA.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"14511781\",\n        \"code\": \"268\",\n        \"name\": \"BARI COMPANHIA HIPOTECÁRIA\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"15114366\",\n        \"code\": \"107\",\n        \"name\": \"Banco Bocom BBM S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"15173776\",\n        \"code\": \"412\",\n        \"name\": \"BANCO CAPITAL S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"15357060\",\n        \"code\": \"124\",\n        \"name\": \"Banco Woori Bank do Brasil S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"15581638\",\n        \"code\": \"149\",\n        \"name\": \"Facta Financeira S.A. - Crédito Financiamento e Investimento\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"16927221\",\n        \"code\": \"313\",\n        \"name\": \"AMAZÔNIA CORRETORA DE CÂMBIO LTDA.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"16944141\",\n        \"code\": \"142\",\n        \"name\": \"Broker Brasil Corretora de Câmbio Ltda.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"17298092\",\n        \"code\": \"184\",\n        \"name\": \"Banco Itaú BBA S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"17352220\",\n        \"code\": \"545\",\n        \"name\": \"SENSO CORRETORA DE CAMBIO E VALORES MOBILIARIOS S.A\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"17453575\",\n        \"code\": \"132\",\n        \"name\": \"ICBC do Brasil Banco Múltiplo S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"17772370\",\n        \"code\": \"298\",\n        \"name\": \"Vip's Corretora de Câmbio Ltda.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"17826860\",\n        \"code\": \"377\",\n        \"name\": \"BMS SOCIEDADE DE CRÉDITO DIRETO S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"18188384\",\n        \"code\": \"321\",\n        \"name\": \"CREFAZ SOCIEDADE DE CRÉDITO AO MICROEMPREENDEDOR E A EMPRESA DE PEQUENO PORTE LT\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"18520834\",\n        \"code\": \"129\",\n        \"name\": \"UBS Brasil Banco de Investimento S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"19307785\",\n        \"code\": \"128\",\n        \"name\": \"MS Bank S.A. Banco de Câmbio\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"20155248\",\n        \"code\": \"194\",\n        \"name\": \"PARMETAL DISTRIBUIDORA DE TÍTULOS E VALORES MOBILIÁRIOS LTDA\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"22610500\",\n        \"code\": \"310\",\n        \"name\": \"VORTX DISTRIBUIDORA DE TITULOS E VALORES MOBILIARIOS LTDA.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"23522214\",\n        \"code\": \"163\",\n        \"name\": \"Commerzbank Brasil S.A. - Banco Múltiplo\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"23862762\",\n        \"code\": \"280\",\n        \"name\": \"WILL FINANCEIRA S.A. CRÉDITO, FINANCIAMENTO E INVESTIMENTO\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"24074692\",\n        \"code\": \"146\",\n        \"name\": \"GUITTA CORRETORA DE CAMBIO LTDA.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"24537861\",\n        \"code\": \"343\",\n        \"name\": \"FFA SOCIEDADE DE CRÉDITO AO MICROEMPREENDEDOR E À EMPRESA DE PEQUENO PORTE LTDA.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"26563270\",\n        \"code\": \"279\",\n        \"name\": \"COOPERATIVA DE CREDITO RURAL DE PRIMAVERA DO LESTE\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"27351731\",\n        \"code\": \"374\",\n        \"name\": \"REALIZE CRÉDITO, FINANCIAMENTO E INVESTIMENTO S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"27652684\",\n        \"code\": \"278\",\n        \"name\": \"Genial Investimentos Corretora de Valores Mobiliários S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"27842177\",\n        \"code\": \"271\",\n        \"name\": \"IB Corretora de Câmbio, Títulos e Valores Mobiliários S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"28650236\",\n        \"code\": \"292\",\n        \"name\": \"BS2 Distribuidora de Títulos e Valores Mobiliários S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"28719664\",\n        \"code\": \"n/a\",\n        \"name\": \"Sistema do Balcão B3\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"29011780\",\n        \"code\": \"n/a\",\n        \"name\": \"Câmara Interbancária de Pagamentos - CIP C3\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"29030467\",\n        \"code\": \"751\",\n        \"name\": \"Scotiabank Brasil S.A. Banco Múltiplo\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"29162769\",\n        \"code\": \"352\",\n        \"name\": \"TORO CORRETORA DE TÍTULOS E VALORES MOBILIÁRIOS LTDA\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"30680829\",\n        \"code\": \"386\",\n        \"name\": \"NU FINANCEIRA S.A. - Sociedade de Crédito, Financiamento e Investimento\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"31597552\",\n        \"code\": \"241\",\n        \"name\": \"BANCO CLASSICO S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"31749596\",\n        \"code\": \"398\",\n        \"name\": \"IDEAL CORRETORA DE TÍTULOS E VALORES MOBILIÁRIOS S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"32062580\",\n        \"code\": \"505\",\n        \"name\": \"Banco Credit Suisse (Brasil) S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"32402502\",\n        \"code\": \"329\",\n        \"name\": \"QI Sociedade de Crédito Direto S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"32648370\",\n        \"code\": \"196\",\n        \"name\": \"FAIR CORRETORA DE CAMBIO S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"33042151\",\n        \"code\": \"300\",\n        \"name\": \"Banco de la Nacion Argentina\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"33042953\",\n        \"code\": \"477\",\n        \"name\": \"Citibank N.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"33132044\",\n        \"code\": \"266\",\n        \"name\": \"BANCO CEDULA S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"14388334\",\n        \"code\": \"254\",\n        \"name\": \"PARANA BCO S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"16501555\",\n        \"code\": \"197\",\n        \"name\": \"STONE PAGAMENTOS S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"17184037\",\n        \"code\": \"389\",\n        \"name\": \"BCO MERCANTIL DO BRASIL S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"17351180\",\n        \"code\": \"634\",\n        \"name\": \"BCO TRIANGULO S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"18236120\",\n        \"code\": \"260\",\n        \"name\": \"NU PAGAMENTOS S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"21018182\",\n        \"code\": \"383\",\n        \"name\": \"JUNO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"21332862\",\n        \"code\": \"324\",\n        \"name\": \"CARTOS SCD S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"22896431\",\n        \"code\": \"380\",\n        \"name\": \"PICPAY\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"27098060\",\n        \"code\": \"335\",\n        \"name\": \"BANCO DIGIO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"27214112\",\n        \"code\": \"349\",\n        \"name\": \"AL5 S.A. CFI\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"28127603\",\n        \"code\": \"21\",\n        \"name\": \"BCO BANESTES S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"28195667\",\n        \"code\": \"246\",\n        \"name\": \"BCO ABC BRASIL S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"30306294\",\n        \"code\": \"208\",\n        \"name\": \"BANCO BTG PACTUAL S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"30723886\",\n        \"code\": \"746\",\n        \"name\": \"BCO MODAL S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"31872495\",\n        \"code\": \"336\",\n        \"name\": \"BCO C6 S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"31895683\",\n        \"code\": \"604\",\n        \"name\": \"BCO INDUSTRIAL DO BRASIL S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"32997490\",\n        \"code\": \"342\",\n        \"name\": \"CREDITAS SCD\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"01736516\",\n        \"code\": null,\n        \"name\": \"CCLA REG. CTR. E OESTE MINEIRO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01739375\",\n        \"code\": null,\n        \"name\": \"CCLA LAGOA DA PRATA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01760242\",\n        \"code\": null,\n        \"name\": \"CCLA DE BH E CIDADES POLO DE MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01796302\",\n        \"code\": null,\n        \"name\": \"UNICRED REGIÃO DOS VALES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01848322\",\n        \"code\": null,\n        \"name\": \"UNIPRIME DO IGUAÇU CECM PROF SAÚDE CIÊNCIAS ARTES EMP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"01864151\",\n        \"code\": null,\n        \"name\": \"CECM SERV E EMPREG MUN BH BETIM BRUMAD CONTAG IBI NL RN\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02000895\",\n        \"code\": null,\n        \"name\": \"CECMSERV POD JUD TCE SERV A C TEC RJ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02015588\",\n        \"code\": null,\n        \"name\": \"CCLA DO CENTRO SUL RONDONIENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02025743\",\n        \"code\": null,\n        \"name\": \"CCR ASCOOB COOPERAR\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02031139\",\n        \"code\": null,\n        \"name\": \"CCLA MONTES CLAROS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02057584\",\n        \"code\": null,\n        \"name\": \"CC SICOOB SERTÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02072790\",\n        \"code\": null,\n        \"name\": \"CECM SICOOB CREDSAÚDE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02090126\",\n        \"code\": null,\n        \"name\": \"CCLA SICOOB VALCREDI SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02093154\",\n        \"code\": null,\n        \"name\": \"CCM EMPR MAGAZINE LUIZA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02137018\",\n        \"code\": null,\n        \"name\": \"CCLA DE RORAIMA LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02144899\",\n        \"code\": null,\n        \"name\": \"CCLA DA REGIÃO CENTRAL DE RONDÔNIA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02173447\",\n        \"code\": null,\n        \"name\": \"CCLA CENTRO NORDESTE MINEIRO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02179673\",\n        \"code\": null,\n        \"name\": \"CECM MÉD OURINHOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02197569\",\n        \"code\": null,\n        \"name\": \"CCLA CREDSAOPAULO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02217068\",\n        \"code\": null,\n        \"name\": \"CECM CONTAB CORRET BH\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02232383\",\n        \"code\": null,\n        \"name\": \"CCLA CIRCUITO CAMPOS VERTENTES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02254376\",\n        \"code\": null,\n        \"name\": \"CCLA DE DORES DO INDAIA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02275781\",\n        \"code\": null,\n        \"name\": \"CCM SERV FEDERAIS NA PARAÍBA - SICOOB COOPERCRET\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02282165\",\n        \"code\": null,\n        \"name\": \"CC SICOOB CREDICONQUISTA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02282709\",\n        \"code\": null,\n        \"name\": \"CCLA CENTRO NORTE GOIANO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02309070\",\n        \"code\": null,\n        \"name\": \"CCLA DO VALE DO MACHADO - CREDISIS JICRED\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02335109\",\n        \"code\": null,\n        \"name\": \"CCLA ZONA DA MATA LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02338666\",\n        \"code\": null,\n        \"name\": \"CCLA CREDIEMBRAPA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02382755\",\n        \"code\": null,\n        \"name\": \"CECMS DA SSP DO RN E TRAB SIND ÁREA SAÚDE RM NATAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02405189\",\n        \"code\": null,\n        \"name\": \"ÚNILOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02414044\",\n        \"code\": null,\n        \"name\": \"CECM EMPR INST ENS SUP SUL MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02446089\",\n        \"code\": null,\n        \"name\": \"CC INT SOL UNIÃO DOS PINHAIS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02447120\",\n        \"code\": null,\n        \"name\": \"CC SICOOB EXTREMO SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02448310\",\n        \"code\": null,\n        \"name\": \"CC INT SOL PROGRESSO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02448839\",\n        \"code\": null,\n        \"name\": \"SICOOB CREDIUNIÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02466552\",\n        \"code\": null,\n        \"name\": \"CC SICOOB VALE SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02480577\",\n        \"code\": null,\n        \"name\": \"CCLA E DOS ADV\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02493000\",\n        \"code\": null,\n        \"name\": \"SICOOB LESTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02528151\",\n        \"code\": null,\n        \"name\": \"CC SICOOB CREDCOOP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02587492\",\n        \"code\": null,\n        \"name\": \"CCLA URUBICI\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02602922\",\n        \"code\": null,\n        \"name\": \"CC MÉD, SERV PUBL E EMP DO NE LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02641032\",\n        \"code\": null,\n        \"name\": \"UNICRED PONTO CAPITAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02641969\",\n        \"code\": null,\n        \"name\": \"CCLAA NOVA TRENTO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02663426\",\n        \"code\": null,\n        \"name\": \"CCE INT SOL DO NOROESTE RS/PE/CE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02674113\",\n        \"code\": null,\n        \"name\": \"CC SERV PUBL COOPERPLAN\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02766672\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE SÃO JOAQUIM\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02794761\",\n        \"code\": null,\n        \"name\": \"CECM SERV UNIV FED VIÇOSA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02833202\",\n        \"code\": null,\n        \"name\": \"CECM MÉD VITÓRIA DA CONQUISTA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02843443\",\n        \"code\": null,\n        \"name\": \"CCPI DO NORTE E NORDESTE DE SANTA CATARINA -SICREDI NORTE SC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02844024\",\n        \"code\": null,\n        \"name\": \"CCE INT SOL DIONÍSIO CERQUEIRA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02876918\",\n        \"code\": null,\n        \"name\": \"CC SICOOB NORTE SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02883398\",\n        \"code\": null,\n        \"name\": \"CC VALE ITAJAÍ E ITAPOCÚ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02904125\",\n        \"code\": null,\n        \"name\": \"CRESOL JACUTINGA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02904138\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL ÁUREA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02910987\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL CENTRO-SUL RS/MS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02923389\",\n        \"code\": null,\n        \"name\": \"CC SICREDI ARACAJU\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02924977\",\n        \"code\": null,\n        \"name\": \"CC POUP INV PROF MED SAUDE CUR REGIAO METROP - SICREDI MED\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02931668\",\n        \"code\": null,\n        \"name\": \"SICOOB FLUMINENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02934201\",\n        \"code\": null,\n        \"name\": \"CC INT SOL LIDERANÇA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"02935307\",\n        \"code\": null,\n        \"name\": \"CCLA GOIANIA E ANÁPOLIS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03000142\",\n        \"code\": null,\n        \"name\": \"CCPI POLICIAIS FEDERAIS RS SC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03015152\",\n        \"code\": null,\n        \"name\": \"CRESOL SÃO VALENTIM\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03033469\",\n        \"code\": null,\n        \"name\": \"CC DO PLANALTO SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03042597\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV DE CAMPO GRANDE E REGIÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03047549\",\n        \"code\": null,\n        \"name\": \"CC CAP UNICIDADES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"33147315\",\n        \"code\": \"122\",\n        \"name\": \"Banco Bradesco BERJ S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"33172537\",\n        \"code\": \"376\",\n        \"name\": \"BANCO J.P. MORGAN S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"33264668\",\n        \"code\": \"348\",\n        \"name\": \"Banco XP S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"33466988\",\n        \"code\": \"473\",\n        \"name\": \"Banco Caixa Geral - Brasil S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"33479023\",\n        \"code\": \"745\",\n        \"name\": \"Banco Citibank S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"33603457\",\n        \"code\": \"120\",\n        \"name\": \"BANCO RODOBENS S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"33644196\",\n        \"code\": \"265\",\n        \"name\": \"Banco Fator S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"33657248\",\n        \"code\": \"7\",\n        \"name\": \"BANCO NACIONAL DE DESENVOLVIMENTO ECONOMICO E SOCIAL\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"33775974\",\n        \"code\": \"188\",\n        \"name\": \"ATIVA INVESTIMENTOS S.A. CORRETORA DE TÍTULOS, CÂMBIO E VALORES\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"33862244\",\n        \"code\": \"134\",\n        \"name\": \"BGC LIQUIDEZ DISTRIBUIDORA DE TÍTULOS E VALORES MOBILIÁRIOS LTDA\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"33885724\",\n        \"code\": \"29\",\n        \"name\": \"Banco Itaú Consignado S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"33923798\",\n        \"code\": \"243\",\n        \"name\": \"Banco Máxima S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"80271455\",\n        \"code\": \"720\",\n        \"name\": \"BANCO RNX S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"34111187\",\n        \"code\": \"78\",\n        \"name\": \"Haitong Banco de Investimento do Brasil S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"34711571\",\n        \"code\": \"367\",\n        \"name\": \"VITREO DISTRIBUIDORA DE TÍTULOS E VALORES MOBILIÁRIOS S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"35977097\",\n        \"code\": \"373\",\n        \"name\": \"UP.P SOCIEDADE DE EMPRÉSTIMO ENTRE PESSOAS S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"36113876\",\n        \"code\": \"111\",\n        \"name\": \"OLIVEIRA TRUST DISTRIBUIDORA DE TÍTULOS E VALORES MOBILIARIOS S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"36947229\",\n        \"code\": \"402\",\n        \"name\": \"COBUCCIO SOCIEDADE DE CRÉDITO DIRETO S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"37241230\",\n        \"code\": \"404\",\n        \"name\": \"SUMUP SOCIEDADE DE CRÉDITO DIRETO S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"37715993\",\n        \"code\": \"406\",\n        \"name\": \"ACCREDITO - SOCIEDADE DE CRÉDITO DIRETO S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"40303299\",\n        \"code\": \"306\",\n        \"name\": \"PORTOPAR DISTRIBUIDORA DE TITULOS E VALORES MOBILIARIOS LTDA.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"42272526\",\n        \"code\": \"17\",\n        \"name\": \"BNY Mellon Banco S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"44189447\",\n        \"code\": \"495\",\n        \"name\": \"Banco de La Provincia de Buenos Aires\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"46518205\",\n        \"code\": \"488\",\n        \"name\": \"JPMorgan Chase Bank, National Association\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"48795256\",\n        \"code\": \"65\",\n        \"name\": \"Banco AndBank (Brasil) S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"49336860\",\n        \"code\": \"492\",\n        \"name\": \"ING Bank N.V.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"50579044\",\n        \"code\": \"145\",\n        \"name\": \"LEVYCAM - CORRETORA DE CAMBIO E VALORES LTDA.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"50585090\",\n        \"code\": \"250\",\n        \"name\": \"BCV - BANCO DE CRÉDITO E VAREJO S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"52904364\",\n        \"code\": \"354\",\n        \"name\": \"NECTON INVESTIMENTOS  S.A. CORRETORA DE VALORES MOBILIÁRIOS E COMMODITIES\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"52937216\",\n        \"code\": \"253\",\n        \"name\": \"Bexs Corretora de Câmbio S/A\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"53518684\",\n        \"code\": \"269\",\n        \"name\": \"BANCO HSBC S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"54641030\",\n        \"code\": \"n/a\",\n        \"name\": \"Câmara B3\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"55230916\",\n        \"code\": \"139\",\n        \"name\": \"Intesa Sanpaolo Brasil S.A. - Banco Múltiplo\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"57839805\",\n        \"code\": \"18\",\n        \"name\": \"Banco Tricury S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"59109165\",\n        \"code\": \"393\",\n        \"name\": \"Banco Volkswagen S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"59118133\",\n        \"code\": \"600\",\n        \"name\": \"Banco Luso Brasileiro S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"59274605\",\n        \"code\": \"390\",\n        \"name\": \"BANCO GM S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"60394079\",\n        \"code\": \"479\",\n        \"name\": \"Banco ItauBank S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"60498557\",\n        \"code\": \"456\",\n        \"name\": \"Banco MUFG Brasil S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"60518222\",\n        \"code\": \"464\",\n        \"name\": \"Banco Sumitomo Mitsui Brasileiro S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"60814191\",\n        \"code\": \"381\",\n        \"name\": \"BANCO MERCEDES-BENZ DO BRASIL S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"60850229\",\n        \"code\": \"613\",\n        \"name\": \"Omni Banco S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"60872504\",\n        \"code\": \"652\",\n        \"name\": \"Itaú Unibanco Holding S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"60934221\",\n        \"code\": \"n/a\",\n        \"name\": \"Câmara de Câmbio B3\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"61088183\",\n        \"code\": \"370\",\n        \"name\": \"Banco Mizuho do Brasil S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"61182408\",\n        \"code\": \"249\",\n        \"name\": \"Banco Investcred Unibanco S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"34335592\",\n        \"code\": \"355\",\n        \"name\": \"ÓTIMO SCD S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"36586946\",\n        \"code\": \"408\",\n        \"name\": \"BÔNUSCRED SCD S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"37880206\",\n        \"code\": \"403\",\n        \"name\": \"CORA SCD S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"43180355\",\n        \"code\": \"174\",\n        \"name\": \"PEFISA S.A. - CFI\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"45246410\",\n        \"code\": \"125\",\n        \"name\": \"PLURAL BCO BM\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"54403563\",\n        \"code\": \"213\",\n        \"name\": \"BCO ARBI S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"58160789\",\n        \"code\": \"422\",\n        \"name\": \"BCO SAFRA S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"58497702\",\n        \"code\": \"630\",\n        \"name\": \"SMARTBANK\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"58616418\",\n        \"code\": \"224\",\n        \"name\": \"BCO FIBRA S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"59285411\",\n        \"code\": \"623\",\n        \"name\": \"BANCO PAN\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"60701190\",\n        \"code\": \"341\",\n        \"name\": \"ITAÚ UNIBANCO S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"60746948\",\n        \"code\": \"237\",\n        \"name\": \"BCO BRADESCO S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"61024352\",\n        \"code\": \"653\",\n        \"name\": \"BCO INDUSVAL S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"61033106\",\n        \"code\": \"69\",\n        \"name\": \"BCO CREFISA S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"61186680\",\n        \"code\": \"318\",\n        \"name\": \"BCO BMG S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"03065046\",\n        \"code\": null,\n        \"name\": \"CC POUP INV NOROESTE SP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03102185\",\n        \"code\": null,\n        \"name\": \"CC DOS SERVIDORES, EMPRESARIOS, AUTONOMOS E LIBERAIS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03128973\",\n        \"code\": null,\n        \"name\": \"CC POUP INV DO ESTADO DO PIAUÍ - SICREDI PIAUÍ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03212823\",\n        \"code\": null,\n        \"name\": \"CCPI DOS MILITARES ESTADUAIS DO RS - SICREDI MIL RS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03222753\",\n        \"code\": null,\n        \"name\": \"CC DO NORTE DE RONDÔNIA LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03234384\",\n        \"code\": null,\n        \"name\": \"UNIPRIME CAMPOS GERAIS-CC LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03269540\",\n        \"code\": null,\n        \"name\": \"CC SERV MIL POL CIVIL SEC ED\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03320525\",\n        \"code\": null,\n        \"name\": \"CC TRIÂNGULO MINEIRO E SÃO FRANCISCO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03326437\",\n        \"code\": null,\n        \"name\": \"CCLA CENTRO NORTE MT/MS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03329154\",\n        \"code\": null,\n        \"name\": \"CECM SERV LEG FED E DO DF\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03358914\",\n        \"code\": null,\n        \"name\": \"SICOOB CREDIROCHAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03412878\",\n        \"code\": null,\n        \"name\": \"CC CREDIRAMA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03419786\",\n        \"code\": null,\n        \"name\": \"CC NOSSA SENHORA DO DESTERRO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03427097\",\n        \"code\": null,\n        \"name\": \"CCLA DO SUL CATARINENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03428338\",\n        \"code\": null,\n        \"name\": \"CECM SERV INST PUBL ENS SUP EST PB E DAS INST ORG PUBL DA PB\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03459850\",\n        \"code\": null,\n        \"name\": \"CC SICOOB METROPOLITANO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03461243\",\n        \"code\": null,\n        \"name\": \"CC DO NORTE CATARINENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03485130\",\n        \"code\": null,\n        \"name\": \"CCRE INT SOL ENCOSTAS DA SERRA GERAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03502131\",\n        \"code\": null,\n        \"name\": \"CCC DO NORTE DO BRASIL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03519240\",\n        \"code\": null,\n        \"name\": \"CC PODER JUD E MP MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03528402\",\n        \"code\": null,\n        \"name\": \"CC INV DO ACRE - SICOOB ACRE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03535065\",\n        \"code\": null,\n        \"name\": \"CC SICOOB CREDMETAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03566655\",\n        \"code\": null,\n        \"name\": \"CCPI CELEIRO CENTRO OESTE – SICREDI CELEIRO CENTRO OESTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03575699\",\n        \"code\": null,\n        \"name\": \"MEDCRED CC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03603683\",\n        \"code\": null,\n        \"name\": \"CECM SERV SEC EST FAZENDA DF\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03612679\",\n        \"code\": null,\n        \"name\": \"CCM SERV PUBL MUN SÃO BERNARDO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03612764\",\n        \"code\": null,\n        \"name\": \"CC DA REGIÃO DE FRONTEIRAS DE RO/MT\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03620772\",\n        \"code\": null,\n        \"name\": \"CCM POLFED S UNIÃO CE LA RM FORTALEZA SUL CE - SICOOB CEARÁ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03632872\",\n        \"code\": null,\n        \"name\": \"SICOOB CREDISUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03645752\",\n        \"code\": null,\n        \"name\": \"CC CREDISG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03662047\",\n        \"code\": null,\n        \"name\": \"CECM INTEGRANTES MP RS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03732359\",\n        \"code\": null,\n        \"name\": \"CCLA DE PERNAMBUCO - SICOOB PERNAMBUCO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03750034\",\n        \"code\": null,\n        \"name\": \"CCPI DOS JUÍZES E CARREIRAS PUB. DO DIREITO DO ESTADO DO RS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03793242\",\n        \"code\": null,\n        \"name\": \"CCPI SUL DO EST DE SC - SICREDI SUL SC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03816413\",\n        \"code\": null,\n        \"name\": \"Pagueveloz\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03856113\",\n        \"code\": null,\n        \"name\": \"F2B\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03862898\",\n        \"code\": null,\n        \"name\": \"CEC EMPR CORREIOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03921543\",\n        \"code\": null,\n        \"name\": \"CCR ASCOOB ITAPICURU\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03930587\",\n        \"code\": null,\n        \"name\": \"CECM CORRET.SEG.RJ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03941182\",\n        \"code\": null,\n        \"name\": \"CCLA CIRCUITO DAS ÁGUAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03965737\",\n        \"code\": null,\n        \"name\": \"CC INT SOL OESTE CATARINENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"03985375\",\n        \"code\": null,\n        \"name\": \"CC INV SUDOESTE RONDÔNIA LTDA - CREDISIS SUDOESTE/RO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04013172\",\n        \"code\": null,\n        \"name\": \"CC SICOOB CRED-ACIF\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04079285\",\n        \"code\": null,\n        \"name\": \"CCLA DE ITAJUBÁ - SICOOB SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04120633\",\n        \"code\": null,\n        \"name\": \"SICOOB EMPRESAS RJ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04138455\",\n        \"code\": null,\n        \"name\": \"CC DO RIO GRANDE DO NORTE - SICOOB RIO GRANDE DO NORTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04146333\",\n        \"code\": null,\n        \"name\": \"CC SICREDI PERNAMBUCRED\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04152107\",\n        \"code\": null,\n        \"name\": \"CECM SERV POL MIL SP REGIÃO CE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04174720\",\n        \"code\": null,\n        \"name\": \"CC SICOOB COOPEMAR\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04181542\",\n        \"code\": null,\n        \"name\": \"CCLA DE PITANGUI E REGIAO LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04237413\",\n        \"code\": null,\n        \"name\": \"CC VALE DO SÃO FRANCISCO - SICREDI VALE DO SÃO FRANCISCO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04243780\",\n        \"code\": null,\n        \"name\": \"CENTRAL SICOOB UNI DE CC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04247370\",\n        \"code\": null,\n        \"name\": \"CC DE EMPRESÁRIOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04261151\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE DONA EMMA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04281182\",\n        \"code\": null,\n        \"name\": \"CCE INT SOL DE CHAPECO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04321309\",\n        \"code\": null,\n        \"name\": \"CC SICOOB CRED EXECUTIVO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04350225\",\n        \"code\": null,\n        \"name\": \"CC INT SOL TRADIÇÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04355489\",\n        \"code\": null,\n        \"name\": \"CC UNICRED COOMARCA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04388688\",\n        \"code\": null,\n        \"name\": \"CC SICOOB ENGECRED\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04406371\",\n        \"code\": null,\n        \"name\": \"CC EMP ESTADO DE GOIÁS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04414354\",\n        \"code\": null,\n        \"name\": \"CCM GRUPO ABC - COOPER 7\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04445917\",\n        \"code\": null,\n        \"name\": \"CECM REGIONAL NORTE LAGOS LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04463602\",\n        \"code\": null,\n        \"name\": \"CCPI DA REGIÃO CENTRO OESTE PAULISTA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04484490\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV DA ALTA NOROESTE DE SÃO PAULO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"61348538\",\n        \"code\": \"626\",\n        \"name\": \"BANCO C6 CONSIGNADO S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"61444949\",\n        \"code\": \"270\",\n        \"name\": \"Sagitur Corretora de Câmbio Ltda.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"61533584\",\n        \"code\": \"366\",\n        \"name\": \"BANCO SOCIETE GENERALE BRASIL S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"61723847\",\n        \"code\": \"113\",\n        \"name\": \"Magliano S.A. Corretora de Cambio e Valores Mobiliarios\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"61747085\",\n        \"code\": \"131\",\n        \"name\": \"TULLETT PREBON BRASIL CORRETORA DE VALORES E CÂMBIO LTDA\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"61809182\",\n        \"code\": \"11\",\n        \"name\": \"CREDIT SUISSE HEDGING-GRIFFO CORRETORA DE VALORES S.A\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"61820817\",\n        \"code\": \"611\",\n        \"name\": \"Banco Paulista S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"62073200\",\n        \"code\": \"755\",\n        \"name\": \"Bank of America Merrill Lynch Banco Múltiplo S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"00556603\",\n        \"code\": \"330\",\n        \"name\": \"BANCO BARI S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"39696395\",\n        \"code\": null,\n        \"name\": \"CACTVS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"62169875\",\n        \"code\": \"140\",\n        \"name\": \"Easynvest - Título Corretora de Valores SA\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"62237649\",\n        \"code\": \"288\",\n        \"name\": \"CAROL DISTRIBUIDORA DE TITULOS E VALORES MOBILIARIOS LTDA.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"62285390\",\n        \"code\": \"363\",\n        \"name\": \"SINGULARE CORRETORA DE TÍTULOS E VALORES MOBILIÁRIOS S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"62287735\",\n        \"code\": \"101\",\n        \"name\": \"RENASCENCA DISTRIBUIDORA DE TÍTULOS E VALORES MOBILIÁRIOS LTDA\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"62331228\",\n        \"code\": \"487\",\n        \"name\": \"DEUTSCHE BANK S.A. - BANCO ALEMAO\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"62421979\",\n        \"code\": \"233\",\n        \"name\": \"Banco Cifra S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"65913436\",\n        \"code\": \"177\",\n        \"name\": \"Guide Investimentos S.A. Corretora de Valores\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"68757681\",\n        \"code\": \"365\",\n        \"name\": \"SOLIDUS S.A. CORRETORA DE CAMBIO E VALORES MOBILIARIOS\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"71371686\",\n        \"code\": \"169\",\n        \"name\": \"BANCO OLÉ CONSIGNADO S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"71590442\",\n        \"code\": \"293\",\n        \"name\": \"Lastro RDV Distribuidora de Títulos e Valores Mobiliários Ltda.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"71677850\",\n        \"code\": \"285\",\n        \"name\": \"Frente Corretora de Câmbio Ltda.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"73622748\",\n        \"code\": \"80\",\n        \"name\": \"B&T CORRETORA DE CAMBIO LTDA.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"74828799\",\n        \"code\": \"753\",\n        \"name\": \"Novo Banco Continental S.A. - Banco Múltiplo\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"75647891\",\n        \"code\": \"222\",\n        \"name\": \"BANCO CRÉDIT AGRICOLE BRASIL S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"76461557\",\n        \"code\": \"281\",\n        \"name\": \"Cooperativa de Crédito Rural Coopavel\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"76543115\",\n        \"code\": \"754\",\n        \"name\": \"Banco Sistema S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"76641497\",\n        \"code\": \"311\",\n        \"name\": \"DOURADA CORRETORA DE CÂMBIO LTDA.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"78157146\",\n        \"code\": \"98\",\n        \"name\": \"Credialiança Cooperativa de Crédito Rural\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"89960090\",\n        \"code\": \"283\",\n        \"name\": \"RB INVESTIMENTOS DISTRIBUIDORA DE TITULOS E VALORES MOBILIARIOS LIMITADA\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"91884981\",\n        \"code\": \"217\",\n        \"name\": \"Banco John Deere S.A.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"92856905\",\n        \"code\": \"117\",\n        \"name\": \"ADVANCED CORRETORA DE CÂMBIO LTDA\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"92875780\",\n        \"code\": \"371\",\n        \"name\": \"WARREN CORRETORA DE VALORES MOBILIÁRIOS E CÂMBIO LTDA.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"94968518\",\n        \"code\": \"289\",\n        \"name\": \"DECYSEO CORRETORA DE CAMBIO LTDA.\",\n        \"spiParticipant\": null,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": null,\n        \"type\": null\n    },\n    {\n        \"ispb\": \"07097064\",\n        \"code\": null,\n        \"name\": \"CCLA MARECHAL CÂNDIDO RONDON\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07108146\",\n        \"code\": null,\n        \"name\": \"CCLA DO VALE RIO CRIXÁS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"62109566\",\n        \"code\": \"89\",\n        \"name\": \"CREDISAN CC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"62144175\",\n        \"code\": \"643\",\n        \"name\": \"BCO PINE S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"62232889\",\n        \"code\": \"707\",\n        \"name\": \"BCO DAYCOVAL S.A\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"68900810\",\n        \"code\": \"633\",\n        \"name\": \"BCO RENDIMENTO S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"71027866\",\n        \"code\": \"218\",\n        \"name\": \"BCO BS2 S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"78626983\",\n        \"code\": \"610\",\n        \"name\": \"BCO VR S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"78632767\",\n        \"code\": \"712\",\n        \"name\": \"BCO OURINVEST S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"81723108\",\n        \"code\": \"10\",\n        \"name\": \"CREDICOAMO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"90400888\",\n        \"code\": \"33\",\n        \"name\": \"BCO SANTANDER (BRASIL) S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"92702067\",\n        \"code\": \"41\",\n        \"name\": \"BCO DO ESTADO DO RS S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"92874270\",\n        \"code\": \"654\",\n        \"name\": \"BCO DIGIMAIS S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"92894922\",\n        \"code\": \"212\",\n        \"name\": \"BANCO ORIGINAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"04490531\",\n        \"code\": null,\n        \"name\": \"CRESOL GOIÁS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04525997\",\n        \"code\": null,\n        \"name\": \"CC POUP INV PROFES UNIV CAXIAS DO SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04529074\",\n        \"code\": null,\n        \"name\": \"CC CASCAVEL REG SICOOB CREDICAPITAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04565791\",\n        \"code\": null,\n        \"name\": \"CRESOL ARATIBA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04572960\",\n        \"code\": null,\n        \"name\": \"CECM MILITARES ESTADUAIS DE SC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04622657\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE TENENTE PORTELA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04649337\",\n        \"code\": null,\n        \"name\": \"CC MILITARES SEGURANÇA PUBLICA DF\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04663561\",\n        \"code\": null,\n        \"name\": \"CC INT SOL VALE DAS ÁGUAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04694278\",\n        \"code\": null,\n        \"name\": \"CECM INTEG. MF DP ESTADO RJ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04751713\",\n        \"code\": null,\n        \"name\": \"CC INV DE RONDÔNIA - SICOOB CREDJURD\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04833655\",\n        \"code\": null,\n        \"name\": \"CECM SICOOB METALCRED\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04853988\",\n        \"code\": null,\n        \"name\": \"CC POUP INV BANDEIRANTES - SICREDI BANDEIRANTES SP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04866275\",\n        \"code\": \"12\",\n        \"name\": \"BANCO INBURSA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"04876393\",\n        \"code\": null,\n        \"name\": \"CCLA TRÊS FRONTEIRAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04886317\",\n        \"code\": null,\n        \"name\": \"CC POUP INV INTEG MAGISTRAT MINISTÉRIO PÚBL PR\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"04985665\",\n        \"code\": null,\n        \"name\": \"CCI DO OESTE - CREDISIS OESTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05036532\",\n        \"code\": null,\n        \"name\": \"CCC UNICOOB-SICOOB CENTR UNIC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05070112\",\n        \"code\": null,\n        \"name\": \"CCE INT SOL PEDRA BRANCA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05158093\",\n        \"code\": null,\n        \"name\": \"CCLA REG LESTE BACIA RIO DOCE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05203605\",\n        \"code\": null,\n        \"name\": \"SICOOB AMAZÔNIA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05211129\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE MARCELINO RAMOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05220232\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE SANTA MARIA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05220243\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE SARANDI\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05222094\",\n        \"code\": null,\n        \"name\": \"CCLA PIRACANJUBA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05231945\",\n        \"code\": null,\n        \"name\": \"CC INT SOL UNIÃO DOS VALES - CRESOL UNIÃO DOS VALES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05241145\",\n        \"code\": null,\n        \"name\": \"CRESOL GETÚLIO VARGAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05241619\",\n        \"code\": null,\n        \"name\": \"CCLA M LESTE MT SICOOB PRIMAVE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05247312\",\n        \"code\": null,\n        \"name\": \"CCLA DO CERRADO MATO-GROSSENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05269976\",\n        \"code\": null,\n        \"name\": \"CCE INT SOL FORMOSA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05276770\",\n        \"code\": null,\n        \"name\": \"CC INT SOL FRONTEIRAS PR/SC/SP/ES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05277312\",\n        \"code\": null,\n        \"name\": \"CC INT SOL HORIZONTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05392810\",\n        \"code\": null,\n        \"name\": \"CC REGIÃO MERIDIONAL BRASIL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05400634\",\n        \"code\": null,\n        \"name\": \"CCE INT SOL GUARACIABA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05410056\",\n        \"code\": null,\n        \"name\": \"CCRE INT SOL JAGUARUNA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05425526\",\n        \"code\": null,\n        \"name\": \"CCRE CIS CONCÓRDIA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05428587\",\n        \"code\": null,\n        \"name\": \"CCR CRESOL OLIVEIRA DOS BREJINHOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05439425\",\n        \"code\": null,\n        \"name\": \"CCLA DO ACRE LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05442759\",\n        \"code\": null,\n        \"name\": \"CCE INT SOL DE PORTO XAVIER\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05463934\",\n        \"code\": null,\n        \"name\": \"CC CREDLIDER\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05477038\",\n        \"code\": null,\n        \"name\": \"SICOOB PIAUÍ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05494591\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE ALFREDO WAGNER\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05545390\",\n        \"code\": null,\n        \"name\": \"CC MEMBROS CARREIRA JURÍDICA E SERV PUB SAO LUIS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05582619\",\n        \"code\": null,\n        \"name\": \"CC SICOOB OURO VERDE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05597773\",\n        \"code\": null,\n        \"name\": \"CC INV D'OESTE DE RONDÔNIA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05667301\",\n        \"code\": null,\n        \"name\": \"CECM COOPERSERV\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05745533\",\n        \"code\": null,\n        \"name\": \"CRESOL ITATIBA DO SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05856736\",\n        \"code\": null,\n        \"name\": \"SICOOB EMPRESARIAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05861932\",\n        \"code\": null,\n        \"name\": \"CCM DOS ADVOGADOS DE SC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05863726\",\n        \"code\": null,\n        \"name\": \"CRESOL PLANALTO SERRA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05888589\",\n        \"code\": null,\n        \"name\": \"CC SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05969937\",\n        \"code\": null,\n        \"name\": \"CCMS MUNICIPAIS DE BEBEDOURO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05979692\",\n        \"code\": null,\n        \"name\": \"CREDCREA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"05983995\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE HUMAITÁ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"06031727\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE SANTO CRISTO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"06078926\",\n        \"code\": null,\n        \"name\": \"CC POUP INV ESCR NOT E REG PR\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"06126780\",\n        \"code\": null,\n        \"name\": \"CC INT SOL VALE DAS ARAUCÁRIAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"06139650\",\n        \"code\": null,\n        \"name\": \"CCR CRESOL NORDESTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"06174009\",\n        \"code\": null,\n        \"name\": \"CC SICOOB ALIANÇA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"06324872\",\n        \"code\": null,\n        \"name\": \"SICOOB CREDINOSSO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"06332931\",\n        \"code\": null,\n        \"name\": \"CC POUP INV CERRADO GOIÁS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"06910457\",\n        \"code\": null,\n        \"name\": \"CCLA SANTA CRUZ PALMEIRAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07026923\",\n        \"code\": null,\n        \"name\": \"CCLA SICOOB ARENITO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"31711972\",\n        \"code\": null,\n        \"name\": \"S3 TECNOLOGIA E SOLUCOES DE PA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07070495\",\n        \"code\": null,\n        \"name\": \"CCPI EMPREENDEDORES - SICREDI EMPREENDEDORES PR\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07122321\",\n        \"code\": null,\n        \"name\": \"CC INTEGRADO - SICOOB INTEGRADO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07194313\",\n        \"code\": null,\n        \"name\": \"CC SICOOB HORIZONTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07206072\",\n        \"code\": null,\n        \"name\": \"CC POUP INV NOVOS HORIZONTES PR/SP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07215632\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE APIÚNA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07252614\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE PAIM FILHO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07268499\",\n        \"code\": null,\n        \"name\": \"CC INT SOL INTEGRAÇÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07318874\",\n        \"code\": null,\n        \"name\": \"CCLA MÉDIO OESTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07320890\",\n        \"code\": null,\n        \"name\": \"CCE INT SOL VITOR MEIRELES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07412987\",\n        \"code\": null,\n        \"name\": \"CCE INT SOL PINHALZINHO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07440317\",\n        \"code\": null,\n        \"name\": \"CC SICOOB CREDMED\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07465539\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE WITMARSUM\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07469260\",\n        \"code\": null,\n        \"name\": \"CC CREDIFIEMG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07494300\",\n        \"code\": null,\n        \"name\": \"CECM SAÚDE EMP ACCI ERECHIM\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07502031\",\n        \"code\": null,\n        \"name\": \"CCLA CENTRO OESTE LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07509426\",\n        \"code\": null,\n        \"name\": \"CCE INT SOL XANXERÊ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07512780\",\n        \"code\": null,\n        \"name\": \"CC INT SOL DO VALE EUROPEU\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07564184\",\n        \"code\": null,\n        \"name\": \"CCR ASCOOB COCREAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07599206\",\n        \"code\": null,\n        \"name\": \"CCLA DA REGIÃO METROPOLITANA DE GOIÂNIA LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07669921\",\n        \"code\": null,\n        \"name\": \"CCM SICOOB CREDIACISC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07714057\",\n        \"code\": null,\n        \"name\": \"CECM PROF ÁREA NOTARIAL REGISTRAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07789195\",\n        \"code\": null,\n        \"name\": \"CCLA TRANSPORT RODOV VEICULOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07925729\",\n        \"code\": null,\n        \"name\": \"CC INT SOL NORTE PARANAENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07946216\",\n        \"code\": null,\n        \"name\": \"CCM MPEM DO GRANDE ABC - SICOOB GRANDE ABC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07946451\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE TANGARÁ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"07958405\",\n        \"code\": null,\n        \"name\": \"CCRE INT SOL RIO FORTUNA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08030602\",\n        \"code\": null,\n        \"name\": \"CCM CORRET SEG EST SAO PAULO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08041950\",\n        \"code\": null,\n        \"name\": \"CECM MAG SERV PJ MP DF PGE PGM CEARÁ SICREDI COOPERJURIS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08044854\",\n        \"code\": null,\n        \"name\": \"C.C. DO CENTRO DO ESTADO DE RONDÔNIA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08055016\",\n        \"code\": null,\n        \"name\": \"CCE INT SOL XAVANTINA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08071414\",\n        \"code\": null,\n        \"name\": \"CECM SICOOB COOPERAC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08075352\",\n        \"code\": null,\n        \"name\": \"TRANSPOCRED\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08143326\",\n        \"code\": null,\n        \"name\": \"CC MED PROF SAÚDE SÃO LUÍS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08488377\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL GUARANI MISSÕES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08560508\",\n        \"code\": null,\n        \"name\": \"CC INT SOL TRIUNFO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08624548\",\n        \"code\": null,\n        \"name\": \"CC INT SOL MINAS GERAIS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08647473\",\n        \"code\": null,\n        \"name\": \"CCE INT SOL CORONEL FREITAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08652872\",\n        \"code\": null,\n        \"name\": \"CCE INT SOL SANTA TEREZINHA DO PROGRESSO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08742188\",\n        \"code\": null,\n        \"name\": \"CCLA UNIÃO E NEGÓCIOS - SICOOB INTEGRAÇÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08744817\",\n        \"code\": null,\n        \"name\": \"DOCK SOLUCOES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08795285\",\n        \"code\": null,\n        \"name\": \"CECM LEME\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08805562\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL TIRADENTES DO SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08844074\",\n        \"code\": null,\n        \"name\": \"CECM EMP ITAPETININGA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"08850613\",\n        \"code\": null,\n        \"name\": \"CECM EMPR CENT ELÉTRICAS/SC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09004796\",\n        \"code\": null,\n        \"name\": \"CECM SICOOB CRED-ACILPA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09033698\",\n        \"code\": null,\n        \"name\": \"CCLA DE RIO VERDE E REGIÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09187555\",\n        \"code\": null,\n        \"name\": \"PROJETA UNICRED\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09244973\",\n        \"code\": null,\n        \"name\": \"CCR ASCOOB COOPEC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09330158\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE TREZE DE MAIO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09343038\",\n        \"code\": null,\n        \"name\": \"CC SICREDI ALTO SERTÃO PARAIBANO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09403026\",\n        \"code\": null,\n        \"name\": \"CCLA SICOOB C. L. N. MA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09424988\",\n        \"code\": null,\n        \"name\": \"CCLA DO OESTE MARANHENSE - SICOOB OESTE MARANHENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09433005\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE IRINEÓPOLIS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09463721\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE JACINTO MACHADO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09488496\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE SÃO JOÃO DO SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09512539\",\n        \"code\": null,\n        \"name\": \"CC DA FOZ DO RIO ITAJAÍ AÇU\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09515813\",\n        \"code\": null,\n        \"name\": \"ABASTECE AÍ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09552111\",\n        \"code\": null,\n        \"name\": \"CC JUST GOIAS E CELG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09576849\",\n        \"code\": null,\n        \"name\": \"CCLA CERES E RIALMA LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09579249\",\n        \"code\": null,\n        \"name\": \"CECM EMP AMERICANA, LIMEIRA E\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09590601\",\n        \"code\": null,\n        \"name\": \"CC DA SERRA CATARINENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"09639338\",\n        \"code\": null,\n        \"name\": \"CECM EMP PRAIA GRANDE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"10143499\",\n        \"code\": null,\n        \"name\": \"CCLA JATAÍ E REGIÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"10143743\",\n        \"code\": null,\n        \"name\": \"CCLA DE GUARAMIRIM\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"10175348\",\n        \"code\": null,\n        \"name\": \"CECM SOROCABA E REGIÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"10209619\",\n        \"code\": null,\n        \"name\": \"CCLA DA GRANDE GOIÂNIA LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"10218474\",\n        \"code\": null,\n        \"name\": \"CIVIA COOP CRED\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25021356\",\n        \"code\": null,\n        \"name\": \"DLOCAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"10262276\",\n        \"code\": null,\n        \"name\": \"CCLA DO ESTADO DE SÃO PAULO - SICOOB PAULISTA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"10311218\",\n        \"code\": null,\n        \"name\": \"EVOLUA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"10319386\",\n        \"code\": null,\n        \"name\": \"CCLA DO CENTRO SUL DE MS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"10348181\",\n        \"code\": null,\n        \"name\": \"CC VALE DO ITAJAI E LITORAL SC - SICREDI VALE LITORAL SC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"10453077\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DE POUSO REDONDO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"10520232\",\n        \"code\": null,\n        \"name\": \"CC INT SOL RONDONIA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"10736214\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV DO PLANALTO CENTRAL - SICREDI PLANALTO CENTRAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"10808037\",\n        \"code\": null,\n        \"name\": \"CC EMPRESÁRIOS DE MANAUS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"11275560\",\n        \"code\": null,\n        \"name\": \"RECARGAPAY DO BRASIL SERVICOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"11907520\",\n        \"code\": null,\n        \"name\": \"CCLA DA PARAÍBA - SICOOB PARAÍBA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"11969853\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL COSTA OESTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"12384953\",\n        \"code\": null,\n        \"name\": \"CCLAA JARAGUÁ DO SUL E REGIÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"13884775\",\n        \"code\": \"396\",\n        \"name\": \"HUB PAGAMENTOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"13935893\",\n        \"code\": null,\n        \"name\": \"CELCOIN PAGAMENTOS S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"14046512\",\n        \"code\": null,\n        \"name\": \"CCLA MARGEM ESQUERDA DO URUCUI\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"14568725\",\n        \"code\": null,\n        \"name\": \"CCC DO RIO DE JANEIRO LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"14913919\",\n        \"code\": null,\n        \"name\": \"CEC EMP PROF IMOB CMI/SECOVI\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"15111975\",\n        \"code\": null,\n        \"name\": \"IUGU SERVICOS NA INTERNET S/A\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"16564240\",\n        \"code\": null,\n        \"name\": \"CECM APOS PENS E IDOSOS LIG FORCA SINDICAL SICOOB COOPERNAPI\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"16651002\",\n        \"code\": null,\n        \"name\": \"CECM SERV MUN ITABIRA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"16721078\",\n        \"code\": null,\n        \"name\": \"CECMF SECRETARIA DA FAZENDA E ÓRGÃOS OFICIAIS MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"16779741\",\n        \"code\": null,\n        \"name\": \"CCLA VIACREDI ALTO VALE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"17192451\",\n        \"code\": null,\n        \"name\": \"BCO ITAUCARD S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"17343510\",\n        \"code\": null,\n        \"name\": \"CCR IS FREDERICO WESTPHALEN\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"17361536\",\n        \"code\": null,\n        \"name\": \"CC REG. COLAR METROPOLITANO VALE DO AÇO LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"17502881\",\n        \"code\": null,\n        \"name\": \"CECM EMPR CEMIG IND METAL E SERV PUB MUN\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"17819084\",\n        \"code\": null,\n        \"name\": \"PAGGCERTO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"18189547\",\n        \"code\": null,\n        \"name\": \"Cloud Walk Meios de Pagamentos\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"18727053\",\n        \"code\": null,\n        \"name\": \"PAGAR.ME PAGAMENTOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"18966739\",\n        \"code\": null,\n        \"name\": \"CCLA REGIÃO DE TRÊS PONTAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"19402130\",\n        \"code\": null,\n        \"name\": \"CECM EMPR EST HOSP BH RM ZM\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"19449602\",\n        \"code\": null,\n        \"name\": \"CC CREDCOOPER LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"19468242\",\n        \"code\": null,\n        \"name\": \"ZOOP BRASIL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"19495266\",\n        \"code\": null,\n        \"name\": \"CC EMPR CIA IND CATAGUASES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"19581142\",\n        \"code\": null,\n        \"name\": \"ATAR\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"19869338\",\n        \"code\": null,\n        \"name\": \"CCLA VALE DO AÇO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"19875244\",\n        \"code\": null,\n        \"name\": \"CECM EMPR EMP PREST SERV METAL SIDER E IND SICOOB COPESITA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"19962468\",\n        \"code\": null,\n        \"name\": \"CCPI DOS ADVOGADOS DO ESTADO DO RIO GRANDE DO SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"20018183\",\n        \"code\": null,\n        \"name\": \"Stark Bank\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"20520298\",\n        \"code\": null,\n        \"name\": \"ADIQ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"20855875\",\n        \"code\": null,\n        \"name\": \"NEON PAGAMENTOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"20961629\",\n        \"code\": null,\n        \"name\": \"CECM COLABORADORES DA VALE SICOOB CREDIVALE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"21110927\",\n        \"code\": null,\n        \"name\": \"CC CLASSICA FUNC PREST SERV LIG GRUPO EUCATUR\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"21661202\",\n        \"code\": null,\n        \"name\": \"CC CREDICAMPO LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"21670187\",\n        \"code\": null,\n        \"name\": \"CC CREDIBOM\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"21797311\",\n        \"code\": null,\n        \"name\": \"CECM SERV POD LEGIS MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"21866694\",\n        \"code\": null,\n        \"name\": \"CC CREDINOR\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"21995256\",\n        \"code\": null,\n        \"name\": \"MAG PAGAMENTOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"22347623\",\n        \"code\": null,\n        \"name\": \"CELER\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"22656789\",\n        \"code\": null,\n        \"name\": \"CC CREDISUDESTE LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"22724710\",\n        \"code\": null,\n        \"name\": \"CC CREDIVERTENTES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"22749014\",\n        \"code\": null,\n        \"name\": \"CC REGIÃO CENTRAL MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"22753982\",\n        \"code\": null,\n        \"name\": \"CC CREDISETE LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"22760839\",\n        \"code\": null,\n        \"name\": \"CC NOSSOCREDITO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"23114447\",\n        \"code\": null,\n        \"name\": \"FLAGSHIP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"23256599\",\n        \"code\": null,\n        \"name\": \"CCR INT SOL DO MATO GROSSO DO SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"23623636\",\n        \"code\": null,\n        \"name\": \"CCLA NORTE DE MATO GROSSO - SICOOB NORTE MT\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"23949522\",\n        \"code\": null,\n        \"name\": \"CC CREDICARPA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"24048910\",\n        \"code\": null,\n        \"name\": \"CC CREDINTER\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"24313102\",\n        \"code\": null,\n        \"name\": \"BEPAY\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"24431221\",\n        \"code\": null,\n        \"name\": \"CC SICOOB TRANSAMAZÔNICA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"24610065\",\n        \"code\": null,\n        \"name\": \"CC SICOOB IPÊ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"24654881\",\n        \"code\": null,\n        \"name\": \"CC POUP INV UNIÃO DOS EST MS, TO E OESTE DA BAHIA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"24795049\",\n        \"code\": null,\n        \"name\": \"CCLA SUDOESTE GOIANO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"24799033\",\n        \"code\": null,\n        \"name\": \"CCLA VALE DO PARANAÍBA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"24830879\",\n        \"code\": null,\n        \"name\": \"CCLA VALE DO ARAGUAIA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25104230\",\n        \"code\": null,\n        \"name\": \"RoadPass\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25353939\",\n        \"code\": null,\n        \"name\": \"CC CREDIALP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25363615\",\n        \"code\": null,\n        \"name\": \"CC INTEG PODER JUD E INST JURID UNIAO EM MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25387655\",\n        \"code\": null,\n        \"name\": \"C.C.L.A. DO VALE DO MUCURI LTD\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25387671\",\n        \"code\": null,\n        \"name\": \"CC ALTO PARANAIBA E REGIÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25387713\",\n        \"code\": null,\n        \"name\": \"CCLA DA REGIÃO DE PARÁ DE MINAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25395435\",\n        \"code\": null,\n        \"name\": \"CCLA DO LESTE DE MINAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25404542\",\n        \"code\": null,\n        \"name\": \"CCLA VALE DO GORUTUBA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25420696\",\n        \"code\": null,\n        \"name\": \"CC CREDIOESTE LTDA. - SICOOB CREDIOESTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25528753\",\n        \"code\": null,\n        \"name\": \"CCLA DIVINÓPOLIS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25536764\",\n        \"code\": null,\n        \"name\": \"CC CREDILUZ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25606237\",\n        \"code\": null,\n        \"name\": \"CPC VALE DO RIO DOCE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25626490\",\n        \"code\": null,\n        \"name\": \"SICREDI CREDIGRANDE MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25683434\",\n        \"code\": null,\n        \"name\": \"CCC MINAS GERAIS - CREDIMINAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25683475\",\n        \"code\": null,\n        \"name\": \"CCLA VALE DO RIO GRANDE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25743311\",\n        \"code\": null,\n        \"name\": \"CCLA CARMO DO RIO CLARO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"25798596\",\n        \"code\": null,\n        \"name\": \"CC CREDIVAR\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"26014175\",\n        \"code\": null,\n        \"name\": \"CC GUARANICREDI\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"26072728\",\n        \"code\": null,\n        \"name\": \"CC UNIÃO CENTRO OESTE LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"26178111\",\n        \"code\": null,\n        \"name\": \"CCLA REGIÃO DO ALTO SÃO FRANCISCO LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"26178533\",\n        \"code\": null,\n        \"name\": \"CCLA PONTAL DO TRIANGULO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"26191078\",\n        \"code\": null,\n        \"name\": \"CCLA DA REGIÃO SUL DO MARANHÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"26359745\",\n        \"code\": null,\n        \"name\": \"CC SICOOBMAIS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"26408161\",\n        \"code\": null,\n        \"name\": \"CC POUP INV ASS CENTRO SUL MS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"26408187\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV PANTANAL DO MATO GROSSO DO SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"26526166\",\n        \"code\": null,\n        \"name\": \"CCLA SUL MARANHENSE - SICOOB SUL MARANHENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"26529420\",\n        \"code\": null,\n        \"name\": \"CCPI OURO VERDE DO MATO GROSSO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"26549311\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV DO SUL DE MT\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"26555235\",\n        \"code\": null,\n        \"name\": \"CCPI SORRISO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"26960328\",\n        \"code\": null,\n        \"name\": \"CCLA DO TOCANTINS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"28683892\",\n        \"code\": null,\n        \"name\": \"PAYMEE BRASIL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"29062232\",\n        \"code\": null,\n        \"name\": \"ALYMENTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"29079725\",\n        \"code\": null,\n        \"name\": \"BIT CAPITAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"30723871\",\n        \"code\": null,\n        \"name\": \"BANQI\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"30980539\",\n        \"code\": null,\n        \"name\": \"U4Crypto Soluções\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"31752308\",\n        \"code\": null,\n        \"name\": \"PHI PAGAMENTOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"31804966\",\n        \"code\": null,\n        \"name\": \"SICOOB CENTRO-SERRANO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"31815293\",\n        \"code\": null,\n        \"name\": \"SICOOB NORTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"31880826\",\n        \"code\": \"612\",\n        \"name\": \"BCO GUANABARA S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"32024691\",\n        \"code\": null,\n        \"name\": \"COMPANHIA GLOBAL DE SOLUCOES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"32219232\",\n        \"code\": null,\n        \"name\": \"SPIN PAY\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"32428294\",\n        \"code\": null,\n        \"name\": \"CCC DO ESP.SANTO - SICOOB ES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"32430233\",\n        \"code\": null,\n        \"name\": \"SICOOB LESTE CAPIXABA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"32467086\",\n        \"code\": null,\n        \"name\": \"SICOOB SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"32474884\",\n        \"code\": null,\n        \"name\": \"SICOOB SUL-LITORÂNEO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"32615247\",\n        \"code\": null,\n        \"name\": \"CECM SICOOB COOPEC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"32778350\",\n        \"code\": null,\n        \"name\": \"AME\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"32983165\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV VALE DO CERRADO - SICREDI VALE DO CERRADO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"32995755\",\n        \"code\": null,\n        \"name\": \"CCPI DO SUDOESTE MT/PA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"33021064\",\n        \"code\": null,\n        \"name\": \"CCPI DO ARAGUAIA E XINGU\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"33022690\",\n        \"code\": null,\n        \"name\": \"CC POUP INV DO NOROESTE DE MT, AC E AM-SICREDI BIOMAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"33370115\",\n        \"code\": null,\n        \"name\": \"FURNAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"33416108\",\n        \"code\": null,\n        \"name\": \"CCC DE GOIAS LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"33579731\",\n        \"code\": null,\n        \"name\": \"CCLA CENTRO-SUL GOIANO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"33615055\",\n        \"code\": null,\n        \"name\": \"CCLA ANÁPOLIS E REGIÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"33924028\",\n        \"code\": null,\n        \"name\": \"SICOOB COOPVALE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"34088029\",\n        \"code\": \"397\",\n        \"name\": \"LISTO SCD S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"34148882\",\n        \"code\": null,\n        \"name\": \"CC SICOOB CENTRAL BA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"34878543\",\n        \"code\": null,\n        \"name\": \"CLARO PAY\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"35571249\",\n        \"code\": null,\n        \"name\": \"CCPI SICREDI EVOLUÇÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"36900256\",\n        \"code\": null,\n        \"name\": \"CCM MED EMP MT\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"37076205\",\n        \"code\": null,\n        \"name\": \"CECMS PJ ENSINO SUPERIOR ADVOGADOS DEFENSORES PUBLICOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"37079720\",\n        \"code\": null,\n        \"name\": \"CCLA SICOOB CREDIJUSTRA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"37255049\",\n        \"code\": null,\n        \"name\": \"SICOOB CREDIGOIÁS CC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"37395399\",\n        \"code\": null,\n        \"name\": \"CCLA CENTRO BRASILEIRA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"37442605\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV NORTE MATO-GROSSENSE E OESTE PARAENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"37554441\",\n        \"code\": null,\n        \"name\": \"CC UNIPRIME SUL MS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"37631058\",\n        \"code\": null,\n        \"name\": \"CCLA DE PALMEIRAS E REGIÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"38588174\",\n        \"code\": null,\n        \"name\": \"CCLA CONSELHEIRO PENA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"39231527\",\n        \"code\": null,\n        \"name\": \"UNICRED COSTA DO SOL RJ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"41180092\",\n        \"code\": null,\n        \"name\": \"SICREDI EXPANSÃO – CC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"41255225\",\n        \"code\": null,\n        \"name\": \"CC SICREDI CENTRO PERNAMBUCANA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"41669227\",\n        \"code\": null,\n        \"name\": \"CCLA PROD RURAIS TRIÂNGULO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"41697103\",\n        \"code\": null,\n        \"name\": \"CC CREDILIVRE LTDA. - SICOOB CREDILIVRE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"41707258\",\n        \"code\": null,\n        \"name\": \"CCLA SANTO ANTONIO DO MONTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"41753500\",\n        \"code\": null,\n        \"name\": \"CC CARLOS CHAGAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"41791005\",\n        \"code\": null,\n        \"name\": \"CECM SERV MUN POÇOS DE CALDAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"41805003\",\n        \"code\": null,\n        \"name\": \"CCLA ALTO SÃO FRANCISCO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"41931221\",\n        \"code\": null,\n        \"name\": \"SICOOB CREDICOOP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"41931445\",\n        \"code\": null,\n        \"name\": \"CC CREDIFOR LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"42873828\",\n        \"code\": null,\n        \"name\": \"CC AGROCREDI LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"42880617\",\n        \"code\": null,\n        \"name\": \"CCLA REG TIROS E MATUTINA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"42887133\",\n        \"code\": null,\n        \"name\": \"CCLA REG SUDESTE MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"42898825\",\n        \"code\": null,\n        \"name\": \"CECM MEDICOS E PROFISSIONAIS AREA SAUDE DO BRASIL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"42934794\",\n        \"code\": null,\n        \"name\": \"CC DE PIMENTA LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"44469161\",\n        \"code\": null,\n        \"name\": \"COOPECREDI GUARIBA - CC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"46642294\",\n        \"code\": null,\n        \"name\": \"CCME EMBRAER E BOEING BRASIL COMMERCIAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"47074323\",\n        \"code\": null,\n        \"name\": \"CECM EMPR COOP E SUPER Z SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"49389307\",\n        \"code\": null,\n        \"name\": \"CC COOPLIVRE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"50848910\",\n        \"code\": null,\n        \"name\": \"CC PLANT CANA REG LENCOIS PAUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"51489318\",\n        \"code\": null,\n        \"name\": \"CECM MAGISTRADOS DE SÃO PAULO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"53236808\",\n        \"code\": null,\n        \"name\": \"CCLA DE ARARAQUARA E REGIÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"53623781\",\n        \"code\": null,\n        \"name\": \"CC COOPCRED\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"53935029\",\n        \"code\": null,\n        \"name\": \"CCLA SICOOB COOCRELIVRE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"54037916\",\n        \"code\": null,\n        \"name\": \"CC CREDICITRUS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"54190525\",\n        \"code\": null,\n        \"name\": \"CECM SERV MUN REG METR VALE PARAIBA E LITORAL NORTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"54401286\",\n        \"code\": null,\n        \"name\": \"CC COCRE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"54603022\",\n        \"code\": null,\n        \"name\": \"CC CECRES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"57563728\",\n        \"code\": null,\n        \"name\": \"CECME EMPR EMP GR ECON RHODIA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"57647653\",\n        \"code\": null,\n        \"name\": \"CC POUP INV DA REG DAS FLORES, DAS ÁGUAS E DOS VENTOS SP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"58022195\",\n        \"code\": null,\n        \"name\": \"CECM EMPR EMP ZILLO LORENZETTI\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"59588111\",\n        \"code\": \"655\",\n        \"name\": \"BCO VOTORANTIM S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"59869560\",\n        \"code\": null,\n        \"name\": \"CC NOSSO - SICOOB NOSSO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"60779196\",\n        \"code\": null,\n        \"name\": \"CREFISA S.A. CFI\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"60889128\",\n        \"code\": \"637\",\n        \"name\": \"BCO SOFISA S.A.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": true,\n        \"strStatus\": \"active\",\n        \"spiStatus\": \"active\",\n        \"type\": \"DRCT\"\n    },\n    {\n        \"ispb\": \"62673470\",\n        \"code\": null,\n        \"name\": \"CC SICOOB COOPMIL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"62931522\",\n        \"code\": null,\n        \"name\": \"CCC ESTADO SP - CECRESP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"63229629\",\n        \"code\": null,\n        \"name\": \"CCR ASCOOB SISAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"63917579\",\n        \"code\": null,\n        \"name\": \"CCC DO ESTADO DE SÃO PAULO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"64237530\",\n        \"code\": null,\n        \"name\": \"CC CREDIUNA LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"64276058\",\n        \"code\": null,\n        \"name\": \"CCLA NORDESTE DE MG E SUL DA B\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"64480833\",\n        \"code\": null,\n        \"name\": \"CCLA MARTINHO CAMPOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"64739121\",\n        \"code\": null,\n        \"name\": \"SICOOB CRED COPERCANA CC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"65229254\",\n        \"code\": null,\n        \"name\": \"CC COOPACREDI\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"65239402\",\n        \"code\": null,\n        \"name\": \"CC UNIÃO DO CENTRO OESTE DE MINAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"65560658\",\n        \"code\": null,\n        \"name\": \"CECM SICOOB SANTA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"66259110\",\n        \"code\": null,\n        \"name\": \"CCLA BAMBUÍ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"66262643\",\n        \"code\": null,\n        \"name\": \"CCLA DE POMPEU LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"66398496\",\n        \"code\": null,\n        \"name\": \"CC DA REGIÃO DE ARAXÁ LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"66402207\",\n        \"code\": null,\n        \"name\": \"CCLA S. ROQUE DE MINAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"66463407\",\n        \"code\": null,\n        \"name\": \"CCLA DE ITAÚNA E REGIÃO LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"66555665\",\n        \"code\": null,\n        \"name\": \"CCINV EMPR. SERV. SECRET. ESTAD. LOGISTICA E TRANSPORTES SP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"66788142\",\n        \"code\": null,\n        \"name\": \"CC CREDIMOTA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"67096909\",\n        \"code\": null,\n        \"name\": \"CC CREDICOCAPEC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"67915868\",\n        \"code\": null,\n        \"name\": \"CECM TRAB CIA PROC DADOS SP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"67960229\",\n        \"code\": null,\n        \"name\": \"CC CREDIGUAÇU\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"68512748\",\n        \"code\": null,\n        \"name\": \"CC CREDIESMERALDAS LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"68969625\",\n        \"code\": null,\n        \"name\": \"CECM EMP USAGRO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"69346856\",\n        \"code\": null,\n        \"name\": \"CECM DOS PROFISSIONAIS DA SAUDE DA REG ALTA MOGIANA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"70038237\",\n        \"code\": null,\n        \"name\": \"SICREDI RIO GRANDE DO NORTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"70116611\",\n        \"code\": null,\n        \"name\": \"SICOOB CENTRAL NE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"70241658\",\n        \"code\": null,\n        \"name\": \"CC POUP INV SICREDI RECIFE - SICREDI RECIFE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"70431630\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV UNIVALES – SICREDI UNIVALES MT/RO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"70937271\",\n        \"code\": null,\n        \"name\": \"CCLA PROF SAÚDE UNICRED ALIANÇA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71009237\",\n        \"code\": null,\n        \"name\": \"CCLA GUAPÉ - SICOOB CREDIGUAPÉ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71069587\",\n        \"code\": null,\n        \"name\": \"CCLA DORES DO INDAIÁ LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71146450\",\n        \"code\": null,\n        \"name\": \"CCLA CAMPOS GERAIS E CAMPO DO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71154256\",\n        \"code\": null,\n        \"name\": \"CC SACRAMENTO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71154876\",\n        \"code\": null,\n        \"name\": \"CCLA NOROESTE DE MG CREDIPINHO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71163315\",\n        \"code\": null,\n        \"name\": \"CCM PROF SAÚDE ARQ SETE LAGOAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71207740\",\n        \"code\": null,\n        \"name\": \"CCR IRAI - SICOOB CREDIMIL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71230338\",\n        \"code\": null,\n        \"name\": \"CCLA ARCOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71237184\",\n        \"code\": null,\n        \"name\": \"CC CREDIBELO LTDA. - SICOOB CREDIBELO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71238232\",\n        \"code\": null,\n        \"name\": \"CC CENTRO SUL MINEIRO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71243034\",\n        \"code\": null,\n        \"name\": \"COOPERATIVA DE CRÉDITO CREDIJEQUITINHONHA LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71261184\",\n        \"code\": null,\n        \"name\": \"CCLA REGIÃO DO CAPARAÓ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71297899\",\n        \"code\": null,\n        \"name\": \"CCLA OESTE MINEIRO LTDA-SICOOB\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71328769\",\n        \"code\": null,\n        \"name\": \"SICOOB COCRED CC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71336432\",\n        \"code\": null,\n        \"name\": \"CECM SERV PUBL MUN UBERABA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71378426\",\n        \"code\": null,\n        \"name\": \"CCLA ARAXÁ LTDA - SICOOB COOCREZ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71392047\",\n        \"code\": null,\n        \"name\": \"CC MONTECREDI LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71418784\",\n        \"code\": null,\n        \"name\": \"CC MED, TEC E DEMAIS PROF SAUDE DO SUL DE MINAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71419600\",\n        \"code\": null,\n        \"name\": \"CCLA DA REGIÃO DE FRUTAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71432926\",\n        \"code\": null,\n        \"name\": \"CC PROF SAUDE TRIANGULO SUL MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71437123\",\n        \"code\": null,\n        \"name\": \"CCR ALTEROSA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71441406\",\n        \"code\": null,\n        \"name\": \"CCLA PEDRO LEOPOLDO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71479653\",\n        \"code\": null,\n        \"name\": \"CECM MÉD JUIZ DE FORA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71506513\",\n        \"code\": null,\n        \"name\": \"CC ITAPAGIPE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71698674\",\n        \"code\": null,\n        \"name\": \"SICOOB UNIMAIS MANTIQUEIRA CCLA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"71884498\",\n        \"code\": null,\n        \"name\": \"CECM MÉD UNICRED SP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"72128440\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV DO RIO DE JANEIRO - SICREDI RIO RJ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"72257793\",\n        \"code\": null,\n        \"name\": \"SICREDI CEARÁ CENTRO NORTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"73085573\",\n        \"code\": null,\n        \"name\": \"CCCM SICOOB UNIMAIS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"73092827\",\n        \"code\": null,\n        \"name\": \"CCM SERV MIN EDUC SÃO PAULO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"73113243\",\n        \"code\": null,\n        \"name\": \"CC POUP INV DE ARARAQUARA E REGIAO - SICREDI CENTRO NORTE SP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"73254757\",\n        \"code\": null,\n        \"name\": \"CCE INT SOL DE QUILOMBO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"73326449\",\n        \"code\": null,\n        \"name\": \"CECM MÉDICOS PROF SAÚDE EMPRESÁRIOS CRUZ ALTA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"73398646\",\n        \"code\": null,\n        \"name\": \"SOC CC SICOOB COOPERE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"73422792\",\n        \"code\": null,\n        \"name\": \"CCLA RUBIATABA REGIAO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"73443863\",\n        \"code\": null,\n        \"name\": \"CC UNICRED VALE EUROPEU SANTA CATARINA LTDA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"73647935\",\n        \"code\": null,\n        \"name\": \"UNIPRIME CENTRO-OESTE DO BRASIL CC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"73750424\",\n        \"code\": null,\n        \"name\": \"CECM UNICRED INTEGRAÇÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"74026998\",\n        \"code\": null,\n        \"name\": \"CC SICOOB COOPERBOM\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"74064502\",\n        \"code\": null,\n        \"name\": \"CC UNICRED VALOR CAPITAL LTDA – UNICRED VALOR CAPITAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"74114042\",\n        \"code\": null,\n        \"name\": \"CC UNICRED UNIÃO LTDA - UNICRED UNIÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"74220948\",\n        \"code\": null,\n        \"name\": \"CC SICOOB UNISP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"76059997\",\n        \"code\": null,\n        \"name\": \"CC POUP INV PROGRESSO PR/SP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"77984870\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV TERRA DOS PINHEIRAIS DO PR E NOROESTE PAULISTA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"78414067\",\n        \"code\": null,\n        \"name\": \"CC POUP INV VANGUARDA CATARATAS DO IGUAÇU E VALE DO PARAÍBA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"78483310\",\n        \"code\": null,\n        \"name\": \"CCLA ITAPIRANGA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"78825023\",\n        \"code\": null,\n        \"name\": \"CCLAA OESTE CATARINENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"78825270\",\n        \"code\": null,\n        \"name\": \"CCLA MAXI ALFA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"78834975\",\n        \"code\": null,\n        \"name\": \"CCLA DO VALE DO CANOINHAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"78840071\",\n        \"code\": null,\n        \"name\": \"CCLAA ALTO URUGUAI CATARINENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"78858107\",\n        \"code\": null,\n        \"name\": \"CCLAA AURIVERDE–SICOOB CREDIAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"78862083\",\n        \"code\": null,\n        \"name\": \"CCLA CAMPOS NOVOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"78865995\",\n        \"code\": null,\n        \"name\": \"CCLA VALE DO RIO DO PEIXE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"78907607\",\n        \"code\": null,\n        \"name\": \"CC POUP INV CENTRO SUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"79052122\",\n        \"code\": null,\n        \"name\": \"CCPI ALIANÇA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"79063574\",\n        \"code\": null,\n        \"name\": \"CC POUP INV DO NORTE DO PARANÁ E SUL DE SÃO PAULO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"79086997\",\n        \"code\": null,\n        \"name\": \"CC POUP INV PARANAPANEMA PR/SP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"79342069\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV UNIÃO PARANÁ/SÃO PAULO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"79457883\",\n        \"code\": null,\n        \"name\": \"CCLA AGROEMPRESARIAL - SICREDI AGROEMPRESARIAL PR/SP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"80160260\",\n        \"code\": null,\n        \"name\": \"CCC SICOOB CENTRAL SC/RS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"80959612\",\n        \"code\": null,\n        \"name\": \"CC ALTO VALE DO ITAJAÍ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"80959638\",\n        \"code\": null,\n        \"name\": \"CCLA MEIO OESTE CATARINENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"81011686\",\n        \"code\": null,\n        \"name\": \"CC DO NORTE CATARINENSE E SUL PARANAENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"81014060\",\n        \"code\": null,\n        \"name\": \"CCLAA ITAIPU SICOOB CREDITAIPU\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"81016131\",\n        \"code\": null,\n        \"name\": \"CCLA VALE DO VINHO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"81054686\",\n        \"code\": null,\n        \"name\": \"CC POUP INV INTEGRAÇÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"81099491\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV VALE DO PIQUIRI ABCD\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"81115149\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV GRANDES LAGOS DO PARANÁ E LITORAL PAULISTA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"81192106\",\n        \"code\": null,\n        \"name\": \"CC POUP INV NOSSA TERRA - SICREDI NOSSA TERRA PR/SP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"81206039\",\n        \"code\": null,\n        \"name\": \"CCPI RIO PARANA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"81292278\",\n        \"code\": null,\n        \"name\": \"CC ORIGINAL - SICOOB ORIGINAL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"81367880\",\n        \"code\": null,\n        \"name\": \"CCLA SUL CATARINENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"81466286\",\n        \"code\": null,\n        \"name\": \"CC POUP INV CAMPOS GERAIS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"81607046\",\n        \"code\": null,\n        \"name\": \"CCLAA SAO MIGUEL DO OESTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"81706616\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV VALOR SUST - SICREDI VALOR SUSTENTÁVEL PR/SP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"82065285\",\n        \"code\": null,\n        \"name\": \"CCPI PARQUE DAS ARAUCARIAS PR/SC/SP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"82133182\",\n        \"code\": null,\n        \"name\": \"CC DO VALE EUROPEU - SICOOB EURO VALE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"82527557\",\n        \"code\": null,\n        \"name\": \"CC POUP INV FRON PR, SC E SP - SICREDI FRONTEIRAS PR/SC/SP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"82639451\",\n        \"code\": null,\n        \"name\": \"CC VALE DO ITAJAÍ\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"83315408\",\n        \"code\": null,\n        \"name\": \"SICREDI NORTE - COOPERATIVA DE CRÉDITO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"83836114\",\n        \"code\": null,\n        \"name\": \"CCLA DO ESTADO DO PARÁ - SICOOB COOESA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"84156470\",\n        \"code\": null,\n        \"name\": \"CC INTEGRANTES MIN PUBL E PODER JUDIC AP E CE E CCLA PA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"84974278\",\n        \"code\": null,\n        \"name\": \"CC POUP INV IGUAÇU - SICREDI IGUAÇU PR/SC/SP\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"85291086\",\n        \"code\": null,\n        \"name\": \"CC LITORÂNEA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"86389236\",\n        \"code\": null,\n        \"name\": \"CC INV SERVI FIN SICOOB UNI SUDESTE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"86564051\",\n        \"code\": null,\n        \"name\": \"CC NOROESTE DE MINAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"86585049\",\n        \"code\": null,\n        \"name\": \"SICOOB CREDILEITE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"86791837\",\n        \"code\": null,\n        \"name\": \"CCLA DE CAÇADOR\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"86803939\",\n        \"code\": null,\n        \"name\": \"UNICRED SERRA MAR LTDA.\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"86829827\",\n        \"code\": null,\n        \"name\": \"CCLA DO VALE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"86913993\",\n        \"code\": null,\n        \"name\": \"SICREDI CARIRI\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"87067757\",\n        \"code\": null,\n        \"name\": \"CCPI CENTRO SERRA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"87510475\",\n        \"code\": null,\n        \"name\": \"CC INT ROTA DAS TERRAS- SICREDI INT ROTA DAS TERRAS RS MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"87733077\",\n        \"code\": null,\n        \"name\": \"SICREDI ESSÊNCIA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"87733770\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV ALTO URUGUAI - SICREDI ALTO URUGUAI RS/SC/MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"87779625\",\n        \"code\": null,\n        \"name\": \"COOPERATIVA DE CRÉDITO COOPERAÇÃO RS/SC – SICREDI COOPERAÇÃO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"87780268\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV UNIAO DE EST DO RS SC E MG SICREDI UNIESTADOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"87780284\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV SICREDI VALE DO JAGUARI E ZONA DA MATA RS/MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"87781530\",\n        \"code\": null,\n        \"name\": \"CCPI INT DE ESTADOS DO RIO GRANDE DO SUL E SANTA CATARINA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"87784088\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV SUL MINAS DO RS E MG - SICREDI SUL MINAS RS/MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"87795639\",\n        \"code\": null,\n        \"name\": \"C.C ALIANÇA RS/SC - SICREDI ALIANÇA RS/SC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"87853206\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV OURO BRANCO – SICREDI OURO BRANCO RS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"87900411\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV DE ESPUMOSO – SICREDI ESPUMOSO RS/MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"87900601\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV BOTUCARAÍ - SICREDI BOTUCARAÍ RS/MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"88038260\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV PLANALTO - SICREDI PLANALTO RS/MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"88099247\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV RAIZES - SICREDI RAIZES RS/SC/MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"88471024\",\n        \"code\": null,\n        \"name\": \"CC CENTRO LESTE - SICREDI CENTRO LESTE RS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"88530142\",\n        \"code\": null,\n        \"name\": \"CC DA FRONTEIRA SUL – SICREDI FRONTEIRA SUL RS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"88894548\",\n        \"code\": null,\n        \"name\": \"SICREDI UNIAO RS/ES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"89049738\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV NOROESTE RS – SICREDI NOROESTE RS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"89126130\",\n        \"code\": null,\n        \"name\": \"CCPI DA REGIÃO DOS VALES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"89280960\",\n        \"code\": null,\n        \"name\": \"CECM DOS EMPR DAS EMP RANDON\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"89468565\",\n        \"code\": null,\n        \"name\": \"CCPI DA REG DA PRODUCAO SICREDI REGIAO DA PRODUCAO RS/SC/MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"89990501\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV DE IBIRAIARAS - SICREDI IBIRAIARAS RS/MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"90497256\",\n        \"code\": null,\n        \"name\": \"SICREDI INTERESTADOS RS/ES\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"90608712\",\n        \"code\": null,\n        \"name\": \"SICREDI SERRANA RS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"90729369\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV REG DAS CULTURAS - SICREDI DAS CULTURAS RS/MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"91159764\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV DE LAJEADO - SICREDI INTEGRAÇÃO RS/MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"91586982\",\n        \"code\": null,\n        \"name\": \"CC POUPANÇA E INVESTIMENTO SICREDI PIONEIRA RS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"17948578\",\n        \"code\": null,\n        \"name\": \"MAGALU PAGAMENTOS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"92555150\",\n        \"code\": null,\n        \"name\": \"CCPI DA REGIAO ALTOS DA SERRA - SICREDI ALTOS DA SERRA RS/SC\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"92796564\",\n        \"code\": null,\n        \"name\": \"CCPI SUL RIOGRANDENSE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"92934215\",\n        \"code\": null,\n        \"name\": \"BANRISUL CARTOES S A\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"92935741\",\n        \"code\": null,\n        \"name\": \"CECM EMPR DO BANRISUL\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"94243839\",\n        \"code\": null,\n        \"name\": \"CECM DO VALE DAS ANTAS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"94433109\",\n        \"code\": null,\n        \"name\": \"CECM MÉD DE PORTO ALEGRE\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"95163002\",\n        \"code\": null,\n        \"name\": \"UNICRED ELEVA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"95213211\",\n        \"code\": null,\n        \"name\": \"CC POUP E INV ENCOSTA SUPERIOR DO NORDESTE RS\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"95424891\",\n        \"code\": null,\n        \"name\": \"CCPI DO VALE DO RIO PARDO\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"95594941\",\n        \"code\": null,\n        \"name\": \"CCPI DAS REG CENTRO DO RS E MG - SICREDI REGIAO CENTRO RS/MG\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    },\n    {\n        \"ispb\": \"97489280\",\n        \"code\": null,\n        \"name\": \"CC SICREDI REGIAO SUL BAHIA\",\n        \"spiParticipant\": true,\n        \"strParticipant\": null,\n        \"strStatus\": null,\n        \"spiStatus\": \"active\",\n        \"type\": \"IDRT\"\n    }\n]"}],"_postman_id":"8fb95924-3cdb-43d1-bf53-1c3b0065afde"}],"id":"ba90893f-1768-4c1a-8ff8-ae340b57bc37","description":"<p>There's no way to simulate a received <strong>\"TED IN\"</strong> in tests environments. To solve this, here we provide some examples of payload received.\n<br /></p>\n<h4 id=\"examples-of-ted-in\">Examples of TED-IN</h4>\n<ul>\n<li>is a payment with type <code>deposit</code></li>\n<li>all payments are coming from <code>Bit Capital Issuer</code> that means it comes from other financial institution (outside platform);</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-typescript\">{\n    \"banking\": null,\n    \"payments\": [\n        {\n            \"status\": \"settled\",\n            \"type\": \"deposit\",\n            \"destination\": {\n                \"id\": \"feb8503c-d7aa-4f85-8333-6a705f95b533\",\n                \"stellar\": {\n                    \"publicKey\": \"GDNFHUD5ZCFW4MMHHQ2GDXWFRLQAMYQMJLCTKVBGNEZYXYPFPSJTNJZO\"\n                },\n                \"updatedAt\": \"2021-03-19T13:13:45.065Z\",\n                \"createdAt\": \"2021-03-19T13:13:45.065Z\",\n                \"deletedAt\": null,\n                \"user\": {\n                    \"id\": \"01261a24-9a73-4360-b2b8-d04a483571f5\",\n                    \"name\": \"Consumer of Destination\",\n                    \"firstName\": \"Consumer\",\n                    \"lastName\": \"of Destination\",\n                    \"username\": \"userNameOfCOnsumer\",\n                    \"email\": \"emailconsumerdestination@email.com\",\n                    \"role\": \"consumer\",\n                    \"twoFactorRequired\": false,\n                    \"updatedAt\": \"2021-03-19T13:13:44.809Z\",\n                    \"createdAt\": \"2021-03-19T13:13:44.809Z\"\n                },\n                \"additionalData\": {\n                    \"acceptProviderLegalTerms\": true,\n                    \"fingerprint\": \"PostmanRuntime/7.26.10#187.34.144.47\"\n                }\n            },\n            \"amount\": \"1.00\",\n            \"asset\": {\n                \"id\": \"c4b54553-935b-461c-b5e0-6dbc8a39b72b\",\n                \"name\": \"BRL Parati\",\n                \"code\": \"BRLP\",\n                \"root\": true,\n                \"provider\": \"parati-provider\",\n                \"required\": true,\n                \"updatedAt\": \"2021-03-11T01:30:37.900Z\",\n                \"createdAt\": \"2021-03-11T01:30:37.900Z\"\n            },\n            \"scheduleFor\": null,\n            \"updatedAt\": \"2021-03-19T18:50:43.656Z\",\n            \"createdAt\": \"2021-03-19T18:50:43.656Z\",\n            \"id\": \"48da5e61-3b71-49b7-bebe-3566c492ecfa\"\n        }\n    ],\n    \"source\": {\n        \"id\": \"6010622e-0c63-4082-a8a2-8da98fcb7787\",\n        \"root\": true,\n        \"stellar\": {\n            \"publicKey\": \"GAGPSIHDVEMMMH55GI3YNNR4KPU4OKZGF3XBOWYRCJWCNZNT4PHVI2DC\"\n        },\n        \"updatedAt\": \"2021-03-11T01:30:37.884Z\",\n        \"createdAt\": \"2021-03-11T01:30:37.884Z\",\n        \"deletedAt\": null,\n        \"user\": {\n            \"id\": \"cbb474f7-6eb2-433b-b655-936bf2645ffe\",\n            \"name\": \"Bit Capital Issuer\",\n            \"firstName\": \"Bit Capital\",\n            \"lastName\": \"Issuer\",\n            \"username\": \"admin@btcore.app\",\n            \"email\": \"admin@btcore.app\",\n            \"role\": \"admin\",\n            \"twoFactorRequired\": false,\n            \"updatedAt\": \"2021-03-11T01:30:38.106Z\",\n            \"createdAt\": \"2021-03-11T01:30:37.849Z\"\n        },\n        \"additionalData\": {}\n    },\n    \"states\": [\n        {\n            \"additionalData\": {\n                \"pod\": \"production-core-core-api-transaction-workers-57d9d58f65-wg9xh\"\n            },\n            \"updatedAt\": \"2021-03-19T18:50:51.702Z\",\n            \"createdAt\": \"2021-03-19T18:50:51.702Z\",\n            \"status\": \"notified\",\n            \"id\": \"4cc0c34b-0218-4030-826c-93cbb7b2a77a\"\n        },\n        {\n            \"additionalData\": {\n                \"pod\": \"production-core-core-api-transaction-workers-57d9d58f65-frwbx\"\n            },\n            \"updatedAt\": \"2021-03-19T18:50:50.646Z\",\n            \"createdAt\": \"2021-03-19T18:50:50.646Z\",\n            \"status\": \"executed\",\n            \"id\": \"a1770070-3dbb-4022-8803-d795c123070c\"\n        },\n        {\n            \"additionalData\": {\n                \"authorized\": [],\n                \"pod\": \"production-core-core-api-server-5994b5d7cd-fszzr\"\n            },\n            \"updatedAt\": \"2021-03-19T18:50:47.006Z\",\n            \"createdAt\": \"2021-03-19T18:50:44.047Z\",\n            \"status\": \"accepted\",\n            \"id\": \"ff8073f1-2f4e-4b69-9e14-dbf28287b1cb\"\n        },\n        {\n            \"additionalData\": {\n                \"authorized\": [],\n                \"skipped\": [\n                    {\n                        \"provider\": \"parati-provider\",\n                        \"payment\": \"48da5e61-3b71-49b7-bebe-3566c492ecfa\",\n                        \"asset\": \"BRLP\"\n                    }\n                ]\n            },\n            \"updatedAt\": \"2021-03-19T18:50:43.692Z\",\n            \"createdAt\": \"2021-03-19T18:50:43.692Z\",\n            \"status\": \"AUTHORIZED\",\n            \"id\": \"cb260d9b-cc79-4eca-9eaa-5c9e5b4ab63c\"\n        },\n        {\n            \"additionalData\": {},\n            \"updatedAt\": \"2021-03-19T18:50:43.589Z\",\n            \"createdAt\": \"2021-03-19T18:50:43.589Z\",\n            \"status\": \"pending\",\n            \"id\": \"55bff677-12b2-480c-939f-5daf6d1d04ef\"\n        }\n    ],\n    \"updatedAt\": \"2021-03-19T18:50:50.032Z\",\n    \"createdAt\": \"2021-03-19T18:50:43.574Z\",\n    \"additionalData\": {\n        \"externalTransaction\": {\n            \"id\": \"STR20210319034211531\"\n        },\n        \"destination\": {\n            \"accountHolderTaxId\": \"32322929840\",\n            \"accountHolderType\": \"personal\",\n            \"accountHolderName\": \"NAME OF CONSUMER DESTINATION\",\n            \"accountNumber\": \"17004\",\n            \"branchNumber\": \"1\",\n            \"accountType\": \"checking\",\n            \"bankNumber\": \"326\",\n            \"ispb\": \"03311443\"\n        },\n        \"arrangement\": \"str\",\n        \"reversal\": false,\n        \"purpose\": \"Crédito em Conta\",\n        \"source\": {\n            \"accountHolderTaxId\": \"32322929840\",\n            \"accountHolderType\": \"personal\",\n            \"accountHolderName\": \"NAME OF CONSUMER SOURCE\",\n            \"accountNumber\": \"9180733\",\n            \"branchNumber\": \"1\",\n            \"accountType\": \"checking\",\n            \"bankNumber\": \"260\",\n            \"ispb\": \"18236120\"\n        },\n        \"hash\": \"e086a38506350fb32362c86a33db3019599a6ae30f0b726d3523e52d5ec9e05f\",\n        \"str\": {\n            \"messageCode\": \"STR0008R2\",\n            \"messageId\": \"STR20210319034211531\"\n        }\n    },\n    \"status\": \"notified\",\n    \"type\": \"payment\",\n    \"id\": \"c3a75969-aec0-4a10-a038-6cfa2f445cc6\"\n}\n</code></pre>\n<br />\n\n<h4 id=\"examples-of-ted-out\">Examples of TED-OUT</h4>\n<ul>\n<li>is a payment with type <code>withdraw</code></li>\n<li>all payments are going to <code>Bit Capital Issuer</code></li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"banking\": { \n        \"accountDigit\": \"\",\n        \"account\": \"9180733\",\n        \"agencyDigit\": \"0\",\n        \"agency\": \"1\",\n        \"bank\": \"260\",\n        \"type\": \"checking\",\n        \"holderType\": \"personal\",\n        \"taxId\": \"32322929840\",\n        \"name\": \"Name of Consumer Destination\",\n        \"updatedAt\": \"2021-03-15T17:57:47.347Z\",\n        \"createdAt\": \"2021-03-15T17:57:47.347Z\",\n        \"id\": \"28af131f-65d2-463c-bda3-006e30a53b54\"\n    },\n    \"payments\": [\n        {\n            \"status\": \"settled\",\n            \"type\": \"withdrawal\",\n            \"destination\": {\n                \"id\": \"98f2a79e-fcfe-4d16-bc29-1afb8dcd1f17\",\n                \"root\": true,\n                \"stellar\": {\n                    \"publicKey\": \"GAGPSIHDVEMMMH55GI3YNNR4KPU4OKZGF3XBOWYRCJWCNZNT4PHVI2DC\"\n                },\n                \"updatedAt\": \"2021-02-16T01:45:51.520Z\",\n                \"createdAt\": \"2021-02-16T01:45:51.520Z\",\n                \"deletedAt\": null,\n                \"user\": {\n                    \"id\": \"c3df1c5e-51fa-49e8-8d0d-4e185d1b029b\",\n                    \"name\": \"Bit Capital Issuer\",\n                    \"firstName\": \"Bit Capital\",\n                    \"lastName\": \"Issuer\",\n                    \"username\": \"admin@btcore.app\",\n                    \"email\": \"admin@btcore.app\",\n                    \"role\": \"admin\",\n                    \"twoFactorRequired\": false,\n                    \"updatedAt\": \"2021-02-16T01:45:51.586Z\",\n                    \"createdAt\": \"2021-02-16T01:45:51.494Z\"\n                },\n                \"additionalData\": {}\n            },\n            \"amount\": \"1.00\",\n            \"asset\": {\n                \"id\": \"1a7f988b-5c7b-4549-93c2-a0fe509dfa4a\",\n                \"name\": \"BRL Parati\",\n                \"code\": \"BRLP\",\n                \"root\": true,\n                \"provider\": \"parati-provider\",\n                \"required\": true,\n                \"updatedAt\": \"2021-02-16T01:45:51.529Z\",\n                \"createdAt\": \"2021-02-16T01:45:51.529Z\"\n            },\n            \"scheduleFor\": null,\n            \"updatedAt\": \"2021-03-15T18:23:27.760Z\",\n            \"createdAt\": \"2021-03-15T17:57:47.679Z\",\n            \"id\": \"69c009c4-f637-4f3d-b67a-a3c94c89771e\"\n        }\n    ],\n    \"source\": {\n        \"id\": \"41048161-05a9-4411-b033-cff78d1018b4\",\n        \"stellar\": {\n            \"publicKey\": \"GB3UXUGZWEQEWWLDIESBOKUMM5EVK3Z3EMLFKI2YLBOF4L5264JB2HOL\"\n        },\n        \"updatedAt\": \"2021-02-25T17:14:55.742Z\",\n        \"createdAt\": \"2021-02-25T17:14:55.742Z\",\n        \"deletedAt\": null,\n        \"user\": {\n            \"id\": \"bd40d656-bd7b-46ed-8362-fc0296d5330b\",\n            \"name\": \"Name of Consumer Source\",\n            \"firstName\": \"Name of Consumer\",\n            \"lastName\": \"Source\",\n            \"username\": \"userNameConsumer\",\n            \"email\": \"userName@email.com\",\n            \"role\": \"consumer\",\n            \"twoFactorRequired\": false,\n            \"updatedAt\": \"2021-02-25T17:14:55.564Z\",\n            \"createdAt\": \"2021-02-25T17:14:55.564Z\"\n        },\n        \"additionalData\": {\n            \"acceptProviderLegalTerms\": true,\n            \"fingerprint\": \"PostmanRuntime/7.26.10#179.113.244.183\"\n        }\n    },\n    \"states\": [\n        {\n            \"additionalData\": {\n                \"pod\": \"production-core-core-api-transaction-workers-6b6676f989-ds69q\"\n            },\n            \"updatedAt\": \"2021-03-15T18:23:35.074Z\",\n            \"createdAt\": \"2021-03-15T18:23:35.074Z\",\n            \"status\": \"notified\",\n            \"id\": \"878bfba3-830f-4f14-be69-8f00bf6bc438\"\n        },\n        {\n            \"additionalData\": {\n                \"pod\": \"production-core-core-api-transaction-workers-6b6676f989-dx564\"\n            },\n            \"updatedAt\": \"2021-03-15T18:23:34.423Z\",\n            \"createdAt\": \"2021-03-15T18:23:34.423Z\",\n            \"status\": \"executed\",\n            \"id\": \"89cde4ab-f58b-493a-b5f0-a0ab1abd84b8\"\n        },\n        {\n            \"additionalData\": {\n                \"authorized\": [],\n                \"pod\": \"production-core-core-api-server-6449f74964-m5frz\"\n            },\n            \"updatedAt\": \"2021-03-15T18:23:30.761Z\",\n            \"createdAt\": \"2021-03-15T18:23:27.783Z\",\n            \"status\": \"accepted\",\n            \"id\": \"ad602168-33cf-4d35-af26-76f8523d14de\"\n        },\n        {\n            \"additionalData\": {\n                \"authorized\": [],\n                \"skipped\": [\n                    {\n                        \"provider\": \"parati-provider\",\n                        \"payment\": \"69c009c4-f637-4f3d-b67a-a3c94c89771e\",\n                        \"asset\": \"BRLP\"\n                    }\n                ]\n            },\n            \"updatedAt\": \"2021-03-15T17:57:47.704Z\",\n            \"createdAt\": \"2021-03-15T17:57:47.704Z\",\n            \"status\": \"AUTHORIZED\",\n            \"id\": \"e0dccc7b-1c5d-4ced-8a4a-42a469f81162\"\n        },\n        {\n            \"additionalData\": {},\n            \"updatedAt\": \"2021-03-15T17:57:47.673Z\",\n            \"createdAt\": \"2021-03-15T17:57:47.673Z\",\n            \"status\": \"pending\",\n            \"id\": \"beb06977-2238-479c-9e32-5760ef12e7a3\"\n        }\n    ],\n    \"updatedAt\": \"2021-03-15T18:23:33.997Z\",\n    \"createdAt\": \"2021-03-15T17:57:47.667Z\",\n    \"additionalData\": {\n        \"transactionId\": \"jaYMBH3qms\",\n        \"referenceCode\": \"jaYMBH3qms\",\n        \"destination\": {\n            \"accountHolderTaxId\": \"32322929840\",\n            \"accountHolderType\": \"personal\",\n            \"accountHolderName\": \"Name of Consumer Destination\",\n            \"accountNumber\": \"9180733\",\n            \"branchNumber\": \"1\",\n            \"accountType\": \"checking\",\n            \"bankNumber\": \"260\",\n            \"ispb\": \"18236120\"\n        },\n        \"arrangement\": \"str\",\n        \"reversal\": false,\n        \"purpose\": 10,\n        \"source\": {\n            \"accountHolderTaxId\": \"32322929840\",\n            \"accountHolderType\": \"personal\",\n            \"accountHolderName\": \"Name of Consumer Source\",\n            \"accountNumber\": \"10905\",\n            \"branchNumber\": \"0001\",\n            \"accountType\": \"checking\",\n            \"bankNumber\": \"326\",\n            \"ispb\": \"3311443\"\n        },\n        \"hash\": \"e365737d2811787e0f5f4421713feea1655f29bba8e1ebf49b8672ec54d8ee76\",\n        \"str\": {\n            \"messageCode\": \"STR0008R1\",\n            \"messageId\": \"STR20210315035110883\"\n        }\n    },\n    \"status\": \"notified\",\n    \"type\": \"payment\",\n    \"id\": \"c40a36c3-bd73-4a1a-9bd2-f21c84414b36\"\n}\n\n</code></pre>","_postman_id":"ba90893f-1768-4c1a-8ff8-ae340b57bc37","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Cards","item":[{"name":"List cards of consumer","id":"a6a25cc3-5cd7-4945-b4e3-3e91882242a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/wallets/:walletId/cards/?skip=0&limit=25","description":"<p>Gets the list of all cards associated with a wallet.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":walletId","cards",""],"host":["{{API_BASE_URL}}"],"query":[{"description":{"content":"<p>number of itens to skip</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>number of itens to show</p>\n","type":"text/plain"},"key":"limit","value":"25"}],"variable":[{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"any","value":"7cc5a5b7-90d6-4540-a544-bb65dd120483","key":"walletId"}]}},"response":[{"id":"f4c49fea-41be-4798-9762-ffab219a2673","name":"All cards listed","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/wallets/:walletId/cards/","host":["{{API_BASE_URL}}"],"path":["wallets",":walletId","cards",""],"variable":[{"key":"walletId","value":"{{walletId}}","type":"string","description":"walletID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Oct 2019 18:02:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-API-Version","value":"1.9.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"1571680984"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"ETag","value":"W/\"142-nrlyD3BJ9DzKSMFngftc7gWdzBQ\""},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"5295240d7c9cdb9c-GIG"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"a9938c36-f9a5-4a1d-802b-53e4dd7c2475\",\n        \"virtual\": false,\n        \"status\": \"available\",\n        \"updatedAt\": \"2020-10-13T14:57:32.555Z\",\n        \"createdAt\": \"2020-10-13T14:44:56.636Z\",\n        \"asset\": \"root\",\n        \"wallet\": {\n            \"id\": \"80349602-ad67-4737-a06b-e9918b51a38e\",\n            \"stellar\": {\n                \"publicKey\": \"GBIMVYYXYLNZ5ZW5WVL36MHG2G26VPOBEQ5KDGIMCDGXOKFRCBSSDUTZ\"\n            },\n            \"updatedAt\": \"2020-09-16T19:38:59.663Z\",\n            \"createdAt\": \"2020-09-16T19:38:59.663Z\",\n            \"deletedAt\": null,\n            \"additionalData\": {}\n        }\n    },\n    {\n        \"id\": \"f0e65ac6-0469-4ec8-b573-c837d269851d\",\n        \"virtual\": true,\n        \"status\": \"available\",\n        \"updatedAt\": \"2021-03-25T19:31:45.675Z\",\n        \"createdAt\": \"2021-03-25T19:16:41.707Z\",\n        \"asset\": \"BRLD\",\n        \"wallet\": {\n            \"id\": \"80349602-ad67-4737-a06b-e9918b51a38e\",\n            \"stellar\": {\n                \"publicKey\": \"GBIMVYYXYLNZ5ZW5WVL36MHG2G26VPOBEQ5KDGIMCDGXOKFRCBSSDUTZ\"\n            },\n            \"updatedAt\": \"2020-09-16T19:38:59.663Z\",\n            \"createdAt\": \"2020-09-16T19:38:59.663Z\",\n            \"deletedAt\": null,\n            \"additionalData\": {}\n        }\n    }\n]"}],"_postman_id":"a6a25cc3-5cd7-4945-b4e3-3e91882242a2"},{"name":"Open a card","id":"e2ac58d3-3280-4e2a-bee3-9f89a8b8dc15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/wallets/:walletId/cards/:cardId","description":"<p>Retrieves more informations about a single card, including the raw card data and the <a href=\"https://developers.bitcapital.com.br/docs/card-phases\">card phases</a></p>\n<br />\n\n<h3 id=\"body-schema\">Body Schema</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"id\": \"d4b130a4-5080-4a11-ade3-91d7d7de08d6\",\n    \"virtual\": true, //type of card true for virtual or false for physical\n    \"status\": \"available\",  // card status of PLATFORM\n    \"updatedAt\": \"2021-03-26T17:22:25.335Z\",\n    \"createdAt\": \"2021-03-26T17:16:19.841Z\",\n    \"asset\": \"BRLD\", //asset of card\n    \"raw\": {\n        \"cardNumber\": \"4329570176226023\", //full card number. (Needs compliance adjust in fornt development)\n        \"expirationDate\": \"2030-01-01T00:00:00.000Z\",\n        \"securityCode\": \"682\", //cvv number  . (Needs compliance adjust in fornt development)\n         \"holderName\": \"CARDHOLDER NAME\", // name of consumer\n        \"cardStatus\": \"Normal\", //card status of EMISSOR\n        \"phase\": \"other\" //default value\n    }\n}\n</code></pre><br />\n\n<h4 id=\"whats-difference-about-cardstatusand-status-in-the-payload\">What's difference about <code>cardStatus</code>and <code>status</code> in the payload?</h4>\n<ul>\n<li><code>cardStatus</code> is the status of card in the emissor of card</li>\n<li><code>status</code> is the status of card in the platform.</li>\n</ul>\n<p>The <code>consumer</code> has the right to block his card if he wishes.This lock changes the status of the platform.</p>\n<p>The <code>mediator</code> has the permission to block a card of <code>consumer</code>, if there is a reason, or if his compliance requires it.</p>\n<p>The card issuer has the right to block the card of <code>consumer</code> if necessary, according to his due diligence team.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":walletId","cards",":cardId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"any","value":"7cc5a5b7-90d6-4540-a544-bb65dd120483","key":"walletId"},{"description":{"content":"<p>cardID</p>\n","type":"text/plain"},"type":"any","value":"ff1b61ba-ebe2-4336-b0a1-dcb3ffa646f6","key":"cardId"}]}},"response":[{"id":"9a927b74-19e0-4828-beb4-a931ff22e343","name":"A virtual card","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/wallets/:walletId/cards/:cardId","host":["{{API_BASE_URL}}"],"path":["wallets",":walletId","cards",":cardId"],"variable":[{"key":"walletId","value":"7bf59301-2029-4430-b563-101e22d65854","type":"string"},{"key":"cardId","value":"6b23b73c-cc72-442e-9978-c28c3bf7efed","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Oct 2019 18:18:08 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-API-Version","value":"1.9.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"1571681944"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"ETag","value":"W/\"13d-ynxKG3ZojO5lMoUOBQ4jldcRBco\""},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"52953b693971dba0-GIG"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"d4b130a4-5080-4a11-ade3-91d7d7de08d6\",\n    \"virtual\": true,\n    \"status\": \"available\",  \n    \"updatedAt\": \"2021-03-26T17:22:25.335Z\",\n    \"createdAt\": \"2021-03-26T17:16:19.841Z\",\n    \"asset\": \"BRLD\",\n    \"raw\": {\n        \"cardNumber\": \"4329570176226023\",\n        \"expirationDate\": \"2030-01-01T00:00:00.000Z\",\n        \"securityCode\": \"682\", \n         \"holderName\": \"CARDHOLDER NAME\",\n        \"cardStatus\": \"Normal\", \n        \"phase\": \"other\" \n    }\n}"}],"_postman_id":"e2ac58d3-3280-4e2a-bee3-9f89a8b8dc15"},{"name":"Card payments","id":"d2e0c4c9-27b5-4e2b-b3ff-d764ad9ce47f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/wallets/:walletId/cards/:id/payments","description":"<p>Gets the list of transactions associated with a card.</p>\n<blockquote>\n<p>This endpoint runs only in <code>Core V2</code>.</p>\n</blockquote>\n<blockquote>\n<p>This endpoint is deprecated in <code>Core V3</code></p>\n</blockquote>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":walletId","cards",":id","payments"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"any","value":"7cc5a5b7-90d6-4540-a544-bb65dd120483","key":"walletId"},{"description":{"content":"<p>cardID</p>\n","type":"text/plain"},"type":"any","value":"ff1b61ba-ebe2-4336-b0a1-dcb3ffa646f6","key":"id"}]}},"response":[{"id":"f76265ca-fff3-4dbd-a028-b691a574f390","name":"All card payments","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/users/:userId/cards/:id/payments","host":["{{API_BASE_URL}}"],"path":["users",":userId","cards",":id","payments"],"variable":[{"key":"userId","value":""},{"description":"The wallet id.","key":"id","value":"b0066e16-04da-4908-9560-fb72c2585148"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"type\": \"card\",\n        \"transaction\": {\n            \"source\": {\n                \"id\": \"8e4d3506-ac6e-44ff-a6c4-b6c133d1972a\",\n                \"stellar\": {\n                    \"publicKey\": \"GDH5AXPEDGAJMT6JIYYJLHXCZ6RCICT7WOWRA4MKAUJJFQHMESQHFOWU\"\n                },\n                \"updatedAt\": \"2019-06-28T21:21:00.605Z\",\n                \"createdAt\": \"2019-06-28T21:21:00.605Z\"\n            },\n            \"states\": [\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T12:32:55.712Z\",\n                    \"createdAt\": \"2019-08-28T12:32:55.712Z\",\n                    \"status\": \"notified\",\n                    \"id\": \"86bfc02a-ae0e-426d-9dc3-263565726280\"\n                },\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T12:32:55.649Z\",\n                    \"createdAt\": \"2019-08-28T12:32:55.649Z\",\n                    \"status\": \"executed\",\n                    \"id\": \"d1051876-0b78-4d57-9cb0-a14735d16ed8\"\n                },\n                {\n                    \"additionalData\": {\n                        \"authorized\": [\n                            {\n                                \"provider\": \"cdt-visa\",\n                                \"payment\": \"e71075c0-85e5-4ac4-8a22-000a9323d262\",\n                                \"asset\": \"BRLD\"\n                            }\n                        ],\n                        \"skipped\": []\n                    },\n                    \"updatedAt\": \"2019-08-28T12:32:52.274Z\",\n                    \"createdAt\": \"2019-08-28T12:32:52.274Z\",\n                    \"status\": \"AUTHORIZED\",\n                    \"id\": \"559ed76e-6e97-4369-b47d-8a84c7ef8dfd\"\n                },\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T12:32:52.165Z\",\n                    \"createdAt\": \"2019-08-28T12:32:52.165Z\",\n                    \"status\": \"pending\",\n                    \"id\": \"0ed6da80-0a1b-4aef-8fbd-941d423c5177\"\n                }\n            ],\n            \"updatedAt\": \"2019-08-28T12:32:55.564Z\",\n            \"createdAt\": \"2019-08-28T12:32:52.155Z\",\n            \"additionalData\": {\n                \"externalTransactionCreatedAt\": \"2019-08-28T09:32:47.99\",\n                \"wallet_id\": \"8e4d3506-ac6e-44ff-a6c4-b6c133d1972a\",\n                \"card_id\": \"b7eb523c-013d-4a26-a01c-2923394e3a9a\",\n                \"hash\": \"be0be9483a70e34b0226427805feccf064ad217325e5c709ffb1217d2fd4c428\"\n            },\n            \"status\": \"notified\",\n            \"type\": \"payment\",\n            \"id\": \"305ee4ba-ae99-4b8b-9412-0b7f477df576\"\n        },\n        \"amount\": \"8.04\",\n        \"updatedAt\": \"2019-08-28T12:32:55.641Z\",\n        \"createdAt\": \"2019-08-28T12:32:52.173Z\",\n        \"id\": \"e71075c0-85e5-4ac4-8a22-000a9323d262\"\n    },\n    {\n        \"type\": \"transaction_reversal\",\n        \"transaction\": {\n            \"source\": {\n                \"id\": \"0041a0e8-c096-4946-bbbe-63609bf8c67b\",\n                \"root\": true,\n                \"stellar\": {\n                    \"publicKey\": \"GAGPSIHDVEMMMH55GI3YNNR4KPU4OKZGF3XBOWYRCJWCNZNT4PHVI2DC\"\n                },\n                \"updatedAt\": \"2019-06-27T19:27:23.823Z\",\n                \"createdAt\": \"2019-06-27T19:27:23.823Z\"\n            },\n            \"states\": [\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T13:07:16.697Z\",\n                    \"createdAt\": \"2019-08-28T13:07:16.697Z\",\n                    \"status\": \"notified\",\n                    \"id\": \"67eadbc4-0e7f-410d-8fd3-8afc83d950d6\"\n                },\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T13:07:16.651Z\",\n                    \"createdAt\": \"2019-08-28T13:07:16.651Z\",\n                    \"status\": \"executed\",\n                    \"id\": \"6a7a0ce6-f344-4508-b6fb-43fb64c4a85b\"\n                },\n                {\n                    \"additionalData\": {\n                        \"authorized\": [\n                            {\n                                \"provider\": \"cdt-visa\",\n                                \"payment\": \"7169113f-76ab-40d0-9bac-d761dce0d51f\",\n                                \"asset\": \"BRLD\"\n                            }\n                        ],\n                        \"skipped\": []\n                    },\n                    \"updatedAt\": \"2019-08-28T13:07:12.430Z\",\n                    \"createdAt\": \"2019-08-28T13:07:12.430Z\",\n                    \"status\": \"AUTHORIZED\",\n                    \"id\": \"dfbabc35-2350-4b62-a967-69927920b30c\"\n                },\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T13:07:12.310Z\",\n                    \"createdAt\": \"2019-08-28T13:07:12.310Z\",\n                    \"status\": \"pending\",\n                    \"id\": \"da460298-9910-4e3c-80a3-7743f7cd26ab\"\n                }\n            ],\n            \"updatedAt\": \"2019-08-28T13:07:16.580Z\",\n            \"createdAt\": \"2019-08-28T13:07:12.112Z\",\n            \"additionalData\": {\n                \"externalTransactionCreatedAt\": \"2019-08-28T10:06:57.83\",\n                \"wallet_id\": \"8e4d3506-ac6e-44ff-a6c4-b6c133d1972a\",\n                \"card_id\": \"b7eb523c-013d-4a26-a01c-2923394e3a9a\",\n                \"hash\": \"1c04ca038c93c7b497942d506118447abc664e7db230f62487e4ea0ac828928f\"\n            },\n            \"status\": \"notified\",\n            \"type\": \"payment\",\n            \"id\": \"4988a7c3-6bc1-41dd-8d9e-a18d01a71800\"\n        },\n        \"amount\": \"8.04\",\n        \"updatedAt\": \"2019-08-28T13:07:16.645Z\",\n        \"createdAt\": \"2019-08-28T13:07:12.315Z\",\n        \"id\": \"7169113f-76ab-40d0-9bac-d761dce0d51f\"\n    },\n    {\n        \"type\": \"card\",\n        \"transaction\": {\n            \"source\": {\n                \"id\": \"8e4d3506-ac6e-44ff-a6c4-b6c133d1972a\",\n                \"stellar\": {\n                    \"publicKey\": \"GDH5AXPEDGAJMT6JIYYJLHXCZ6RCICT7WOWRA4MKAUJJFQHMESQHFOWU\"\n                },\n                \"updatedAt\": \"2019-06-28T21:21:00.605Z\",\n                \"createdAt\": \"2019-06-28T21:21:00.605Z\"\n            },\n            \"states\": [\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T15:38:23.682Z\",\n                    \"createdAt\": \"2019-08-28T15:38:23.682Z\",\n                    \"status\": \"notified\",\n                    \"id\": \"647468e3-0a1e-4e7e-bcf6-795e0da63eb1\"\n                },\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T15:38:23.634Z\",\n                    \"createdAt\": \"2019-08-28T15:38:23.634Z\",\n                    \"status\": \"executed\",\n                    \"id\": \"7108d708-1172-4243-a53a-c9f99d188a36\"\n                },\n                {\n                    \"additionalData\": {\n                        \"authorized\": [\n                            {\n                                \"provider\": \"cdt-visa\",\n                                \"payment\": \"d0c142f8-d40d-4e42-a484-dee70d02d96f\",\n                                \"asset\": \"BRLD\"\n                            }\n                        ],\n                        \"skipped\": []\n                    },\n                    \"updatedAt\": \"2019-08-28T15:38:18.087Z\",\n                    \"createdAt\": \"2019-08-28T15:38:18.087Z\",\n                    \"status\": \"AUTHORIZED\",\n                    \"id\": \"c2092509-7c3d-4cf7-9569-c9b2778f3734\"\n                },\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T15:38:17.933Z\",\n                    \"createdAt\": \"2019-08-28T15:38:17.933Z\",\n                    \"status\": \"pending\",\n                    \"id\": \"aaf13991-5cca-447a-a53d-1aeff770f7d9\"\n                }\n            ],\n            \"updatedAt\": \"2019-08-28T15:38:23.557Z\",\n            \"createdAt\": \"2019-08-28T15:38:17.927Z\",\n            \"additionalData\": {\n                \"externalTransactionCreatedAt\": \"2019-08-28T12:38:14.11\",\n                \"wallet_id\": \"8e4d3506-ac6e-44ff-a6c4-b6c133d1972a\",\n                \"card_id\": \"b7eb523c-013d-4a26-a01c-2923394e3a9a\",\n                \"hash\": \"5d84171922a92ec8c693f1041d000adb1d4f9060f34a04976733c9eee98773eb\"\n            },\n            \"status\": \"notified\",\n            \"type\": \"payment\",\n            \"id\": \"4cb66efc-aff2-4e3d-93ec-1afdc1b78375\"\n        },\n        \"amount\": \"14.9\",\n        \"updatedAt\": \"2019-08-28T15:38:23.627Z\",\n        \"createdAt\": \"2019-08-28T15:38:17.946Z\",\n        \"id\": \"d0c142f8-d40d-4e42-a484-dee70d02d96f\"\n    },\n    {\n        \"type\": \"card\",\n        \"transaction\": {\n            \"source\": {\n                \"id\": \"8e4d3506-ac6e-44ff-a6c4-b6c133d1972a\",\n                \"stellar\": {\n                    \"publicKey\": \"GDH5AXPEDGAJMT6JIYYJLHXCZ6RCICT7WOWRA4MKAUJJFQHMESQHFOWU\"\n                },\n                \"updatedAt\": \"2019-06-28T21:21:00.605Z\",\n                \"createdAt\": \"2019-06-28T21:21:00.605Z\"\n            },\n            \"states\": [\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T20:35:02.742Z\",\n                    \"createdAt\": \"2019-08-28T20:35:02.742Z\",\n                    \"status\": \"notified\",\n                    \"id\": \"f3a2008f-5a8f-499a-9683-172a68af4c22\"\n                },\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T20:35:02.667Z\",\n                    \"createdAt\": \"2019-08-28T20:35:02.667Z\",\n                    \"status\": \"executed\",\n                    \"id\": \"9b75b065-cc6a-4ac1-afba-5c8ae887ddac\"\n                },\n                {\n                    \"additionalData\": {\n                        \"authorized\": [\n                            {\n                                \"provider\": \"cdt-visa\",\n                                \"payment\": \"8b4b8814-4c13-4dbe-870d-3745f4114996\",\n                                \"asset\": \"BRLD\"\n                            }\n                        ],\n                        \"skipped\": []\n                    },\n                    \"updatedAt\": \"2019-08-28T20:34:57.098Z\",\n                    \"createdAt\": \"2019-08-28T20:34:57.098Z\",\n                    \"status\": \"AUTHORIZED\",\n                    \"id\": \"82dfb9c3-fcab-4b30-8afa-21a4fb2cb076\"\n                },\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T20:34:56.995Z\",\n                    \"createdAt\": \"2019-08-28T20:34:56.995Z\",\n                    \"status\": \"pending\",\n                    \"id\": \"803ba010-d76a-4d0c-ac17-e65e7dba121a\"\n                }\n            ],\n            \"updatedAt\": \"2019-08-28T20:35:02.589Z\",\n            \"createdAt\": \"2019-08-28T20:34:56.990Z\",\n            \"additionalData\": {\n                \"externalTransactionCreatedAt\": \"2019-08-28T17:34:53.373\",\n                \"wallet_id\": \"8e4d3506-ac6e-44ff-a6c4-b6c133d1972a\",\n                \"card_id\": \"b7eb523c-013d-4a26-a01c-2923394e3a9a\",\n                \"hash\": \"333d2cada73a10fa4fad45182a6233670889cdb3ab78f72e4fe179b7cbfee301\"\n            },\n            \"status\": \"notified\",\n            \"type\": \"payment\",\n            \"id\": \"2528ed4f-fd8f-436c-93f4-b66bef2436bd\"\n        },\n        \"amount\": \"201.99\",\n        \"updatedAt\": \"2019-08-28T20:35:02.658Z\",\n        \"createdAt\": \"2019-08-28T20:34:56.999Z\",\n        \"id\": \"8b4b8814-4c13-4dbe-870d-3745f4114996\"\n    },\n    {\n        \"type\": \"card\",\n        \"transaction\": {\n            \"source\": {\n                \"id\": \"8e4d3506-ac6e-44ff-a6c4-b6c133d1972a\",\n                \"stellar\": {\n                    \"publicKey\": \"GDH5AXPEDGAJMT6JIYYJLHXCZ6RCICT7WOWRA4MKAUJJFQHMESQHFOWU\"\n                },\n                \"updatedAt\": \"2019-06-28T21:21:00.605Z\",\n                \"createdAt\": \"2019-06-28T21:21:00.605Z\"\n            },\n            \"states\": [\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T23:05:44.759Z\",\n                    \"createdAt\": \"2019-08-28T23:05:44.759Z\",\n                    \"status\": \"notified\",\n                    \"id\": \"4c0ed0a1-3683-4f93-a210-818b85041ce8\"\n                },\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T23:05:44.689Z\",\n                    \"createdAt\": \"2019-08-28T23:05:44.689Z\",\n                    \"status\": \"executed\",\n                    \"id\": \"5e793000-f178-442a-829f-4752def538e9\"\n                },\n                {\n                    \"additionalData\": {\n                        \"authorized\": [\n                            {\n                                \"provider\": \"cdt-visa\",\n                                \"payment\": \"19c801bf-8f68-446f-904b-0e95a5b97e90\",\n                                \"asset\": \"BRLD\"\n                            }\n                        ],\n                        \"skipped\": []\n                    },\n                    \"updatedAt\": \"2019-08-28T23:05:42.782Z\",\n                    \"createdAt\": \"2019-08-28T23:05:42.782Z\",\n                    \"status\": \"AUTHORIZED\",\n                    \"id\": \"f894284f-5df3-4984-93f5-2b939d02dc51\"\n                },\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T23:05:42.702Z\",\n                    \"createdAt\": \"2019-08-28T23:05:42.702Z\",\n                    \"status\": \"pending\",\n                    \"id\": \"87d65b45-fcc6-4343-b808-2e2a9f199653\"\n                }\n            ],\n            \"updatedAt\": \"2019-08-28T23:05:44.558Z\",\n            \"createdAt\": \"2019-08-28T23:05:42.697Z\",\n            \"additionalData\": {\n                \"externalTransactionCreatedAt\": \"2019-08-28T20:05:38.447\",\n                \"wallet_id\": \"8e4d3506-ac6e-44ff-a6c4-b6c133d1972a\",\n                \"card_id\": \"b7eb523c-013d-4a26-a01c-2923394e3a9a\",\n                \"hash\": \"071ba3d09b62359d77f1c399858a0d8d3b6edbefc9a701aa8665273db1b888c7\"\n            },\n            \"status\": \"notified\",\n            \"type\": \"payment\",\n            \"id\": \"a6ed44be-e641-40f6-9437-3fdf22818a36\"\n        },\n        \"amount\": \"10.71\",\n        \"updatedAt\": \"2019-08-28T23:05:44.683Z\",\n        \"createdAt\": \"2019-08-28T23:05:42.712Z\",\n        \"id\": \"19c801bf-8f68-446f-904b-0e95a5b97e90\"\n    },\n    {\n        \"type\": \"card\",\n        \"transaction\": {\n            \"source\": {\n                \"id\": \"8e4d3506-ac6e-44ff-a6c4-b6c133d1972a\",\n                \"stellar\": {\n                    \"publicKey\": \"GDH5AXPEDGAJMT6JIYYJLHXCZ6RCICT7WOWRA4MKAUJJFQHMESQHFOWU\"\n                },\n                \"updatedAt\": \"2019-06-28T21:21:00.605Z\",\n                \"createdAt\": \"2019-06-28T21:21:00.605Z\"\n            },\n            \"states\": [\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T23:06:39.698Z\",\n                    \"createdAt\": \"2019-08-28T23:06:39.698Z\",\n                    \"status\": \"notified\",\n                    \"id\": \"54e2ea32-e815-4946-80fc-739478bc6433\"\n                },\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T23:06:39.647Z\",\n                    \"createdAt\": \"2019-08-28T23:06:39.647Z\",\n                    \"status\": \"executed\",\n                    \"id\": \"b01695bc-2391-4e5d-9956-c7ae08ad4fb4\"\n                },\n                {\n                    \"additionalData\": {\n                        \"authorized\": [\n                            {\n                                \"provider\": \"cdt-visa\",\n                                \"payment\": \"a4b2ce09-159d-4d6b-bd7d-7eae90c8b2b4\",\n                                \"asset\": \"BRLD\"\n                            }\n                        ],\n                        \"skipped\": []\n                    },\n                    \"updatedAt\": \"2019-08-28T23:06:36.634Z\",\n                    \"createdAt\": \"2019-08-28T23:06:36.634Z\",\n                    \"status\": \"AUTHORIZED\",\n                    \"id\": \"9861c4f6-738e-4bfc-86c8-89718f339111\"\n                },\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T23:06:36.522Z\",\n                    \"createdAt\": \"2019-08-28T23:06:36.522Z\",\n                    \"status\": \"pending\",\n                    \"id\": \"7373d0a7-d86f-4257-b014-fb19414bbb78\"\n                }\n            ],\n            \"updatedAt\": \"2019-08-28T23:06:39.562Z\",\n            \"createdAt\": \"2019-08-28T23:06:36.515Z\",\n            \"additionalData\": {\n                \"externalTransactionCreatedAt\": \"2019-08-28T20:06:32.96\",\n                \"wallet_id\": \"8e4d3506-ac6e-44ff-a6c4-b6c133d1972a\",\n                \"card_id\": \"b7eb523c-013d-4a26-a01c-2923394e3a9a\",\n                \"hash\": \"b0a209433822dcacd9f820b089bc554d4be63acb68601c7cb33a79af68d77d0b\"\n            },\n            \"status\": \"notified\",\n            \"type\": \"payment\",\n            \"id\": \"955b3028-fcd4-4df0-8a78-2269ea8dd048\"\n        },\n        \"amount\": \"9.95\",\n        \"updatedAt\": \"2019-08-28T23:06:39.638Z\",\n        \"createdAt\": \"2019-08-28T23:06:36.528Z\",\n        \"id\": \"a4b2ce09-159d-4d6b-bd7d-7eae90c8b2b4\"\n    },\n    {\n        \"type\": \"transaction_reversal\",\n        \"transaction\": {\n            \"source\": {\n                \"id\": \"0041a0e8-c096-4946-bbbe-63609bf8c67b\",\n                \"root\": true,\n                \"stellar\": {\n                    \"publicKey\": \"GAGPSIHDVEMMMH55GI3YNNR4KPU4OKZGF3XBOWYRCJWCNZNT4PHVI2DC\"\n                },\n                \"updatedAt\": \"2019-06-27T19:27:23.823Z\",\n                \"createdAt\": \"2019-06-27T19:27:23.823Z\"\n            },\n            \"states\": [\n                {\n                    \"additionalData\": {},\n                    \"updatedAt\": \"2019-08-28T23:07:05.423Z\",\n                    \"createdAt\": \"2019-08-28T23:07:05.423Z\",\n                    \"status\": \"pending\",\n                    \"id\": \"d716a4d4-33a9-4372-a0a8-3a08543032b9\"\n                }\n            ],\n            \"updatedAt\": \"2019-08-28T23:07:14.558Z\",\n            \"createdAt\": \"2019-08-28T23:07:05.419Z\",\n            \"additionalData\": {\n                \"externalTransactionCreatedAt\": \"2019-08-28T20:07:02.883\",\n                \"wallet_id\": \"8e4d3506-ac6e-44ff-a6c4-b6c133d1972a\",\n                \"card_id\": \"b7eb523c-013d-4a26-a01c-2923394e3a9a\",\n                \"hash\": \"1729dfd4f632c8eb3a5a6990266d298115f2e62b916f3b584bfcd7a50e17adb5\"\n            },\n            \"status\": \"pending\",\n            \"type\": \"payment\",\n            \"id\": \"0b92b5a1-dd38-4b8a-a746-c84917c15b74\"\n        },\n        \"amount\": \"10.71\",\n        \"updatedAt\": \"2019-08-28T23:07:14.629Z\",\n        \"createdAt\": \"2019-08-28T23:07:05.431Z\",\n        \"id\": \"d2eff8e3-f8e1-4b92-81fb-8cd3eb89693c\"\n    }\n]"}],"_postman_id":"d2e0c4c9-27b5-4e2b-b3ff-d764ad9ce47f"},{"name":"Change card password","id":"f5c9ab80-610b-4778-b92e-92ea7b300c36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"password\": \"1234\"\n}"},"url":"{{API_BASE_URL}}/wallets/:walletId/cards/:id/password","description":"<p>Activate a new card.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":walletId","cards",":id","password"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"string","value":"7cc5a5b7-90d6-4540-a544-bb65dd120483","key":"walletId"},{"description":{"content":"<p>cardID</p>\n","type":"text/plain"},"type":"string","value":"ff1b61ba-ebe2-4336-b0a1-dcb3ffa646f6","key":"id"}]}},"response":[{"id":"bdd1d1c5-cfa8-42df-bbf4-d8db02684ce0","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"password\": \"1234\"\n}"},"url":{"raw":"{{API_BASE_URL}}/wallets/:walletId/cards/:id/activate","host":["{{API_BASE_URL}}"],"path":["wallets",":walletId","cards",":id","activate"],"variable":[{"key":"walletId","value":"7bf59301-2029-4430-b563-101e22d65854","type":"string"},{"key":"id","value":"54e9d35a-9817-4c55-8cd5-d872fe0d83c5","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Oct 2019 18:40:43 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-API-Version","value":"1.9.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"1571683264"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"ETag","value":"W/\"a0-Ors3rsWTFXunFKSnxbtQpdTDDP4\""},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"52955c7bdf00dbac-GIG"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"54e9d35a-9817-4c55-8cd5-d872fe0d83c5\",\n    \"virtual\": false,\n    \"status\": \"available\",\n    \"updatedAt\": \"2019-10-21T18:40:40.753Z\",\n    \"createdAt\": \"2019-10-21T18:25:41.109Z\"\n}"}],"_postman_id":"f5c9ab80-610b-4778-b92e-92ea7b300c36"},{"name":"Emit physical card","id":"1f084e07-b21b-47b3-bc18-49992f535bc0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"asset\": \"BRLD\", //asset of card emissor\n    \"plasticId\": 00 //  IMPORTANT! 00 means the number of your \"plasticId\". To get your number of plasticId please contact the Operations Team at Help Desk or your Bit Capital's representant.\n}"},"url":"{{API_BASE_URL}}/wallets/:walletId/cards/physical","description":"<h3 id=\"important-information\">Important information</h3>\n<p>Before a physical card is issued, the Bit Capital partner(mediator) must be aware that when issuing a card, <strong>the card will automatically go into production at the embosser</strong> and the costs applicable to these services must have been previously agreed with the card embossing partner. For more information, do not hesitate to contact the operations team at our <a href=\"http://help.bitcapital.com.br/\">Help Desk</a>.</p>\n<h4 id=\"what-is-plasticid-\">What is <code>plasticId</code> ?</h4>\n<p>Each embossed card model has a <code>placticId</code> number. If you want to emboss more than one model to offer to your consumers, then each card model will have a different <code>placticId</code>.</p>\n<p>When issuing a card through the endpoint, it is necessary to inform which model you want to issue. Make sure that the informed plasticId is correct. Once issued, it is not possible to cancel.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":walletId","cards","physical"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"any","value":"7cc5a5b7-90d6-4540-a544-bb65dd120483","key":"walletId"}]}},"response":[{"id":"58fdfd77-93a7-40a7-9255-8846fd80f034","name":"Physical card emitted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"plasticId\": 2\n}"},"url":{"raw":"{{API_BASE_URL}}/wallets/:walletId/cards/physical","host":["{{API_BASE_URL}}"],"path":["wallets",":walletId","cards","physical"],"variable":[{"key":"walletId","value":"7bf59301-2029-4430-b563-101e22d65854","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Oct 2019 18:25:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-API-Version","value":"1.9.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"1571682381"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"ETag","value":"W/\"9e-JhZGiDtLflnExNTam4Kb62wLOX8\""},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"529546824ec2dbc0-GIG"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"54e9d35a-9817-4c55-8cd5-d872fe0d83c5\",\n    \"virtual\": false,\n    \"status\": \"blocked\",\n    \"updatedAt\": \"2019-10-21T18:25:41.109Z\",\n    \"createdAt\": \"2019-10-21T18:25:41.109Z\"\n}"}],"_postman_id":"1f084e07-b21b-47b3-bc18-49992f535bc0"},{"name":"Emit virtual card","event":[{"listen":"prerequest","script":{"id":"9faadbee-5c28-4345-8681-4fc1c5414697","exec":["// Basic request data","const timestamp = Date.now();","const method = request.method.toUpperCase();","const url = request.url.split(\"{{API_BASE_URL}}\")[1];","","// Building request signature payload","const payload = [","    method,","    url,","    timestamp,","];","","// For POST and PUT methods, we must also pass the raw body ","if(method === 'POST' || method === 'PUT') {","    // Make sure JSON file has no tabs, spaces or new lines (uglify JSON)","    payload.push(JSON.stringify(JSON.parse(request.data)));","}","","console.log('Request signature payload', payload);","","// Generating hex for request signature","const hash = CryptoJS.HmacSHA256(payload.join(','), pm.environment.get('OAUTH_CLIENT_SECRET'));","const signature = CryptoJS.enc.Hex.stringify(hash);","","// Setting results as environment variables","pm.environment.set(\"X_REQUEST_SIGNATURE\", signature);","pm.environment.set(\"X_REQUEST_TIMESTAMP\", timestamp);","",""],"type":"text/javascript"}}],"id":"9bff11f3-3383-4751-a3c6-e8e60a026c2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-Request-Signature","value":"{{X_REQUEST_SIGNATURE}}","type":"text"},{"key":"X-Request-Timestamp","value":"{{X_REQUEST_TIMESTAMP}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"expirationDate\": \"2030-01-01T00:00:00.000Z\", // for PCI rules max 5 years must be set\n\t\"asset\": \"BRLD\" // must be BRLD \n}"},"url":"{{API_BASE_URL}}/wallets/:walletId/cards/virtual","description":"<p>Emit a virtual card.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":walletId","cards","virtual"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>WalletID</p>\n","type":"text/plain"},"type":"string","value":"7cc5a5b7-90d6-4540-a544-bb65dd120483","key":"walletId"}]}},"response":[{"id":"95f5f6f6-d501-4ee0-8e6c-de50cadc6580","name":"Virtual card emitted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"expirationDate\": \"2022-01-01T00:00:00.000Z\"\n}"},"url":{"raw":"{{API_BASE_URL}}/wallets/:walletId/cards/virtual","host":["{{API_BASE_URL}}"],"path":["wallets",":walletId","cards","virtual"],"variable":[{"key":"walletId","value":"7bf59301-2029-4430-b563-101e22d65854","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Oct 2019 18:17:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-API-Version","value":"1.9.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"1571681884"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"ETag","value":"W/\"9d-90TBDGDDnfPsgtIH8mzl4cwuAOI\""},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"52953aadae3edba0-GIG"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"d4b130a4-5080-4a11-ade3-91d7d7de08d6\",\n    \"virtual\": true,\n    \"status\": \"blocked\",\n    \"updatedAt\": \"2021-03-26T17:16:19.841Z\",\n    \"createdAt\": \"2021-03-26T17:16:19.841Z\",\n    \"asset\": \"BRLD\"\n}"}],"_postman_id":"9bff11f3-3383-4751-a3c6-e8e60a026c2a"},{"name":"Block a card","id":"0415ba40-cc7f-4dac-8e23-c587b4ce6b90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"password\": \"1234\", //must be the actual password of the card\n\t\"comment\": \"Here you can type any comments about it.\" // Ex:(Required by consumer),(Compliance requirement), (temporary block)\n}"},"url":"{{API_BASE_URL}}/wallets/:walletId/cards/:id/block","description":"<p>Locking a card is a recoverable process.</p>\n<p>If your compliance team decides to block a card to investigate any cases of suspected fraud or due diligence, it is possible to do so in a simple way.\nIn the same way, the card administrator will also be able to proactively execute the temporary preventive blocking of the card in case of any due diligence alert.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":walletId","cards",":id","block"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"any","value":"7cc5a5b7-90d6-4540-a544-bb65dd120483","key":"walletId"},{"description":{"content":"<p>cardID</p>\n","type":"text/plain"},"type":"any","value":"ff1b61ba-ebe2-4336-b0a1-dcb3ffa646f6","key":"id"}]}},"response":[{"id":"0b4c3a53-db50-467b-9905-56a7179deb4b","name":"Card blocked","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"password\": \"1234\",\n\t\"comment\": \"Perda\"\n}"},"url":{"raw":"{{API_BASE_URL}}/wallets/:walletId/cards/:id/block","host":["{{API_BASE_URL}}"],"path":["wallets",":walletId","cards",":id","block"],"variable":[{"key":"walletId","value":"7bf59301-2029-4430-b563-101e22d65854","type":"string"},{"key":"id","value":"54e9d35a-9817-4c55-8cd5-d872fe0d83c5","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Oct 2019 18:41:12 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-API-Version","value":"1.9.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"1571683281"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"ETag","value":"W/\"9e-gn4Cza78l6ukr5P8ZbxJyPNiTcE\""},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"52955d42ab22dbac-GIG"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"54e9d35a-9817-4c55-8cd5-d872fe0d83c5\",\n    \"virtual\": false,\n    \"status\": \"blocked\",\n    \"updatedAt\": \"2019-10-21T18:41:12.621Z\",\n    \"createdAt\": \"2019-10-21T18:25:41.109Z\"\n}"}],"_postman_id":"0415ba40-cc7f-4dac-8e23-c587b4ce6b90"},{"name":"Unblock a card","id":"2763f257-0a1d-4116-9b6f-7bd2215e8b7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"password\": \"1234\" //must be the actual password of the card\n}"},"url":"{{API_BASE_URL}}/wallets/:walletId/cards/:id/unblock","description":"<h5 id=\"important-to-know\">important to know</h5>\n<blockquote>\n<p>Unblock a card <strong>is not a activation</strong> of a card.</p>\n</blockquote>\n<blockquote>\n<p>Unblock a card is an event that undoes the card lock at \"Black a card\" endpoint.</p>\n</blockquote>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":walletId","cards",":id","unblock"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"any","value":"7cc5a5b7-90d6-4540-a544-bb65dd120483","key":"walletId"},{"description":{"content":"<p>cardID</p>\n","type":"text/plain"},"type":"any","value":"ff1b61ba-ebe2-4336-b0a1-dcb3ffa646f6","key":"id"}]}},"response":[{"id":"d6d4cb23-fa7f-467f-820b-b3188aaf18a9","name":"Card unblocked","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"password\": \"1234\" //must be the actual password of the card\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/wallets/:walletId/cards/:id/unblock","host":["{{API_BASE_URL}}"],"path":["wallets",":walletId","cards",":id","unblock"],"variable":[{"key":"walletId","value":"7cc5a5b7-90d6-4540-a544-bb65dd120483","type":"string","description":"walletID"},{"key":"id","value":"ff1b61ba-ebe2-4336-b0a1-dcb3ffa646f6","type":"string","description":"CardID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Oct 2019 18:41:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-API-Version","value":"1.9.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"1571683341"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"ETag","value":"W/\"a0-m6Iy2AR06M9qdVHSAsEe43AxKls\""},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"52955e2ae882dbac-GIG"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"d4b130a4-5080-4a11-ade3-91d7d7de08d6\",\n    \"virtual\": true,\n    \"status\": \"available\",\n    \"updatedAt\": \"2021-03-26T17:22:25.335Z\",\n    \"createdAt\": \"2021-03-26T17:16:19.841Z\",\n    \"asset\": \"BRLD\"\n}"}],"_postman_id":"2763f257-0a1d-4116-9b6f-7bd2215e8b7e"},{"name":"Activate a card","id":"fcb8d209-b89a-4302-8698-dcebb6534ceb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"password\": \"1234\", // must be the last 4 numbers of card\n    \"asset\": \"BRLD\" // the asset of card emissor\n\n}"},"url":"{{API_BASE_URL}}/wallets/:walletId/cards/:id/activate","description":"<p><strong>GHERKIN for Virtual Cards</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GIVEN consumer posses a virtual card number\nGIVEN the card has never been unblocked yet\nWHEN the actor performs the endpoint\nTHEN the response should have a field status:avaliable \nAND the response should be 200\n</code></pre><br />\n\n<p><strong>GHERKIN for Phsycal Cards</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GIVEN consumer has received you physical card\nGIVEN consumer posses a physical card\nGIVEN the card has never been unblocked yet\nWHEN the actor performs the endpoint\nTHEN the response should have a field status:avaliable \nAND the response should be 200\n</code></pre>","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":walletId","cards",":id","activate"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"any","value":"7cc5a5b7-90d6-4540-a544-bb65dd120483","key":"walletId"},{"description":{"content":"<p>cardID</p>\n","type":"text/plain"},"type":"any","value":"7cc5a5b7-90d6-4540-a544-bb65dd120483","key":"id"}]}},"response":[{"id":"0ad5adf4-98fb-46d2-a9b4-ea43fafd7200","name":"Card activated","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"password\": \"1234\"\n}"},"url":{"raw":"{{API_BASE_URL}}/wallets/:walletId/cards/:id/activate","host":["{{API_BASE_URL}}"],"path":["wallets",":walletId","cards",":id","activate"],"variable":[{"key":"walletId","value":"7bf59301-2029-4430-b563-101e22d65854","type":"string"},{"key":"id","value":"54e9d35a-9817-4c55-8cd5-d872fe0d83c5","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Oct 2019 18:40:43 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-API-Version","value":"1.9.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"1571683264"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"ETag","value":"W/\"a0-Ors3rsWTFXunFKSnxbtQpdTDDP4\""},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"52955c7bdf00dbac-GIG"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"d4b130a4-5080-4a11-ade3-91d7d7de08d6\",\n    \"virtual\": true,\n    \"status\": \"available\",\n    \"updatedAt\": \"2021-03-26T17:18:36.102Z\",\n    \"createdAt\": \"2021-03-26T17:16:19.841Z\",\n    \"asset\": \"BRLD\"\n}"}],"_postman_id":"fcb8d209-b89a-4302-8698-dcebb6534ceb"},{"name":"Cancel a card","id":"2a46cfb1-a693-4733-a6ea-3c09e3dd9492","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"reason\": 9, //see full list of all reasons at page\r\n   \"comment\": \"Card Damaged\" //see full list of all reasons at page\r\n}"},"url":"{{API_BASE_URL}}/wallets/:walletId/cards/:id/cancel","description":"<blockquote>\n<p>Cancel card is a unrecoverable event.</p>\n</blockquote>\n<p>Cancels a card, whether a Virtual or a Physical one. When setting the \"Body\" in the <strong>reasons</strong> put one of the below numbers, according to the reason of the cancelling.</p>\n<p><code>GHERKIN</code> </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GIVEN the actor has a reason to cancel a card\nWHEN the actor performs the endpoint\nTHEN the response should have a field status:canceled \nAND the response should be 200\n</code></pre><br />\n\n<h4 id=\"reasons-to-cancel-a-card\">Reasons to cancel a card</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>comment</th>\n<th>reason</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>COMMON</code></td>\n<td>3</td>\n</tr>\n<tr>\n<td><code>LOST</code></td>\n<td>4</td>\n</tr>\n<tr>\n<td><code>THEFT</code></td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>CLIENT</code></td>\n<td>6</td>\n</tr>\n<tr>\n<td><code>BANK</code></td>\n<td>7</td>\n</tr>\n<tr>\n<td><code>STRAYED</code></td>\n<td>8</td>\n</tr>\n<tr>\n<td><code>DAMAGED</code></td>\n<td>9</td>\n</tr>\n<tr>\n<td><code>SUSPECTED_FAKE</code></td>\n<td>12</td>\n</tr>\n<tr>\n<td><code>STRIPE</code></td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>EMBOSSING</code></td>\n<td>11</td>\n</tr>\n<tr>\n<td><code>RETURNED_MAIL</code></td>\n<td>13</td>\n</tr>\n<tr>\n<td><code>DECEASED_TITULAR</code></td>\n<td>14</td>\n</tr>\n<tr>\n<td><code>DEACTIVATED</code></td>\n<td>15</td>\n</tr>\n<tr>\n<td><code>EXPIRED</code></td>\n<td>16</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":walletId","cards",":id","cancel"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"string","value":"7cc5a5b7-90d6-4540-a544-bb65dd120483","key":"walletId"},{"description":{"content":"<p>CardID</p>\n","type":"text/plain"},"type":"string","value":"ff1b61ba-ebe2-4336-b0a1-dcb3ffa646f6","key":"id"}]}},"response":[{"id":"8008c623-0c4b-43f1-a5b7-df5d60a2fe9d","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"comment\": \"Damaged\",\r\n   \"reason\": 9\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/wallets/:walletId/cards/:id/cancel","host":["{{API_BASE_URL}}"],"path":["wallets",":walletId","cards",":id","cancel"],"variable":[{"key":"walletId","type":"string","value":"7bf59301-2029-4430-b563-101e22d65854","description":"Wallet's ID"},{"key":"id","value":"54e9d35a-9817-4c55-8cd5-d872fe0d83c5","description":"Card's ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Oct 2019 18:42:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-API-Version","value":"1.9.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"1571683401"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"ETag","value":"W/\"a0-R1JGq5ryRUS+6kSv5eYP1pE3fyE\""},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"52955fbe7d8cdbac-GIG"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"54e9d35a-9817-4c55-8cd5-d872fe0d83c5\",\n    \"virtual\": false,\n    \"status\": \"cancelled\",\n    \"updatedAt\": \"2019-10-21T18:42:54.352Z\",\n    \"createdAt\": \"2019-10-21T18:25:41.109Z\"\n}"}],"_postman_id":"2a46cfb1-a693-4733-a6ea-3c09e3dd9492"},{"name":"Change printed name","id":"fac75a14-83d2-443b-be3d-559db4495bd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"d4b130a4-5080-4a11-ade3-91d7d7de08d6\", //walletID\n    \"extra\": {\n        \"printedName\": \"NEW CARDHOLDER NAME\" //max 21 characters | Upper case only\n    }\n}"},"url":"{{API_BASE_URL}}/users/:id","description":"<h4 id=\"important-information\">Important information</h4>\n<blockquote>\n<p>The new cardholder name will only be available on the next physical card issued.</p>\n</blockquote>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["users",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"e49bd72f-7944-470e-8540-67c10242c35c","description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"any","value":"{{userId}}","key":"id"}]}},"response":[],"_postman_id":"fac75a14-83d2-443b-be3d-559db4495bd8"},{"name":"Unblock a no-named card","id":"4811b237-cbdc-4c39-afd6-c7f8054a309a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"unblockCode\": 123456 // unlockCode must have a length between 6 and 16 characters.\n}"},"url":"{{API_BASE_URL}}/wallets/:walletId/cards/code","description":"<h3 id=\"no-named-card\">NO-NAMED CARD</h3>\n<p>It is a physical card but with no named embossed. It is a generic card, functional but not yet activated. All no-named cards is a blocked card by default. It is already registered in provider but not works until your unblock.\n<br /></p>\n<h3 id=\"how-to-unblock-your-no-named-card\">How to unblock your no-named card?</h3>\n<p>Depending on the number of embossed no-named cards, it is possible that we have some cards with the last 4 digits repeated. For this, <strong>we recommend unblocking the card with at least 6 characters</strong>, which would increase the chances of the numbers not being repeated. \nTo unblock a no-named card, it is necessary to inform at least the last 6 numbers 6 to 14 numbers can be entered for unblocking.\n<br /></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":walletId","cards","code"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>walletID to link a NO-NAMED card to this wallet.</p>\n","type":"text/plain"},"type":"string","value":"7cc5a5b7-90d6-4540-a544-bb65dd120483","key":"walletId"}]}},"response":[{"id":"7c481651-cc42-4aed-ad1a-1cee174a6dad","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"unblockCode\": 1234\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/wallets/:walletId/cards/code","host":["{{API_BASE_URL}}"],"path":["wallets",":walletId","cards","code"],"variable":[{"key":"walletId","value":"7bf59301-2029-4430-b563-101e22d65854","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Oct 2019 18:25:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-API-Version","value":"1.9.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"1571682381"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"ETag","value":"W/\"9e-JhZGiDtLflnExNTam4Kb62wLOX8\""},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"529546824ec2dbc0-GIG"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n\t\"id\": \"e609b1ba-75f2-4d07-9067-106f6c2fd84e\",\n\t\"asset\": \"BRLD\",\n\t\"createdAt\": \"2019-10-21T18:25:41.109Z\",\n\t\"updatedAt\": \"2019-10-21T18:25:41.109Z\",\n\t\"status\": \"blocked\",\n\t\"virtual\": false\n}"}],"_postman_id":"4811b237-cbdc-4c39-afd6-c7f8054a309a"}],"id":"651b95ad-2d3e-4cc0-84cc-070883d0a241","description":"<h4 id=\"security-information\">Security information</h4>\n<blockquote>\n<p>Bit Capital does not store any card information directly in any systems we develop or operate, having a strong and robust partnership with local card processing companies certified with PCI and other security standards that allow them to store safely this kind of information. Any card data you get from the platform is merely proxied from the processor systems directly through a secure integration. You are responsible for the security of this data once you've requested access to it over the API, being obliged not to store this information in insecure environments and limiting the exposure of this information in end user devices and interfaces.</p>\n</blockquote>\n<h3 id=\"identifying-physical-and-virtual-cards\">Identifying physical and virtual cards</h3>\n<h3 id=\"examples-of-body-response-of-endpoint-get-walletswalletidcardscardid\">Examples of body response of endpoint <code>GET wallets/:walletId/cards/:cardId</code></h3>\n<p>To identify <strong>physical</strong> cards see the field <code>virtual</code> must be <code>virtual:false</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>    {\n        \"id\": \"a9938c36-f9a5-4a1d-802b-53e4dd7c2475\",\n        \"virtual\": false, //THIS MEANS PHYSICAL CARD\n        \"status\": \"available\",\n        \"updatedAt\": \"2020-10-13T14:57:32.555Z\",\n        \"createdAt\": \"2020-10-13T14:44:56.636Z\",\n        \"asset\": \"root\",\n        \"wallet\": {\n            \"id\": \"80349602-ad67-4737-a06b-e9918b51a38e\",\n            \"stellar\": {\n                \"publicKey\": \"GBIMVYYXYLNZ5ZW5WVL36MHG2G26VPOBEQ5KDGIMCDGXOKFRCBSSDUTZ\"\n            },\n            \"updatedAt\": \"2020-09-16T19:38:59.663Z\",\n            \"createdAt\": \"2020-09-16T19:38:59.663Z\",\n            \"deletedAt\": null,\n            \"additionalData\": {}\n        }\n    },\n</code></pre><p>To identify <strong>virtual</strong> card see the field <code>virtual</code> must be <code>virtual:true</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>    {\n        \"id\": \"f0e65ac6-0469-4ec8-b573-c837d269851d\",\n        \"virtual\": true, //THIS MEANS VIRUAL CARD\n        \"status\": \"available\",\n        \"updatedAt\": \"2021-03-25T19:31:45.675Z\",\n        \"createdAt\": \"2021-03-25T19:16:41.707Z\",\n        \"asset\": \"BRLD\",\n        \"wallet\": {\n            \"id\": \"80349602-ad67-4737-a06b-e9918b51a38e\",\n            \"stellar\": {\n                \"publicKey\": \"GBIMVYYXYLNZ5ZW5WVL36MHG2G26VPOBEQ5KDGIMCDGXOKFRCBSSDUTZ\"\n            },\n            \"updatedAt\": \"2020-09-16T19:38:59.663Z\",\n            \"createdAt\": \"2020-09-16T19:38:59.663Z\",\n            \"deletedAt\": null,\n            \"additionalData\": {}\n        }\n    }\n</code></pre><h3 id=\"embossing-named-or-no-named-cards\">Embossing named or no-named cards</h3>\n<p>All information about how to embossing physical <strong>named</strong> or <strong>no-named</strong> cards, please contact our Operations Team at the <a href=\"http://help.bitcapital.com.br/\">Help Desk Portal</a>.</p>\n<br />\n\n<h3 id=\"status-of-cards\">Status of cards</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>card status</th>\n<th>perfil</th>\n<th>info</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>available</code></strong></td>\n<td>unblocked status</td>\n<td>card ready to use</td>\n</tr>\n<tr>\n<td><code>blocked_invalid_password</code></td>\n<td>recoverable</td>\n<td>tried to unblock the card with wrong passord</td>\n</tr>\n<tr>\n<td><code>blocked_external</code></td>\n<td>blocked by card emissor</td>\n<td>must contact Help Desk</td>\n</tr>\n<tr>\n<td><code>cancelled</code></td>\n<td>unrecoverable</td>\n<td>cancelled</td>\n</tr>\n<tr>\n<td><code>suspect</code></td>\n<td>recoverable</td>\n<td>fraud suspect</td>\n</tr>\n<tr>\n<td><code>blocked</code></td>\n<td>recoverable</td>\n<td>first status when a a card is created/emitted</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"701d8e42-69ee-4557-93a4-da2e61533472","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9083ff77-d4e8-48f3-9ad0-633f38219841","type":"text/javascript","exec":[""]}}],"_postman_id":"651b95ad-2d3e-4cc0-84cc-070883d0a241","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Accounting","item":[{"name":"Total Custody by Asset","id":"a5ed61d3-45c8-4731-b2c4-98c0bff29f83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/accounting/custody/asset/:assetId","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["accounting","custody","asset",":assetId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>BRLP | VAVR | BRLC</p>\n","type":"text/plain"},"type":"string","value":"","key":"assetId"}]}},"response":[],"_postman_id":"a5ed61d3-45c8-4731-b2c4-98c0bff29f83"},{"name":"Total Custody by Wallet","id":"f55b4dc1-2402-48cf-9a0a-a73acb8fbb93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/accounting/wallet/:walletId/asset/:assetId","description":"<p>Displays the total volume of the specified asset based on the chosen wallet.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["accounting","wallet",":walletId","asset",":assetId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"string","value":"","key":"walletId"},{"description":{"content":"<p>BRLP | VAVR | BRLC</p>\n","type":"text/plain"},"type":"string","value":"","key":"assetId"}]}},"response":[],"_postman_id":"f55b4dc1-2402-48cf-9a0a-a73acb8fbb93"},{"name":"Balance of wallets","id":"1ff09994-92cb-404f-b9f3-2e0af5e81fae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/accounting/wallet-balance?limit=25&skip=0","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["accounting","wallet-balance"],"host":["{{API_BASE_URL}}"],"query":[{"description":{"content":"<p>number of items to show</p>\n","type":"text/plain"},"key":"limit","value":"25"},{"description":{"content":"<p>number of items to skip</p>\n","type":"text/plain"},"key":"skip","value":"0"}],"variable":[]}},"response":[{"id":"bfa45cf2-8649-4e15-a738-cd6ac0914051","name":"Single asset","originalRequest":{"method":"GET","header":[],"url":{"raw":"/accounting/wallet-balance?limit=25&skip=0","path":["accounting","wallet-balance"],"query":[{"key":"limit","value":"25"},{"key":"skip","value":"0"}]}},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"wallet\": \"e481a2f4-99ab-48af-b86a-89152f337a9e\",\n        \"balance\": [\n            {\n                \"amount\": \"97.000000\",\n                \"asset\": \"6a49e413-56dc-4efa-91ab-7d46bb9fc0c5\"\n            }\n        ]\n    }\n]"},{"id":"fb519f59-1115-4f2a-a35d-8245d690126d","name":"Multiple assets","originalRequest":{"method":"GET","header":[],"url":{"raw":"/accounting/wallet-balance?limit=25&skip=0","path":["accounting","wallet-balance"],"query":[{"key":"limit","value":"25"},{"key":"skip","value":"0"}]}},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"balance\": [\n            {\n                \"amount\": \"99.000000\",\n                \"asset\": \"90b36687-fcc4-4a46-b5be-cfe4ceb0611c\"\n            }\n        ],\n        \"wallet\": \"10cd9cb4-eca8-4f94-ad3d-4bda1213fd5c\"\n    },\n    {\n        \"balance\": [\n            {\n                \"amount\": \"88.000000\",\n                \"asset\": \"90b36687-fcc4-4a46-b5be-cfe4ceb0611c\"\n            },\n            {\n                \"amount\": \"11.000000\",\n                \"asset\": \"bccf03b5-efa4-4396-b086-da3c4b676348\"\n            }\n        ],\n        \"wallet\": \"f5cc528c-db51-4d61-8b2a-c66c3481885a\"\n    }\n]"}],"_postman_id":"1ff09994-92cb-404f-b9f3-2e0af5e81fae"}],"id":"8d34c8a6-7688-4ac6-b911-b572c543324a","description":"<blockquote>\n<p>this endpoint is avaliable only for <code>mediator</code>role.</p>\n</blockquote>\n<blockquote>\n<p>avaliable version 2.6.x or higher</p>\n</blockquote>\n<blockquote>\n<p>To verify your instance version use <code>GET /status</code></p>\n</blockquote>\n<br />\nCollection of endpoints that are useful for checking balances in custody.\n\n\n<p>To verify your instance version use <code>GET /status</code></p>\n","event":[{"listen":"prerequest","script":{"id":"37df3b85-173f-42c1-a56c-108363c86a58","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f8b14a8c-41b8-48c8-ac62-9d3f5c21a654","type":"text/javascript","exec":[""]}}],"_postman_id":"8d34c8a6-7688-4ac6-b911-b572c543324a","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"User management","item":[{"name":"Personal Data","item":[{"name":"Address","item":[{"name":"List all addresses","id":"5ff6d83b-7da2-42ba-a4db-e58eb2ac5d12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/:id/addresses","description":"<p>Get all addresses from a consumer by it's id.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:read</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","addresses"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"any","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","key":"id"}]}},"response":[],"_postman_id":"5ff6d83b-7da2-42ba-a4db-e58eb2ac5d12"},{"name":"Open a address","id":"c46d3690-df30-4b4f-89d6-bbcbd42301dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/:id/addresses/:addressId","description":"<p>Get a address by it's id.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:read</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","addresses",":addressId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"any","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","key":"id"},{"description":{"content":"<p>The address id.</p>\n","type":"text/plain"},"type":"any","value":"","key":"addressId"}]}},"response":[],"_postman_id":"c46d3690-df30-4b4f-89d6-bbcbd42301dd"},{"name":"Register new address","id":"22c939f6-63e0-4a22-b89c-9f7f7ef94301","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"country\": \"BR\",\n\t\"state\": \"SP\",\n\t\"city\": \"São Paulo\",\n\t\"code\": \"01310200\",\n\t\"street\": \"Av Paulista\",\n\t\"number\": \"1578\",\n\t\"complement\": \"\",\n\t\"reference\": \"Não tem\"\n}"},"url":"{{API_BASE_URL}}/consumers/:id/addresses","description":"<p>Create a address.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:write</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","addresses"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"any","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","key":"id"}]}},"response":[],"_postman_id":"22c939f6-63e0-4a22-b89c-9f7f7ef94301"},{"name":"Change a address","id":"e95c5c8d-c798-400b-9208-5649a1f23416","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"complement\": \"Ap 30\",\n\t\"reference\": \"Em frente à Bitcapital\"\n}"},"url":"{{API_BASE_URL}}/consumers/:id/addresses/:addressId","description":"<p>Update a address by it's id.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:write</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","addresses",":addressId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"any","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","key":"id"},{"description":{"content":"<p>The address id.</p>\n","type":"text/plain"},"type":"any","value":"","key":"addressId"}]}},"response":[],"_postman_id":"e95c5c8d-c798-400b-9208-5649a1f23416"},{"name":"Remove a address","id":"becabbce-d608-461b-ade2-790ba9ebeef6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{API_BASE_URL}}/consumers/:id/addresses/:addressId","description":"<p>Delete a address by it's id.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:write</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","addresses",":addressId"],"host":["{{API_BASE_URL}}"],"query":[{"disabled":true,"description":{"content":"<p>Hard delete</p>\n","type":"text/plain"},"key":"force","value":"false"}],"variable":[{"description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"any","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","key":"id"},{"description":{"content":"<p>The address id.</p>\n","type":"text/plain"},"type":"any","value":"","key":"addressId"}]}},"response":[],"_postman_id":"becabbce-d608-461b-ade2-790ba9ebeef6"}],"id":"86380764-5140-415e-acc7-bbb0ef21f926","_postman_id":"86380764-5140-415e-acc7-bbb0ef21f926","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Phone","item":[{"name":"List all phones","id":"0a38e22e-f932-4c69-99ec-ad7dc0d5e3a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/:id/phones","description":"<p>Get all phones from a consumer by it's id.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:read</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","phones"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"any","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","key":"id"}]}},"response":[],"_postman_id":"0a38e22e-f932-4c69-99ec-ad7dc0d5e3a5"},{"name":"Open a phone","id":"b571d65b-b9b0-448e-a0d5-98c9b5c850cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/:id/phones/:phoneId","description":"<p>Get a phone by it's id.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:read</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","phones",":phoneId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"any","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","key":"id"},{"description":{"content":"<p>The phone id.</p>\n","type":"text/plain"},"type":"any","value":"","key":"phoneId"}]}},"response":[],"_postman_id":"b571d65b-b9b0-448e-a0d5-98c9b5c850cb"},{"name":"Register new phone","id":"e278a2bf-d90b-4bdf-a12c-32312c6bfd3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"code\": \"11\",\n\t\"number\": \"988255455\",\n\t\"extension\": \"123\"\n}"},"url":"{{API_BASE_URL}}/consumers/:id/phones","description":"<p>Create a phone.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:write</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","phones"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"any","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","key":"id"}]}},"response":[],"_postman_id":"e278a2bf-d90b-4bdf-a12c-32312c6bfd3d"},{"name":"Change a phone","id":"df0d5bb3-5448-4824-8141-be8cc62aa038","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"extension\": \"321\"\n}"},"url":"{{API_BASE_URL}}/consumers/:id/phones/:phoneId","description":"<p>Update a phone by it's id.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:write</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","phones",":phoneId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"any","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","key":"id"},{"description":{"content":"<p>The phone id.</p>\n","type":"text/plain"},"type":"any","value":"","key":"phoneId"}]}},"response":[],"_postman_id":"df0d5bb3-5448-4824-8141-be8cc62aa038"},{"name":"Remove a phone","id":"c959d6a3-31bb-42d0-aac2-180c134a8184","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{API_BASE_URL}}/consumers/:id/phones/:phoneId","description":"<p>Delete a phone by it's id.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:write</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","phones",":phoneId"],"host":["{{API_BASE_URL}}"],"query":[{"disabled":true,"description":{"content":"<p>Hard delete</p>\n","type":"text/plain"},"key":"force","value":"false"}],"variable":[{"description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"any","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","key":"id"},{"description":{"content":"<p>The phone id.</p>\n","type":"text/plain"},"type":"any","value":"","key":"phoneId"}]}},"response":[],"_postman_id":"c959d6a3-31bb-42d0-aac2-180c134a8184"},{"name":"Verify a token SMS","id":"21bec925-e870-4f94-a272-42d950212b45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token\": \"4670\"\n}"},"url":"{{API_BASE_URL}}/consumers/:id/phones/:phoneId/verify","description":"<p>Sends a token to validate consumer mobile phone</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","phones",":phoneId","verify"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"2df9bf05-6f70-4185-98ba-337867681c8d","type":"string","value":"158ddfde-f482-4c45-849c-01bb9d1fafcf","key":"id"},{"id":"ab315b8f-b276-4a72-8efa-2f6b86cab7f9","type":"string","value":"18fc7e1b-78ae-4b8e-b452-d8491da6c383","key":"phoneId"}]}},"response":[{"id":"a4e76b09-e235-4966-ae08-6a99a80d0508","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token\": \"1234\"\n}"},"url":{"raw":"{{API_BASE_URL}}/consumers/:userId/phones/:phoneId/verify","host":["{{API_BASE_URL}}"],"path":["consumers",":userId","phones",":phoneId","verify"],"variable":[{"key":"userId","value":"9fcd5ded-2413-422a-8cc8-1d9ad332be5b"},{"key":"phoneId","value":"17b5a29b-379d-4173-afe9-18b938c22362"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] The token is invalid or expired. (stackId: 25d2cf6a-449b-4999-8889-f788963e62cc)\",\n    \"stackId\": \"25d2cf6a-449b-4999-8889-f788963e62cc\",\n    \"details\": {},\n    \"stack\": \"InvalidRequestError: [400] The token is invalid or expired. (stackId: 25d2cf6a-449b-4999-8889-f788963e62cc)\\n    at Function.<anonymous> (/home/ricardo/workspace/bitcapital/monorepo/core/core-api/api/controllers/PhoneController.ts:138:13)\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/home/ricardo/workspace/bitcapital/monorepo/core/core-api/dist/api/controllers/PhoneController.js:13:58)\"\n}"},{"id":"b4f67283-4d09-48e7-97d3-8a20af27c52c","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token\": \"9001\"\n}"},"url":{"raw":"{{API_BASE_URL}}/consumers/:userId/phones/:phoneId/verify","host":["{{API_BASE_URL}}"],"path":["consumers",":userId","phones",":phoneId","verify"],"variable":[{"key":"userId","value":"9fcd5ded-2413-422a-8cc8-1d9ad332be5b"},{"key":"phoneId","value":"17b5a29b-379d-4173-afe9-18b938c22362"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Phone successfuly verified.\"\n}"}],"_postman_id":"21bec925-e870-4f94-a272-42d950212b45"},{"name":"Send a token SMS","id":"9bc98bd9-a42c-460b-8087-5272b277641e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{API_BASE_URL}}/consumers/:userId/phones/:phoneId/send-token","description":"<p>Ask for a token for validate the consumer mobile phone</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":userId","phones",":phoneId","send-token"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"a5e0dc06-552f-42b5-9bf5-4788f695894f","type":"string","value":"9fcd5ded-2413-422a-8cc8-1d9ad332be5b","key":"userId"},{"id":"ffdc4f5b-ff08-4ada-a68f-f22bc92a6b7d","type":"string","value":"17b5a29b-379d-4173-afe9-18b938c22362","key":"phoneId"}]}},"response":[{"id":"86f4dc29-e385-4e55-8db1-83f285b00672","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{API_BASE_URL}}/consumers/:userId/phones/:phoneId/send-token","host":["{{API_BASE_URL}}"],"path":["consumers",":userId","phones",":phoneId","send-token"],"variable":[{"key":"userId","value":"9fcd5ded-2413-422a-8cc8-1d9ad332be5b"},{"key":"phoneId","value":"17b5a29b-379d-4173-afe9-18b938c22362"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] Request limit per period reached. (stackId: fe1d6eec-1815-4b35-ab76-3ab4240ef8eb)\",\n    \"stackId\": \"fe1d6eec-1815-4b35-ab76-3ab4240ef8eb\",\n    \"details\": {\n        \"timeToWait\": 56.378\n    },\n    \"stack\": \"InvalidRequestError: [400] Request limit per period reached. (stackId: fe1d6eec-1815-4b35-ab76-3ab4240ef8eb)\\n    at Phone.<anonymous> (/home/ricardo/workspace/bitcapital/monorepo/core/core-api/api/models/consumer/Phone.ts:78:13)\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/home/ricardo/workspace/bitcapital/monorepo/core/core-api/dist/api/models/consumer/Phone.js:13:58)\"\n}"},{"id":"986d87a4-9183-43e6-9614-42eec78cb7b3","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{API_BASE_URL}}/consumers/:userId/phones/:phoneId/send-token","host":["{{API_BASE_URL}}"],"path":["consumers",":userId","phones",":phoneId","send-token"],"variable":[{"key":"userId","value":"9fcd5ded-2413-422a-8cc8-1d9ad332be5b"},{"key":"phoneId","value":"17b5a29b-379d-4173-afe9-18b938c22362"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"coolDownTime\": 60,\n    \"expiresAt\": \"2019-08-19T14:34:23-03:00\",\n    \"expiresIn\": 300\n}"}],"_postman_id":"9bc98bd9-a42c-460b-8087-5272b277641e"}],"id":"580f9b76-8566-4db8-97b9-2cc78f1533f3","description":"<blockquote>\n<p>The platform accepts other kinds of phone different to mobile phones.</p>\n</blockquote>\n<blockquote>\n<p>To validate a SMS by token is necessary to have a mobile phone number.</p>\n</blockquote>\n<blockquote>\n<p>Is not possible to validate SMS token in a foreign mobile number. Valid only mobile numbers in Brazil.</p>\n</blockquote>\n","_postman_id":"580f9b76-8566-4db8-97b9-2cc78f1533f3","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Document","item":[{"name":"/consumers/:id/documents","id":"5c401c32-a58d-4c25-b220-89a5b6ecfc97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/:id/documents","description":"<p>Get all documents from a consumer by it's id.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:documents:read</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","documents"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"any","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","key":"id"}]}},"response":[{"id":"0af46ef5-08d8-452c-85ab-8e38af7e03c6","name":"404 - Consumer not Found","originalRequest":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/98ad9292-8a02-11e8-9a94-a6cf71072f73"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"602","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 21:01:27 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"25a-eZ+g7eXxISywu1OFRab6wyM519I\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\"status\":404,\"message\":\"[404] 98ad9292-8a02-11e8-9a94-a6cf71072f73 not found (stackId: 07a47b2d-6c1a-4857-8741-8e623ac31942)\",\"stackId\":\"07a47b2d-6c1a-4857-8741-8e623ac31942\",\"details\":{},\"stack\":\"HttpError: [404] 98ad9292-8a02-11e8-9a94-a6cf71072f73 not found (stackId: 07a47b2d-6c1a-4857-8741-8e623ac31942)\\n    at Object.<anonymous> (/home/rangel/Workspace/nxtep/bitcapital/bitcapital-core/api/filters/exists/consumer.ts:18:15)\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/home/rangel/Workspace/nxtep/bitcapital/bitcapital-core/api/filters/exists/consumer.ts:4:58)\\n    at <anonymous>\"}"},{"id":"e715e816-98ad-4d7b-a559-400383bea68d","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/consumers/:id/documents","host":["{{API_BASE_URL}}"],"path":["consumers",":id","documents"],"variable":[{"key":"id","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-API-Version","value":"0.0.7-alpha.2"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"187"},{"key":"ETag","value":"W/\"bb-U1ZiavWNI2m2lWx8eY48J5nQrGk\""},{"key":"Date","value":"Mon, 03 Dec 2018 19:40:54 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"consumer\": null,\n        \"updatedAt\": \"2018-12-03T21:40:35.215Z\",\n        \"number\": \"15.953.652-2\",\n        \"type\": \"brl_identity\",\n        \"createdAt\": \"2018-12-03T21:40:35.215Z\",\n        \"id\": \"860afde0-cd7e-47a8-b706-60bc72b23cb2\"\n    }\n]"}],"_postman_id":"5c401c32-a58d-4c25-b220-89a5b6ecfc97"},{"name":"/consumers/:id/documents/:documentIdOrType","id":"e51c42dc-81f3-40d6-8716-ac039e022078","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/:id/documents/:documentIdOrType","description":"<p>Get a document by it's type or id.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:documents:read</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","documents",":documentIdOrType"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"any","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","key":"id"},{"description":{"content":"<p>The document type or id.</p>\n","type":"text/plain"},"type":"any","value":"brl_identity","key":"documentIdOrType"}]}},"response":[{"id":"cbdc8dc7-5936-4665-8268-6e08d4c8283e","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/consumers/:id/documents/:type","host":["{{API_BASE_URL}}"],"path":["consumers",":id","documents",":type"],"variable":[{"key":"id","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","description":"The consumer id."},{"key":"type","value":"brl_identity","description":"The document type."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-API-Version","value":"0.0.7-alpha.2"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"224"},{"key":"ETag","value":"W/\"e0-5qdHSzrarnb3YDDzxkW+fKuoaL4\""},{"key":"Date","value":"Mon, 03 Dec 2018 19:42:23 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"consumer\": null,\n    \"selfie\": null,\n    \"back\": null,\n    \"front\": null,\n    \"updatedAt\": \"2018-12-03T21:40:35.215Z\",\n    \"number\": \"15.953.652-2\",\n    \"type\": \"brl_identity\",\n    \"createdAt\": \"2018-12-03T21:40:35.215Z\",\n    \"id\": \"860afde0-cd7e-47a8-b706-60bc72b23cb2\"\n}"},{"id":"e05cde11-7841-49d1-9879-f67773863d17","name":"404 - Consumer not Found","originalRequest":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/98ad9292-8a02-11e8-9a94-a6cf71072f73"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"602","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 21:01:27 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"25a-eZ+g7eXxISywu1OFRab6wyM519I\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\"status\":404,\"message\":\"[404] 98ad9292-8a02-11e8-9a94-a6cf71072f73 not found (stackId: 07a47b2d-6c1a-4857-8741-8e623ac31942)\",\"stackId\":\"07a47b2d-6c1a-4857-8741-8e623ac31942\",\"details\":{},\"stack\":\"HttpError: [404] 98ad9292-8a02-11e8-9a94-a6cf71072f73 not found (stackId: 07a47b2d-6c1a-4857-8741-8e623ac31942)\\n    at Object.<anonymous> (/home/rangel/Workspace/nxtep/bitcapital/bitcapital-core/api/filters/exists/consumer.ts:18:15)\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/home/rangel/Workspace/nxtep/bitcapital/bitcapital-core/api/filters/exists/consumer.ts:4:58)\\n    at <anonymous>\"}"}],"_postman_id":"e51c42dc-81f3-40d6-8716-ac039e022078"},{"name":"/consumers/:id/documents/:documentId","id":"f67e4b0e-6973-4026-b786-7d185f6cc561","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"number\": \"123456\"\n}"},"url":"{{API_BASE_URL}}/consumers/:id/documents/:documentId","description":"<p>Update a document by it's id.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:documents:write</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","documents",":documentId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"any","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","key":"id"},{"type":"any","value":"","key":"documentId"}]}},"response":[],"_postman_id":"f67e4b0e-6973-4026-b786-7d185f6cc561"},{"name":"/consumers/:id/documents/:type/:side (Form Data)","id":"a0a0e1c5-0101-4bee-867c-0d99eb28cdd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/home/guilherme/Pictures/Screenshot from 2020-04-24 17-02-21.png"},{"key":"number","value":"{{lastTaxId}}","type":"text"}]},"url":"{{API_BASE_URL}}/consumers/:id/documents/:type/:side","description":"<p>Uploads a picture and stores it related with the consumer using its UUID.\nIf there's no document of this type, it will be created.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:documents:write</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","documents",":type",":side"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"string","value":"{{newConsumerId}}","key":"id"},{"description":{"content":"<p>The document type</p>\n","type":"text/plain"},"type":"string","value":"brl_individual_reg","key":"type"},{"description":{"content":"<p>The document picture side</p>\n","type":"text/plain"},"type":"string","value":"selfie","key":"side"}]}},"response":[{"id":"9a5d81d3-0e68-4cf6-9b29-961f30725b55","name":"404 - Consumer not Found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"addresses\": [\n    {\n      \"geo\": {\n        \"x\": -22.8266116,\n        \"y\": -47.0761661\n      },\n      \"country\": \"Brasil\",\n      \"city\": \"Campinas\",\n      \"code\": \"11111-111\",\n      \"address\": \"Av. Dr. Romeu Tórtima\",\n      \"number\": \"1440\",\n      \"complement\": \"No Complement\"\n    }\n  ],\n  \"phones\": [\n    {\n        \"code\": 55,\n      \"number\": \"19996191600\"\n    }\n  ]\n}"},"url":"{{API_BASE_URL}}/consumers/98ad9292-8a02-11e8-9a94-a6cf71072f73"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"602","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 21:01:43 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"25a-h+MKs3fAp47Dmra33a1YTEL8eWc\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Vary","value":"X-HTTP-Method-Override","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\"status\":404,\"message\":\"[404] 98ad9292-8a02-11e8-9a94-a6cf71072f73 not found (stackId: b2e3c322-1259-4cbe-92b4-fdab5d7ed893)\",\"stackId\":\"b2e3c322-1259-4cbe-92b4-fdab5d7ed893\",\"details\":{},\"stack\":\"HttpError: [404] 98ad9292-8a02-11e8-9a94-a6cf71072f73 not found (stackId: b2e3c322-1259-4cbe-92b4-fdab5d7ed893)\\n    at Object.<anonymous> (/home/rangel/Workspace/nxtep/bitcapital/bitcapital-core/api/filters/exists/consumer.ts:18:15)\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/home/rangel/Workspace/nxtep/bitcapital/bitcapital-core/api/filters/exists/consumer.ts:4:58)\\n    at <anonymous>\"}"},{"id":"f75bd92f-dc19-4c36-ab27-730d8aad8975","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"picture","type":"file","src":null}]},"url":"{{API_BASE_URL}}/consumers/168501a1-5ac4-4844-a069-640d1deb4abc/documents/brl_identity/front"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"239","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Jul 2018 16:47:54 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"ef-tLK8U0KRpsiCbUnQPhKmksBhiIE\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Vary","value":"X-HTTP-Method-Override","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\"id\":\"c2caade9-04bc-4286-b54b-74a8d3228146\",\"createdAt\":\"2018-07-25T16:36:39.989Z\",\"updatedAt\":\"2018-07-25T16:47:33.957Z\",\"type\":\"brl_identity\",\"number\":\"15.953.652-2\",\"verifiedAt\":null,\"consumerId\":\"168501a1-5ac4-4844-a069-640d1deb4abc\"}"}],"_postman_id":"a0a0e1c5-0101-4bee-867c-0d99eb28cdd7"},{"name":"/consumers/:id/documents/:type/:side (Base64)","id":"c75c9231-24c2-4935-a1df-65d8083b17ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"picture\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=\",\n\t\"number\": \"123456\"\n}"},"url":"{{API_BASE_URL}}/consumers/:id/documents/:type/:side","description":"<p>Uploads a picture and stores it related with the consumer using its UUID using a BASE 64 string.\nIf there's no document of this type, it will be created.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:documents:write</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","documents",":type",":side"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"any","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","key":"id"},{"description":{"content":"<p>The document type</p>\n","type":"text/plain"},"type":"any","value":"brl_identity","key":"type"},{"description":{"content":"<p>The document picture side</p>\n","type":"text/plain"},"type":"any","value":"front","key":"side"}]}},"response":[{"id":"262e4aa7-86e7-46bb-967e-42c97117797e","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"picture","type":"file","src":null}]},"url":"{{API_BASE_URL}}/consumers/168501a1-5ac4-4844-a069-640d1deb4abc/documents/brl_identity/front"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"239","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Jul 2018 16:47:54 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"ef-tLK8U0KRpsiCbUnQPhKmksBhiIE\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Vary","value":"X-HTTP-Method-Override","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\"id\":\"c2caade9-04bc-4286-b54b-74a8d3228146\",\"createdAt\":\"2018-07-25T16:36:39.989Z\",\"updatedAt\":\"2018-07-25T16:47:33.957Z\",\"type\":\"brl_identity\",\"number\":\"15.953.652-2\",\"verifiedAt\":null,\"consumerId\":\"168501a1-5ac4-4844-a069-640d1deb4abc\"}"},{"id":"83f751fb-9b80-4ac5-a546-51614f7f2df6","name":"404 - Consumer not Found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"addresses\": [\n    {\n      \"geo\": {\n        \"x\": -22.8266116,\n        \"y\": -47.0761661\n      },\n      \"country\": \"Brasil\",\n      \"city\": \"Campinas\",\n      \"code\": \"11111-111\",\n      \"address\": \"Av. Dr. Romeu Tórtima\",\n      \"number\": \"1440\",\n      \"complement\": \"No Complement\"\n    }\n  ],\n  \"phones\": [\n    {\n        \"code\": 55,\n      \"number\": \"19996191600\"\n    }\n  ]\n}"},"url":"{{API_BASE_URL}}/consumers/98ad9292-8a02-11e8-9a94-a6cf71072f73"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"602","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 21:01:43 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"25a-h+MKs3fAp47Dmra33a1YTEL8eWc\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Vary","value":"X-HTTP-Method-Override","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\"status\":404,\"message\":\"[404] 98ad9292-8a02-11e8-9a94-a6cf71072f73 not found (stackId: b2e3c322-1259-4cbe-92b4-fdab5d7ed893)\",\"stackId\":\"b2e3c322-1259-4cbe-92b4-fdab5d7ed893\",\"details\":{},\"stack\":\"HttpError: [404] 98ad9292-8a02-11e8-9a94-a6cf71072f73 not found (stackId: b2e3c322-1259-4cbe-92b4-fdab5d7ed893)\\n    at Object.<anonymous> (/home/rangel/Workspace/nxtep/bitcapital/bitcapital-core/api/filters/exists/consumer.ts:18:15)\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/home/rangel/Workspace/nxtep/bitcapital/bitcapital-core/api/filters/exists/consumer.ts:4:58)\\n    at <anonymous>\"}"}],"_postman_id":"c75c9231-24c2-4935-a1df-65d8083b17ad"},{"name":"/consumers/:id/documents/:id","id":"263243e1-4007-445c-bdc4-120dce64a7ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{API_BASE_URL}}/consumers/:id/documents/:documentId?force=false","description":"<p>Delete a document by it's id.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:documents:write</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","documents",":documentId"],"host":["{{API_BASE_URL}}"],"query":[{"description":{"content":"<p>Hard delete</p>\n","type":"text/plain"},"key":"force","value":"false"}],"variable":[{"description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"any","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","key":"id"},{"description":{"content":"<p>The document id.</p>\n","type":"text/plain"},"type":"any","value":"","key":"documentId"}]}},"response":[],"_postman_id":"263243e1-4007-445c-bdc4-120dce64a7ed"}],"id":"1062ed66-18b9-4e66-8e81-33987b50f4ba","event":[{"listen":"prerequest","script":{"id":"b72bd5eb-f364-45ce-b56b-6287836ca9e1","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"00e96d42-4b16-4572-8b5c-d1278ed4c5f5","type":"text/javascript","exec":[""]}}],"_postman_id":"1062ed66-18b9-4e66-8e81-33987b50f4ba","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Open personal data","id":"b52eb1e7-a6ab-40d2-b059-e36ad15a1e28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/:id","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"b52eb1e7-a6ab-40d2-b059-e36ad15a1e28"},{"name":"Change personal data","id":"0e5749b9-7dab-4ff5-8e46-59a1190a36ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"f0abeb45-d573-41b3-8f77-8cc4e6abd15d\", //consumerID\n    \"lastName\": \"Souza\",\n    \"email\": \"new-email@mail.com\"\n}\n// change all fields necessary, in this example the field lastName and email will be changed","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/consumers/:id","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"0e5749b9-7dab-4ff5-8e46-59a1190a36ec"}],"id":"46c981df-4f64-482c-93bc-92fabb4146de","_postman_id":"46c981df-4f64-482c-93bc-92fabb4146de","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Administrative users","item":[{"name":"Create administrative users","id":"6fed6fc2-f4aa-45b7-ace5-b3f814142a0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Operator\",\n    \"lastName\": \"Da Silva\",\n    \"email\": \"teste@emaillll.com\",\n    \"password\": \"1234\",\n    \"role\": \"audit\", // audit | operator\n    \"domain\": \"5f1953f1-8035-4a58-9390-b456065be79a\" //set your domainID\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/users","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["users"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"afb63f31-f1e5-47d7-aead-ed03b51679b1","name":"Audit created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Audit\",\n    \"lastName\": \"Da Silva\",\n    \"email\": \"teste@emaillll.com\",\n    \"password\": \"1234\",\n    \"role\": \"audit\", // audit | operator\n    \"domain\": \"5f1953f1-8035-4a58-9390-b456065be79a\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/users"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"ba8525f3-ba27-459a-be7f-43b2d8595ff4\",\n    \"status\": \"active\",\n    \"name\": \"Audit Da Silva\",\n    \"firstName\": \"Operator\",\n    \"lastName\": \"Da Silva\",\n    \"username\": \"teste@emaillll.com\",\n    \"email\": \"teste@emaillll.com\",\n    \"role\": \"audit\",\n    \"twoFactorRequired\": false,\n    \"updatedAt\": \"2021-03-19T20:21:52.260Z\",\n    \"createdAt\": \"2021-03-19T20:21:52.260Z\",\n    \"states\": [\n        {\n            \"id\": \"32ba104c-362c-46fd-8808-27be4e541045\",\n            \"status\": \"active\",\n            \"createdAt\": \"2021-03-19T20:21:52.280Z\",\n            \"updatedAt\": \"2021-03-19T20:21:52.280Z\",\n            \"additionalData\": {}\n        }\n    ],\n    \"domain\": {\n        \"id\": \"5f1953f1-8035-4a58-9390-b456065be79a\",\n        \"name\": \"TESTE_QA\",\n        \"role\": \"common\"\n    }\n}"},{"id":"e85b6311-b8ce-4946-b4e6-a691c7aeaae0","name":"Operator created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Operator\",\n    \"lastName\": \"Da Silva\",\n    \"email\": \"teste@emaillll.com\",\n    \"password\": \"1234\",\n    \"role\": \"operator\", // audit | operator\n    \"domain\": \"5f1953f1-8035-4a58-9390-b456065be79a\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/users"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"ba8525f3-ba27-459a-be7f-43b2d8595ff4\",\n    \"status\": \"active\",\n    \"name\": \"Operator Da Silva\",\n    \"firstName\": \"Operator\",\n    \"lastName\": \"Da Silva\",\n    \"username\": \"teste@emaillll.com\",\n    \"email\": \"teste@emaillll.com\",\n    \"role\": \"operator\",\n    \"twoFactorRequired\": false,\n    \"updatedAt\": \"2021-03-19T20:21:52.260Z\",\n    \"createdAt\": \"2021-03-19T20:21:52.260Z\",\n    \"states\": [\n        {\n            \"id\": \"32ba104c-362c-46fd-8808-27be4e541045\",\n            \"status\": \"active\",\n            \"createdAt\": \"2021-03-19T20:21:52.280Z\",\n            \"updatedAt\": \"2021-03-19T20:21:52.280Z\",\n            \"additionalData\": {}\n        }\n    ],\n    \"domain\": {\n        \"id\": \"5f1953f1-8035-4a58-9390-b456065be79a\",\n        \"name\": \"TESTE_QA\",\n        \"role\": \"common\"\n    }\n}"}],"_postman_id":"6fed6fc2-f4aa-45b7-ace5-b3f814142a0f"}],"id":"e6f7705b-a684-401c-b85a-f2e9bf09e485","description":"<p>Administrative users are specific roles for users who can use the platform in an administratively in the system.</p>\n<p>Administrative users do not have wallets. Therefore, these roles cannot move or execute transactions.</p>\n<p>They have limited roles and scopes as to their action. <strong>All creation and management of these users must be the responsibility of the domain <code>mediator</code>.</strong></p>\n<p>To understand your permissions and scopes <a href=\"https://docs.bitcapital.com.br/?version=latest#understanding-your-platform\">visit this page.</a></p>\n<br />\n\n<p>Necessary SCOPE to perform <code>users:write</code></p>\n<p><code>Black Box Gherking</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">GIVEN mediator is logged\nWHEN mediator perform the action\nTHEN the response should be 200\nAND the \"role\" field should be \"audit\" or \"operator\" according to the perform\n</code></pre>\n","_postman_id":"e6f7705b-a684-401c-b85a-f2e9bf09e485","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Open a UserId","id":"80ddb86f-6d79-4e27-b40a-b94b7c2b09eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/users/:id","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["users",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"string","value":"{{userId}}","key":"id"}]}},"response":[],"_postman_id":"80ddb86f-6d79-4e27-b40a-b94b7c2b09eb"},{"name":"Search by Name or Email","id":"b3bf5661-bd32-4b86-8e0d-e71ae52c6ff7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/wallets?email=emailofuser@email.com&name=bruno&limit=50&skip=0","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets"],"host":["{{API_BASE_URL}}"],"query":[{"description":{"content":"<p>email ( <strong>all users with the same email will shown</strong>)</p>\n","type":"text/plain"},"key":"email","value":"emailofuser@email.com"},{"description":{"content":"<p>name or part-name of consumer</p>\n","type":"text/plain"},"key":"name","value":"bruno"},{"description":{"content":"<p>number of items to show</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>number of items to skip</p>\n","type":"text/plain"},"key":"skip","value":"0"}],"variable":[]}},"response":[],"_postman_id":"b3bf5661-bd32-4b86-8e0d-e71ae52c6ff7"},{"name":"Search by consumer status","id":"452bd05a-3394-4eae-a97e-1679df178bab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers?limit=50&skip=0&status=ready","description":"<blockquote>\n<p>this endpoint applies only for Core v2.x.x</p>\n</blockquote>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers"],"host":["{{API_BASE_URL}}"],"query":[{"description":{"content":"<p>number of items to show</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>number of items to skip</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>ready | pending | failed</p>\n","type":"text/plain"},"key":"status","value":"ready"}],"variable":[]}},"response":[],"_postman_id":"452bd05a-3394-4eae-a97e-1679df178bab"},{"name":"Search by TaxId","id":"b8b6db0a-1507-4df0-8ad1-0e53ddef963d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers?limit=50&skip=0&taxId={{taxId}}","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers"],"host":["{{API_BASE_URL}}"],"query":[{"description":{"content":"<p>number of items to show</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>number of items to skip</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>taxID (CPF or CNPJ)</p>\n","type":"text/plain"},"key":"taxId","value":"{{taxId}}"}],"variable":[]}},"response":[],"_postman_id":"b8b6db0a-1507-4df0-8ad1-0e53ddef963d"},{"name":"Search by Role","id":"88875aff-ac2a-4a30-b849-a0724063920b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/users/role/:role?skip=0&limit=50","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["users","role",":role"],"host":["{{API_BASE_URL}}"],"query":[{"description":{"content":"<p>number of items to show</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>number of items to skip</p>\n","type":"text/plain"},"key":"limit","value":"50"}],"variable":[{"description":{"content":"<p>consumer | audit | mediator | operator</p>\n","type":"text/plain"},"type":"string","value":"","key":"role"}]}},"response":[],"_postman_id":"88875aff-ac2a-4a30-b849-a0724063920b"},{"name":"Change user data","id":"3900046a-27bd-48b8-8ff4-354584292e7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"firstName\": \"John\",\n\t\"lastName\": \"Connor\",\n\t\"email\": \"example@example.org\"\n}"},"url":"{{API_BASE_URL}}/users/:id","description":"<p>Update a user by it's id.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["users",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"any","value":"{{userId}}","key":"id"}]}},"response":[],"_postman_id":"3900046a-27bd-48b8-8ff4-354584292e7d"},{"name":"Delete a user","id":"772845f7-df97-4c5b-ab29-5eba56880d9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"{{API_BASE_URL}}/users/:id","description":"<p>All users deleted on the platform are not deleted instantly. Users remain in the <code>pending_deletion</code> state for 30 days.\nUsers with a balance in their wallets cannot be deleted.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["users",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"any","value":"e377d512-f8db-411b-b388-26d92fa715ce","key":"id"}]}},"response":[],"_postman_id":"772845f7-df97-4c5b-ab29-5eba56880d9e"},{"name":"List users in pending deletion","id":"c2822bb0-5df0-4dc8-8335-a6e1175a9248","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers?limit=50&skip=0","description":"<p>Get a list of consumers that are pending for being deleted.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:read</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers"],"host":["{{API_BASE_URL}}"],"query":[{"description":{"content":"<p>number of items to show</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>number of items to skip</p>\n","type":"text/plain"},"key":"skip","value":"0"}],"variable":[]}},"response":[{"id":"817491d4-9b88-4aa0-b738-b75a105283b7","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/consumers/pending-deletion?limit=25&skip=0","host":["{{API_BASE_URL}}"],"path":["consumers","pending-deletion"],"query":[{"key":"limit","value":"25","description":"Maximum amout of consumers shown"},{"key":"skip","value":"0","description":"How many consumers to 'skip'"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 25 Apr 2020 15:22:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2"},{"key":"Connection","value":"keep-alive"},{"key":"X-API-Version","value":"2.0.6"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"1587828185"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"ETag","value":"W/\"2-l9Fw4VUO7kr8CvBlt4zaMCqXZ0w\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"58990ed0d8aef39f-GRU"},{"key":"cf-request-id","value":"02538796840000f39fbc305200000001"}],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"c2822bb0-5df0-4dc8-8335-a6e1175a9248"},{"name":"Block user","id":"223c2e02-aa8b-476e-a9b9-b23a7a5ddc85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"statusId\": 6\n}"},"url":"{{API_BASE_URL}}/consumers/:id/block","description":"<p>Block a consumer by it's id.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:block</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","block"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"any","value":"{{userId}}","key":"id"}]}},"response":[],"_postman_id":"223c2e02-aa8b-476e-a9b9-b23a7a5ddc85"},{"name":"Unblock user","id":"3900e85b-5fc6-49ff-81ee-c24d0c19a211","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{API_BASE_URL}}/consumers/:id/unblock","description":"<p>Unblock a consumer by it's id.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:block</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","unblock"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"any","value":"{{userId}}","key":"id"}]}},"response":[],"_postman_id":"3900e85b-5fc6-49ff-81ee-c24d0c19a211"},{"name":"Reset user password by email","event":[{"listen":"test","script":{"id":"95b308be-9a40-4d3b-8c89-25d330fdcdf8","exec":["","pm.test(\"Valid OAuth 2.0 credentials\", function () {","    var jsonData = pm.response.json();","    pm.expect(jsonData.access_token).to.be.ok;","    pm.environment.set(\"NG_BEARER_TOKEN\", jsonData.access_token);","});"],"type":"text/javascript"}}],"id":"3ea5b931-3e82-4175-9ee3-a027a288f31d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"username":"<username>","password":"<password>","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"emailOfuser@email.com","description":"<p>email of user</p>\n","type":"text"}]},"url":"{{API_BASE_URL}}/users/reset","description":"<p>Generates a reset token and sends instructions to the User email address for him to set a new password in the platform.</p>\n","urlObject":{"path":["users","reset"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ea5b931-3e82-4175-9ee3-a027a288f31d"},{"name":"Set new password by token","event":[{"listen":"test","script":{"id":"95b308be-9a40-4d3b-8c89-25d330fdcdf8","exec":["","pm.test(\"Valid OAuth 2.0 credentials\", function () {","    var jsonData = pm.response.json();","    pm.expect(jsonData.access_token).to.be.ok;","    pm.environment.set(\"NG_BEARER_TOKEN\", jsonData.access_token);","});"],"type":"text/javascript"}}],"id":"95b5e535-3e0c-423f-b4e4-bd8419dd4ac9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"username":"<username>","password":"<password>","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","value":"{{theSecretToken}}","description":"<p>secret token received by email (a uuidv4 format)</p>\n","type":"text"},{"key":"password","value":"12345678","description":"<p>set the new password. (min 8 characters) </p>\n","type":"text"}]},"url":"{{API_BASE_URL}}/users/password","description":"<p>Changes the user password using a Secret Token sent using the <code>/users/reset</code> endpoint. The token will be delivered in the registered email of the user specified.</p>\n","urlObject":{"path":["users","password"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"95b5e535-3e0c-423f-b4e4-bd8419dd4ac9"}],"id":"972a59f8-7a7d-4c32-bc8f-2eb9942c3190","_postman_id":"972a59f8-7a7d-4c32-bc8f-2eb9942c3190","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Finance  management","item":[{"name":"Limit","item":[{"name":"View limits of a user","id":"2d1e678a-949c-4ea3-89f4-ee51a2d6ef57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/:id/limits","description":"<p>Get all limits from a consumer by it's id.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:read</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","limits"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"string","value":"{{userId}}","key":"id"}]}},"response":[],"_postman_id":"2d1e678a-949c-4ea3-89f4-ee51a2d6ef57"},{"name":"View a limit-type of a user","id":"497ce42a-9542-412e-bf39-4569d7900c71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/:id/limits/:type","description":"<p>All avaliable types of limits</p>\n<blockquote>\n<p>For this functionality its necessary to set a feature toogles in your instance. This configuration is business requirement.</p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>type</th>\n<th>status</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>num_cards_active</code></td>\n<td>avaliable</td>\n</tr>\n<tr>\n<td><code>num_boletos_per_day</code></td>\n<td>avaliable</td>\n</tr>\n<tr>\n<td><code>sum_boletos_last_24hours</code></td>\n<td>on demand</td>\n</tr>\n<tr>\n<td><code>transaction_sum_current_day</code></td>\n<td>avaliable</td>\n</tr>\n<tr>\n<td><code>transaction_sum_current_month</code></td>\n<td>avaliable</td>\n</tr>\n<tr>\n<td><code>transaction_sum_current_week</code></td>\n<td>avaliable</td>\n</tr>\n<tr>\n<td><code>received_current_day</code></td>\n<td>avaliable</td>\n</tr>\n<tr>\n<td><code>received_current_month</code></td>\n<td>avaliable</td>\n</tr>\n<tr>\n<td><code>received_current_week</code></td>\n<td>travaliablee</td>\n</tr>\n<tr>\n<td><code>per_transaction</code></td>\n<td>on demand</td>\n</tr>\n<tr>\n<td><code>mobile_credit_sum_current_day</code></td>\n<td>deprecated</td>\n</tr>\n</tbody>\n</table>\n</div><br />\n\n<p><strong>Scopes:</strong> <code>users:read</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","limits",":type"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"string","value":"{{userId}}","key":"id"},{"description":{"content":"<p>list of  avaliable types in the description</p>\n","type":"text/plain"},"type":"string","value":"{{type}}","key":"type"}]}},"response":[],"_postman_id":"497ce42a-9542-412e-bf39-4569d7900c71"},{"name":"Set a limit in a user","id":"40b9edb6-7e8c-40ca-aaba-dccd704aa068","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"value\": 5\n}"},"url":"{{API_BASE_URL}}/consumers/:id/limits/:type","description":"<p>Set (create or update) an user limit.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:write</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","limits",":type"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"b0c81e40-e57d-42b3-a4dd-3135f2841d0b","description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"string","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","key":"id"},{"id":"0e69c673-1599-4cb2-941d-87cec74c0e14","type":"string","value":"num_cards_active","key":"type"}]}},"response":[],"_postman_id":"40b9edb6-7e8c-40ca-aaba-dccd704aa068"},{"name":"Remove limit-type of a user","id":"aecccaf4-1dd3-4069-83cc-982514712802","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{API_BASE_URL}}/consumers/:id/limits/:type","description":"<p>Delete a limit by it's type.</p>\n<br />\n\n<p><strong>Scopes:</strong> <code>users:write</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","limits",":type"],"host":["{{API_BASE_URL}}"],"query":[{"disabled":true,"description":{"content":"<p>Hard delete</p>\n","type":"text/plain"},"key":"force","value":"false"}],"variable":[{"id":"b6cc9950-d2da-4ec5-8390-87b12c863dc6","description":{"content":"<p>The consumer's user id.</p>\n","type":"text/plain"},"type":"string","value":"d01e8d22-219d-4b57-bf71-900cfb5eed6d","key":"id"},{"id":"ffb25fcf-de84-4171-98a3-5383f59bf029","type":"string","value":"num_cards_active","key":"type"}]}},"response":[],"_postman_id":"aecccaf4-1dd3-4069-83cc-982514712802"}],"id":"981477ba-fd1b-451f-b3b6-833bf74192e0","event":[{"listen":"prerequest","script":{"id":"7b1dc9d1-4be5-443e-8686-b36db65960b0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d4c39042-5bec-4124-b2e1-bd619a615917","type":"text/javascript","exec":[""]}}],"_postman_id":"981477ba-fd1b-451f-b3b6-833bf74192e0","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Assets management","item":[{"name":"List assets","id":"d5a70d85-7576-41ff-9f2e-47204a699e8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/assets","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["assets"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d5a70d85-7576-41ff-9f2e-47204a699e8a"},{"name":"identify root asset","id":"5ed9665a-6f1f-49f4-aaf3-849386c2d7e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/assets/root","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["assets","root"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ed9665a-6f1f-49f4-aaf3-849386c2d7e3"},{"name":"Get asset code by id","id":"b4d9d69c-e6d2-4333-816d-0131c131231c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/assets/:id","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["assets",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>Gets an asset based on its id.</p>\n","type":"text/plain"},"type":"any","value":"{{uuidv4}}","key":"id"}]}},"response":[],"_postman_id":"b4d9d69c-e6d2-4333-816d-0131c131231c"},{"name":"Get asset id by code","id":"9047b682-9a4a-4c5a-9319-4160fb32c2dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/assets/:code","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["assets",":code"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>Gets an asset based on its code.</p>\n","type":"text/plain"},"type":"any","value":"BRLD","key":"code"}]}},"response":[],"_postman_id":"9047b682-9a4a-4c5a-9319-4160fb32c2dd"},{"name":"Create asset","id":"14125fe4-b9bf-4c72-9cd6-d07011530e5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Test Coin\", //name (optional)\n\t\"code\": \"TCN\" //must be 4 CHAR upppercase\n}"},"url":"{{API_BASE_URL}}/assets","description":"<blockquote>\n<p>this only can be perfomed by <code>admin</code></p>\n</blockquote>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["assets"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"d7659fda-3247-4eea-99ab-c65030115221","name":"Asset created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Test Coin\", //name (optional)\n\t\"code\": \"TCN\" //must be 4 CHAR upppercase\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/assets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"ab80816c-9bb0-4a05-916f-6b1787833154\",\n    \"code\": \"TCN\",\n    \"name\": \"Test Coin\",\n    \"wallet\": {\n        \"id\": \"83457697-c38a-4b24-8d3f-bbcca07d433e\",\n        \"data\": {\n            \"publicKey\": \"GDOQ3GR2KPWBA33CLMQQSXLSFOVVSKANVLB5XNI5AAKXOTNLE4IR7FGC\"\n        },\n        \"type\": \"stellar\",\n        \"createdAt\": \"2018-08-09T02:20:21.819Z\",\n        \"updatedAt\": \"2018-08-09T02:20:21.819Z\"\n    },\n    \"createdAt\": \"2018-08-09T03:32:13.528Z\",\n    \"updatedAt\": \"2018-08-09T03:32:13.528Z\"\n}"}],"_postman_id":"14125fe4-b9bf-4c72-9cd6-d07011530e5a"},{"name":"Emit assets","event":[{"listen":"prerequest","script":{"id":"a8f871f6-7848-40a9-a6e3-1f3b801683c4","exec":["// Basic request data","const timestamp = Date.now();","const method = request.method.toUpperCase();","const url = request.url.split(\"{{API_BASE_URL}}\")[1];","","// Building request signature payload","const payload = [","    method,","    url,","    timestamp,","];","","// For POST and PUT methods, we must also pass the raw body ","if(method === 'POST' || method === 'PUT') {","    // Make sure JSON file has no tabs, spaces or new lines (uglify JSON)","    payload.push(JSON.stringify(JSON.parse(request.data)));","}","","console.log('Request signature payload', payload);","","// Generating hex for request signature","const hash = CryptoJS.HmacSHA256(payload.join(','), pm.environment.get('OAUTH_CLIENT_SECRET'));","const signature = CryptoJS.enc.Hex.stringify(hash);","","// Setting results as environment variables","pm.environment.set(\"X_REQUEST_SIGNATURE\", signature);","pm.environment.set(\"X_REQUEST_TIMESTAMP\", timestamp);","",""],"type":"text/javascript"}}],"id":"0840a11e-9a81-44f6-91db-2debf1c65d28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Request-Signature","value":"{{X_REQUEST_SIGNATURE}}","description":"<p>The request signature</p>\n","type":"text"},{"key":"X-Request-Timestamp","value":"{{X_REQUEST_TIMESTAMP}}","description":"<p>The request timestamp</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"amount\": \"10.00\",\n\t\"destination\": \"5417cfab-7c73-4d67-84d3-450319455081\" //walletID\n}"},"url":"{{API_BASE_URL}}/assets/:idOrCode/emit","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["assets",":idOrCode","emit"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The Asset ID or code</p>\n","type":"text/plain"},"type":"any","value":"BRLP","key":"idOrCode"}]}},"response":[{"id":"a30174bb-77a9-424b-ae9b-34181a77c02d","name":"Wallet not ready","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Request-Signature","value":"{{X_REQUEST_SIGNATURE}}","description":"The request signature","type":"text"},{"key":"X-Request-Timestamp","value":"{{X_REQUEST_TIMESTAMP}}","description":"The request timestamp","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"amount\": \"10.00\",\n\t\"destination\": \"5417cfab-7c73-4d67-84d3-450319455081\" //walletID\n}"},"url":{"raw":"{{API_BASE_URL}}/assets/:idOrCode/emit","host":["{{API_BASE_URL}}"],"path":["assets",":idOrCode","emit"],"variable":[{"key":"idOrCode","value":"ab80816c-9bb0-4a05-916f-6b1787833154","description":"The Asset ID or code"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] Wallet is not in the required state for the requested operation (stackId: 3a42db64-bcde-42fc-b757-6fdb8e72966e)\",\n    \"stackId\": \"3a42db64-bcde-42fc-b757-6fdb8e72966e\",\n    \"details\": {\n        \"entityId\": \"f5cc528c-db51-4d61-8b2a-c66c3481885a\",\n        \"requiredStatus\": \"ready\"\n    }\n}"},{"id":"5c41d87a-34bd-47d3-812b-d1f3f8b499fe","name":"Asset emmited","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Request-Signature","value":"{{X_REQUEST_SIGNATURE}}","description":"The request signature","type":"text"},{"key":"X-Request-Timestamp","value":"{{X_REQUEST_TIMESTAMP}}","description":"The request timestamp","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"amount\": \"10.00\",\n\t\"destination\": \"5417cfab-7c73-4d67-84d3-450319455081\" //walletID\n}"},"url":{"raw":"{{API_BASE_URL}}/assets/:idOrCode/emit","host":["{{API_BASE_URL}}"],"path":["assets",":idOrCode","emit"],"variable":[{"key":"idOrCode","value":"BRLP","description":"The Asset ID or code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"941bae71-db37-4c13-aa80-0214aa9062f5\",\n    \"type\": \"payment\",\n    \"status\": \"AUTHORIZED\",\n    \"createdAt\": \"2021-03-24T18:57:48.515Z\",\n    \"updatedAt\": \"2021-03-24T18:57:48.515Z\",\n    \"payments\": [\n        {\n            \"id\": \"b1e105fd-cc0c-4bcb-bce9-b0ba7cbf68bf\",\n            \"type\": \"deposit\",\n            \"status\": \"settled\",\n            \"createdAt\": \"2021-03-24T18:57:48.532Z\",\n            \"updatedAt\": \"2021-03-24T18:57:48.532Z\",\n            \"amount\": \"999.00\",\n            \"destination\": {\n                \"id\": \"53fb337e-3990-4d79-93b7-07fc94a6be27\",\n                \"stellar\": {\n                    \"publicKey\": \"GBQDPJJPYH5D67KUDVCARD33ZE66W7BODKXVYPY5OCT77J5PEBREDGER\"\n                },\n                \"updatedAt\": \"2021-03-24T18:41:25.127Z\",\n                \"createdAt\": \"2021-03-24T18:41:25.127Z\",\n                \"deletedAt\": null,\n                \"additionalData\": {}\n            },\n            \"asset\": {\n                \"id\": \"936bdcd0-4d95-4108-83e4-cb3caa53e44a\",\n                \"name\": \"BRL Parati\",\n                \"code\": \"BRLP\",\n                \"root\": true,\n                \"provider\": \"parati-provider\",\n                \"required\": true,\n                \"createdAt\": \"2020-03-23T06:47:10.274Z\",\n                \"updatedAt\": \"2020-03-23T06:47:10.274Z\"\n            }\n        }\n    ],\n    \"source\": {\n        \"id\": \"806c7cdb-ab18-401d-909b-d2777c836a07\",\n        \"root\": true,\n        \"stellar\": {\n            \"publicKey\": \"GBV4UAYCK3QKVIOEYIBC54C4VEELGAAE4Z5YKOSM62PHJKVYWZIUOU6R\"\n        },\n        \"updatedAt\": \"2020-03-23T06:47:10.264Z\",\n        \"createdAt\": \"2020-03-23T06:47:10.264Z\",\n        \"deletedAt\": null,\n        \"additionalData\": {}\n    },\n    \"states\": [\n        {\n            \"id\": \"8dfa3d38-f4d2-43a0-b66c-9f8f35934fba\",\n            \"status\": \"AUTHORIZED\",\n            \"createdAt\": \"2021-03-24T18:57:48.557Z\",\n            \"updatedAt\": \"2021-03-24T18:57:48.557Z\",\n            \"additionalData\": {\n                \"skipped\": [\n                    {\n                        \"asset\": \"BRLP\",\n                        \"payment\": \"b1e105fd-cc0c-4bcb-bce9-b0ba7cbf68bf\",\n                        \"provider\": \"parati-provider\"\n                    }\n                ],\n                \"authorized\": []\n            }\n        },\n        {\n            \"id\": \"d5048f94-9d2b-4dd8-aa56-0c90d88292d1\",\n            \"status\": \"pending\",\n            \"createdAt\": \"2021-03-24T18:57:48.522Z\",\n            \"updatedAt\": \"2021-03-24T18:57:48.522Z\",\n            \"additionalData\": {}\n        }\n    ],\n    \"additionalData\": {}\n}"}],"_postman_id":"0840a11e-9a81-44f6-91db-2debf1c65d28"},{"name":"Destroy assets","event":[{"listen":"prerequest","script":{"id":"9ee0ac17-fdf7-4eea-b057-fb6bba02ac97","exec":["// Basic request data","const timestamp = Date.now();","const method = request.method.toUpperCase();","const url = request.url.split(\"{{API_BASE_URL}}\")[1];","","// Building request signature payload","const payload = [","    method,","    url,","    timestamp,","];","","// For POST and PUT methods, we must also pass the raw body ","if(method === 'POST' || method === 'PUT') {","    // Make sure JSON file has no tabs, spaces or new lines (uglify JSON)","    payload.push(JSON.stringify(JSON.parse(request.data)));","}","","console.log('Request signature payload', payload);","","// Generating hex for request signature","const hash = CryptoJS.HmacSHA256(payload.join(','), pm.environment.get('OAUTH_CLIENT_SECRET'));","const signature = CryptoJS.enc.Hex.stringify(hash);","","// Setting results as environment variables","pm.environment.set(\"X_REQUEST_SIGNATURE\", signature);","pm.environment.set(\"X_REQUEST_TIMESTAMP\", timestamp);"],"type":"text/javascript"}}],"id":"84908083-23fd-46ea-9948-8c7ce146949d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Request-Timestamp","value":"{{X_REQUEST_TIMESTAMP}}","description":"<p>The request signature</p>\n","type":"text"},{"key":"X-Request-Signature","value":"{{X_REQUEST_SIGNATURE}}","description":"<p>The request timestamp</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"amount\": \"10.00\", \n\t\"source\": \"5417cfab-7c73-4d67-84d3-450319455081\" //walletID\n}"},"url":"{{API_BASE_URL}}/assets/:idOrCode/destroy","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["assets",":idOrCode","destroy"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The Asset ID or code</p>\n","type":"text/plain"},"type":"any","value":"ab80816c-9bb0-4a05-916f-6b1787833154","key":"idOrCode"}]}},"response":[{"id":"c4c28847-2c57-4440-90af-a17bb900818a","name":"Asset destryed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Request-Timestamp","value":"{{X_REQUEST_TIMESTAMP}}","description":"The request signature","type":"text"},{"key":"X-Request-Signature","value":"{{X_REQUEST_SIGNATURE}}","description":"The request timestamp","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"amount\": \"10.00\", \n\t\"source\": \"5417cfab-7c73-4d67-84d3-450319455081\" //walletID\n}"},"url":{"raw":"{{API_BASE_URL}}/assets/:idOrCode/destroy","host":["{{API_BASE_URL}}"],"path":["assets",":idOrCode","destroy"],"variable":[{"key":"idOrCode","value":"ab80816c-9bb0-4a05-916f-6b1787833154","description":"The Asset ID or code"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0688e12d-502c-4e85-8ca9-fd3a4eaed2d0\",\n    \"type\": \"payment\",\n    \"status\": \"AUTHORIZED\",\n    \"createdAt\": \"2021-03-05T17:52:44.171Z\",\n    \"updatedAt\": \"2021-03-05T17:52:44.171Z\",\n    \"payments\": [\n        {\n            \"id\": \"d836e89b-25d5-4e39-98c1-0afc72d93e53\",\n            \"type\": \"withdrawal\",\n            \"status\": \"settled\",\n            \"createdAt\": \"2021-03-05T17:52:44.179Z\",\n            \"updatedAt\": \"2021-03-05T17:52:44.179Z\",\n            \"amount\": \"10.00\",\n            \"destination\": {\n                \"id\": \"18dff706-e4c8-44b0-beeb-4344a764c948\",\n                \"root\": true,\n                \"stellar\": {\n                    \"publicKey\": \"GBUWHPQWFMFSZJS3A3SKRBQRGLD257G3T7EAQGIL5GQIM67ZJKVKXGIN\"\n                },\n                \"updatedAt\": \"2021-03-05T17:36:59.176Z\",\n                \"createdAt\": \"2021-03-05T17:36:59.176Z\",\n                \"deletedAt\": null,\n                \"additionalData\": {}\n            },\n            \"asset\": {\n                \"id\": \"7e188d38-98af-4c7c-b0a5-b4559793dd07\",\n                \"name\": \"BRL Parati\",\n                \"code\": \"BRLP\",\n                \"root\": true,\n                \"provider\": \"parati-provider\",\n                \"required\": true,\n                \"createdAt\": \"2021-03-05T17:36:59.184Z\",\n                \"updatedAt\": \"2021-03-05T17:36:59.184Z\"\n            }\n        }\n    ],\n    \"source\": {\n        \"id\": \"6e4e9bf5-d61e-4cc0-8930-7b24b8998b14\",\n        \"stellar\": {\n            \"publicKey\": \"GDTMCLROIFBNHUML5RJHICUWL4EWG26PGQX6RVTRQPCEVGQDYKBBONQQ\"\n        },\n        \"updatedAt\": \"2021-03-05T17:51:02.825Z\",\n        \"createdAt\": \"2021-03-05T17:51:02.825Z\",\n        \"deletedAt\": null,\n        \"user\": {\n            \"id\": \"4819c2de-2eb0-4d52-b89c-b41944ab4c27\",\n            \"name\": \"Clare Hauck\",\n            \"firstName\": \"Clare\",\n            \"lastName\": \"Hauck\",\n            \"email\": \"sophie73@gmail.com\",\n            \"role\": \"consumer\",\n            \"twoFactorRequired\": \"false\",\n            \"createdAt\": \"2021-03-05T17:51:02.808Z\",\n            \"updatedAt\": \"2021-03-05T17:51:02.808Z\",\n            \"domain\": {\n                \"id\": \"d75f9e6d-53b7-49a0-8016-fe28dbc31593\",\n                \"name\": \"NOME NOVO DO DOMINIO\",\n                \"role\": \"default\"\n            }\n        },\n        \"additionalData\": {}\n    },\n    \"states\": [\n        {\n            \"id\": \"30b6af6c-d9bc-4319-b795-60531be44f46\",\n            \"status\": \"AUTHORIZED\",\n            \"createdAt\": \"2021-03-05T17:52:44.185Z\",\n            \"updatedAt\": \"2021-03-05T17:52:44.185Z\",\n            \"additionalData\": {\n                \"skipped\": [\n                    {\n                        \"asset\": \"BRLP\",\n                        \"payment\": \"d836e89b-25d5-4e39-98c1-0afc72d93e53\",\n                        \"provider\": \"parati-provider\"\n                    }\n                ],\n                \"authorized\": []\n            }\n        },\n        {\n            \"id\": \"0da7e64b-95e4-4e46-aed6-2046db9c3183\",\n            \"status\": \"pending\",\n            \"createdAt\": \"2021-03-05T17:52:44.175Z\",\n            \"updatedAt\": \"2021-03-05T17:52:44.175Z\",\n            \"additionalData\": {}\n        }\n    ],\n    \"additionalData\": {}\n}"}],"_postman_id":"84908083-23fd-46ea-9948-8c7ce146949d"},{"name":"Register asset to a wallet","event":[{"listen":"prerequest","script":{"id":"a8f871f6-7848-40a9-a6e3-1f3b801683c4","exec":["// Basic request data","const timestamp = Date.now();","const method = request.method.toUpperCase();","const url = request.url.split(\"{{API_BASE_URL}}\")[1];","","// Building request signature payload","const payload = [","    method,","    url,","    timestamp,","];","","// For POST and PUT methods, we must also pass the raw body ","if(method === 'POST' || method === 'PUT') {","    // Make sure JSON file has no tabs, spaces or new lines (uglify JSON)","    payload.push(JSON.stringify(JSON.parse(request.data)));","}","","console.log('Request signature payload', payload);","","// Generating hex for request signature","const hash = CryptoJS.HmacSHA256(payload.join(','), pm.environment.get('OAUTH_CLIENT_SECRET'));","const signature = CryptoJS.enc.Hex.stringify(hash);","","// Setting results as environment variables","pm.environment.set(\"X_REQUEST_SIGNATURE\", signature);","pm.environment.set(\"X_REQUEST_TIMESTAMP\", timestamp);","",""],"type":"text/javascript"}}],"id":"c0cbd857-c2ef-45d2-9bf8-0fa256fc19b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"<p>The request signature</p>\n","key":"X-Request-Signature","type":"text","value":"{{X_REQUEST_SIGNATURE}}"},{"description":"<p>The request timestamp</p>\n","key":"X-Request-Timestamp","type":"text","value":"{{X_REQUEST_TIMESTAMP}}"}],"body":{"mode":"raw","raw":"{\n\t\"wallet\": \"725e3634-e2fe-46f0-af05-0d04bdbef1b3\"\n}"},"url":"{{API_BASE_URL}}/assets/:idOrCode/register","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["assets",":idOrCode","register"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The Asset ID or code</p>\n","type":"text/plain"},"type":"string","value":"TCN","key":"idOrCode"}]}},"response":[],"_postman_id":"c0cbd857-c2ef-45d2-9bf8-0fa256fc19b1"}],"id":"8c9c8d22-c27a-458e-b2a7-2eef8531befc","description":"<h4 id=\"what-are-assets\">What are <code>assets</code>?</h4>\n<blockquote>\n<p><strong>This management feature is only manageable by <code>mediator</code></strong></p>\n</blockquote>\n<p>The API is designed to handle a list of generic assets. By default, the root Asset is <strong>BRLP</strong> and is a tokenized version of the Brazilian Real (BRL) built upon the Stellar Blockchain.</p>\n<p>Assets are defined according to the contracted service to be used on the Platform. Each customer purchases a \"service package\" and according to this package, some assets must be registered in their instance.</p>\n<p>We have the following assets:</p>\n<ul>\n<li>BRLP - Asset root based on Parati provider (nominal checking account)</li>\n<li>BRLD - Asset required for use of physical and virtual cards</li>\n<li>BRLB - Asset required to use Boleto emission</li>\n<li>BRLN - Asset required to use Boleto payment (only in mediator root's wallet, it is a transparent configuration for consumers and partners)</li>\n<li>VAVR - Asset (Vale Alimentacao Vale Refeicao) (food/meal voucher)</li>\n<li>LMTC - Credit Limit </li>\n<li>BRL(x) - Customizable Asset for SaaS customers</li>\n</ul>\n<p>All of these services described must first be parameterized in an instant and agreed according to the contract. For more information about the services available please contact us.</p>\n","event":[{"listen":"prerequest","script":{"id":"af35b803-b60b-4c1c-b84e-22670d784aef","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b661d2f9-71ea-48af-afd7-46fa203a0bb1","type":"text/javascript","exec":[""]}}],"_postman_id":"8c9c8d22-c27a-458e-b2a7-2eef8531befc","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Judicials","item":[{"name":"Blocking partial or total balance","event":[{"listen":"prerequest","script":{"id":"41021dd0-3ab8-48b2-a2f6-f3f6bbba8060","exec":["// Basic request data","const timestamp = Date.now();","const method = request.method.toUpperCase();","const url = request.url.split(\"{{API_BASE_URL}}\")[1];","","// Building request signature payload","const payload = [","    method,","    url,","    timestamp,","];","","// For POST and PUT methods, we must also pass the raw body ","if(method === 'POST' || method === 'PUT') {","    // Make sure JSON file has no tabs, spaces or new lines (uglify JSON)","    payload.push(JSON.stringify(JSON.parse(request.data)));","}","","console.log('Request signature payload', payload);","","// Generating hex for request signature","const hash = CryptoJS.HmacSHA256(payload.join(','), pm.environment.get('OAUTH_CLIENT_SECRET'));","const signature = CryptoJS.enc.Hex.stringify(hash);","","// Setting results as environment variables","pm.environment.set(\"X_REQUEST_SIGNATURE\", signature);","pm.environment.set(\"X_REQUEST_TIMESTAMP\", timestamp);","",""],"type":"text/javascript"}},{"listen":"test","script":{"id":"1b84131a-2472-4696-9365-a8791dccf730","exec":["const body = pm.response.json();","const transaction = body;","","pm.test(\"Check if transaction is authorized\", function () {","    pm.expect(transaction.authorized).to.eql(true);","    pm.collectionVariables.set(\"transaction.id\", transaction.transactionId);","});"],"type":"text/javascript"}}],"id":"fd2a2df8-1250-4e63-a7d6-4b91ebeef928","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"<p>The request signature</p>\n","key":"X-Request-Signature","type":"text","value":"{{X_REQUEST_SIGNATURE}}"},{"description":"<p>The request timestamp</p>\n","key":"X-Request-Timestamp","type":"text","value":"{{X_REQUEST_TIMESTAMP}}"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"judicial\",\n    \"event\": \"authorization\",\n    \"asset\": \"BRLP,BRLC\", // one or more assets that contains the balance to be blocked. All assets must be \"brl:true\".\n    \"amount\": \"160000\", // THE AMOUNT TO BLOCK. FIELD 1 of 2\n    \"walletId\": \"63d91641-5b77-47e3-bb35-219bfe27d644\", // source of walletId to block the amount\n    \"additionalData\": {\n        \"judicialOptions\": {\n            \"courtNumber\": \"123456789\", // Vara ou Juízo (Obrigatório) - Código da vara ou juízo no Bacen Jud - N(005)\n            \"legalNature\": \"01\", // must be filled as described at this page\n            \"orderProtocol\": \"123456789\", // order protocol\n            \"defendantTaxId\": \"44455511122\", // taxId of defendant\n            \"courtOrderDate\": \"2021-10-10\", // judicial process date of execution\n            \"judicialProcessNumber\": \"12345\", // judicial process number\n            \"totalBlockValueRequested\": \"160000\" // THE AMOUNT TO BLOCK. FIELD 2 of 2\n        }\n    },\n    \"transitoryAccountType\": \"judicial_transaction\"\n}"},"url":"{{API_BASE_URL}}/transactions/authorize","description":"<blockquote>\n<p>This action can only be executed by <code>mediator</code> or by superior court order</p>\n</blockquote>\n<blockquote>\n<p>The superior court order <strong>must be executed by qualified person by an information security manager (master) appointed by a court agreed with the Central Bank</strong></p>\n</blockquote>\n<blockquote>\n<p>The balance to be blocked must come from an asset backed by Brazilian Real.</p>\n</blockquote>\n<blockquote>\n<p>all fields are required</p>\n</blockquote>\n<br />\nNecessary SCOPE to perform `authorization:write`\n\n\n\n<p><strong>GHERKIN</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GIVEN actor has judicial block order\nGIVEN actor is logged as \"mediator\" or is qualified person by BACEN\nGIVEN there is a transitory wallet identified as \"judicial_transaction\" in the Financial Institution mediator\nGIVEN the wallet thar contains the balance to block has all backed assets identified as \"brl:true\"\nWHEN the actor executes the action\nTHEN the response should be 200\nAND should response \"authorized:true\"\nAND should response a \"transactionId\" uuid identification\nAND should response a reason \n</code></pre><br />\n\n<p>To identify if an asset is backed by Brazilian Real, the asset must have the field <code>brl:true</code> at the endpoint <code>GET {{API_BASE_URL}}/wallets/7cc5a5b7-90d6-4540-a544-bb65dd120483</code></p>\n<br />\n\n<h4 id=\"legalnature-codes\"><code>legalNature</code> codes</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Legal Nature</th>\n<th>pt-br</th>\n<th>en</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>01</code></td>\n<td>ordem de natureza cível</td>\n<td>civil order</td>\n</tr>\n<tr>\n<td><code>02</code></td>\n<td>ordem de natureza criminal</td>\n<td>criminal order</td>\n</tr>\n<tr>\n<td><code>03</code></td>\n<td>ordem de natureza trabalhista</td>\n<td>labor order</td>\n</tr>\n<tr>\n<td><code>04</code></td>\n<td>ordem de natureza fiscal</td>\n<td>tax order</td>\n</tr>\n<tr>\n<td><code>05</code></td>\n<td>ordem de natureza alimenticia</td>\n<td>food order</td>\n</tr>\n</tbody>\n</table>\n</div><p>If the total amount required for blocking is greater than the available balance of some of all assets backed by Brazilian Real, a message response will be displayed stating that the total balance of the block has been partially executed.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["transactions","authorize"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"b199b032-d846-4601-a832-b997bbcb5e70","name":"Asset not aplicable to be judicial blocked","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"description":"The request signature","key":"X-Request-Signature","type":"text","value":"{{X_REQUEST_SIGNATURE}}"},{"description":"The request timestamp","key":"X-Request-Timestamp","type":"text","value":"{{X_REQUEST_TIMESTAMP}}"},{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"type\": \"judicial\",\n    \"event\": \"authorization\",\n    \"asset\": \"BRLC\",\n    \"amount\": \"1500.00\",\n    \"walletId\": \"63d91641-5b77-47e3-bb35-219bfe27d644\",\n    \"additionalData\": {\n        \"judicialOptions\": {\n            \"courtNumber\": \"123456789\",\n            \"legalNature\": \"01\",\n            \"orderProtocol\": \"123456789\",\n            \"defendantTaxId\": \"44455511122\",\n            \"courtOrderDate\": \"2021-10-10\",\n            \"judicialProcessNumber\": \"12345\",\n            \"totalBlockValueRequested\": \"1500.00\"\n        }\n    },\n    \"transitoryAccountType\": \"judicial_transaction\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/transactions/authorize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"reason\": [\n        \"Invalid assets for a judicial transaction\"\n    ],\n    \"authorized\": false\n}       "}],"_postman_id":"fd2a2df8-1250-4e63-a7d6-4b91ebeef928"}],"id":"e7080b08-319c-4f5c-befb-392887e61af8","description":"<blockquote>\n<h4 id=\"at-this-moment-this-feature-is-avaliable-only-for-saas-partners-core-v2xx\">At this moment, this feature is avaliable only for SaaS partners (Core v2.x.x)</h4>\n</blockquote>\n<h4 id=\"what-can-be-blocked-by-judicial\">What can be Blocked by Judicial</h4>\n<ul>\n<li><p>Values ​​in <code>savings</code> and <code>checking</code> accounts;</p>\n</li>\n<li><p>Values ​​in credit union accounts;</p>\n</li>\n<li><p>Amounts that were invested in fixed income securities, whether private or public;</p>\n</li>\n<li><p>Assets belonging to debtors that were invested in variable income, such as shares. This standard was authorized in 2018.</p>\n</li>\n</ul>\n","_postman_id":"e7080b08-319c-4f5c-befb-392887e61af8","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Open a wallet","id":"57c5834c-fd50-42bf-84c3-30b84ac5cd1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/wallets/:id","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"57c5834c-fd50-42bf-84c3-30b84ac5cd1e"},{"name":"Payments statement","id":"ec3f4699-0e3d-4ee9-9476-b2ed27e7bc22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/wallets/:id/payments?limit=50&skip=0&initialDate=2021-07-22T03:00:00.000Z&endDate=2021-07-22T03:00:00.000Z","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id","payments"],"host":["{{API_BASE_URL}}"],"query":[{"key":"limit","value":"50"},{"key":"skip","value":"0"},{"key":"initialDate","value":"2021-07-22T03:00:00.000Z"},{"key":"endDate","value":"2021-07-22T03:00:00.000Z"}],"variable":[{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"ec3f4699-0e3d-4ee9-9476-b2ed27e7bc22"},{"name":"Payment statement by asset","id":"16337501-5419-4545-a440-6b840791ae56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/wallets/:id/payments?limit=50&skip=0&asset={{ASSETCODE}}","description":"<p>Here you can get all payments in a wallet, filtering by asset code.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id","payments"],"host":["{{API_BASE_URL}}"],"query":[{"description":{"content":"<p>number of items to show</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>number os fitems do skip</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>BRLP | BRLB | BRLxx </p>\n","type":"text/plain"},"key":"asset","value":"{{ASSETCODE}}"}],"variable":[{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"16337501-5419-4545-a440-6b840791ae56"},{"name":"Open a Payment","id":"9449dadf-ddb8-40ba-9bc4-d2a71344d80e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/payments/:id","description":"<p>Gets a payment based on its id.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["payments",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>paymentID</p>\n","type":"text/plain"},"type":"string","value":"cf83b64d-f86c-4067-8868-283f869e9d89","key":"id"}]}},"response":[],"_postman_id":"9449dadf-ddb8-40ba-9bc4-d2a71344d80e"},{"name":"List all transactions","id":"8de78321-780c-4a9b-8f17-a3b37948d295","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/wallets/:id/transactions?limit=50&skip=0&initialDate=2021-07-21T03:00:00.000Z&endDate=2021-07-22T03:00:00.000Z","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id","transactions"],"host":["{{API_BASE_URL}}"],"query":[{"key":"limit","value":"50"},{"key":"skip","value":"0"},{"key":"initialDate","value":"2021-07-21T03:00:00.000Z"},{"key":"endDate","value":"2021-07-22T03:00:00.000Z"}],"variable":[{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"799f1f61-3fbf-440a-9777-ef0db87b1655","name":"List all transactions","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/wallets/:id/transactions?limit=50&skip=0&initialDate=2021-07-21T03:00:00.000Z&endDate=2021-07-22T03:00:00.000Z","host":["{{API_BASE_URL}}"],"path":["wallets",":id","transactions"],"query":[{"key":"limit","value":"50"},{"key":"skip","value":"0"},{"key":"initialDate","value":"2021-07-21T03:00:00.000Z"},{"key":"endDate","value":"2021-07-22T03:00:00.000Z"}],"variable":[{"key":"id","value":"","type":"string","description":"walletID"}]}},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"payments\": [\n            {\n                \"status\": \"string\",\n                \"type\": \"string\",\n                \"destination\": {\n                    \"id\": \"string\",\n                    \"root\": true,\n                    \"stellar\": {\n                        \"publicKey\": \"string\"\n                    },\n                    \"updatedAt\": \"2021-04-21T22:29:28.846Z\",\n                    \"createdAt\": \"2021-04-21T22:29:28.846Z\",\n                    \"deletedAt\": null,\n                    \"user\": {\n                        \"id\": \"string\",\n                        \"name\": \"string\",\n                        \"firstName\": \"string\",\n                        \"lastName\": \"string\",\n                        \"email\": \"string\",\n                        \"role\": \"string\",\n                        \"twoFactorRequired\": \"not_required\",\n                        \"updatedAt\": \"2021-04-21T22:29:28.839Z\",\n                        \"createdAt\": \"2021-04-21T22:29:28.839Z\"\n                    },\n                    \"additionalData\": {}\n                },\n                \"amount\": \"1.16\",\n                \"asset\": {\n                    \"id\": \"string\",\n                    \"name\": \"string\",\n                    \"code\": \"string\",\n                    \"root\": true,\n                    \"provider\": \"string\",\n                    \"required\": true,\n                    \"updatedAt\": \"2021-04-21T22:29:28.850Z\",\n                    \"createdAt\": \"2021-04-21T22:29:28.850Z\"\n                },\n                \"scheduleFor\": null,\n                \"updatedAt\": \"2021-07-20T22:08:11.514Z\",\n                \"createdAt\": \"2021-07-20T22:08:09.020Z\",\n                \"id\": \"string\"\n            }\n        ],\n        \"source\": {\n            \"id\": \"string\",\n            \"stellar\": {\n                \"publicKey\": \"string\"\n            },\n            \"updatedAt\": \"2021-07-12T19:27:05.264Z\",\n            \"createdAt\": \"2021-07-12T19:27:05.264Z\",\n            \"deletedAt\": null,\n            \"user\": {\n                \"id\": \"string\",\n                \"name\": \"string\",\n                \"firstName\": \"string\",\n                \"lastName\": \"string\",\n                \"email\": \"string\",\n                \"role\": \"consumer\",\n                \"twoFactorRequired\": \"not_required\",\n                \"updatedAt\": \"2021-07-12T19:27:05.223Z\",\n                \"createdAt\": \"2021-07-12T19:27:05.223Z\"\n            },\n            \"additionalData\": {}\n        },\n        \"states\": [\n            {\n                \"additionalData\": {},\n                \"updatedAt\": \"2021-07-20T22:08:19.061Z\",\n                \"createdAt\": \"2021-07-20T22:08:19.061Z\",\n                \"status\": \"notified\",\n                \"id\": \"string\"\n            },\n            {\n                \"additionalData\": {},\n                \"updatedAt\": \"2021-07-20T22:08:18.303Z\",\n                \"createdAt\": \"2021-07-20T22:08:18.303Z\",\n                \"status\": \"executed\",\n                \"id\": \"string\"\n            },\n            {\n                \"additionalData\": {\n                    \"authorized\": []\n                },\n                \"updatedAt\": \"2021-07-20T22:08:11.911Z\",\n                \"createdAt\": \"2021-07-20T22:08:11.740Z\",\n                \"status\": \"accepted\",\n                \"id\": \"string\"\n            },\n            {\n                \"additionalData\": {\n                    \"authorized\": [],\n                    \"skipped\": [\n                        {\n                            \"provider\": \"string\",\n                            \"payment\": \"string\",\n                            \"asset\": \"string\"\n                        }\n                    ]\n                },\n                \"updatedAt\": \"2021-07-20T22:08:09.052Z\",\n                \"createdAt\": \"2021-07-20T22:08:09.052Z\",\n                \"status\": \"AUTHORIZED\",\n                \"id\": \"b8d8293d-960c-4515-ab61-7ebf22e65d08\"\n            },\n            {\n                \"additionalData\": {},\n                \"updatedAt\": \"2021-07-20T22:08:09.002Z\",\n                \"createdAt\": \"2021-07-20T22:08:09.002Z\",\n                \"status\": \"pending\",\n                \"id\": \"e08ce82c-3562-4400-869f-19b56ebed59a\"\n            }\n        ],\n        \"updatedAt\": \"2021-07-20T22:08:17.646Z\",\n        \"createdAt\": \"2021-07-20T22:08:08.957Z\",\n        \"additionalData\": {\n            \"paymentInitiationMode\": \"DICT\",\n            \"transactionId\": \"string\",\n            \"instructionId\": \"string\",\n            \"destination\": {\n                \"accountHolderTaxId\": 12348887347,\n                \"accountHolderType\": \"string\",\n                \"accountHolderName\": \"string\",\n                \"accountNumber\": \"string\",\n                \"branchNumber\": \"string\",\n                \"accountType\": \"string\",\n                \"bankNumber\": \"string\",\n                \"ispb\": \"string\"\n            },\n            \"arrangement\": \"pix\",\n            \"endToEndId\": \"string\",\n            \"reversal\": false,\n            \"purpose\": \"IPAY\",\n            \"source\": {\n                \"accountHolderTaxId\": \"string\",\n                \"accountHolderType\": \"string\",\n                \"accountHolderName\": \"string\",\n                \"accountNumber\": \"string\",\n                \"branchNumber\": \"string\",\n                \"accountType\": \"string\",\n                \"bankNumber\": \"string\",\n                \"ispb\": \"string\"\n            },\n            \"hash\": \"string\",\n            \"pix\": {\n                \"priority\": \"HIGH\"\n            }\n        },\n        \"status\": \"notified\",\n        \"type\": \"payment\",\n        \"id\": \"string\"\n    }\n]"}],"_postman_id":"8de78321-780c-4a9b-8f17-a3b37948d295"},{"name":"Open a Transaction","id":"e111935f-77b2-454d-9c8a-fa84cfc67b9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/transactions/:id","description":"<p>Gets a payment based on its id.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["transactions",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>transactionID</p>\n","type":"text/plain"},"type":"string","value":"cf83b64d-f86c-4067-8868-283f869e9d89","key":"id"}]}},"response":[],"_postman_id":"e111935f-77b2-454d-9c8a-fa84cfc67b9f"},{"name":"List all wallets from a userId","id":"4fdff962-8fa4-43f7-8ca1-38fb06b94b0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/users/:id/wallets","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["users",":id","wallets"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"4fdff962-8fa4-43f7-8ca1-38fb06b94b0a"},{"name":"View external bank account","id":"bbc5aaa7-5d97-4981-b00e-45cbde07c3dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/wallets/:id/depositInfo","description":"<p>With this endpoint it is possible to verify your checking account number at the custody provider.<br />\nThe checking account number will only be available after approval of the compliance analysis by the custody provider. With these datas it is already possible to perform a TED-IN or TED-OUT on the platform.<br /></p>\n<p>If the response to this endpoint is empty \"[]\", it indicates that your account has not yet been approved at the custody provider.\n<br />\nThis function can be perfomed by:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>role</th>\n<th>allowed</th>\n<th>info</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mediator</code></td>\n<td>true</td>\n<td>all users</td>\n</tr>\n<tr>\n<td><code>consumer</code></td>\n<td>true</td>\n<td>yourself</td>\n</tr>\n<tr>\n<td><code>audit</code></td>\n<td>true</td>\n<td>all users</td>\n</tr>\n<tr>\n<td><code>operator</code></td>\n<td>true</td>\n<td>all users</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id","depositInfo"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>walletID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"0d7ac679-83ba-4579-a47d-80c7ec06910d","name":"External account","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/wallets/:id/depositInfo","host":["{{API_BASE_URL}}"],"path":["wallets",":id","depositInfo"],"variable":[{"key":"id","value":"","description":"walletID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"Full Name Of Customer or Corporate\",\n        \"taxId\": \"12345678910\", \n        \"bank\": {\n            \"ispb\": \"03311443\", \n            \"code\": \"03311443\", \n            \"name\": \"PARATI - CFI S.A.\"\n        },\n        \"account\": {\n            \"holder\": \"Full Name Of Customer or Corporate\",\n            \"agency\": \"0001\",\n            \"number\": \"80206540\",\n            \"type\": \"checking\",\n            \"status\": \"active\",\n            \"createdAt\": \"2021-03-04T12:29:56.631Z\"\n        },\n        \"asset\": \"BRLP\"\n    }\n]"}],"_postman_id":"bbc5aaa7-5d97-4981-b00e-45cbde07c3dd"},{"name":"Create a new wallet","id":"7da2590d-8450-4c84-b840-fb99e84a03be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"provider\": \"cards\"\n}"},"url":"{{API_BASE_URL}}/wallets","description":"<blockquote>\n<p>This endpoint is note necessary to use</p>\n</blockquote>\n<blockquote>\n<p>This endpoint can be performed only by mediator</p>\n</blockquote>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7da2590d-8450-4c84-b840-fb99e84a03be"}],"id":"c23dea8a-d7a8-4091-9fdd-f8889268a534","description":"<h1 id=\"understanding-the-money-movement-inside-the-platform\">Understanding the money movement inside the platform</h1>\n<p>There are basically 3 types of possible transactions within the platform. </p>\n<ul>\n<li>Movement of money to outside the platform</li>\n<li>Movement of money to inside the platform</li>\n<li>Movement of money transfer</li>\n</ul>\n<h4 id=\"movement-of-money-to-outside-the-platform-debit\">Movement of money to outside the platform (debit)</h4>\n<p>If the movement of money is to leave the platform (such as a withdrawal from the card or a TED-OUT) this movement is identified on the platform as <strong><code>withdraw</code></strong>.</p>\n<blockquote>\n<p><code>withdraw</code> means that the money is <strong>going to outside the platform</strong> to another financial institution. It's a <strong>debit</strong> movement from the wallet.</p>\n</blockquote>\n<h4 id=\"movement-of-money-to-inside-the-platform-credit\">Movement of money to inside the platform (credit)</h4>\n<p>If the movement of money is to enter the platform (such as a TED IN or a payment for a recharge Boleto), this movement is identified on the platform as a <strong><code>deposit</code></strong>. It's a <strong>credit</strong> movement to the wallet.</p>\n<blockquote>\n<p><code>deposit</code> means that the money is <strong>coming from outside the platform</strong> from another financial institution.</p>\n</blockquote>\n<h4 id=\"movement-of-money-transfer\">Movement of money transfer</h4>\n<p>If the movement of money is to change the holder (such as a P2P payment) this movement is identified on the platform as a <strong><code>transfer</code></strong></p>\n<blockquote>\n<p><code>transfer</code> means that the money is only change the holder. Nothing is created ou destroyed. </p>\n</blockquote>\n<br />\n\n<h3 id=\"types-of-payments\">Types of Payments</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>type</th>\n<th>possible movement</th>\n<th>info</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>deposit</code></strong></td>\n<td><strong>credit</strong></td>\n<td>Declares that the values of a <strong>transaction comes outside platform for other financial institutional</strong>. this transaction <strong>creates assets</strong> on the platform. All transactions are relationated from <strong><code>Bit Capital Issuer</code></strong></td>\n</tr>\n<tr>\n<td><strong><code>withdrawal</code></strong></td>\n<td><strong>debit</strong></td>\n<td>Delcares that the values of <strong>transaction is going to outside the platform</strong>. This <strong>destroys assets</strong> on the platform. All transactions is relationated to <strong><code>Bit Capital Issuer</code></strong></td>\n</tr>\n<tr>\n<td><code>transfer</code></td>\n<td><strong>credit/debit</strong></td>\n<td>it's a p2p transfer.</td>\n</tr>\n<tr>\n<td><code>boleto</code></td>\n<td><strong>devit</strong></td>\n<td>it's a payment of a Boleto (concessionaries of by bank institutions)</td>\n</tr>\n<tr>\n<td><code>boleto_in</code></td>\n<td><strong>credit</strong></td>\n<td>declares that values was received from other financial instituitions</td>\n</tr>\n<tr>\n<td><code>card</code></td>\n<td><strong>debit</strong></td>\n<td>a transaction of card</td>\n</tr>\n<tr>\n<td><code>authorized_card</code></td>\n<td><strong>debit</strong></td>\n<td>a transaction of a external card ( most commom to use in food voucher and meal voucher cards. Third party cards</td>\n</tr>\n<tr>\n<td><code>authorized_card_reversal</code></td>\n<td><strong>credit</strong></td>\n<td>it's a reversal of a <code>authorized_card</code> transaction</td>\n</tr>\n<tr>\n<td><code>transaction_reversal</code></td>\n<td><strong>credit</strong></td>\n<td>refund of a transaction</td>\n</tr>\n<tr>\n<td><code>service_fee</code></td>\n<td><strong>debit</strong></td>\n<td>fees configured in Billing Plan</td>\n</tr>\n<tr>\n<td><code>manual_adjustment</code></td>\n<td><strong>credit/debit</strong></td>\n<td>feature used for any manual adjustments if necessary</td>\n</tr>\n<tr>\n<td><code>balance_adjustment</code></td>\n<td><strong>credit/debit</strong></td>\n<td>TBA</td>\n</tr>\n<tr>\n<td><code>phone_credit</code></td>\n<td>deprecated</td>\n<td>deprecated</td>\n</tr>\n<tr>\n<td><code>judicial_transaction</code></td>\n<td><strong>debit</strong></td>\n<td>court order requesting the blocking of a consumer's balance</td>\n</tr>\n</tbody>\n</table>\n</div><br />\n\n<h3 id=\"who-is-bit-capital-issuer\">Who is <code>Bit Capital Issuer</code>?</h3>\n<br />\n\n<p>All transactions that needs to create or destroy assets in platform, it's necessary to delegate a major permissions. <strong>Bit Capital Issuer</strong> is a user created just to do this job. Don't worry if transactions are mentioned this user. All informations about the <code>source</code> or the <code>destination</code> user is specified correctly in the <code>additionalData</code> object at payload received. For examples <a href=\"https://docs.bitcapital.com.br/#ba90893f-1768-4c1a-8ff8-ae340b57bc37\">visit the TED OUT section.</a></p>\n<h3 id=\"states-of-transactions\">States of transactions</h3>\n<br />\n- For all states of transactions are sent postbacks.\n\n<p><img src=\"https://plantuml-server.kkeisuke.dev/svg/RPB1JiCm44JF-2jMFRM8zXDG2rG22O44vS9jQs-ILHCxycuH_NisoI6XRKvECZD-E_PQ5BCUczefQqsmonW5lNAAOB-KnCrl5x1StiEifHWubZCNan9aBYjrO4_1MNHGGoe0GSUGEsScw0pEtVGfcw_Ty_l7o_VswI9euWCMoEHJ3XI08ppKoH-yhv0jijEYWbOcQXD7xTIMPIyYlBSnD9cxp2G264zDoZHo31ZeFRLAuG82RJkb7B66XZIpXo9b-7pTz1YRn-tRUHJzaZzUYzedhK0ua7IzZDD91Cm48KLQmQuYa7JCdWmr33tO9pCfH-oxgB0lW_Z7oZYP5b14IEMSn9PSy1KICM7NbUWU_Q77yQbfQrBgT_Y75sKuLXjxCi5yGZcbMwn6YhMjx2xz0G00.svg\" alt=\"transaction states\" /></p>\n<br />\n\n<h2 id=\"str-messages\">STR Messages</h2>\n<p>Brazil Central Bank has a standard communication base on <strong>STR Messages</strong>. these Messasges can be identified in the table below. Some STR Codes can be identified during STR transactions in our paylod. </p>\n<p>STR means System Resources Tranfers (Sistema de Transaferência de Reservas) that is part of Brazilian Payment System (Sistema de Pagamentos Brasileiro). All TEDs is executed trhu SPB. Pix payments does not used SPB as payment system. Pix payments use SPI (Sistema de Pagamentos Instantâneo) Brazilian Instant Payment System.</p>\n<br />\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>STR source</th>\n<th>STR Code</th>\n<th>Fluxo</th>\n<th>Propósito</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>STR0004</td>\n<td>STR0004</td>\n<td>Emissor: IF-DEBITADA Destinatário: STR</td>\n<td>Requisição de Transferência para IF ( IF para IF)</td>\n</tr>\n<tr>\n<td>STR0004</td>\n<td>STR0004R1</td>\n<td>Emissor: STR Destinatário: IF-DEBITADA</td>\n<td>Resposta ao Requisitante de Transferência para IF</td>\n</tr>\n<tr>\n<td>STR0004</td>\n<td>STR0004R2</td>\n<td>Emissor: STR Destinatário: IF-CREDITADA</td>\n<td>Resposta a Terceiros sobre Transferência para IF</td>\n</tr>\n<tr>\n<td>STR0004</td>\n<td>STR0004E</td>\n<td>ND</td>\n<td>Cenário de REjeição</td>\n</tr>\n<tr>\n<td>STR0006</td>\n<td>STR0006</td>\n<td>Emissor: IF-DEBITADA Destinatário: STR</td>\n<td>Requisição de Transferência de cliente para IF</td>\n</tr>\n<tr>\n<td>STR0006</td>\n<td>STR0006R1</td>\n<td>Emissor: STR Destinatário: IF-DEBITADA</td>\n<td>Resposta ao Requisitante de Transferência de cliente para IF</td>\n</tr>\n<tr>\n<td>STR0006</td>\n<td>STR0006R2</td>\n<td>Emissor: STR Destinatário: IF-CREDITADA</td>\n<td>Resposta a Terceiros sobre Transferência de cliente para IF</td>\n</tr>\n<tr>\n<td>STR0006</td>\n<td>STR0006E</td>\n<td>ND</td>\n<td>Cenário de REjeição</td>\n</tr>\n<tr>\n<td>STR0007</td>\n<td>STR0007</td>\n<td>Emissor: IF-DEBITADA Destinatário: STR</td>\n<td>Requisição de Transferência de IF para conta cliente</td>\n</tr>\n<tr>\n<td>STR0007</td>\n<td>STR0007R1</td>\n<td>Emissor: STR Destinatário: IF-DEBITADA</td>\n<td>Resposta ao Requisitante de Transferência de IF para conta cliente</td>\n</tr>\n<tr>\n<td>STR0007</td>\n<td>STR0007R2</td>\n<td>Emissor: STR Destinatário: IF-CREDITADA</td>\n<td>Resposta a Terceiros sobre Transferência de IF para conta cliente</td>\n</tr>\n<tr>\n<td>STR0007</td>\n<td>STR0007E</td>\n<td>ND</td>\n<td>Cenário de REjeição</td>\n</tr>\n<tr>\n<td>STR0008</td>\n<td>STR0008</td>\n<td>Emissor: IF-DEBITADA Destinatário: STR</td>\n<td>Requisição de Transferência entre contas de clientes</td>\n</tr>\n<tr>\n<td>STR0008</td>\n<td>STR0008R1</td>\n<td>Emissor: STR Destinatário: IF-DEBITADA</td>\n<td>Resposta ao Requisitante de Transferência entre contas de clientes</td>\n</tr>\n<tr>\n<td>STR0008</td>\n<td>STR0008R2</td>\n<td>Emissor: STR Destinatário: IF-CREDITADA</td>\n<td>Resposta a Terceiros sobre Transferência entre contas de clientes</td>\n</tr>\n<tr>\n<td>STR0008</td>\n<td>STR0008E</td>\n<td>ND</td>\n<td>Cenário de REjeição</td>\n</tr>\n<tr>\n<td>STR0010</td>\n<td>STR0010</td>\n<td>Emissor: IF-DEBITADA Destinatário: STR</td>\n<td>Requisição de Transferência Devolução de Transferência Indevida</td>\n</tr>\n<tr>\n<td>STR0010</td>\n<td>STR0010R1</td>\n<td>Emissor: STR Destinatário: IF-DEBITADA</td>\n<td>Resposta ao Requisitante de Transferência para Devolução de Transferência Indevida</td>\n</tr>\n<tr>\n<td>STR0010</td>\n<td>STR0010R2</td>\n<td>Emissor: STR Destinatário: IF-CREDITADA</td>\n<td>Resposta a Terceiros sobre Transferência para Devolução de Transferência Indevida</td>\n</tr>\n<tr>\n<td>STR0010</td>\n<td>STR0010E</td>\n<td>ND</td>\n<td>Cenário de REjeição</td>\n</tr>\n<tr>\n<td>STR0011</td>\n<td>STR0011</td>\n<td>Emissor: IF Destinatário: STR</td>\n<td>Requisição de Cancelamento de Lançamento STR Pendente</td>\n</tr>\n<tr>\n<td>STR0011</td>\n<td>STR0011R1</td>\n<td>Resposta ao Requisitante de Cancelamento de Lançamento Pendente</td>\n<td>Resposta ao Requisitante de Cancelamento de Lançamento Pendente</td>\n</tr>\n<tr>\n<td>STR0011</td>\n<td>STR0011E</td>\n<td>ND</td>\n<td>Cenário de REjeição</td>\n</tr>\n<tr>\n<td>STR0013</td>\n<td>STR0013</td>\n<td>IF ou Câmara Destinatário: STR</td>\n<td>IF ou Câmara consulta Saldo</td>\n</tr>\n<tr>\n<td>STR0013</td>\n<td>STR0013R1</td>\n<td>Emissor: STR Destinatário: IF ou Câmara</td>\n<td>Resposta à Consulta Saldo</td>\n</tr>\n<tr>\n<td>STR0015</td>\n<td>STR0015</td>\n<td>Emissor: STR Destinatário: Todo Sistema</td>\n<td>Destinado ao STR avisar o encerramento do STR</td>\n</tr>\n<tr>\n<td>STR0016</td>\n<td>STR0016</td>\n<td>Emissor: STR Destinatário: Participante</td>\n<td>Informa Saldo no Fechamento</td>\n</tr>\n<tr>\n<td>STR0017</td>\n<td>STR0017</td>\n<td>Emissor: STR Destinatário: Todo Sistema</td>\n<td>STR avisa Abertura</td>\n</tr>\n<tr>\n<td>STR0018</td>\n<td>STR0018</td>\n<td>Emissor: STR Destinatário: Todo Sistema</td>\n<td>STR avisa Exclusão de participante</td>\n</tr>\n<tr>\n<td>STR0019</td>\n<td>STR0019</td>\n<td>Emissor: STR Destinatário: Todo Sistema</td>\n<td>STR avisa Inclusão ou Alteração de participante</td>\n</tr>\n<tr>\n<td>STR0025</td>\n<td>STR0025</td>\n<td>Emissor: IF-DEBITADA Destinatário: STR</td>\n<td>Requisição de Transferência para depósito judicial</td>\n</tr>\n<tr>\n<td>STR0025</td>\n<td>STR0025R1</td>\n<td>Emissor: STR Destinatário: IF-DEBITADA</td>\n<td>Resposta ao Requisitante de Transferência para depósito judicia</td>\n</tr>\n<tr>\n<td>STR0025</td>\n<td>STR0025R2</td>\n<td>Emissor: STR Destinatário: IF-CREDITADA</td>\n<td>Resposta a Terceiros sobre Transferência para depósito judicial</td>\n</tr>\n<tr>\n<td>STR0047</td>\n<td>STR0047</td>\n<td>Emissor: IF-DEBITADA Destinatário: STR</td>\n<td>Requisição de Transferência para portabilidade de crédito</td>\n</tr>\n<tr>\n<td>STR0047</td>\n<td>STR0047R1</td>\n<td>Emissor: STR Destinatário: IF-DEBITADA</td>\n<td>Resposta ao Requisitante de Transferência para portabilidade de crédito</td>\n</tr>\n<tr>\n<td>STR0047</td>\n<td>STR0047E</td>\n<td>ND</td>\n<td>Cenário de REjeição</td>\n</tr>\n<tr>\n<td>STR0047</td>\n<td>STR0047R2</td>\n<td>Emissor: STR Destinatário: IF-CREDITADA</td>\n<td>Resposta a Terceiros sobre Transferência para portabilidade de crédito</td>\n</tr>\n<tr>\n<td>STR0047</td>\n<td>STR0047R3</td>\n<td>Emissor: STR Destinatário: Prestador</td>\n<td>Resposta ao Notificado sobre Transferência para portabilidade de crédito</td>\n</tr>\n<tr>\n<td>STR0048</td>\n<td>STR0048</td>\n<td>Emissor: IF-DEBITADA Destinatário: STR</td>\n<td>Requisição de Transferência para devolução de portabilidade indevida</td>\n</tr>\n<tr>\n<td>STR0048</td>\n<td>STR0048R1</td>\n<td>Emissor: STR Destinatário: IF-DEBITADA</td>\n<td>Resposta ao Requisitante de Transferência para devolução de portabilidade indevida</td>\n</tr>\n<tr>\n<td>STR0048</td>\n<td>STR0048R2</td>\n<td>Emissor: STR Destinatário: IF-CREDITADA</td>\n<td>Resposta a Terceiros sobre Transferência para devolução de portabilidade indevida</td>\n</tr>\n<tr>\n<td>STR0037</td>\n<td>STR0037R2</td>\n<td>Emissor: STR Destinatário: IF-CREDITADA</td>\n<td>Resposta a Terceiros sobre Transferência envolvendo conta-salário</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"66dd0548-fe77-4111-afcf-11d34066e1a1","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"06954e81-883a-4938-92e6-e321fb33d0c0","type":"text/javascript","exec":[""]}}],"_postman_id":"c23dea8a-d7a8-4091-9fdd-f8889268a534","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Billing management","item":[{"name":"Services","item":[{"name":"List all services","id":"6dee91ff-d6f8-4eb3-bd36-675523f13909","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":false},"method":"GET","header":[],"url":"{{API_BASE_URL}}/services","description":"<p>Get all available services for usage on plans</p>\n","urlObject":{"path":["services"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"e9089fdc-9b6e-447c-a2b3-85f5e36a6f40","name":"/services","originalRequest":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/services"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-API-Version","value":"2.0.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Date","value":"Tue, 03 Mar 2020 18:51:24 GMT"},{"key":"X-RateLimit-Reset","value":"1583261518"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"X-Data-Length","value":"17"},{"key":"X-Data-Skip","value":"0"},{"key":"X-Data-Limit","value":"25"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"eac-KbN26pf2w/RitO7BjufjSMOsMcE\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"d5f5d02b-e2da-4a52-b6fd-243cc6b45a38\",\n        \"description\": \"Assinatura\",\n        \"name\": \"Assinatura\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"subscription\"\n    },\n    {\n        \"id\": \"3d34bceb-1261-40c8-aa93-423b8cc92224\",\n        \"description\": \"Setup\",\n        \"name\": \"Setup\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"setup\"\n    },\n    {\n        \"id\": \"c05df836-7dd6-443c-8065-fde42b89b252\",\n        \"description\": \"Taxa de manutenção por cartão ativo\",\n        \"name\": \"Taxa de manutenção por cartão ativo\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"active_card_maintenance\"\n    },\n    {\n        \"id\": \"216509d7-b931-417b-8b2d-5b223fa8f191\",\n        \"description\": \"Taxa de manutenção por conta ativa\",\n        \"name\": \"Taxa de manutenção por conta ativa\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"active_account_maintenance\"\n    },\n    {\n        \"id\": \"84ea7062-f3b6-41a8-8d46-920c43a062ba\",\n        \"description\": \"Emissão de cartão físico\",\n        \"name\": \"Emissão de cartão físico\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"physical_card_issuing\"\n    },\n    {\n        \"id\": \"b8e6cbd1-5e2f-43d8-b24d-b9462cc3c39d\",\n        \"description\": \"Emissão de segunda via de cartão físico\",\n        \"name\": \"Emissão de segunda via de cartão físico\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"card_reissue\"\n    },\n    {\n        \"id\": \"bc799662-663d-42c2-a6f6-d41c0bc4d2c5\",\n        \"description\": \"Emissão de cartão virtual\",\n        \"name\": \"Emissão de cartão virtual\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"virtual_card_issuing\"\n    },\n    {\n        \"id\": \"c9189f66-b705-4046-8e73-b5dd9917e240\",\n        \"description\": \"Saque\",\n        \"name\": \"Saque\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"withdrawal\"\n    },\n    {\n        \"id\": \"918d9043-3d14-4f42-b735-4795d4e13d65\",\n        \"description\": \"Transferência\",\n        \"name\": \"Transferência\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"transfer\"\n    },\n    {\n        \"id\": \"a6e7fce1-1b6b-40e9-bc4a-b442aaa3b064\",\n        \"description\": \"Recarga de telefone móvel\",\n        \"name\": \"Recarga de telefone móvel\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"phone_credits_purchase\"\n    },\n    {\n        \"id\": \"4c4138eb-f498-4d9d-aec9-288afe1b44d4\",\n        \"description\": \"Emissão de boleto\",\n        \"name\": \"Emissão de boleto\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"boleto_emission\"\n    },\n    {\n        \"id\": \"2b98493a-0b5e-41e2-99d2-aaa6e9f99a0c\",\n        \"description\": \"Pagamento de boleto\",\n        \"name\": \"Pagamento de boleto\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"boleto_payment\"\n    },\n    {\n        \"id\": \"2d524793-5fea-4e97-bcfd-8763115c85e9\",\n        \"description\": \"Compra no cartão\",\n        \"name\": \"Compra no cartão\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"card_purchase\"\n    },\n    {\n        \"id\": \"c2d05903-762d-49f0-a54e-6c8522d6e302\",\n        \"description\": \"Saque no cartão\",\n        \"name\": \"Saque no cartão\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"card_withdrawal\"\n    },\n    {\n        \"id\": \"f76eedcd-83ba-4897-8d5d-2074288825ac\",\n        \"description\": \"Análise manual de documentos\",\n        \"name\": \"Análise manual de documentos\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"compliance_check\"\n    },\n    {\n        \"id\": \"6c4d80e8-a544-4024-85ec-c020d382824d\",\n        \"description\": \"Processamento de imagem de documentos\",\n        \"name\": \"Processamento de imagem de documentos\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"ocr\"\n    },\n    {\n        \"id\": \"c4d57c6a-c412-48f2-baea-4fa50674a31c\",\n        \"description\": \"Reconhecimento facial\",\n        \"name\": \"Reconhecimento facial\",\n        \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n        \"type\": \"facematch\"\n    }\n]"}],"_postman_id":"6dee91ff-d6f8-4eb3-bd36-675523f13909"},{"name":"Create a service","id":"593210e6-0099-420a-ab0c-98d14cca88e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"name\": \"Depósito via TED\",\n        \"description\": \"Depósito via TED | parati-provider\",\n        \"provider\": \"parati-provider\", //parati-provider | bs2 | cdt-visa | celcoin\n        \"type\": \"deposit\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/services","description":"<blockquote>\n<p>Create a <strong>`service'</strong> can be performed only by requirement in Bitcapital's Operations Team.</p>\n</blockquote>\n<blockquote>\n<p>It is not possible to create a service as <code>mediator</code></p>\n</blockquote>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["services"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"e7990acc-c9e4-4a8b-be84-520740caf402","name":"Services created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"name\": \"Depósito via TED\",\n        \"description\": \"Depósito via TED | parati-provider\",\n        \"provider\": \"parati-provider\", //parati-provider | bs2 | cdt-visa | celcoin\n        \"type\": \"deposit\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/services"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n\t{\n        \"id\": \"548a6e1e-efb7-46f9-9f1a-8e67f3cccf21\",\n        \"description\": \"Compra no cartão\",\n        \"name\": \"Compra no cartão\",\n        \"updatedAt\": \"2019-12-16T14:18:27.404Z\",\n        \"createdAt\": \"2019-12-16T14:18:27.404Z\",\n        \"type\": \"card_purchase\"\n    },\n    {\n        \"id\": \"eb97e60b-2820-4386-9791-3c322800ce24\",\n        \"description\": \"Saque no cartão\",\n        \"name\": \"Saque no cartão\",\n        \"updatedAt\": \"2019-12-16T14:18:27.408Z\",\n        \"createdAt\": \"2019-12-16T14:18:27.408Z\",\n        \"type\": \"card_withdrawal\"\n    }\n]"}],"_postman_id":"593210e6-0099-420a-ab0c-98d14cca88e9"}],"id":"e10bbbd0-5484-4189-ac5c-6652c15eda37","description":"<blockquote>\n<p>This only can be performed by <code>admin</code></p>\n</blockquote>\n","_postman_id":"e10bbbd0-5484-4189-ac5c-6652c15eda37","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Plans","item":[{"name":"List all plans","id":"51210bee-27c7-4c87-a0b8-40d91fcb07e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":false},"method":"GET","header":[],"url":"{{API_BASE_URL}}/plans","description":"<p>Obtain list of plans</p>\n","urlObject":{"path":["plans"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"904f79b3-91bb-471f-8941-138b14a8caca","name":"/plans","originalRequest":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/plans"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-API-Version","value":"2.0.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Date","value":"Wed, 04 Mar 2020 12:07:05 GMT"},{"key":"X-RateLimit-Reset","value":"1583323680"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"X-Data-Length","value":"2"},{"key":"X-Data-Skip","value":"0"},{"key":"X-Data-Limit","value":"25"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"645"},{"key":"ETag","value":"W/\"285-Kk/ukjwxtNjXmSTgUj5SNCgWkEg\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"a1da53cb-8f28-4b50-bc50-3aa1cc4ffd87\",\n        \"default\": true,\n        \"status\": \"available\",\n        \"validFrom\": \"2020-03-03T15:48:27-03:00\",\n        \"updatedAt\": \"2020-03-03T18:48:27.863Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.863Z\",\n        \"billingSettings\": {\n            \"settlementTrigger\": \"invoiceClosing\",\n            \"invoiceClosing\": {\n                \"lastDayOfMonth\": true,\n                \"periodicity\": \"monthly\"\n            }\n        }\n    },\n    {\n        \"id\": \"cc8933d8-45da-4f72-8396-df53c7b199a1\",\n        \"default\": true,\n        \"status\": \"available\",\n        \"validFrom\": \"2020-03-03T15:48:27-03:00\",\n        \"updatedAt\": \"2020-03-03T18:48:27.946Z\",\n        \"createdAt\": \"2020-03-03T18:48:27.946Z\",\n        \"billingSettings\": {\n            \"settlementTrigger\": \"invoiceClosing\",\n            \"invoiceClosing\": {\n                \"lastDayOfMonth\": true,\n                \"periodicity\": \"monthly\"\n            }\n        }\n    }\n]"}],"_postman_id":"51210bee-27c7-4c87-a0b8-40d91fcb07e5"},{"name":"Create a plan with absolute fees","event":[{"listen":"test","script":{"id":"40fac981-120e-408c-b558-2301e674dba6","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","    var jsonData = pm.response.json();","    pm.environment.set(\"PLAN_ID\", jsonData.id);","});"],"type":"text/javascript"}}],"id":"89f328bf-67b7-451c-a450-fdd6141ed248","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"PLANO CONSUMER TAXA ZERO COM VALOR ABSOLUTO\",\n    \"items\": [\n        {\n            \"serviceId\": \"03cb8632-bdf6-4b90-8189-64404abe1f2c\",\n            \"name\": \"Saque no cartao\",\n            \"price\": 0,\n            \"entryCalculationMode\": \"absolute\"\n        },\n        {\n            \"serviceId\": \"41b1b499-1143-4368-9668-1325aa993355\",\n            \"name\": \"TED-OUT\",\n            \"price\": 0,\n            \"entryCalculationMode\": \"absolute\"\n        },\n        {\n            \"serviceId\": \"a27cb592-c3a0-4dca-8963-52607b18abea\",\n            \"name\": \"Emissão de boleto\",\n            \"price\": 0,\n            \"entryCalculationMode\": \"absolute\"\n        }\n    ],\n    \"billingSettings\": {\n        \"invoiceClosing\": {\n            \"periodicity\": \"monthly\",\n            \"lastDayOfMonth\": true\n        },\n        \"settlementTrigger\": \"invoiceClosing\"\n    },\n    \"default\": true, //REALLY IMPORTANT! all users will automatically be added to a \"default\" plan. If the domain doesn't has a default plan configured, all consumers will need to be added mannually later to a plan, at the onboarding in \"pending_billing_plan_subscription\" state. \n    \"domain\": \"a0dd5053-9be8-4031-b77b-cdb936889259\",\n    \"validFrom\": \"2020-09-23\",\n    \"validUntil\": \"2025-09-23\" //don't forget to set a valid date\n}"},"url":"{{API_BASE_URL}}/plans","description":"<p>Creating a plan</p>\n<h2 id=\"body-payload\">Body Payload</h2>\n<ul>\n<li>name: Display name for the plan</li>\n<li>items: list of services to be charged</li>\n<li>billingSettings: configurations for the plan<ul>\n<li>invoiceClosing: periocity can be <em>monthly</em>, <em>weekly</em> or <em>daily</em> basis</li>\n</ul>\n</li>\n<li>domain</li>\n<li>validFrom: Date it will start be avaliable</li>\n<li>default: Default plan use to be subscribed on consumer creation</li>\n</ul>\n","urlObject":{"path":["plans"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"bbce98f9-ee9d-452a-b7e0-957db575a279","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Plano Gold\",\n    \"items\": [\n        {\n            \"serviceId\": \"62920287-01ed-485b-8809-5bcb70eac788\",\n            \"name\": \"Serviço de emissão de cartão físico\",\n            \"price\": 15,\n            \"entryClazz\": \"service_charge\",\n            \"billingTrigger\": \"transaction\",\n            \"freeUntil\": 1\n        },\n        {\n            \"serviceId\": \"578a3ca1-5b39-4b32-ae3e-068ea17a6202\",\n            \"name\": \"Serviço de emissão de cartão virtual\",\n            \"price\": 10,\n            \"entryClazz\": \"service_charge\",\n            \"billingTrigger\": \"transaction\",\n            \"freeUntil\": 3\n        },\n        {\n            \"serviceId\": \"217a3349-b808-41af-be72-a128d5dac928\",\n            \"name\": \"Saque\",\n            \"price\": 8,\n            \"entryClazz\": \"service_charge\",\n            \"billingTrigger\": \"transaction\",\n            \"freeUntil\": 3\n        },\n        {\n            \"serviceId\": \"e96c1453-0ebe-4674-8eb9-7c91408f5f6b\",\n            \"name\": \"Transferência entre contas\",\n            \"price\": 5,\n            \"entryClazz\": \"service_charge\",\n            \"billingTrigger\": \"transaction\",\n            \"freeUntil\": 0\n        },\n        {\n            \"serviceId\": \"1bb8f852-7f18-42d6-b38a-3428459a334f\",\n            \"name\": \"Serviço de emissão de boleto\",\n            \"price\": 5,\n            \"entryClazz\": \"service_charge\",\n            \"billingTrigger\": \"transaction\",\n            \"freeUntil\": 2\n        },\n        {\n            \"serviceId\": \"e182f00c-a978-4c7e-bda7-eacf74e5aed9\",\n            \"name\": \"Serviço de validação de boleto\",\n            \"price\": 0,\n            \"entryClazz\": \"service_charge\",\n            \"billingTrigger\": \"transaction\",\n            \"freeUntil\": 0\n        },\n        {\n            \"serviceId\": \"7a27bf27-94d1-4cd2-8f10-ffa77687baff\",\n            \"name\": \"Serviço de pagamento de boleto\",\n            \"price\": 10,\n            \"entryClazz\": \"service_charge\",\n            \"billingTrigger\": \"transaction\",\n            \"freeUntil\": 0\n        },\n        {\n            \"serviceId\": \"3bce17f1-26d9-48cd-b0fa-37a7625c5dbc\",\n            \"name\": \"Assinatura\",\n            \"price\": 100,\n            \"entryClazz\": \"service_charge\",\n            \"billingTrigger\": \"invoice_closing\",\n            \"freeUntil\": 1\n        }\n    ],\n    \"billingSettings\": {\n        \"invoiceClosing\": {\n            \"periodicity\": \"monthly\",\n            \"dayOfMonth\": 10\n        },\n        \"periodCalculation\": {\n            \"periodicity\": \"daily\"\n        },\n        \"settlementTrigger\": \"invoiceClosing\"\n    },\n    \"domain\": \"dfe37f79-4f22-455d-ab18-0801e3698f76\",\n    \"validFrom\": \"2019-12-05\",\n    \"default\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/plans"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Plano Gold\",\n    \"items\": [\n        {\n            \"serviceId\": \"62920287-01ed-485b-8809-5bcb70eac788\",\n            \"name\": \"Serviço de emissão de cartão físico\",\n            \"price\": 15,\n            \"entryClazz\": \"service_charge\",\n            \"billingTrigger\": \"transaction\",\n            \"freeUntil\": 1\n        },\n        {\n            \"serviceId\": \"578a3ca1-5b39-4b32-ae3e-068ea17a6202\",\n            \"name\": \"Serviço de emissão de cartão virtual\",\n            \"price\": 10,\n            \"entryClazz\": \"service_charge\",\n            \"billingTrigger\": \"transaction\",\n            \"freeUntil\": 3\n        },\n        {\n            \"serviceId\": \"217a3349-b808-41af-be72-a128d5dac928\",\n            \"name\": \"Saque\",\n            \"price\": 8,\n            \"entryClazz\": \"service_charge\",\n            \"billingTrigger\": \"transaction\",\n            \"freeUntil\": 3\n        },\n        {\n            \"serviceId\": \"e96c1453-0ebe-4674-8eb9-7c91408f5f6b\",\n            \"name\": \"Transferência entre contas\",\n            \"price\": 5,\n            \"entryClazz\": \"service_charge\",\n            \"billingTrigger\": \"transaction\",\n            \"freeUntil\": 0\n        },\n        {\n            \"serviceId\": \"1bb8f852-7f18-42d6-b38a-3428459a334f\",\n            \"name\": \"Serviço de emissão de boleto\",\n            \"price\": 5,\n            \"entryClazz\": \"service_charge\",\n            \"billingTrigger\": \"transaction\",\n            \"freeUntil\": 2\n        },\n        {\n            \"serviceId\": \"e182f00c-a978-4c7e-bda7-eacf74e5aed9\",\n            \"name\": \"Serviço de validação de boleto\",\n            \"price\": 0,\n            \"entryClazz\": \"service_charge\",\n            \"billingTrigger\": \"transaction\",\n            \"freeUntil\": 0\n        },\n        {\n            \"serviceId\": \"7a27bf27-94d1-4cd2-8f10-ffa77687baff\",\n            \"name\": \"Serviço de pagamento de boleto\",\n            \"price\": 10,\n            \"entryClazz\": \"service_charge\",\n            \"billingTrigger\": \"transaction\",\n            \"freeUntil\": 0\n        },\n        {\n            \"serviceId\": \"3bce17f1-26d9-48cd-b0fa-37a7625c5dbc\",\n            \"name\": \"Assinatura\",\n            \"price\": 100,\n            \"entryClazz\": \"service_charge\",\n            \"billingTrigger\": \"invoice_closing\",\n            \"freeUntil\": 1\n        }\n    ],\n    \"billingSettings\": {\n        \"invoiceClosing\": {\n            \"periodicity\": \"monthly\",\n            \"dayOfMonth\": 10\n        },\n        \"periodCalculation\": {\n            \"periodicity\": \"daily\"\n        },\n        \"settlementTrigger\": \"invoiceClosing\"\n    },\n    \"domain\": \"dfe37f79-4f22-455d-ab18-0801e3698f76\",\n    \"validFrom\": \"2019-12-05\",\n    \"default\": true\n}"}],"_postman_id":"89f328bf-67b7-451c-a450-fdd6141ed248"},{"name":"Create a plan with % fees","event":[{"listen":"test","script":{"id":"65e07672-5f62-47b4-bed3-6c5a4da19804","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","    var jsonData = pm.response.json();","    pm.environment.set(\"PLAN_ID\", jsonData.id);","});"],"type":"text/javascript"}}],"id":"65b35ada-b335-4d00-8062-6029c821a4d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"PLANO CONSUMER TAXA ZERO COM VALOR PERCENTUAL\",\n    \"items\": [\n        {\n            \"serviceId\": \"03cb8632-bdf6-4b90-8189-64404abe1f2c\",\n            \"name\": \"Saque no cartao\",\n            \"entryClazz\": \"service_charge\",\n            \"value\": 0, // % of total amount of transaction\n            \"billingTrigger\": \"transaction\",\n            \"entryCalculationMode\": \"transaction_percentage\"\n        },\n        {\n            \"serviceId\": \"03cb8632-bdf6-4b90-8189-64404abe1f2c\",\n            \"name\": \"TED-OUT\",\n            \"entryClazz\": \"service_charge\",\n            \"value\": 0, // % of total amount of transaction\n            \"billingTrigger\": \"transaction\",\n            \"entryCalculationMode\": \"transaction_percentage\"\n        }\n    ],\n    \"billingSettings\": {\n        \"invoiceClosing\": {\n            \"periodicity\": \"monthly\",\n            \"lastDayOfMonth\": true\n        },\n        \"settlementTrigger\": \"invoiceClosing\"\n    },\n    \"default\": true,\n    \"domain\": \"a0dd5053-9be8-4031-b77b-cdb936889259\",\n    \"validFrom\": \"2020-09-23\",\n    \"validUntil\": \"2025-09-23\"\n}"},"url":"{{API_BASE_URL}}/plans","description":"<p>Creating a plan</p>\n<h2 id=\"body-payload\">Body Payload</h2>\n<ul>\n<li>name: Display name for the plan</li>\n<li>items: list of services to be charged</li>\n<li>billingSettings: configurations for the plan<ul>\n<li>invoiceClosing: periocity can be <em>monthly</em>, <em>weekly</em> or <em>daily</em> basis</li>\n</ul>\n</li>\n<li>domain</li>\n<li>validFrom: Date it will start be avaliable</li>\n<li>default: Default plan use to be subscribed on consumer creation</li>\n</ul>\n","urlObject":{"path":["plans"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"65b35ada-b335-4d00-8062-6029c821a4d7"},{"name":"Configure fees with absolute values","id":"47720b0a-dc34-4918-ad80-f0ae40dcf8c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"serviceId\": \"548a6e1e-efb7-46f9-9f1a-8e67f3cccf21\",\n        \"name\": \"Compra no cartão\",\n        \"price\": 2,\n        \"entryClazz\": \"service_charge\",\n        \"billingTrigger\": \"transaction\", //default é \"transaction\" | invoice_close | period_closing\n        \"freeUntil\": 0, //numero X de gratuidade \n        \"entryCalculationMode\": \"percentage\"\n    },\n    {\n        \"serviceId\": \"eb97e60b-2820-4386-9791-3c322800ce24\",\n        \"name\": \"Saque no cartão\",\n        \"price\": 9, //price sobre o valor ABSOLUTO \n        \"entryClazz\": \"service_charge\",\n        \"billingTrigger\": \"transaction\",\n        \"freeUntil\": 0\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/plans/:id/items","urlObject":{"path":["plans",":id","items"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>planID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"47720b0a-dc34-4918-ad80-f0ae40dcf8c9"},{"name":"Configure fees with % values","id":"106cea4e-d58d-4d40-b10d-1f78db047b39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"serviceId\": \"548a6e1e-efb7-46f9-9f1a-8e67f3cccf21\", //serviceID da lista da prateleira em GET /services \n        \"name\": \"Compra no cartão\", //configure um nome amigável para este serviço\n        \"entryClazz\": \"service_charge\",\n        \"value\": 2, //valor cobrado pelo SERVIÇO\n        //tipo de acionamento da taxa (o default é \"transaction\")\n        \"billingTrigger\": \"transaction\", //transaction | invoice_close | period_closing\n        \"entryCalculationMode\": \"transaction_percentage\", //tipo de calculo\n        \"freeUntil\": 0 //numero de vezes que o serviço ira executar de modo GRATUITO\n    },\n    {\n        \"serviceId\": \"eb97e60b-2820-4386-9791-3c322800ce24\",\n        \"name\": \"Saque no cartão\",\n        \"entryCalculationMode\": \"transaction_percentage\", // assume valor \"absolute\" como default\n        \"value\": 10, // 10 % pra utilizar transaction_percentage price_percentage\n        \"entryClazz\": \"service_charge\",\n        \"billingTrigger\": \"transaction\",\n        \"freeUntil\": 2 //direito a 2 saques gratuitos\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/plans/:id/items","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["plans",":id","items"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>planID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"106cea4e-d58d-4d40-b10d-1f78db047b39"},{"name":"Subscribe Consumer to a plan","id":"3ec8da62-1078-444e-8a1b-cc78c41f5839","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"subscriber\": \"uuidv4\" //userId\n\n}"},"url":"{{API_BASE_URL}}/plans/:id/subscribe","description":"<p>Subscribe user to a plan</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["plans",":id","subscribe"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"6e7291a0-9d77-4bb0-b535-707e64579427","description":{"content":"<p>planID</p>\n","type":"text/plain"},"type":"string","value":"{{PLAN_ID}}","key":"id"}]}},"response":[{"id":"59dec093-5f79-4f5a-9c91-726cccf72efc","name":"User subscribed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"subscriber\": \"7127f947-93ca-4114-bd0c-844c0160abc1\",\n\t\"prepaid\": false\n}"},"url":{"raw":"{{API_BASE_URL}}/plans/:id/subscribe","host":["{{API_BASE_URL}}"],"path":["plans",":id","subscribe"],"variable":[{"key":"id","value":"{{PLAN_ID}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-API-Version","value":"2.0.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Date","value":"Wed, 04 Mar 2020 12:28:50 GMT"},{"key":"X-RateLimit-Reset","value":"1583324940"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Vary","value":"X-HTTP-Method-Override, Accept-Encoding"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"654-6RMfbjR9gHLtPfLwFUU4Nin3j7I\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"44d2949d-0ac4-4cbe-8c45-6c1295c933e9\",\n    \"current\": true,\n    \"status\": \"active\",\n    \"prepaid\": false,\n    \"validFrom\": \"2020-03-04T09:28:50-03:00\",\n    \"updatedAt\": \"2020-03-04T12:28:50.196Z\",\n    \"createdAt\": \"2020-03-04T12:28:50.196Z\",\n    \"plan\": {\n        \"id\": \"21b3352e-6811-4c0d-bde6-89b2b04aa3af\",\n        \"default\": false,\n        \"status\": \"available\",\n        \"validFrom\": \"2020-03-04T09:28:42-03:00\",\n        \"updatedAt\": \"2020-03-04T12:28:42.925Z\",\n        \"createdAt\": \"2020-03-04T12:28:42.925Z\",\n        \"billingSettings\": {\n            \"settlementTrigger\": \"invoiceClosing\",\n            \"periodCalculation\": {\n                \"periodicity\": \"daily\"\n            },\n            \"invoiceClosing\": {\n                \"periodicity\": \"monthly\",\n                \"dayOfMonth\": 5\n            }\n        }\n    },\n    \"supplier\": {\n        \"id\": \"df0b993f-f3e8-42c8-a65d-2baf2fa1cc2a\",\n        \"name\": \"ideiando\",\n        \"role\": \"common\",\n        \"urls\": [],\n        \"createdAt\": \"2020-03-03T19:05:33.681Z\",\n        \"updatedAt\": \"2020-03-03T19:05:33.681Z\",\n        \"postbackUrl\": null,\n        \"settings\": {\n            \"locks\": {\n                \"total_received_transactions_value_monthly\": 0,\n                \"total_received_transactions_value_weekly\": 0,\n                \"total_recent_transactions_value_monthly\": 0,\n                \"total_received_transactions_value_daily\": 0,\n                \"total_recent_transactions_value_weekly\": 0,\n                \"total_sent_transactions_value_monthly\": 0,\n                \"total_recent_transactions_value_daily\": 0,\n                \"total_sent_transactions_value_weekly\": 0,\n                \"total_sent_transactions_value_daily\": 0,\n                \"total_single_transaction_value\": 0,\n                \"total_mobile_credits_daily\": 10,\n                \"card_expiration_time\": 24,\n                \"total_active_cards\": 3\n            },\n            \"fees\": {}\n        }\n    },\n    \"contractor\": {\n        \"id\": \"7127f947-93ca-4114-bd0c-844c0160abc1\",\n        \"name\": \"Guilherme Marques Pacheco 01\",\n        \"firstName\": \"Guilherme\",\n        \"lastName\": \"Marques Pacheco 01\",\n        \"email\": \"guilherup01@gmail.com\",\n        \"role\": \"consumer\",\n        \"twoFactorRequired\": false,\n        \"updatedAt\": \"2020-03-03T19:07:04.325Z\",\n        \"createdAt\": \"2020-03-03T19:07:04.325Z\"\n    }\n}"}],"_postman_id":"3ec8da62-1078-444e-8a1b-cc78c41f5839"},{"name":"Open a plan","id":"42182c19-c3d0-4fee-9991-2c9877230c8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":false},"method":"GET","header":[],"url":"{{API_BASE_URL}}/plans/:id","description":"<p>Obtain details of a specific plan</p>\n","urlObject":{"path":["plans",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"ffe183ec-62fa-4173-ade6-85f2c8c11594","type":"string","value":"{{PLAN_ID}}","key":"id"}]}},"response":[{"id":"d45f8c66-5370-48b1-8937-67ea6380ca27","name":"/plans/:id","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/plans/:id","host":["{{API_BASE_URL}}"],"path":["plans",":id"],"variable":[{"key":"id","value":"a1da53cb-8f28-4b50-bc50-3aa1cc4ffd87","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-API-Version","value":"2.0.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Date","value":"Wed, 04 Mar 2020 12:05:16 GMT"},{"key":"X-RateLimit-Reset","value":"1583323560"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"342e-ro8ucwBEUHsOd4ZhgVYmZ0b88zM\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"a1da53cb-8f28-4b50-bc50-3aa1cc4ffd87\",\n    \"default\": true,\n    \"status\": \"available\",\n    \"validFrom\": \"2020-03-03T15:48:27-03:00\",\n    \"updatedAt\": \"2020-03-03T18:48:27.863Z\",\n    \"createdAt\": \"2020-03-03T18:48:27.863Z\",\n    \"billingSettings\": {\n        \"settlementTrigger\": \"invoiceClosing\",\n        \"invoiceClosing\": {\n            \"lastDayOfMonth\": true,\n            \"periodicity\": \"monthly\"\n        }\n    },\n    \"priceList\": [\n        {\n            \"id\": \"9552877e-8b51-4ce8-8f9b-539534103db5\",\n            \"amount\": \"0.00\",\n            \"updatedAt\": \"2020-03-03T18:48:27.869Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.869Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.868Z\",\n            \"current\": true,\n            \"service\": {\n                \"id\": \"84ea7062-f3b6-41a8-8d46-920c43a062ba\",\n                \"description\": \"Emissão de cartão físico\",\n                \"name\": \"Emissão de cartão físico\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"physical_card_issuing\"\n            }\n        },\n        {\n            \"id\": \"37cf368d-58a4-443b-a23c-c53d69de2139\",\n            \"amount\": \"0.00\",\n            \"updatedAt\": \"2020-03-03T18:48:27.875Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.875Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.874Z\",\n            \"current\": true,\n            \"service\": {\n                \"id\": \"b8e6cbd1-5e2f-43d8-b24d-b9462cc3c39d\",\n                \"description\": \"Emissão de segunda via de cartão físico\",\n                \"name\": \"Emissão de segunda via de cartão físico\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"card_reissue\"\n            }\n        },\n        {\n            \"id\": \"a62cbd41-e9f1-42af-9a97-e92675d2f0b8\",\n            \"amount\": \"0.00\",\n            \"updatedAt\": \"2020-03-03T18:48:27.880Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.880Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.879Z\",\n            \"current\": true,\n            \"service\": {\n                \"id\": \"bc799662-663d-42c2-a6f6-d41c0bc4d2c5\",\n                \"description\": \"Emissão de cartão virtual\",\n                \"name\": \"Emissão de cartão virtual\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"virtual_card_issuing\"\n            }\n        },\n        {\n            \"id\": \"6ae5d91a-6cdf-465f-8b27-41f3de5cf323\",\n            \"amount\": \"0.00\",\n            \"updatedAt\": \"2020-03-03T18:48:27.885Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.885Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.884Z\",\n            \"current\": true,\n            \"service\": {\n                \"id\": \"c9189f66-b705-4046-8e73-b5dd9917e240\",\n                \"description\": \"Saque\",\n                \"name\": \"Saque\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"withdrawal\"\n            }\n        },\n        {\n            \"id\": \"793e55ab-3b9d-4b68-8110-eb1a1622ee9c\",\n            \"amount\": \"0.00\",\n            \"updatedAt\": \"2020-03-03T18:48:27.889Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.889Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.889Z\",\n            \"current\": true,\n            \"service\": {\n                \"id\": \"918d9043-3d14-4f42-b735-4795d4e13d65\",\n                \"description\": \"Transferência\",\n                \"name\": \"Transferência\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"transfer\"\n            }\n        },\n        {\n            \"id\": \"01415fa2-1eb9-4c50-aef6-899801838faa\",\n            \"amount\": \"0.00\",\n            \"updatedAt\": \"2020-03-03T18:48:27.893Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.893Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.893Z\",\n            \"current\": true,\n            \"service\": {\n                \"id\": \"a6e7fce1-1b6b-40e9-bc4a-b442aaa3b064\",\n                \"description\": \"Recarga de telefone móvel\",\n                \"name\": \"Recarga de telefone móvel\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"phone_credits_purchase\"\n            }\n        },\n        {\n            \"id\": \"57702b2b-6b87-4be3-b082-7e2653c5be59\",\n            \"amount\": \"0.00\",\n            \"updatedAt\": \"2020-03-03T18:48:27.898Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.898Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.897Z\",\n            \"current\": true,\n            \"service\": {\n                \"id\": \"4c4138eb-f498-4d9d-aec9-288afe1b44d4\",\n                \"description\": \"Emissão de boleto\",\n                \"name\": \"Emissão de boleto\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"boleto_emission\"\n            }\n        },\n        {\n            \"id\": \"e2c3b694-dc71-4a7c-ab4c-8cb22670bdf3\",\n            \"amount\": \"0.00\",\n            \"updatedAt\": \"2020-03-03T18:48:27.902Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.902Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.902Z\",\n            \"current\": true,\n            \"service\": {\n                \"id\": \"2b98493a-0b5e-41e2-99d2-aaa6e9f99a0c\",\n                \"description\": \"Pagamento de boleto\",\n                \"name\": \"Pagamento de boleto\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"boleto_payment\"\n            }\n        },\n        {\n            \"id\": \"1cd83f74-52a3-4388-b117-dabf03a9d79a\",\n            \"amount\": \"0.00\",\n            \"updatedAt\": \"2020-03-03T18:48:27.906Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.906Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.906Z\",\n            \"current\": true,\n            \"service\": {\n                \"id\": \"2d524793-5fea-4e97-bcfd-8763115c85e9\",\n                \"description\": \"Compra no cartão\",\n                \"name\": \"Compra no cartão\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"card_purchase\"\n            }\n        },\n        {\n            \"id\": \"a7696fa2-6e34-47c7-8db1-61d1dd24810d\",\n            \"amount\": \"0.00\",\n            \"updatedAt\": \"2020-03-03T18:48:27.911Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.911Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.910Z\",\n            \"current\": true,\n            \"service\": {\n                \"id\": \"c2d05903-762d-49f0-a54e-6c8522d6e302\",\n                \"description\": \"Saque no cartão\",\n                \"name\": \"Saque no cartão\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"card_withdrawal\"\n            }\n        },\n        {\n            \"id\": \"79b68d6c-63fa-462f-941b-c5fcb8968dc3\",\n            \"amount\": \"0.00\",\n            \"updatedAt\": \"2020-03-03T18:48:27.916Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.916Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.915Z\",\n            \"current\": true,\n            \"service\": {\n                \"id\": \"f76eedcd-83ba-4897-8d5d-2074288825ac\",\n                \"description\": \"Análise manual de documentos\",\n                \"name\": \"Análise manual de documentos\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"compliance_check\"\n            }\n        },\n        {\n            \"id\": \"1456dd5e-d3aa-4f97-a327-03a06fdec40a\",\n            \"amount\": \"0.00\",\n            \"updatedAt\": \"2020-03-03T18:48:27.920Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.920Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.920Z\",\n            \"current\": true,\n            \"service\": {\n                \"id\": \"6c4d80e8-a544-4024-85ec-c020d382824d\",\n                \"description\": \"Processamento de imagem de documentos\",\n                \"name\": \"Processamento de imagem de documentos\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"ocr\"\n            }\n        },\n        {\n            \"id\": \"4b63c5d1-07b4-469a-866b-37b0f285a078\",\n            \"amount\": \"0.00\",\n            \"updatedAt\": \"2020-03-03T18:48:27.924Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.924Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.924Z\",\n            \"current\": true,\n            \"service\": {\n                \"id\": \"c4d57c6a-c412-48f2-baea-4fa50674a31c\",\n                \"description\": \"Reconhecimento facial\",\n                \"name\": \"Reconhecimento facial\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"facematch\"\n            }\n        }\n    ],\n    \"items\": [\n        {\n            \"id\": \"730655ef-db78-444c-b72f-8da9ab740150\",\n            \"updatedAt\": \"2020-03-03T18:48:27.867Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.867Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.866Z\",\n            \"valid\": true,\n            \"settings\": {\n                \"entryCalculationMode\": \"price_percentage\",\n                \"billingTrigger\": \"transaction\",\n                \"freeUntil\": 0,\n                \"value\": 100,\n                \"clazz\": \"service_charge\"\n            },\n            \"service\": {\n                \"id\": \"84ea7062-f3b6-41a8-8d46-920c43a062ba\",\n                \"description\": \"Emissão de cartão físico\",\n                \"name\": \"Emissão de cartão físico\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"physical_card_issuing\"\n            },\n            \"name\": \"Emissão de cartão físico\"\n        },\n        {\n            \"id\": \"f1d7ddd8-0703-4a16-850f-d025339878f9\",\n            \"updatedAt\": \"2020-03-03T18:48:27.874Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.874Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.873Z\",\n            \"valid\": true,\n            \"settings\": {\n                \"entryCalculationMode\": \"price_percentage\",\n                \"billingTrigger\": \"transaction\",\n                \"freeUntil\": 0,\n                \"value\": 100,\n                \"clazz\": \"service_charge\"\n            },\n            \"service\": {\n                \"id\": \"b8e6cbd1-5e2f-43d8-b24d-b9462cc3c39d\",\n                \"description\": \"Emissão de segunda via de cartão físico\",\n                \"name\": \"Emissão de segunda via de cartão físico\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"card_reissue\"\n            },\n            \"name\": \"Emissão de segunda via de cartão físico\"\n        },\n        {\n            \"id\": \"580be675-26d3-4088-852c-c40165a4d1f9\",\n            \"updatedAt\": \"2020-03-03T18:48:27.878Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.878Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.878Z\",\n            \"valid\": true,\n            \"settings\": {\n                \"entryCalculationMode\": \"price_percentage\",\n                \"billingTrigger\": \"transaction\",\n                \"freeUntil\": 0,\n                \"value\": 100,\n                \"clazz\": \"service_charge\"\n            },\n            \"service\": {\n                \"id\": \"bc799662-663d-42c2-a6f6-d41c0bc4d2c5\",\n                \"description\": \"Emissão de cartão virtual\",\n                \"name\": \"Emissão de cartão virtual\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"virtual_card_issuing\"\n            },\n            \"name\": \"Emissão de cartão virtual\"\n        },\n        {\n            \"id\": \"4ead35de-29f3-4a72-80e5-51cae13739af\",\n            \"updatedAt\": \"2020-03-03T18:48:27.884Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.884Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.883Z\",\n            \"valid\": true,\n            \"settings\": {\n                \"entryCalculationMode\": \"price_percentage\",\n                \"billingTrigger\": \"transaction\",\n                \"freeUntil\": 0,\n                \"value\": 100,\n                \"clazz\": \"service_charge\"\n            },\n            \"service\": {\n                \"id\": \"c9189f66-b705-4046-8e73-b5dd9917e240\",\n                \"description\": \"Saque\",\n                \"name\": \"Saque\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"withdrawal\"\n            },\n            \"name\": \"Saque\"\n        },\n        {\n            \"id\": \"411508e3-3293-4646-aaad-42bc9c673314\",\n            \"updatedAt\": \"2020-03-03T18:48:27.888Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.888Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.887Z\",\n            \"valid\": true,\n            \"settings\": {\n                \"entryCalculationMode\": \"price_percentage\",\n                \"billingTrigger\": \"transaction\",\n                \"freeUntil\": 0,\n                \"value\": 100,\n                \"clazz\": \"service_charge\"\n            },\n            \"service\": {\n                \"id\": \"918d9043-3d14-4f42-b735-4795d4e13d65\",\n                \"description\": \"Transferência\",\n                \"name\": \"Transferência\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"transfer\"\n            },\n            \"name\": \"Transferência\"\n        },\n        {\n            \"id\": \"c773710c-c9a1-4f6a-9637-f81474f416ff\",\n            \"updatedAt\": \"2020-03-03T18:48:27.892Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.892Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.892Z\",\n            \"valid\": true,\n            \"settings\": {\n                \"entryCalculationMode\": \"price_percentage\",\n                \"billingTrigger\": \"transaction\",\n                \"freeUntil\": 0,\n                \"value\": 100,\n                \"clazz\": \"service_charge\"\n            },\n            \"service\": {\n                \"id\": \"a6e7fce1-1b6b-40e9-bc4a-b442aaa3b064\",\n                \"description\": \"Recarga de telefone móvel\",\n                \"name\": \"Recarga de telefone móvel\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"phone_credits_purchase\"\n            },\n            \"name\": \"Recarga de telefone móvel\"\n        },\n        {\n            \"id\": \"0d3ce4d1-6b6c-4a26-83ae-fbbefc64a50e\",\n            \"updatedAt\": \"2020-03-03T18:48:27.897Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.897Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.896Z\",\n            \"valid\": true,\n            \"settings\": {\n                \"entryCalculationMode\": \"price_percentage\",\n                \"billingTrigger\": \"transaction\",\n                \"freeUntil\": 0,\n                \"value\": 100,\n                \"clazz\": \"service_charge\"\n            },\n            \"service\": {\n                \"id\": \"4c4138eb-f498-4d9d-aec9-288afe1b44d4\",\n                \"description\": \"Emissão de boleto\",\n                \"name\": \"Emissão de boleto\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"boleto_emission\"\n            },\n            \"name\": \"Emissão de boleto\"\n        },\n        {\n            \"id\": \"07c3876a-7401-483a-a458-b59946b425ad\",\n            \"updatedAt\": \"2020-03-03T18:48:27.901Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.901Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.900Z\",\n            \"valid\": true,\n            \"settings\": {\n                \"entryCalculationMode\": \"price_percentage\",\n                \"billingTrigger\": \"transaction\",\n                \"freeUntil\": 0,\n                \"value\": 100,\n                \"clazz\": \"service_charge\"\n            },\n            \"service\": {\n                \"id\": \"2b98493a-0b5e-41e2-99d2-aaa6e9f99a0c\",\n                \"description\": \"Pagamento de boleto\",\n                \"name\": \"Pagamento de boleto\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"boleto_payment\"\n            },\n            \"name\": \"Pagamento de boleto\"\n        },\n        {\n            \"id\": \"e5046c27-5e77-4fd4-a4e4-bd4d4a0b2f7c\",\n            \"updatedAt\": \"2020-03-03T18:48:27.905Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.905Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.905Z\",\n            \"valid\": true,\n            \"settings\": {\n                \"entryCalculationMode\": \"price_percentage\",\n                \"billingTrigger\": \"transaction\",\n                \"freeUntil\": 0,\n                \"value\": 100,\n                \"clazz\": \"service_charge\"\n            },\n            \"service\": {\n                \"id\": \"2d524793-5fea-4e97-bcfd-8763115c85e9\",\n                \"description\": \"Compra no cartão\",\n                \"name\": \"Compra no cartão\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"card_purchase\"\n            },\n            \"name\": \"Compra no cartão\"\n        },\n        {\n            \"id\": \"63a99592-dad8-496e-ad46-e659df845777\",\n            \"updatedAt\": \"2020-03-03T18:48:27.910Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.910Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.909Z\",\n            \"valid\": true,\n            \"settings\": {\n                \"entryCalculationMode\": \"price_percentage\",\n                \"billingTrigger\": \"transaction\",\n                \"freeUntil\": 0,\n                \"value\": 100,\n                \"clazz\": \"service_charge\"\n            },\n            \"service\": {\n                \"id\": \"c2d05903-762d-49f0-a54e-6c8522d6e302\",\n                \"description\": \"Saque no cartão\",\n                \"name\": \"Saque no cartão\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"card_withdrawal\"\n            },\n            \"name\": \"Saque no cartão\"\n        },\n        {\n            \"id\": \"c4759144-110a-4521-8a1b-a64ca8c16524\",\n            \"updatedAt\": \"2020-03-03T18:48:27.915Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.915Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.914Z\",\n            \"valid\": true,\n            \"settings\": {\n                \"entryCalculationMode\": \"price_percentage\",\n                \"billingTrigger\": \"transaction\",\n                \"freeUntil\": 0,\n                \"value\": 100,\n                \"clazz\": \"service_charge\"\n            },\n            \"service\": {\n                \"id\": \"f76eedcd-83ba-4897-8d5d-2074288825ac\",\n                \"description\": \"Análise manual de documentos\",\n                \"name\": \"Análise manual de documentos\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"compliance_check\"\n            },\n            \"name\": \"Análise manual de documentos\"\n        },\n        {\n            \"id\": \"1b73193c-298f-4162-81e3-59061c4ad415\",\n            \"updatedAt\": \"2020-03-03T18:48:27.919Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.919Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.918Z\",\n            \"valid\": true,\n            \"settings\": {\n                \"entryCalculationMode\": \"price_percentage\",\n                \"billingTrigger\": \"transaction\",\n                \"freeUntil\": 0,\n                \"value\": 100,\n                \"clazz\": \"service_charge\"\n            },\n            \"service\": {\n                \"id\": \"6c4d80e8-a544-4024-85ec-c020d382824d\",\n                \"description\": \"Processamento de imagem de documentos\",\n                \"name\": \"Processamento de imagem de documentos\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"ocr\"\n            },\n            \"name\": \"Processamento de imagem de documentos\"\n        },\n        {\n            \"id\": \"9bfe7cf9-e4e2-4972-92ce-ac15ec0109d0\",\n            \"updatedAt\": \"2020-03-03T18:48:27.923Z\",\n            \"createdAt\": \"2020-03-03T18:48:27.923Z\",\n            \"validFrom\": \"2020-03-03T18:48:27.923Z\",\n            \"valid\": true,\n            \"settings\": {\n                \"entryCalculationMode\": \"price_percentage\",\n                \"billingTrigger\": \"transaction\",\n                \"freeUntil\": 0,\n                \"value\": 100,\n                \"clazz\": \"service_charge\"\n            },\n            \"service\": {\n                \"id\": \"c4d57c6a-c412-48f2-baea-4fa50674a31c\",\n                \"description\": \"Reconhecimento facial\",\n                \"name\": \"Reconhecimento facial\",\n                \"updatedAt\": \"2020-03-03T18:48:27.844Z\",\n                \"createdAt\": \"2020-03-03T18:48:27.844Z\",\n                \"type\": \"facematch\"\n            },\n            \"name\": \"Reconhecimento facial\"\n        }\n    ]\n}"}],"_postman_id":"42182c19-c3d0-4fee-9991-2c9877230c8e"},{"name":"Remove a service from a plan","id":"ef4fb811-96b8-49ba-a716-2a864bfb91ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"{{API_BASE_URL}}/plans/:id/services/:serviceType","description":"<p>Removing a service from the plan.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["plans",":id","services",":serviceType"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>planID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"},{"description":{"content":"<p>Service types can be retrived from [GET -&gt; /services]</p>\n","type":"text/plain"},"type":"string","value":"","key":"serviceType"}]}},"response":[],"_postman_id":"ef4fb811-96b8-49ba-a716-2a864bfb91ae"},{"name":"/plans/:id/items","id":"1302a01a-dec6-499e-a844-8e3447c99aa0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"serviceId\": \"d5f5d02b-e2da-4a52-b6fd-243cc6b45a38\",\n        \"name\": \"Assinatura\",\n        \"price\": 110,\n        \"entryClazz\": \"service_charge\",\n        \"billingTrigger\": \"invoice_closing\",\n        \"freeUntil\": 110\n    }\n]"},"url":"{{API_BASE_URL}}/plans/:id/items","description":"<p>Editing or adding plan (services) items</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["plans",":id","items"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"75cee10a-6b99-4cab-b095-0c03324eacc4","type":"string","value":"{{PLAN_ID}}","key":"id"}]}},"response":[],"_postman_id":"1302a01a-dec6-499e-a844-8e3447c99aa0"},{"name":"Verify a fee in a a service","id":"7d503ee4-1c79-4128-9cfb-ee87212d7800","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/billing/users/:userId/type/:serviceType/fee","description":"<p>Get actual fee of one service that is been applied to a certain user.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["billing","users",":userId","type",":serviceType","fee"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"d8a68644-cad4-4ad9-96fd-4ed3b6a5b4db","type":"string","value":"{{USER_ID}}","key":"userId"},{"id":"bdbed4be-f682-4b96-a953-c8a4b611607e","description":{"content":"<p>Service types can be retrived from [GET -&gt; /services]</p>\n","type":"text/plain"},"type":"string","value":"{{SERVICE_TYPE}}","key":"serviceType"}]}},"response":[],"_postman_id":"7d503ee4-1c79-4128-9cfb-ee87212d7800"},{"name":"Change plan parameters","id":"560414f6-9967-4186-8a76-c4aaab90a7ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Plano Básico\", //new name\n    \"default\": true, // true | false\n    \"validUntil\": \"2020-10-12\", \n    \"serviceFeeCollectionDefaultMode\": \"prepaid\",\n    \"status\": \"unavailable\"\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/plans/:id","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["plans",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>planID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"560414f6-9967-4186-8a76-c4aaab90a7ea"},{"name":"Desactive a plan","id":"65f4ea79-5912-4f0e-ba79-96d0e1d204fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"status\": \"unavailable\" // not recommended. For best practices change a plan parameter to expire soon and wait to be expired.\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/plans/:id","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["plans",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>planID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"65f4ea79-5912-4f0e-ba79-96d0e1d204fc"}],"id":"33a43edc-ad2f-47ec-8844-b66cf348f946","event":[{"listen":"prerequest","script":{"id":"c08626c6-00a6-49cb-908d-a535c4951c41","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"184dbba0-1e69-49d0-a14b-b4fe8479de8c","type":"text/javascript","exec":[""]}}],"_postman_id":"33a43edc-ad2f-47ec-8844-b66cf348f946","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Invoices","item":[{"name":"List all invoices","id":"c4b14fbe-4f8d-4271-8ad1-415fe6689056","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/invoices?userId=","description":"<p>List of invoices of a specific user.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["invoices"],"host":["{{API_BASE_URL}}"],"query":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"key":"userId","value":""}],"variable":[]}},"response":[],"_postman_id":"c4b14fbe-4f8d-4271-8ad1-415fe6689056"},{"name":"Open a invoice from a user","id":"63b35530-4646-4e2f-bcdb-ef3d5bb9eeaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/users/:userId/invoices/:invoiceId","description":"<p>Retrieves informations about a specific invoice</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["users",":userId","invoices",":invoiceId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"string","value":"","key":"userId"},{"description":{"content":"<p>invoiceID</p>\n","type":"text/plain"},"type":"string","value":"","key":"invoiceId"}]}},"response":[{"id":"dff431ba-4275-430c-be96-d3fc720e8ace","name":"200 (OK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/consumers/:userId/invoices/:id","host":["{{API_BASE_URL}}"],"path":["consumers",":userId","invoices",":id"],"variable":[{"key":"userId","type":"string","value":"25490c3e-eb90-4247-8cf7-d79f28d518cf"},{"key":"id","value":"current"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-API-Version","value":"1.9.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Date","value":"Fri, 24 Jan 2020 20:03:04 GMT"},{"key":"X-RateLimit-Reset","value":"1579896229"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1195"},{"key":"ETag","value":"W/\"4ab-0s+/sqS+MPJRTrJ0Yj2GXUDKAL8\""},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"settledEntriesBalance\": \"0.00\",\n    \"pendingEntriesBalance\": \"0.00\",\n    \"totalSettledDebits\": \"0.000000\",\n    \"totalPendingDebits\": \"0.000000\",\n    \"totalSettledCredits\": \"0.000000\",\n    \"totalPendingCredits\": \"0.000000\",\n    \"current\": true,\n    \"status\": \"active\",\n    \"closureScheduledFor\": \"2020-02-11T01:59:59.999Z\",\n    \"startedAt\": \"2020-01-24T19:51:06.921Z\",\n    \"updatedAt\": \"2020-01-24T19:51:07.080Z\",\n    \"createdAt\": \"2020-01-24T19:51:07.080Z\",\n    \"id\": \"11526911-d2df-4a6f-b509-3d2998bcd850\",\n    \"contractor\": {\n        \"id\": \"25490c3e-eb90-4247-8cf7-d79f28d518cf\",\n        \"name\": \"Nome User\",\n        \"firstName\": \"Usuário\",\n        \"lastName\": \"sobrenome\",\n        \"email\": \"emailusuario@email.com\",\n        \"role\": \"consumer\",\n        \"twoFactorRequired\": false,\n        \"updatedAt\": \"2020-01-24T19:50:09.448Z\",\n        \"createdAt\": \"2020-01-24T19:50:09.448Z\"\n    },\n    \"periods\": [\n        {\n            \"settledEntriesBalance\": \"0.00\",\n            \"pendingEntriesBalance\": \"0.00\",\n            \"totalSettledDebits\": \"0.000000\",\n            \"totalPendingDebits\": \"0.000000\",\n            \"totalSettledCredits\": \"0.000000\",\n            \"totalPendingCredits\": \"0.000000\",\n            \"current\": true,\n            \"status\": \"active\",\n            \"closureScheduledFor\": \"2020-01-26T01:59:59.999Z\",\n            \"startedAt\": \"2020-01-24T19:51:06.921Z\",\n            \"updatedAt\": \"2020-01-24T19:51:07.084Z\",\n            \"createdAt\": \"2020-01-24T19:51:07.084Z\",\n            \"id\": \"074b053c-c414-47a0-9fd6-ce5a23eb79b8\",\n            \"entries\": []\n        }\n    ]\n}"}],"_postman_id":"63b35530-4646-4e2f-bcdb-ef3d5bb9eeaa"},{"name":"List invoices from a user","id":"75042631-f206-4f3b-a829-2256da2ed0e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/users/:userId/invoices","description":"<p>Lists all invoices from a given user ordered by startedAt.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["users",":userId","invoices"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"string","value":"","key":"userId"}]}},"response":[{"id":"cd93c9f2-955f-4d30-9555-df11d39b1e0e","name":"200 (OK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/consumers/:userId/invoices","host":["{{API_BASE_URL}}"],"path":["consumers",":userId","invoices"],"variable":[{"key":"userId","type":"string","value":"25490c3e-eb90-4247-8cf7-d79f28d518cf"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-API-Version","value":"1.9.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Date","value":"Fri, 24 Jan 2020 20:03:04 GMT"},{"key":"X-RateLimit-Reset","value":"1579896229"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1195"},{"key":"ETag","value":"W/\"4ab-0s+/sqS+MPJRTrJ0Yj2GXUDKAL8\""},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"settledEntriesBalance\": \"0.0000000\",\n    \"pendingEntriesBalance\": \"-14.0000000\",\n    \"totalSettledDebits\": \"0.0000000\",\n    \"totalPendingDebits\": \"14.0000000\",\n    \"totalSettledCredits\": \"0.0000000\",\n    \"totalPendingCredits\": \"0.0000000\",\n    \"current\": true,\n    \"status\": \"closing\",\n    \"closureScheduledFor\": \"2020-06-01T02:59:59.999Z\",\n    \"startedAt\": \"2020-05-30T17:32:06.544Z\",\n    \"updatedAt\": \"2020-05-31T15:51:44.702Z\",\n    \"createdAt\": \"2020-05-30T17:32:06.662Z\",\n    \"id\": \"eb24cf10-32b9-43d7-9988-37efd957fd73\",\n    \"contractor\": {\n        \"id\": \"0244c9f1-2c63-47ef-a50c-fab44f1f23cb\",\n        \"name\": \"Teste Mediador\",\n        \"firstName\": \"Teste\",\n        \"lastName\": \"Mediador\",\n        \"email\": \"teste@mediador.com.br\",\n        \"role\": \"mediator\",\n        \"twoFactorRequired\": false,\n        \"updatedAt\": \"2020-05-30T17:28:27.371Z\",\n        \"createdAt\": \"2020-05-30T17:28:27.377Z\"\n    },\n    \"periods\": [\n        {\n            \"settledEntriesBalance\": \"0.0000000\",\n            \"pendingEntriesBalance\": \"-14.0000000\",\n            \"totalSettledDebits\": \"0.0000000\",\n            \"totalPendingDebits\": \"14.0000000\",\n            \"totalSettledCredits\": \"0.0000000\",\n            \"totalPendingCredits\": \"0.0000000\",\n            \"current\": false,\n            \"status\": \"closed\",\n            \"closedAt\": \"2020-05-31T15:51:14.240Z\",\n            \"closureScheduledFor\": \"2020-05-31T15:51:13.417Z\",\n            \"startedAt\": \"2020-05-30T17:32:06.544Z\",\n            \"updatedAt\": \"2020-05-31T15:51:14.404Z\",\n            \"createdAt\": \"2020-05-30T17:32:06.672Z\",\n            \"id\": \"7bb90e59-8ac7-492e-8e9b-7587a059431e\",\n            \"entries\": [\n                {\n                    \"id\": \"97d274ed-2074-4449-9f23-c7d91e8a24fd\",\n                    \"status\": \"pending\",\n                    \"additionalData\": {\n                        \"sourceTransaction\": {\n                            \"operationDate\": \"2020-05-31T15:04:39.248Z\",\n                            \"user\": {\n                                \"twoFactorRequired\": false,\n                                \"updatedAt\": \"2020-05-30T17:32:56.862Z\",\n                                \"firstName\": \"John\",\n                                \"createdAt\": \"2020-05-30T17:32:56.862Z\",\n                                \"lastName\": \"Doe\",\n                                \"domain\": {\n                                    \"role\": \"default\",\n                                    \"name\": \"Default Domain\",\n                                    \"id\": \"bdb0088d-ffb9-455a-b2f4-93fced075b4d\"\n                                },\n                                \"email\": \"john2@company.com\",\n                                \"role\": \"consumer\",\n                                \"name\": \"John Doe\",\n                                \"id\": \"a9becfe5-031c-4212-982d-aa6f9f496e6c\"\n                            }\n                        },\n                        \"chargeback\": false\n                    },\n                    \"amount\": \"3.0000000\",\n                    \"operationType\": \"debit\",\n                    \"updatedAt\": \"2020-05-31T15:04:39.964Z\",\n                    \"createdAt\": \"2020-05-31T15:04:39.961Z\",\n                    \"type\": {\n                        \"id\": \"08efbcea-e556-4378-b25f-72ba22b959cd\",\n                        \"service\": {\n                            \"id\": \"66edffe7-3d53-4f26-8c2d-3b144ea09914\",\n                            \"description\": \"Emissão de cartão virtual\",\n                            \"name\": \"Emissão de cartão virtual\",\n                            \"provider\": null,\n                            \"type\": \"virtual_card_issuing\"\n                        },\n                        \"name\": \"Virtual Card Issuing\"\n                    }\n                },\n                {\n                    \"id\": \"c45fec8c-cf24-4254-aa6b-63ddc39e8ed6\",\n                    \"status\": \"pending\",\n                    \"additionalData\": {\n                        \"sourceTransaction\": {\n                            \"additionalData\": {},\n                            \"updatedAt\": \"2020-05-31T15:04:18.486Z\",\n                            \"createdAt\": \"2020-05-31T15:04:18.486Z\",\n                            \"payments\": [\n                                {\n                                    \"scheduleFor\": null,\n                                    \"updatedAt\": \"2020-05-31T15:04:18.499Z\",\n                                    \"createdAt\": \"2020-05-31T15:04:18.499Z\",\n                                    \"status\": \"authorized\",\n                                    \"amount\": \"1.23\",\n                                    \"type\": \"transfer\",\n                                    \"id\": \"d66d6948-8faf-4c65-8286-41fcc9d14319\"\n                                },\n                                {\n                                    \"scheduleFor\": null,\n                                    \"updatedAt\": \"2020-05-31T15:04:18.481Z\",\n                                    \"createdAt\": \"2020-05-31T15:04:18.749Z\",\n                                    \"status\": \"settled\",\n                                    \"amount\": \"8.0000000\",\n                                    \"type\": \"service_fee\",\n                                    \"id\": \"4ff95f8b-a915-4441-b915-d3c85e4b980b\"\n                                }\n                            ],\n                            \"source\": {\n                                \"updatedAt\": \"2020-05-30T17:32:57.265Z\",\n                                \"createdAt\": \"2020-05-30T17:32:57.265Z\",\n                                \"stellar\": {\n                                    \"publicKey\": \"GAGXZN77TLEYYSPYONBH52734U6TCVXCU2RGL2MWZ2Q6ZRH5SODWMCFS\"\n                                },\n                                \"id\": \"e4baa458-deae-43ff-8542-941fe59993c5\"\n                            },\n                            \"type\": \"payment\",\n                            \"id\": \"def9ee2e-5896-4b67-9ab5-f2a0f560677a\"\n                        },\n                        \"chargeback\": false,\n                        \"sourceId\": \"def9ee2e-5896-4b67-9ab5-f2a0f560677a\"\n                    },\n                    \"amount\": \"4.0000000\",\n                    \"operationType\": \"debit\",\n                    \"updatedAt\": \"2020-05-31T15:04:27.299Z\",\n                    \"createdAt\": \"2020-05-31T15:04:27.295Z\",\n                    \"type\": {\n                        \"id\": \"7a6667e4-cc3b-469f-8cbf-ec523113ded0\",\n                        \"service\": {\n                            \"id\": \"01bad2ca-5cf3-44d1-9c2f-8860fdef36d7\",\n                            \"description\": \"Transferência\",\n                            \"name\": \"Transferência\",\n                            \"provider\": null,\n                            \"type\": \"transfer\"\n                        },\n                        \"name\": \"P2P\"\n                    }\n                },\n                {\n                    \"id\": \"81631430-b79a-4348-b7dc-3659de7dd6e9\",\n                    \"status\": \"pending\",\n                    \"additionalData\": {\n                        \"sourceTransaction\": {\n                            \"operationDate\": \"2020-05-31T15:02:36.090Z\",\n                            \"user\": {\n                                \"twoFactorRequired\": false,\n                                \"updatedAt\": \"2020-05-30T17:32:56.862Z\",\n                                \"firstName\": \"John\",\n                                \"createdAt\": \"2020-05-30T17:32:56.862Z\",\n                                \"lastName\": \"Doe\",\n                                \"domain\": {\n                                    \"role\": \"default\",\n                                    \"name\": \"Default Domain\",\n                                    \"id\": \"bdb0088d-ffb9-455a-b2f4-93fced075b4d\"\n                                },\n                                \"email\": \"john2@company.com\",\n                                \"role\": \"consumer\",\n                                \"name\": \"John Doe\",\n                                \"id\": \"a9becfe5-031c-4212-982d-aa6f9f496e6c\"\n                            }\n                        },\n                        \"chargeback\": false\n                    },\n                    \"amount\": \"3.0000000\",\n                    \"operationType\": \"debit\",\n                    \"updatedAt\": \"2020-05-31T15:03:37.771Z\",\n                    \"createdAt\": \"2020-05-31T15:03:37.767Z\",\n                    \"type\": {\n                        \"id\": \"08efbcea-e556-4378-b25f-72ba22b959cd\",\n                        \"service\": {\n                            \"id\": \"66edffe7-3d53-4f26-8c2d-3b144ea09914\",\n                            \"description\": \"Emissão de cartão virtual\",\n                            \"name\": \"Emissão de cartão virtual\",\n                            \"provider\": null,\n                            \"type\": \"virtual_card_issuing\"\n                        },\n                        \"name\": \"Virtual Card Issuing\"\n                    }\n                },\n                {\n                    \"id\": \"c664b79f-b763-48c0-9802-e07d2123ec7f\",\n                    \"status\": \"pending\",\n                    \"additionalData\": {\n                        \"sourceTransaction\": {\n                            \"additionalData\": {},\n                            \"updatedAt\": \"2020-05-31T14:51:43.770Z\",\n                            \"createdAt\": \"2020-05-31T14:51:43.770Z\",\n                            \"payments\": [\n                                {\n                                    \"scheduleFor\": null,\n                                    \"updatedAt\": \"2020-05-31T14:51:43.783Z\",\n                                    \"createdAt\": \"2020-05-31T14:51:43.783Z\",\n                                    \"status\": \"authorized\",\n                                    \"amount\": \"1.23\",\n                                    \"type\": \"transfer\",\n                                    \"id\": \"3eab21cd-8d8f-4927-aca3-21bb2b12342b\"\n                                },\n                                {\n                                    \"scheduleFor\": null,\n                                    \"updatedAt\": \"2020-05-31T14:51:43.766Z\",\n                                    \"createdAt\": \"2020-05-31T14:51:43.831Z\",\n                                    \"status\": \"settled\",\n                                    \"amount\": \"8.0000000\",\n                                    \"type\": \"service_fee\",\n                                    \"id\": \"efe81a48-ea83-4fb2-90c0-7d2a48d9bd71\"\n                                }\n                            ],\n                            \"source\": {\n                                \"updatedAt\": \"2020-05-30T17:32:57.265Z\",\n                                \"createdAt\": \"2020-05-30T17:32:57.265Z\",\n                                \"stellar\": {\n                                    \"publicKey\": \"GAGXZN77TLEYYSPYONBH52734U6TCVXCU2RGL2MWZ2Q6ZRH5SODWMCFS\"\n                                },\n                                \"id\": \"e4baa458-deae-43ff-8542-941fe59993c5\"\n                            },\n                            \"type\": \"payment\",\n                            \"id\": \"a0936d87-7fee-4f8f-87ba-f47c50c7a019\"\n                        },\n                        \"chargeback\": false,\n                        \"sourceId\": \"a0936d87-7fee-4f8f-87ba-f47c50c7a019\"\n                    },\n                    \"amount\": \"4.0000000\",\n                    \"operationType\": \"debit\",\n                    \"updatedAt\": \"2020-05-31T14:51:45.331Z\",\n                    \"createdAt\": \"2020-05-31T14:51:45.326Z\",\n                    \"type\": {\n                        \"id\": \"7a6667e4-cc3b-469f-8cbf-ec523113ded0\",\n                        \"service\": {\n                            \"id\": \"01bad2ca-5cf3-44d1-9c2f-8860fdef36d7\",\n                            \"description\": \"Transferência\",\n                            \"name\": \"Transferência\",\n                            \"provider\": null,\n                            \"type\": \"transfer\"\n                        },\n                        \"name\": \"P2P\"\n                    }\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"75042631-f206-4f3b-a829-2256da2ed0e7"},{"name":"Close a invoice","id":"b0cfd51d-c882-48b7-ae5e-95ae29e190d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"force\": true\n}"},"url":"{{API_BASE_URL}}/invoices/:id/close","description":"<p>Close an opened invoice. It will generate a new invoice.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["invoices",":id","close"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"b0cfd51d-c882-48b7-ae5e-95ae29e190d5"},{"name":"Open a invoice","id":"e320d02c-bb2b-4b73-9eab-963e3b5db304","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/invoices/:id","description":"<p>List of invoices can be retrieved from [GET /invoices?userId=X]</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["invoices",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>invoiceID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"e320d02c-bb2b-4b73-9eab-963e3b5db304"},{"name":"Current invoice","id":"2348e8c2-673b-4a53-a3d0-a6b187df0f1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/users/:id/invoices/:invoiceId","description":"<p>Retrieves the <strong>current</strong> open invoice of a consumer. It is a easy way to get this information.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["users",":id","invoices",":invoiceId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>userID</p>\n","type":"text/plain"},"type":"string","value":"e377d512-f8db-411b-b388-26d92fa715ce","key":"id"},{"description":{"content":"<p>type <code>current</code></p>\n","type":"text/plain"},"type":"string","value":"current","key":"invoiceId"}]}},"response":[{"id":"0c4c440d-ca40-4c5b-9f2c-7e702d6c8837","name":"Current open invoice","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/users/:userId/invoices/:id","host":["{{API_BASE_URL}}"],"path":["users",":userId","invoices",":id"],"variable":[{"description":"userID","key":"userId","type":"string","value":"25490c3e-eb90-4247-8cf7-d79f28d518cf"},{"key":"id","value":"current","description":"type `current`"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-API-Version","value":"1.9.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Date","value":"Fri, 24 Jan 2020 20:03:04 GMT"},{"key":"X-RateLimit-Reset","value":"1579896229"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1195"},{"key":"ETag","value":"W/\"4ab-0s+/sqS+MPJRTrJ0Yj2GXUDKAL8\""},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"settledEntriesBalance\": \"0.00\",\n    \"pendingEntriesBalance\": \"0.00\",\n    \"totalSettledDebits\": \"0.000000\",\n    \"totalPendingDebits\": \"0.000000\",\n    \"totalSettledCredits\": \"0.000000\",\n    \"totalPendingCredits\": \"0.000000\",\n    \"current\": true,\n    \"status\": \"active\",\n    \"closureScheduledFor\": \"2020-02-11T01:59:59.999Z\",\n    \"startedAt\": \"2020-01-24T19:51:06.921Z\",\n    \"updatedAt\": \"2020-01-24T19:51:07.080Z\",\n    \"createdAt\": \"2020-01-24T19:51:07.080Z\",\n    \"id\": \"11526911-d2df-4a6f-b509-3d2998bcd850\",\n    \"contractor\": {\n        \"id\": \"25490c3e-eb90-4247-8cf7-d79f28d518cf\",\n        \"name\": \"Full Name of Consumer\",\n        \"firstName\": \"Name of Consumer\",\n        \"lastName\": \"lastname of Consumer\",\n        \"email\": \"consumer@email.com.br\",\n        \"role\": \"consumer\",\n        \"twoFactorRequired\": false,\n        \"updatedAt\": \"2020-01-24T19:50:09.448Z\",\n        \"createdAt\": \"2020-01-24T19:50:09.448Z\"\n    },\n    \"periods\": [\n        {\n            \"settledEntriesBalance\": \"0.00\",\n            \"pendingEntriesBalance\": \"0.00\",\n            \"totalSettledDebits\": \"0.000000\",\n            \"totalPendingDebits\": \"0.000000\",\n            \"totalSettledCredits\": \"0.000000\",\n            \"totalPendingCredits\": \"0.000000\",\n            \"current\": true,\n            \"status\": \"active\",\n            \"closureScheduledFor\": \"2020-01-26T01:59:59.999Z\",\n            \"startedAt\": \"2020-01-24T19:51:06.921Z\",\n            \"updatedAt\": \"2020-01-24T19:51:07.084Z\",\n            \"createdAt\": \"2020-01-24T19:51:07.084Z\",\n            \"id\": \"074b053c-c414-47a0-9fd6-ce5a23eb79b8\",\n            \"entries\": []\n        }\n    ]\n}"}],"_postman_id":"2348e8c2-673b-4a53-a3d0-a6b187df0f1c"}],"id":"248641e5-7761-4612-8998-1463ff4d0c1e","_postman_id":"248641e5-7761-4612-8998-1463ff4d0c1e","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Subscription","item":[{"name":"Subscribe a user to a plan","id":"1700e9bf-e9f0-4df4-8834-6cd88b6c0e77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"subscriber\": \"22552cb5-7a95-4d67-9616-c8ca4a624245\", //userid\n    \"prepaid\": true,\n    \"force\": true //SOMENTE para forcar uma migracao para um plano novo\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/plans/:id/subscribe","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["plans",":id","subscribe"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>planID</p>\n","type":"text/plain"},"type":"any","value":"{{plaiID}}","key":"id"}]}},"response":[{"id":"29d03cb0-4a93-4594-9e38-5f80875c882c","name":"User subscribed","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"subscriber\": \"22552cb5-7a95-4d67-9616-c8ca4a624245\", //userid\n    \"prepaid\": true,\n    \"force\": true //SOMENTE para forcar uma migracao para um plano novo\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/plans/:id/subscribe","host":["{{API_BASE_URL}}"],"path":["plans",":id","subscribe"],"variable":[{"key":"id","value":"","description":"planID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"2a5c4cef-a9b4-45d7-880c-2a5f0fae8f1d\",\n    \"current\": true,\n    \"status\": \"active\",\n    \"prepaid\": true,\n    \"validFrom\": \"2020-04-25T17:39:56-03:00\",\n    \"updatedAt\": \"2020-04-25T20:39:56.460Z\",\n    \"createdAt\": \"2020-04-25T20:39:56.460Z\",\n    \"plan\": {\n        \"billingSettings\": {\n            \"settlementTrigger\": \"invoiceClosing\",\n            \"invoiceClosing\": {\n                \"lastDayOfMonth\": true,\n                \"periodicity\": \"monthly\"\n            }\n        },\n        \"default\": true,\n        \"status\": \"available\",\n        \"validFrom\": \"2020-02-03T14:29:37-02:00\",\n        \"updatedAt\": \"2020-02-03T16:29:37.031Z\",\n        \"createdAt\": \"2020-02-03T16:29:37.031Z\",\n        \"name\": \"Default Consumer Billing Plan\",\n        \"id\": \"33030724-778b-4cfe-b93f-b8b6e9afcda7\"\n    },\n    \"supplier\": {\n        \"id\": \"36eef1d2-9ff8-43e1-abca-0d727cd06533\",\n        \"name\": \"Default Domain\",\n        \"role\": \"default\",\n        \"urls\": [\n            \"https://nightly.btcore.app\",\n            \"localhost\"\n        ],\n        \"createdAt\": \"2020-01-09T21:06:30.406Z\",\n        \"updatedAt\": \"2020-03-11T18:19:37.234Z\",\n        \"postbackUrls\": [\n            \"\"\n        ],\n        \"settings\": {\n            \"locks\": {\n                \"total_received_transactions_value_monthly\": 0,\n                \"total_received_transactions_value_weekly\": 0,\n                \"total_recent_transactions_value_monthly\": 0,\n                \"total_received_transactions_value_daily\": 0,\n                \"total_recent_transactions_value_weekly\": 0,\n                \"total_sent_transactions_value_monthly\": 0,\n                \"total_recent_transactions_value_daily\": 0,\n                \"total_sent_transactions_value_weekly\": 0,\n                \"total_sent_transactions_value_daily\": 0,\n                \"total_single_transaction_value\": 0,\n                \"total_mobile_credits_daily\": 10,\n                \"card_expiration_time\": 24,\n                \"total_active_cards\": 10000000\n            },\n            \"fees\": {}\n        }\n    },\n    \"contractor\": {\n        \"id\": \"7bdfee57-9d82-42bd-8bc3-58073d44d49c\",\n        \"name\": \"Consumer Name\",\n        \"firstName\": \"Consumer Name\",\n        \"lastName\": \"Last Name\",\n        \"email\": \"email@email.com.br\",\n        \"role\": \"consumer\",\n        \"twoFactorRequired\": false,\n        \"updatedAt\": \"2020-03-04T19:17:57.693Z\",\n        \"createdAt\": \"2020-03-04T19:17:57.693Z\"\n    }\n}"},{"id":"94545c1b-3fa2-4d87-819c-564c0e59874f","name":"Error attempting to subscribe the same plan ","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"subscriber\": \"22552cb5-7a95-4d67-9616-c8ca4a624245\", //userid\n    \"prepaid\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/plans/:id/subscribe","host":["{{API_BASE_URL}}"],"path":["plans",":id","subscribe"],"variable":[{"key":"id","value":"","description":"planID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] The user 7bdfee57-9d82-42bd-8bc3-58073d44d49c already has an active subscription of the given plan 33030724-778b-4cfe-b93f-b8b6e9afcda7. (stackId: 34cbf49b-3436-4464-bb4d-ffd870ce9223)\",\n    \"stackId\": \"34cbf49b-3436-4464-bb4d-ffd870ce9223\",\n    \"details\": {},\n    \"stack\": \"InvalidRequestError: [400] The user 7bdfee57-9d82-42bd-8bc3-58073d44d49c already has an active subscription of the given plan 33030724-778b-4cfe-b93f-b8b6e9afcda7. (stackId: 34cbf49b-3436-4464-bb4d-ffd870ce9223)\\n    at Function.<anonymous> (/home/ricardo/workspace/bitcapital/monorepo/core/core-api/api/controllers/PlanController.ts:97:13)\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/home/ricardo/workspace/bitcapital/monorepo/core/core-api/dist/api/controllers/PlanController.js:14:58)\"\n}"},{"id":"ac550a29-f9ce-488a-86e6-7f4ede1d08ad","name":"Error attempting to subscribe another plan without providing the force property","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"subscriber\": \"22552cb5-7a95-4d67-9616-c8ca4a624245\", //userid\n    \"prepaid\": true\n  \n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{API_BASE_URL}}/plans/:id/subscribe","host":["{{API_BASE_URL}}"],"path":["plans",":id","subscribe"],"variable":[{"key":"id","value":"","description":"planID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"[400] The user 7bdfee57-9d82-42bd-8bc3-58073d44d49c already has an active subscription of another plan: ID 33030724-778b-4cfe-b93f-b8b6e9afcda7. If you want to end the current subscription and create a new one for the plan whose ID was provided, it is necessary to pass the force property with the value true in the request payload (stackId: 03926208-51fc-4a25-9286-6a3b2d6f8866)\",\n    \"stackId\": \"03926208-51fc-4a25-9286-6a3b2d6f8866\",\n    \"details\": {},\n    \"stack\": \"InvalidRequestError: [400] The user 7bdfee57-9d82-42bd-8bc3-58073d44d49c already has an active subscription of another plan: ID 33030724-778b-4cfe-b93f-b8b6e9afcda7. If you want to end the current subscription and create a new one for the plan whose ID was provided, it is necessary to pass the force property with the value true in the request payload (stackId: 03926208-51fc-4a25-9286-6a3b2d6f8866)\\n    at Function.<anonymous> (/home/ricardo/workspace/bitcapital/monorepo/core/core-api/api/controllers/PlanController.ts:106:13)\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/home/ricardo/workspace/bitcapital/monorepo/core/core-api/dist/api/controllers/PlanController.js:14:58)\"\n}"}],"_postman_id":"1700e9bf-e9f0-4df4-8834-6cd88b6c0e77"},{"name":"Change subscription parameters","id":"5f91755c-1535-4cb7-a9b8-480a4a08ad7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"expirationDate\": \"2020-04-28\",\n    \"prepaid\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/plans/:id/subscriptions/:subscriptionId","description":"<p>You can get the subscriptionId in the <code>GET /users/:id</code> endpoint. The <code>contractorId</code>means the <code>subscriptionId</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["plans",":id","subscriptions",":subscriptionId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>planID</p>\n","type":"text/plain"},"type":"any","value":"2a0c5aca-110b-4bcb-b8e1-ab0bea73c3d3","key":"id"},{"description":{"content":"<p>contractID  = (subscriptionID)</p>\n","type":"text/plain"},"type":"any","value":"f98ae934-3c19-4669-b096-16b33477d504","key":"subscriptionId"}]}},"response":[],"_postman_id":"5f91755c-1535-4cb7-a9b8-480a4a08ad7c"}],"id":"9645a625-0a32-4024-a830-b9fa143630f1","_postman_id":"9645a625-0a32-4024-a830-b9fa143630f1","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}}],"id":"7d6b7371-b129-4f5f-a0d6-5e158595524d","description":"<blockquote>\n<p>All management about Billing must be executed by a <code>mediator</code> role, except services features<br /></p>\n</blockquote>\n<blockquote>\n<p>We kindly ask you to pay special attention to this item.<br />\nBilling management is an essential item for the correct functioning of the platform as it is there that you find the settings for the fees to be applied to your customers.<br /></p>\n</blockquote>\n<blockquote>\n<p>All tax can only be issued to <strong>root asset</strong></p>\n</blockquote>\n<p>By default, Bit Capital delivers to its partner, an instance already configured with a \"Standard Zero Rate Billing Plan\". <strong>A Billing Plan is required for any consumer on the platform, whether <code>consumer</code> or <code>mediator</code></strong>.</p>\n<h3 id=\"whats-billing\">What's Billing?</h3>\n<p>There are 4 elements in what we mean by Billing</p>\n<ul>\n<li>Plan</li>\n<li>Subscription</li>\n<li>Services</li>\n<li>Invoices</li>\n</ul>\n<p>These 4 items form what we know as “Billing” today on the platform.</p>\n<h4 id=\"services\">Services</h4>\n<blockquote>\n<p>This only can be performed by <code>admin</code><br /></p>\n</blockquote>\n<p>Services are services. A \"shelf\" of services that Bit Capital offers its customers so that they can decide what to charge their consumers. This is where the customer gets his profits from the platform. There are several types of services such as issuing a ticket, issuing a card, withdrawing from the card, paying with the card, even facial recognition. All of this can be “taxed” if the customer wanted to. Just select a few “items from the shelf” and set a fee for using the service.</p>\n<p><strong>list of all services avaliable</strong> <br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Description</th>\n<th>type</th>\n<th>provider</th>\n<th>avaliable</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Assinatura</td>\n<td><code>subscription</code></td>\n<td><code>null</code></td>\n<td>on demand</td>\n</tr>\n<tr>\n<td>Setup</td>\n<td><code>setup</code></td>\n<td><code>null</code></td>\n<td>on demand</td>\n</tr>\n<tr>\n<td>Taxa de manutenção por cartão ativo</td>\n<td><code>active_card_maintenance</code></td>\n<td><code>null</code></td>\n<td>on demand</td>\n</tr>\n<tr>\n<td>Taxa de manutenção por conta ativa</td>\n<td><code>active_account_maintenance</code></td>\n<td><code>null</code></td>\n<td>on demand</td>\n</tr>\n<tr>\n<td>Emissão de cartão físico</td>\n<td><code>physical_card_issuing</code></td>\n<td><code>cdt-visa</code></td>\n<td>on demand</td>\n</tr>\n<tr>\n<td>Emissão de segunda via de cartão físico</td>\n<td><code>card_reissue</code></td>\n<td><code>cdt-visa</code></td>\n<td>on demand</td>\n</tr>\n<tr>\n<td>Emissão de cartão virtual</td>\n<td><code>virtual_card_issuing</code></td>\n<td><code>cdt-visa</code></td>\n<td>on demand</td>\n</tr>\n<tr>\n<td>TED-OUT</td>\n<td><code>withdrawal</code></td>\n<td><code>parati-provider</code></td>\n<td>yes</td>\n</tr>\n<tr>\n<td>P2P</td>\n<td><code>transfer</code></td>\n<td><code>null</code></td>\n<td>yes</td>\n</tr>\n<tr>\n<td>Recarga de telefone móvel</td>\n<td><code>phone_credits_purchase</code></td>\n<td><code>null</code></td>\n<td>deprecated</td>\n</tr>\n<tr>\n<td>Emissão de boleto de recarga</td>\n<td><code>boleto_emission</code></td>\n<td><code>bs2</code></td>\n<td>yes</td>\n</tr>\n<tr>\n<td>Pagamento de boleto</td>\n<td><code>boleto_payment</code></td>\n<td><code>celcoin</code></td>\n<td>yes</td>\n</tr>\n<tr>\n<td>Compra no cartão</td>\n<td><code>card_purchase</code></td>\n<td><code>cdt-visa</code></td>\n<td>yes</td>\n</tr>\n<tr>\n<td>Saque no cartão</td>\n<td><code>card_withdrawal</code></td>\n<td><code>cdt-visa</code></td>\n<td>yes</td>\n</tr>\n<tr>\n<td>TED-IN</td>\n<td><code>deposit</code></td>\n<td><code>parati-provider</code></td>\n<td>yes</td>\n</tr>\n<tr>\n<td>Recebimento de boleto de recarga</td>\n<td><code>boleto_payment_cash_in</code></td>\n<td><code>bs2</code></td>\n<td>yes</td>\n</tr>\n<tr>\n<td>Análise manual de KYC/KYP</td>\n<td><code>compliance_check</code></td>\n<td><code>null</code></td>\n<td>on demand</td>\n</tr>\n<tr>\n<td>Processamento de imagem de documentos</td>\n<td><code>ocr</code></td>\n<td><code>null</code></td>\n<td>on demand</td>\n</tr>\n<tr>\n<td>Reconhecimento facial</td>\n<td><code>facematch</code></td>\n<td><code>null</code></td>\n<td>on demand</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"plan\">Plan</h4>\n<p>Plan as the name says is the \"service package\" chosen by the customer. Example: the customer chose the services to \"Emit a Boleto\", \"ted-out\" and to \"issue a physical card\". He wants to create a <em>“Silver Plan”</em> with the rates below. To create a plan it is not necessary to configure all available services.</p>\n<h4 id=\"subscription\">Subscription</h4>\n<p>A subscription is also known on the platform as a <code>contract</code> or <code>subscription</code>. A subscription is a consumer's link to a plan. A user does not have a plan for him, he has a contract that references that plan. A subscription is a contract for a plan that offers services. If perhaps the plan ceases to exist, it does not mean that the contract ceases to exist. </p>\n<h4 id=\"invoice\">Invoice</h4>\n<p>An invoice is an invoice referring to the consumed services configured in a plan for a certain period. An invoice can be configured as weekly, monthly, daily, or even pre-paid plans can be configured (in which the fee is charged at the time of issuing the bill of exchange, for example)</p>\n<p>To migrate from one plan to another, it is necessary to first close the current invoice, pay the invoice and migrate the consumer to the new plan.</p>\n<br />\n\n<h4 id=\"examples-of-configurations-of-plans\">Examples of configurations of plans</h4>\n<p>To help in creating the Billing plans, Below are some examples. <br />\n<strong>Plan with absolute values fee</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"name\": \"PLANO CONSUMER TAXA 0 COM VALOR ABSOLUTO\",\n    \"items\": [\n        {\n            \"serviceId\": \"03cb8632-bdf6-4b90-8189-64404abe1f2c\", \n            \"name\": \"Saque no cartao\",\n            \"price\": 0,\n            \"entryCalculationMode\": \"absolute\"\n        },\n        {\n            \"serviceId\": \"41b1b499-1143-4368-9668-1325aa993355\",\n            \"name\": \"TED-OUT\",\n            \"price\": 0,\n            \"entryCalculationMode\": \"absolute\"\n        },\n        {\n            \"serviceId\": \"a27cb592-c3a0-4dca-8963-52607b18abea\",\n            \"name\": \"Emissão de boleto\",\n            \"price\": 0,\n            \"entryCalculationMode\": \"absolute\"\n        }\n    ],\n    \"billingSettings\": {\n        \"invoiceClosing\": {\n            \"periodicity\": \"monthly\",\n            \"lastDayOfMonth\": true\n        },\n        \"settlementTrigger\": \"invoiceClosing\"\n    },\n    \"default\": true, //** remember to set default if necessary **see about this option below\n    \"domain\": \"a0dd5053-9be8-4031-b77b-cdb936889259\",\n    \"validFrom\": \"2020-09-23\",\n    \"validUntil\": \"2025-09-23\"\n}\n</code></pre><p><strong>Plan with percentage values fees</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"name\": \"PLANO CONSUMER TAXA ZERO COM VALOR PERCENTUAL\",\n    \"items\": [\n        {\n            \"serviceId\": \"03cb8632-bdf6-4b90-8189-64404abe1f2c\",\n            \"name\": \"Saque no cartao\",\n            \"entryClazz\": \"service_charge\",\n            \"value\": 0, // % of total amount of transaction\n            \"billingTrigger\": \"transaction\",\n            \"entryCalculationMode\": \"transaction_percentage\"\n        },\n        {\n            \"serviceId\": \"03cb8632-bdf6-4b90-8189-64404abe1f2c\",\n            \"name\": \"TED-OUT\",\n            \"entryClazz\": \"service_charge\",\n            \"value\": 0, // % of total amount of transaction\n            \"billingTrigger\": \"transaction\",\n            \"entryCalculationMode\": \"transaction_percentage\"\n        }\n    ],\n    \"billingSettings\": {\n        \"invoiceClosing\": {\n            \"periodicity\": \"monthly\",\n            \"lastDayOfMonth\": true\n        },\n        \"settlementTrigger\": \"invoiceClosing\"\n    },\n    \"default\": true,\n    \"domain\": \"a0dd5053-9be8-4031-b77b-cdb936889259\",\n    \"validFrom\": \"2020-09-23\",\n    \"validUntil\": \"2025-09-23\"\n}\n</code></pre><br />\n\n<h4 id=\"concerns-about-default-true-field\">Concerns about <code>\"default\": true</code> field</h4>\n<p>The field <code>default:true</code> is intended <strong>to set up a default plan</strong> so that all consumers in the domain can be <strong>automatically subscribed</strong> to it during the onboarding.</p>\n<p>It is possible to have different consumer groups, each with a different plan. However, <strong>it is only possible to have only 1 plan set as <code>default:true</code></strong>, the other plans must be assigned manually for each consumers you want.</p>\n<p>If the domain doesn't has a default plan configured, all consumers will need to be added manually later to a plan, at the onboarding in \"pending_billing_plan_subscription\" state.</p>\n","event":[{"listen":"prerequest","script":{"id":"97dfb3a7-af9a-47a9-9192-e5b7e2f70aee","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1877a09f-5ae0-4dcc-a541-40cec91acdc6","type":"text/javascript","exec":[""]}}],"_postman_id":"7d6b7371-b129-4f5f-a0d6-5e158595524d","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Environment management","item":[{"name":"Edit webhook URL","id":"906a5ea1-4de2-4f98-a4f1-01df5886a959","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"postbackUrls\": [\n        \"https://webhook.site/1\", // URL to receive postbacks\n        \"https://webhook.site/2\", // URL to receive postbacks\n        \"https://webhook.site/3\", // URL to receive postbacks\n        \"https://webhook.site/4\" // URL to receive postbacks\n    ]\n}"},"url":"{{API_BASE_URL}}/domains/:id","description":"<blockquote>\n<p>It only can be executed by <code>mediator</code></p>\n</blockquote>\n<p>Set the URL to receive the postbacks of platform.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["domains",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"ab22863a-c754-4fe4-a499-4bf1cd20917e","description":{"content":"<p>domainID</p>\n","type":"text/plain"},"type":"string","value":"5f1953f1-8035-4a58-9390-b456065be79a","key":"id"}]}},"response":[{"id":"998181c0-1a3a-452a-a555-b5b1b56a65b7","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"postbackUrls\": [\n        \"https://webhook.site/1\", \n        \"https://webhook.site/2\", \n        \"https://webhook.site/3\", \n        \"https://webhook.site/4\"\n    ]\n}"},"url":"{{API_BASE_URL}}/domains/998627ec-f5aa-48ae-93a9-109bbb19fd3a"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"2","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 18:07:17 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"2-l9Fw4VUO7kr8CvBlt4zaMCqXZ0w\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Vary","value":"X-HTTP-Method-Override","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"906a5ea1-4de2-4f98-a4f1-01df5886a959"}],"id":"0d9e4f10-e94b-4344-a159-3c33efab5266","_postman_id":"0d9e4f10-e94b-4344-a159-3c33efab5266","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Payments","item":[{"name":"/payments/:id","id":"2187a7c5-414e-4d21-b267-ca974fa7fa93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/payments/:id","description":"<p>Gets a payment based on its id.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["payments",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The payment id</p>\n","type":"text/plain"},"type":"any","value":"cf83b64d-f86c-4067-8868-283f869e9d89","key":"id"}]}},"response":[],"_postman_id":"2187a7c5-414e-4d21-b267-ca974fa7fa93"},{"name":"/payments/:assetId","event":[{"listen":"prerequest","script":{"id":"0ef7d312-c7a3-4ac0-9e9c-e8a5875bec29","exec":["// Basic request data","const timestamp = Date.now();","const method = request.method.toUpperCase();","const url = request.url.split(\"{{API_BASE_URL}}\")[1];","","// Building request signature payload","const payload = [","    method,","    url,","    timestamp,","];","","// For POST and PUT methods, we must also pass the raw body ","if(method === 'POST' || method === 'PUT') {","    // Make sure JSON file has no tabs, spaces or new lines (uglify JSON)","    payload.push(JSON.stringify(JSON.parse(request.data)));","}","","console.log('Request signature payload', payload);","","// Generating hex for request signature","const hash = CryptoJS.HmacSHA256(payload.join(','), pm.environment.get('OAUTH_CLIENT_SECRET'));","const signature = CryptoJS.enc.Hex.stringify(hash);","","// Setting results as environment variables","pm.environment.set(\"X_REQUEST_SIGNATURE\", signature);","pm.environment.set(\"X_REQUEST_TIMESTAMP\", timestamp);","",""],"type":"text/javascript"}}],"id":"89b19356-e209-4130-b3e7-0cb0ce477bcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"<p>The request signature</p>\n","key":"X-Request-Signature","type":"text","value":"{{X_REQUEST_SIGNATURE}}"},{"description":"<p>The request timestamp</p>\n","key":"X-Request-Timestamp","type":"text","value":"{{X_REQUEST_TIMESTAMP}}"}],"body":{"mode":"raw","raw":"{\n\t\"source\": \"4df9597f-887e-49c9-b7ec-0550e73af748\",\n\t\"recipients\": [{\n\t\t\"amount\": \"1.00\",\n\t\t\"destination\": \"b0066e16-04da-4908-9560-fb72c2585148\"\n\t}]\n}"},"url":"{{API_BASE_URL}}/payments/:assetId","description":"<p>Sends a new payment in the platform, registering it in the Stellar blockchain.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["payments",":assetId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The payment's asset id.</p>\n","type":"text/plain"},"type":"any","value":"","key":"assetId"}]}},"response":[],"_postman_id":"89b19356-e209-4130-b3e7-0cb0ce477bcf"},{"name":"/payments/offline/manual-operation","event":[{"listen":"prerequest","script":{"id":"0ef7d312-c7a3-4ac0-9e9c-e8a5875bec29","exec":["// Basic request data","const timestamp = Date.now();","const method = request.method.toUpperCase();","const url = request.url.split(\"{{API_BASE_URL}}\")[1];","","// Building request signature payload","const payload = [","    method,","    url,","    timestamp,","];","","// For POST and PUT methods, we must also pass the raw body ","if(method === 'POST' || method === 'PUT') {","    // Make sure JSON file has no tabs, spaces or new lines (uglify JSON)","    payload.push(JSON.stringify(JSON.parse(request.data)));","}","","console.log('Request signature payload', payload);","","// Generating hex for request signature","const hash = CryptoJS.HmacSHA256(payload.join(','), pm.environment.get('OAUTH_CLIENT_SECRET'));","const signature = CryptoJS.enc.Hex.stringify(hash);","","// Setting results as environment variables","pm.environment.set(\"X_REQUEST_SIGNATURE\", signature);","pm.environment.set(\"X_REQUEST_TIMESTAMP\", timestamp);","",""],"type":"text/javascript"}}],"id":"fd0eb002-88dd-4e2a-adac-cc3fd7484858","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"<p>The request signature</p>\n","key":"X-Request-Signature","type":"text","value":"{{X_REQUEST_SIGNATURE}}"},{"description":"<p>The request timestamp</p>\n","key":"X-Request-Timestamp","type":"text","value":"{{X_REQUEST_TIMESTAMP}}"}],"body":{"mode":"raw","raw":"{\n    \"providerId\": \"cards\",\n    \"adjustmentTypeId\": 1085,\n    \"accountId\": \"aaaa2004-3c8e-4162-819c-b076e06cff38\",\n    \"amount\": 241.7,\n    \"transactionId\": \"586486056-8506-279061843 431438-358240-818223\",\n    \"reason\": \"Falha da plataforma CDT no envio do postback referente a saque de cliente\"\n}"},"url":"{{API_BASE_URL}}/postbacks/payments","description":"<p>Process a payment (withdrawal or deposit) originated outside of the BitCapital Platform whose postback was not sent by the provider or was not processed due to some internal error.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["postbacks","payments"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd0eb002-88dd-4e2a-adac-cc3fd7484858"}],"id":"6febc303-f8a3-4cc5-bfd1-b172e52557a9","_postman_id":"6febc303-f8a3-4cc5-bfd1-b172e52557a9","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"PIX (documentation in progress...)","item":[{"name":"wallets/{id}","item":[{"name":"qrcode","item":[{"name":"Emit a Static QR Code","id":"143e0ec1-cd1e-4d26-8b5a-fbe00606f43e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>The ID of the transaction to be saved on the database</p>\n","key":"X-Transaction-Id","value":"<string>"}],"url":"{{baseUrl}}/wallets/:id/qrcode?format=brcode&output=base64&key=<string>&city=<string>","description":"<p>Generates a static QR Code associated with a given wallet</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id","qrcode"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>The type of the QR Code to be generated</p>\n","type":"text/plain"},"key":"format","value":"brcode"},{"description":{"content":"<p>(Required) The output format of the request</p>\n","type":"text/plain"},"key":"output","value":"base64"},{"description":{"content":"<p>The key you wish to associate the qr code with. If not set will be used the oldest key of the user.</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>(Required) The city of the user emitting the QR Code</p>\n","type":"text/plain"},"key":"city","value":"<string>"}],"variable":[{"id":"ec709cf2-3ed7-4418-8548-2501838b4ae8","description":{"content":"<p>(Required) The UUID of the wallet</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"06599a86-a35f-4b8f-bda9-e2938b55d0e9","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"},{"description":"The ID of the transaction to be saved on the database","key":"X-Transaction-Id","value":"<string>"}],"url":{"raw":"{{baseUrl}}/wallets/:id/qrcode?format=brcode&output=base64&key=<string>&city=<string>","host":["{{baseUrl}}"],"path":["wallets",":id","qrcode"],"query":[{"key":"format","value":"brcode"},{"key":"output","value":"base64"},{"key":"key","value":"<string>"},{"key":"city","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"message\": \"[500] invalid input syntax for uuid: \\\"jkdsjlksl\\\" (stackId: d119ad68-fa95-49d8-aef2-60020b61ad28)\",\n \"stackId\": \"d119ad68-fa95-49d8-aef2-60020b61ad28\",\n \"details\": {\n  \"code\": \"22P02\"\n },\n \"stack\": \"QueryFailedError: invalid input syntax for uuid: \\\"jkdsjlksl\\\"\\n    at new QueryFailedError (/usr/src/bitcapital/src/error/QueryFailedError.ts:9:9)\\n    at /usr/src/bitcapital/src/driver/postgres/PostgresQueryRunner.ts:178:30\\n    at Query.<anonymous> (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/plugins/plugin-pg.js:104:13)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at Query.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at Query.handleError (/usr/src/bitcapital/node_modules/pg/lib/query.js:145:17)\\n    at Connection.connectedErrorMessageHandler (/usr/src/bitcapital/node_modules/pg/lib/client.js:214:17)\\n    at Socket.<anonymous> (/usr/src/bitcapital/node_modules/pg/lib/connection.js:134:12)\"\n}"},{"id":"0efa0386-a454-492d-ae58-fdb22ab20ba7","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"},{"description":"The ID of the transaction to be saved on the database","key":"X-Transaction-Id","value":"<string>"}],"url":{"raw":"{{baseUrl}}/wallets/:id/qrcode?format=brcode&output=base64&key=<string>&city=<string>","host":["{{baseUrl}}"],"path":["wallets",":id","qrcode"],"query":[{"key":"format","value":"brcode"},{"key":"output","value":"base64"},{"key":"key","value":"<string>"},{"key":"city","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"2dbec62a-a92a-4003-a552-b252db97e8e8","name":"Invalid UUID","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"},{"description":"The ID of the transaction to be saved on the database","key":"X-Transaction-Id","value":"<string>"}],"url":{"raw":"{{baseUrl}}/wallets/:id/qrcode?format=brcode&output=base64&key=<string>&city=<string>","host":["{{baseUrl}}"],"path":["wallets",":id","qrcode"],"query":[{"key":"format","value":"brcode"},{"key":"output","value":"base64"},{"key":"key","value":"<string>"},{"key":"city","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] walletId should be a UUID (stackId: 67896372-6007-416a-b06a-cc339344c405)\",\n \"stackId\": \"67896372-6007-416a-b06a-cc339344c405\",\n \"details\": {}\n}"},{"id":"ed9002aa-2499-46ca-8332-f7cf4f4e0df9","name":"Not Found","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"},{"description":"The ID of the transaction to be saved on the database","key":"X-Transaction-Id","value":"<string>"}],"url":{"raw":"{{baseUrl}}/wallets/:id/qrcode?format=brcode&output=base64&key=<string>&city=<string>","host":["{{baseUrl}}"],"path":["wallets",":id","qrcode"],"query":[{"key":"format","value":"brcode"},{"key":"output","value":"base64"},{"key":"key","value":"<string>"},{"key":"city","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Wallet not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"},{"id":"fa94a120-26d7-4d97-9bfe-babf0b024181","name":"Created","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"},{"description":"The ID of the transaction to be saved on the database","key":"X-Transaction-Id","value":"<string>"}],"url":{"raw":"{{baseUrl}}/wallets/:id/qrcode?format=brcode&output=base64&key=<string>&city=<string>","host":["{{baseUrl}}"],"path":["wallets",":id","qrcode"],"query":[{"key":"format","value":"brcode"},{"key":"output","value":"base64"},{"key":"key","value":"<string>"},{"key":"city","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"143e0ec1-cd1e-4d26-8b5a-fbe00606f43e"},{"name":"Emit any type of QR Code","id":"755d9f04-0063-41b1-90c0-f91223941eea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>The ID of the transaction to be saved on the database</p>\n","key":"X-Transaction-Id","value":"<string>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"destination\": \"<string>\",\n    \"city\": \"<string>\",\n    \"amount\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"mcc\": \"0000\",\n    \"externalAccount\": {\n        \"key\": \"<string>\",\n        \"gui\": \"<string>\"\n    },\n    \"description\": \"<string>\"\n}"},"url":"{{baseUrl}}/wallets/:id/qrcode?type=&format=brcode&output=base64","description":"<p>Generates a QR Code associated with a given wallet for a specific transaction.\nIt can generated static or dynamic QR Codes.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id","qrcode"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>(Required) The type of the QR Code to be generated</p>\n","type":"text/plain"},"key":"type","value":""},{"description":{"content":"<p>The format of the QR Code to be generated</p>\n","type":"text/plain"},"key":"format","value":"brcode"},{"description":{"content":"<p>(Required) The output format of the QR Code</p>\n","type":"text/plain"},"key":"output","value":"base64"}],"variable":[{"id":"ccec687d-0a0f-4209-95df-f37783b67d7d","description":{"content":"<p>(Required) The UUID of the wallet</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"37282800-2a06-4623-8919-df2fe3c21862","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"},{"description":"The ID of the transaction to be saved on the database","key":"X-Transaction-Id","value":"<string>"}],"body":{"mode":"raw","raw":"{\n    \"destination\": \"<string>\",\n    \"city\": \"<string>\",\n    \"amount\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"mcc\": \"0000\",\n    \"externalAccount\": {\n        \"key\": \"<string>\",\n        \"gui\": \"<string>\"\n    },\n    \"description\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/qrcode?type=&format=brcode&output=base64","host":["{{baseUrl}}"],"path":["wallets",":id","qrcode"],"query":[{"key":"type","value":""},{"key":"format","value":"brcode"},{"key":"output","value":"base64"}],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] Invalid parameter or body field: \\\"DynamicQRCode\\\" (stackId: e13fa604-fd36-49fd-b5cd-82bb93e66c2b)\",\n \"stackId\": \"e13fa604-fd36-49fd-b5cd-82bb93e66c2b\",\n \"details\": {\n  \"errors\": [\n   {\n    \"constraints\": {\n     \"isNotEmpty\": \"amount should not be empty\"\n    },\n    \"property\": \"amount\"\n   }\n  ]\n }\n}"},{"id":"3e48ef29-a43e-41a6-8876-54e809e9d42f","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"},{"description":"The ID of the transaction to be saved on the database","key":"X-Transaction-Id","value":"<string>"}],"body":{"mode":"raw","raw":"{\n    \"destination\": \"<string>\",\n    \"city\": \"<string>\",\n    \"amount\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"mcc\": \"0000\",\n    \"externalAccount\": {\n        \"key\": \"<string>\",\n        \"gui\": \"<string>\"\n    },\n    \"description\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/qrcode?type=&format=brcode&output=base64","host":["{{baseUrl}}"],"path":["wallets",":id","qrcode"],"query":[{"key":"type","value":""},{"key":"format","value":"brcode"},{"key":"output","value":"base64"}],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"c995fa88-05be-481c-96f7-97c263bdd51a","name":"Created","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"},{"description":"The ID of the transaction to be saved on the database","key":"X-Transaction-Id","value":"<string>"}],"body":{"mode":"raw","raw":"{\n    \"destination\": \"<string>\",\n    \"city\": \"<string>\",\n    \"amount\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"mcc\": \"0000\",\n    \"externalAccount\": {\n        \"key\": \"<string>\",\n        \"gui\": \"<string>\"\n    },\n    \"description\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/qrcode?type=&format=brcode&output=base64","host":["{{baseUrl}}"],"path":["wallets",":id","qrcode"],"query":[{"key":"type","value":""},{"key":"format","value":"brcode"},{"key":"output","value":"base64"}],"variable":[{"key":"id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"e10abee6-bb00-4121-a34e-a0b086702fc8","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"},{"description":"The ID of the transaction to be saved on the database","key":"X-Transaction-Id","value":"<string>"}],"body":{"mode":"raw","raw":"{\n    \"destination\": \"<string>\",\n    \"city\": \"<string>\",\n    \"amount\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"mcc\": \"0000\",\n    \"externalAccount\": {\n        \"key\": \"<string>\",\n        \"gui\": \"<string>\"\n    },\n    \"description\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/qrcode?type=&format=brcode&output=base64","host":["{{baseUrl}}"],"path":["wallets",":id","qrcode"],"query":[{"key":"type","value":""},{"key":"format","value":"brcode"},{"key":"output","value":"base64"}],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"message\": \"[500] invalid input syntax for uuid: \\\"jkdsjlksl\\\" (stackId: d119ad68-fa95-49d8-aef2-60020b61ad28)\",\n \"stackId\": \"d119ad68-fa95-49d8-aef2-60020b61ad28\",\n \"details\": {\n  \"code\": \"22P02\"\n },\n \"stack\": \"QueryFailedError: invalid input syntax for uuid: \\\"jkdsjlksl\\\"\\n    at new QueryFailedError (/usr/src/bitcapital/src/error/QueryFailedError.ts:9:9)\\n    at /usr/src/bitcapital/src/driver/postgres/PostgresQueryRunner.ts:178:30\\n    at Query.<anonymous> (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/plugins/plugin-pg.js:104:13)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at Query.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at Query.handleError (/usr/src/bitcapital/node_modules/pg/lib/query.js:145:17)\\n    at Connection.connectedErrorMessageHandler (/usr/src/bitcapital/node_modules/pg/lib/client.js:214:17)\\n    at Socket.<anonymous> (/usr/src/bitcapital/node_modules/pg/lib/connection.js:134:12)\"\n}"},{"id":"fe344c97-53fb-4850-915b-a055f1881bc2","name":"Not Found","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"},{"description":"The ID of the transaction to be saved on the database","key":"X-Transaction-Id","value":"<string>"}],"body":{"mode":"raw","raw":"{\n    \"destination\": \"<string>\",\n    \"city\": \"<string>\",\n    \"amount\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"mcc\": \"0000\",\n    \"externalAccount\": {\n        \"key\": \"<string>\",\n        \"gui\": \"<string>\"\n    },\n    \"description\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/qrcode?type=&format=brcode&output=base64","host":["{{baseUrl}}"],"path":["wallets",":id","qrcode"],"query":[{"key":"type","value":""},{"key":"format","value":"brcode"},{"key":"output","value":"base64"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Wallet not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"}],"_postman_id":"755d9f04-0063-41b1-90c0-f91223941eea"}],"id":"ddfe9a20-4ef9-4375-a70d-13ede2da6551","_postman_id":"ddfe9a20-4ef9-4375-a70d-13ede2da6551","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"dict","item":[{"name":"{key}","item":[{"name":"Change a wallet's existing key informations","id":"51bac2e0-c20f-427d-acc2-709be2c30785","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"account\": {\n        \"ispb\": \"<string>\",\n        \"number\": \"<string>\",\n        \"branch\": \"<string>\",\n        \"type\": \"<string>\",\n        \"user\": {\n            \"name\": \"<string>\",\n            \"type\": \"<string>\",\n            \"taxId\": \"<string>\"\n        },\n        \"externalId\": \"<string>\",\n        \"openingDate\": \"<dateTime>\"\n    },\n    \"externalId\": \"<string>\"\n}"},"url":"{{baseUrl}}/wallets/:id/dict/:key","description":"<p>Updates an existing key informations</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id","dict",":key"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"b7b0435f-1f6e-4d53-84cd-1b8cb257b7f0","description":{"content":"<p>(Required) The UUID of the wallet that is the owner of the key</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"},{"id":"ba82f686-98fc-426c-8e00-95cd9d5fe53d","description":{"content":"<p>(Required) The key you wish to manage</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"key"}]}},"response":[{"id":"41d56b3f-7766-491b-b925-0ab244e583b2","name":"Unauthorized","originalRequest":{"method":"PUT","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"account\": {\n        \"ispb\": \"<string>\",\n        \"number\": \"<string>\",\n        \"branch\": \"<string>\",\n        \"type\": \"<string>\",\n        \"user\": {\n            \"name\": \"<string>\",\n            \"type\": \"<string>\",\n            \"taxId\": \"<string>\"\n        },\n        \"externalId\": \"<string>\",\n        \"openingDate\": \"<dateTime>\"\n    },\n    \"externalId\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/dict/:key","host":["{{baseUrl}}"],"path":["wallets",":id","dict",":key"],"variable":[{"key":"id"},{"key":"key"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"stackId\": \"2adbb7a0-2735-03c4-ab9d-5f2a4478531a\",\n \"details\": {},\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stack\": \"cupidatat fugiat\"\n}"},{"id":"57a60610-e0fe-47a7-a52d-4f7c7210e759","name":"Not Found","originalRequest":{"method":"PUT","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"account\": {\n        \"ispb\": \"<string>\",\n        \"number\": \"<string>\",\n        \"branch\": \"<string>\",\n        \"type\": \"<string>\",\n        \"user\": {\n            \"name\": \"<string>\",\n            \"type\": \"<string>\",\n            \"taxId\": \"<string>\"\n        },\n        \"externalId\": \"<string>\",\n        \"openingDate\": \"<dateTime>\"\n    },\n    \"externalId\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/dict/:key","host":["{{baseUrl}}"],"path":["wallets",":id","dict",":key"],"variable":[{"key":"id"},{"key":"key"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"stackId\": \"urn:uuid:e203b7bb-6f27-b27d-fa64-d47829446d73\",\n \"details\": {},\n \"message\": \"[404] Transaction not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stack\": \"magna sint Ut\"\n}"},{"id":"73524538-e859-45c6-aebf-e87edba82b29","name":"Internal Server Error","originalRequest":{"method":"PUT","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"account\": {\n        \"ispb\": \"<string>\",\n        \"number\": \"<string>\",\n        \"branch\": \"<string>\",\n        \"type\": \"<string>\",\n        \"user\": {\n            \"name\": \"<string>\",\n            \"type\": \"<string>\",\n            \"taxId\": \"<string>\"\n        },\n        \"externalId\": \"<string>\",\n        \"openingDate\": \"<dateTime>\"\n    },\n    \"externalId\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/dict/:key","host":["{{baseUrl}}"],"path":["wallets",":id","dict",":key"],"variable":[{"key":"id"},{"key":"key"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"stackId\": \"26c22ee8-3bd7-2dea-0af2-00f4c466c74f\",\n \"details\": {},\n \"message\": \"[500] \",\n \"stack\": \"ea magna\"\n}"},{"id":"f0724a48-921e-4b80-9045-ceaae462011c","name":"OK","originalRequest":{"method":"PUT","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"account\": {\n        \"ispb\": \"<string>\",\n        \"number\": \"<string>\",\n        \"branch\": \"<string>\",\n        \"type\": \"<string>\",\n        \"user\": {\n            \"name\": \"<string>\",\n            \"type\": \"<string>\",\n            \"taxId\": \"<string>\"\n        },\n        \"externalId\": \"<string>\",\n        \"openingDate\": \"<dateTime>\"\n    },\n    \"externalId\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/dict/:key","host":["{{baseUrl}}"],"path":["wallets",":id","dict",":key"],"variable":[{"key":"id"},{"key":"key"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"21f655af-ed35-52c3-162e-6948b04729d7\",\n \"createdAt\": \"1947-06-07T07:07:27.103Z\",\n \"updatedAt\": \"2002-11-23T06:02:32.784Z\",\n \"key\": \"exercitation minim\",\n \"keyType\": \"<string>\",\n \"walletId\": \"urn:uuid:d19ab2f6-eae9-69da-d499-3e60963accf1\",\n \"cid\": \"2de78805b722f2181d9be92a0473245dc42dd7b3dd8b86e199831136a62cf0de\",\n \"account\": {\n  \"branch\": \"<string>\",\n  \"createdAt\": \"2007-01-07T10:30:53.893Z\",\n  \"externalId\": \"<string>\",\n  \"id\": \"3abc5c0b-4cde-9368-7ddf-109d5f80c79c\",\n  \"ispb\": \"<string>\",\n  \"number\": \"<string>\",\n  \"openingDate\": \"<dateTime>\",\n  \"type\": \"<string>\",\n  \"updatedAt\": \"1967-02-01T23:35:56.743Z\",\n  \"user\": {\n   \"name\": \"<string>\",\n   \"type\": \"<string>\",\n   \"taxId\": \"<string>\"\n  },\n  \"deletedAt\": \"2016-12-17T11:01:09.456Z\"\n },\n \"states\": [\n  {\n   \"id\": \"13419a5c-71b1-22db-26b6-cb6272f98c15\",\n   \"createdAt\": \"2007-05-26T14:55:41.440Z\",\n   \"updatedAt\": \"2012-08-17T16:26:45.095Z\",\n   \"status\": \"ERROR\",\n   \"additionalData\": {},\n   \"requestId\": \"elit\"\n  }\n ],\n \"deletedAt\": \"2017-12-26T03:12:29.130Z\",\n \"externalId\": \"id veniam aliqua\"\n}"}],"_postman_id":"51bac2e0-c20f-427d-acc2-709be2c30785"},{"name":"Delete a wallet's existing key","id":"d03d20af-8e14-424c-baa9-2e0fb8d82c48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseUrl}}/wallets/:id/dict/:key?reason=<string>&ispb=<string>","description":"<p>Deleted a key associated with a wallet</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id","dict",":key"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>The reason for the key deletion</p>\n","type":"text/plain"},"key":"reason","value":"<string>"},{"description":{"content":"<p>The ISPB of the participant</p>\n","type":"text/plain"},"key":"ispb","value":"<string>"}],"variable":[{"id":"5126df55-a99c-4d7e-8c05-01dd4e1d2825","description":{"content":"<p>(Required) The UUID of the wallet that is the owner of the key</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"},{"id":"ca4777da-b211-49a4-aa41-abdf393deb8c","description":{"content":"<p>(Required) The key you wish to manage</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"key"}]}},"response":[{"id":"7bac4507-84e9-464e-b600-fbeba086da64","name":"Not Found","originalRequest":{"method":"DELETE","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/wallets/:id/dict/:key?reason=<string>&ispb=<string>","host":["{{baseUrl}}"],"path":["wallets",":id","dict",":key"],"query":[{"key":"reason","value":"<string>"},{"key":"ispb","value":"<string>"}],"variable":[{"key":"id"},{"key":"key"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"stackId\": \"urn:uuid:e203b7bb-6f27-b27d-fa64-d47829446d73\",\n \"details\": {},\n \"message\": \"[404] Transaction not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stack\": \"magna sint Ut\"\n}"},{"id":"d9fce523-d8a4-4351-8f12-8e8ce24a4339","name":"OK","originalRequest":{"method":"DELETE","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/wallets/:id/dict/:key?reason=<string>&ispb=<string>","host":["{{baseUrl}}"],"path":["wallets",":id","dict",":key"],"query":[{"key":"reason","value":"<string>"},{"key":"ispb","value":"<string>"}],"variable":[{"key":"id"},{"key":"key"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"true"},{"id":"dec2b627-7885-44e1-b7af-84410d752b95","name":"Internal Server Error","originalRequest":{"method":"DELETE","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/wallets/:id/dict/:key?reason=<string>&ispb=<string>","host":["{{baseUrl}}"],"path":["wallets",":id","dict",":key"],"query":[{"key":"reason","value":"<string>"},{"key":"ispb","value":"<string>"}],"variable":[{"key":"id"},{"key":"key"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"stackId\": \"26c22ee8-3bd7-2dea-0af2-00f4c466c74f\",\n \"details\": {},\n \"message\": \"[500] \",\n \"stack\": \"ea magna\"\n}"},{"id":"f86401e4-369a-4ada-a331-b3977ae631c2","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/wallets/:id/dict/:key?reason=<string>&ispb=<string>","host":["{{baseUrl}}"],"path":["wallets",":id","dict",":key"],"query":[{"key":"reason","value":"<string>"},{"key":"ispb","value":"<string>"}],"variable":[{"key":"id"},{"key":"key"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"stackId\": \"2adbb7a0-2735-03c4-ab9d-5f2a4478531a\",\n \"details\": {},\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stack\": \"cupidatat fugiat\"\n}"}],"_postman_id":"d03d20af-8e14-424c-baa9-2e0fb8d82c48"}],"id":"bacef1e5-b86f-45da-90ee-d77f8f35c063","_postman_id":"bacef1e5-b86f-45da-90ee-d77f8f35c063","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Register a Wallet in DICT","id":"728c24c4-864f-4251-8b09-6a849b66b9da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"keyType\": \"<string>\",\n    \"key\": \"<string>\",\n    \"account\": {\n        \"ispb\": \"<string>\",\n        \"number\": \"<string>\",\n        \"branch\": \"<string>\",\n        \"type\": \"<string>\",\n        \"user\": {\n            \"name\": \"<string>\",\n            \"type\": \"<string>\",\n            \"taxId\": \"<string>\"\n        },\n        \"externalId\": \"<string>\",\n        \"openingDate\": \"<dateTime>\"\n    },\n    \"asset\": \"<string>\"\n}"},"url":"{{baseUrl}}/wallets/:id/dict","description":"<p>Registers a key in an existing wallet. </p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id","dict"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"6cdcc374-4d26-4e0b-85f3-537a5f50b581","description":{"content":"<p>(Required) The ID of the wallet</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"2f91ecba-1a2e-4aa2-bb97-7a3b8a03e6ec","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"keyType\": \"<string>\",\n    \"key\": \"<string>\",\n    \"account\": {\n        \"ispb\": \"<string>\",\n        \"number\": \"<string>\",\n        \"branch\": \"<string>\",\n        \"type\": \"<string>\",\n        \"user\": {\n            \"name\": \"<string>\",\n            \"type\": \"<string>\",\n            \"taxId\": \"<string>\"\n        },\n        \"externalId\": \"<string>\",\n        \"openingDate\": \"<dateTime>\"\n    },\n    \"asset\": \"BRLP\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/dict","host":["{{baseUrl}}"],"path":["wallets",":id","dict"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] walletId should be a UUID (stackId: 67896372-6007-416a-b06a-cc339344c405)\",\n \"stackId\": \"67896372-6007-416a-b06a-cc339344c405\",\n \"details\": {}\n}"},{"id":"376f48e2-5885-4038-aa99-4b1406785764","name":"Conflict","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"keyType\": \"<string>\",\n    \"key\": \"<string>\",\n    \"account\": {\n        \"ispb\": \"<string>\",\n        \"number\": \"<string>\",\n        \"branch\": \"<string>\",\n        \"type\": \"<string>\",\n        \"user\": {\n            \"name\": \"<string>\",\n            \"type\": \"<string>\",\n            \"taxId\": \"<string>\"\n        },\n        \"externalId\": \"<string>\",\n        \"openingDate\": \"<dateTime>\"\n    },\n    \"asset\": \"BRLP\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/dict","host":["{{baseUrl}}"],"path":["wallets",":id","dict"],"variable":[{"key":"id"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 409,\n \"message\": \"[409] [409] Key already exists (stackId: 8bca27e8-87ae-497a-b557-ced464c2996d) (stackId: 8bca27e8-87ae-497a-b557-ced464c2996d)\",\n \"stackId\": \"8bca27e8-87ae-497a-b557-ced464c2996d\",\n \"details\": {\n  \"stack\": \"HttpError: [409] Key already exists (stackId: 8bca27e8-87ae-497a-b557-ced464c2996d)\\n    at EntryService.<anonymous> (/usr/src/bitcapital/monorepo/common/dict-api/api/services/EntryService.ts:173:13)\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/usr/src/bitcapital/monorepo/common/dict-api/dist/api/services/EntryService.js:5:58)\",\n  \"details\": {},\n  \"message\": \"[409] Key already exists (stackId: 8bca27e8-87ae-497a-b557-ced464c2996d)\",\n  \"status\": 404,\n  \"stackId\": \"8bca27e8-87ae-497a-b557-ced464c2996d\"\n },\n \"stack\": \"HttpError: [409] [409] Key already exists (stackId: 8bca27e8-87ae-497a-b557-ced464c2996d) (stackId: 8bca27e8-87ae-497a-b557-ced464c2996d)\\n    inherits HttpError: [409] Key already exists (stackId: 8bca27e8-87ae-497a-b557-ced464c2996d)\\n    at EntryService.<anonymous> (/usr/src/bitcapital/monorepo/common/dict-api/api/services/EntryService.ts:173:13)\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/usr/src/bitcapital/monorepo/common/dict-api/dist/api/services/EntryService.js:5:58)\"\n}"},{"id":"6ea76d97-e41c-4ad3-ad82-fb0b2717c966","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"keyType\": \"<string>\",\n    \"key\": \"<string>\",\n    \"account\": {\n        \"ispb\": \"<string>\",\n        \"number\": \"<string>\",\n        \"branch\": \"<string>\",\n        \"type\": \"<string>\",\n        \"user\": {\n            \"name\": \"<string>\",\n            \"type\": \"<string>\",\n            \"taxId\": \"<string>\"\n        },\n        \"externalId\": \"<string>\",\n        \"openingDate\": \"<dateTime>\"\n    },\n    \"asset\": \"BRLP\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/dict","host":["{{baseUrl}}"],"path":["wallets",":id","dict"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"99055423-8f4b-43b3-89bc-a12bc07d3d5b","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"keyType\": \"<string>\",\n    \"key\": \"<string>\",\n    \"account\": {\n        \"ispb\": \"<string>\",\n        \"number\": \"<string>\",\n        \"branch\": \"<string>\",\n        \"type\": \"<string>\",\n        \"user\": {\n            \"name\": \"<string>\",\n            \"type\": \"<string>\",\n            \"taxId\": \"<string>\"\n        },\n        \"externalId\": \"<string>\",\n        \"openingDate\": \"<dateTime>\"\n    },\n    \"asset\": \"BRLP\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/dict","host":["{{baseUrl}}"],"path":["wallets",":id","dict"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"message\": \"[500] invalid input syntax for uuid: \\\"jkdsjlksl\\\" (stackId: d119ad68-fa95-49d8-aef2-60020b61ad28)\",\n \"stackId\": \"d119ad68-fa95-49d8-aef2-60020b61ad28\",\n \"details\": {\n  \"code\": \"22P02\"\n },\n \"stack\": \"QueryFailedError: invalid input syntax for uuid: \\\"jkdsjlksl\\\"\\n    at new QueryFailedError (/usr/src/bitcapital/src/error/QueryFailedError.ts:9:9)\\n    at /usr/src/bitcapital/src/driver/postgres/PostgresQueryRunner.ts:178:30\\n    at Query.<anonymous> (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/plugins/plugin-pg.js:104:13)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at Query.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at Query.handleError (/usr/src/bitcapital/node_modules/pg/lib/query.js:145:17)\\n    at Connection.connectedErrorMessageHandler (/usr/src/bitcapital/node_modules/pg/lib/client.js:214:17)\\n    at Socket.<anonymous> (/usr/src/bitcapital/node_modules/pg/lib/connection.js:134:12)\"\n}"},{"id":"f40c4e4f-9d0f-413c-8c8a-bc8d2ebae9b6","name":"Created","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"keyType\": \"<string>\",\n    \"key\": \"<string>\",\n    \"account\": {\n        \"ispb\": \"<string>\",\n        \"number\": \"<string>\",\n        \"branch\": \"<string>\",\n        \"type\": \"<string>\",\n        \"user\": {\n            \"name\": \"<string>\",\n            \"type\": \"<string>\",\n            \"taxId\": \"<string>\"\n        },\n        \"externalId\": \"<string>\",\n        \"openingDate\": \"<dateTime>\"\n    },\n    \"asset\": \"BRLP\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/dict","host":["{{baseUrl}}"],"path":["wallets",":id","dict"],"variable":[{"key":"id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"21f655af-ed35-52c3-162e-6948b04729d7\",\n \"createdAt\": \"1947-06-07T07:07:27.103Z\",\n \"updatedAt\": \"2002-11-23T06:02:32.784Z\",\n \"key\": \"exercitation minim\",\n \"keyType\": \"<string>\",\n \"walletId\": \"urn:uuid:d19ab2f6-eae9-69da-d499-3e60963accf1\",\n \"cid\": \"2de78805b722f2181d9be92a0473245dc42dd7b3dd8b86e199831136a62cf0de\",\n \"account\": {\n  \"branch\": \"<string>\",\n  \"createdAt\": \"2007-01-07T10:30:53.893Z\",\n  \"externalId\": \"<string>\",\n  \"id\": \"3abc5c0b-4cde-9368-7ddf-109d5f80c79c\",\n  \"ispb\": \"<string>\",\n  \"number\": \"<string>\",\n  \"openingDate\": \"<dateTime>\",\n  \"type\": \"<string>\",\n  \"updatedAt\": \"1967-02-01T23:35:56.743Z\",\n  \"user\": {\n   \"name\": \"<string>\",\n   \"type\": \"<string>\",\n   \"taxId\": \"<string>\"\n  },\n  \"deletedAt\": \"2016-12-17T11:01:09.456Z\"\n },\n \"states\": [\n  {\n   \"id\": \"13419a5c-71b1-22db-26b6-cb6272f98c15\",\n   \"createdAt\": \"2007-05-26T14:55:41.440Z\",\n   \"updatedAt\": \"2012-08-17T16:26:45.095Z\",\n   \"status\": \"ERROR\",\n   \"additionalData\": {},\n   \"requestId\": \"elit\"\n  }\n ],\n \"deletedAt\": \"2017-12-26T03:12:29.130Z\",\n \"externalId\": \"id veniam aliqua\"\n}"}],"_postman_id":"728c24c4-864f-4251-8b09-6a849b66b9da"},{"name":"List a wallet Keys","id":"722b90a0-b7ef-43db-ac3c-19239119b0a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/wallets/:id/dict?skip=<number>&limit=<number>","description":"<p>List all keys in a given wallet</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id","dict"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>How many items should be skipped before the first item in the result</p>\n","type":"text/plain"},"key":"skip","value":"<number>"},{"description":{"content":"<p>How many items should be displayed on the list</p>\n","type":"text/plain"},"key":"limit","value":"<number>"}],"variable":[{"id":"bb81ffd3-b045-41bc-b27b-f78d05336ba8","description":{"content":"<p>(Required) The ID of the wallet</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"15ff9a40-c5af-40ce-a674-06bdea621ede","name":"Invalid UUID","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/wallets/:id/dict?skip=<number>&limit=<number>","host":["{{baseUrl}}"],"path":["wallets",":id","dict"],"query":[{"key":"skip","value":"<number>"},{"key":"limit","value":"<number>"}],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] walletId should be a UUID (stackId: 67896372-6007-416a-b06a-cc339344c405)\",\n \"stackId\": \"67896372-6007-416a-b06a-cc339344c405\",\n \"details\": {}\n}"},{"id":"36e5d211-a65c-4d40-bcd4-85500bd25cf4","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/wallets/:id/dict?skip=<number>&limit=<number>","host":["{{baseUrl}}"],"path":["wallets",":id","dict"],"query":[{"key":"skip","value":"<number>"},{"key":"limit","value":"<number>"}],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"9aa84bcf-b82b-42d0-bd11-e4ca1779f166","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/wallets/:id/dict?skip=<number>&limit=<number>","host":["{{baseUrl}}"],"path":["wallets",":id","dict"],"query":[{"key":"skip","value":"<number>"},{"key":"limit","value":"<number>"}],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"message\": \"[500] invalid input syntax for uuid: \\\"jkdsjlksl\\\" (stackId: d119ad68-fa95-49d8-aef2-60020b61ad28)\",\n \"stackId\": \"d119ad68-fa95-49d8-aef2-60020b61ad28\",\n \"details\": {\n  \"code\": \"22P02\"\n },\n \"stack\": \"QueryFailedError: invalid input syntax for uuid: \\\"jkdsjlksl\\\"\\n    at new QueryFailedError (/usr/src/bitcapital/src/error/QueryFailedError.ts:9:9)\\n    at /usr/src/bitcapital/src/driver/postgres/PostgresQueryRunner.ts:178:30\\n    at Query.<anonymous> (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/plugins/plugin-pg.js:104:13)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at Query.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at Query.handleError (/usr/src/bitcapital/node_modules/pg/lib/query.js:145:17)\\n    at Connection.connectedErrorMessageHandler (/usr/src/bitcapital/node_modules/pg/lib/client.js:214:17)\\n    at Socket.<anonymous> (/usr/src/bitcapital/node_modules/pg/lib/connection.js:134:12)\"\n}"},{"id":"a049a880-88fc-49e5-abb3-79569a733d88","name":"OK","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/wallets/:id/dict?skip=<number>&limit=<number>","host":["{{baseUrl}}"],"path":["wallets",":id","dict"],"query":[{"key":"skip","value":"<number>"},{"key":"limit","value":"<number>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"description":"(Required) The request limit until `X-RateLimit-Reset`","key":"X-RateLimit-Limit","value":"60"},{"description":"(Required) The request limit remaining until `X-RateLimit-Reset`","key":"X-RateLimit-Remaining","value":"59"},{"description":"(Required) The UNIX timestamp for the next reset in rate-limit","key":"X-RateLimit-Reset","value":"1596649387"},{"description":"(Required) The total length of the list being sent","key":"X-Data-Length","value":"30"},{"description":"(Required) The limit set for pagination for this request","key":"X-Data-Limit","value":"-55876273.11966421"},{"description":"(Required) How many items were skiped for this request","key":"X-Data-Skip","value":"-55876273.11966421"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"key\": \"Duis\",\n  \"keyType\": \"phone\",\n  \"account\": {\n   \"ispb\": \"<string>\",\n   \"number\": \"<string>\",\n   \"branch\": \"<string>\",\n   \"type\": \"<string>\",\n   \"user\": {\n    \"name\": \"<string>\",\n    \"type\": \"<string>\",\n    \"taxId\": \"<string>\"\n   },\n   \"externalId\": \"<string>\",\n   \"openingDate\": \"<dateTime>\"\n  },\n  \"createdAt\": \"1991-05-11T00:43:35.471Z\",\n  \"ownedAt\": \"1954-01-05T05:17:31.716Z\",\n  \"statistics\": {\n   \"updatedAt\": \"2005-10-15T05:27:47.182Z\",\n   \"counters\": [\n    {\n     \"type\": \"settlements\",\n     \"by\": \"key\",\n     \"d3\": \"5\",\n     \"d30\": \"5\",\n     \"m6\": \"5\"\n    },\n    {\n     \"type\": \"settlements\",\n     \"by\": \"key\",\n     \"d3\": \"5\",\n     \"d30\": \"5\",\n     \"m6\": \"5\"\n    }\n   ]\n  },\n  \"claimedAt\": \"1947-09-06T19:58:17.927Z\",\n  \"internal\": true,\n  \"registrationId\": \"urn:uuid:d16f331a-7700-3405-86bf-6e74c7f91224\"\n },\n {\n  \"key\": \"Ut ut\",\n  \"keyType\": \"cnpj\",\n  \"account\": {\n   \"ispb\": \"<string>\",\n   \"number\": \"<string>\",\n   \"branch\": \"<string>\",\n   \"type\": \"<string>\",\n   \"user\": {\n    \"name\": \"<string>\",\n    \"type\": \"<string>\",\n    \"taxId\": \"<string>\"\n   },\n   \"externalId\": \"<string>\",\n   \"openingDate\": \"<dateTime>\"\n  },\n  \"createdAt\": \"1986-01-06T09:34:22.044Z\",\n  \"ownedAt\": \"1978-05-07T11:04:14.843Z\",\n  \"statistics\": {\n   \"updatedAt\": \"1969-06-10T17:56:30.638Z\",\n   \"counters\": [\n    {\n     \"type\": \"settlements\",\n     \"by\": \"key\",\n     \"d3\": \"5\",\n     \"d30\": \"5\",\n     \"m6\": \"5\"\n    },\n    {\n     \"type\": \"settlements\",\n     \"by\": \"key\",\n     \"d3\": \"5\",\n     \"d30\": \"5\",\n     \"m6\": \"5\"\n    }\n   ]\n  },\n  \"claimedAt\": \"1988-05-10T18:49:19.053Z\",\n  \"internal\": true,\n  \"registrationId\": \"urn:uuid:436c9a67-75fe-ef8b-b245-d39356099d3a\"\n }\n]"},{"id":"f2fd9645-3ea1-423a-a69b-835e0965861a","name":"Not Found","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/wallets/:id/dict?skip=<number>&limit=<number>","host":["{{baseUrl}}"],"path":["wallets",":id","dict"],"query":[{"key":"skip","value":"<number>"},{"key":"limit","value":"<number>"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Wallet not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"}],"_postman_id":"722b90a0-b7ef-43db-ac3c-19239119b0a3"}],"id":"c15ac0ef-7d7a-4e68-be0d-bb1dd8ee6ad5","_postman_id":"c15ac0ef-7d7a-4e68-be0d-bb1dd8ee6ad5","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Transfer money to External Bank","id":"a8cbbda5-9cef-4a79-a51e-fe50c10ccafb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>The EndToEndId of the transaction, if not set will be generated one.</p>\n","key":"X-EndToEnd-Id","value":"<uuid>"},{"description":"<p>The ID of the transaction, if not set will be generated one(only for PIX)</p>\n","key":"X-Transaction-Id","value":"<string>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"bankingId\": \"<string>\",\n    \"bank\": {\n        \"holderType\": \"<string>\",\n        \"bank\": \"<string>\",\n        \"agency\": \"<number>\",\n        \"account\": \"<number>\",\n        \"name\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"agencyDigit\": \"<string>\",\n        \"accountDigit\": \"<string>\",\n        \"type\": \"checking\"\n    },\n    \"key\": \"<string>\",\n    \"arrangement\": \"str\",\n    \"extra\": {\n        \"purpose\": \"<number>\",\n        \"priority\": \"normal\",\n        \"accountExternalId\": \"<string>\",\n        \"remittanceInfo\": \"<string>\"\n    },\n    \"additionalData\": \"<object>\"\n}"},"url":"{{baseUrl}}/wallets/:id/withdraw","description":"<p>Performs withdrawal from consumer wallet</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id","withdraw"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"0495303f-fba9-4660-ae24-adc0f9f95440","description":{"content":"<p>(Required) The UUID of the wallet to be used</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"4a0b898a-db93-4569-9c44-819702f1b036","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"},{"description":"The EndToEndId of the transaction, if not set will be generated one.","key":"X-EndToEnd-Id","value":"<uuid>"},{"description":"The ID of the transaction, if not set will be generated one(only for PIX)","key":"X-Transaction-Id","value":"<string>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"bankingId\": \"<string>\",\n    \"bank\": {\n        \"holderType\": \"<string>\",\n        \"bank\": \"<string>\",\n        \"agency\": \"<number>\",\n        \"account\": \"<number>\",\n        \"name\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"agencyDigit\": \"<string>\",\n        \"accountDigit\": \"<string>\",\n        \"type\": \"checking\"\n    },\n    \"key\": \"<string>\",\n    \"arrangement\": \"str\",\n    \"extra\": {\n        \"purpose\": \"<number>\",\n        \"priority\": \"normal\",\n        \"accountExternalId\": \"<string>\",\n        \"remittanceInfo\": \"<string>\"\n    },\n    \"additionalData\": \"<object>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/withdraw","host":["{{baseUrl}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"59b76da9-620c-49f1-8043-018a21a94b00","name":"Created","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"},{"description":"The EndToEndId of the transaction, if not set will be generated one.","key":"X-EndToEnd-Id","value":"<uuid>"},{"description":"The ID of the transaction, if not set will be generated one(only for PIX)","key":"X-Transaction-Id","value":"<string>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"bankingId\": \"<string>\",\n    \"bank\": {\n        \"holderType\": \"<string>\",\n        \"bank\": \"<string>\",\n        \"agency\": \"<number>\",\n        \"account\": \"<number>\",\n        \"name\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"agencyDigit\": \"<string>\",\n        \"accountDigit\": \"<string>\",\n        \"type\": \"checking\"\n    },\n    \"key\": \"<string>\",\n    \"arrangement\": \"str\",\n    \"extra\": {\n        \"purpose\": \"<number>\",\n        \"priority\": \"normal\",\n        \"accountExternalId\": \"<string>\",\n        \"remittanceInfo\": \"<string>\"\n    },\n    \"additionalData\": \"<object>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/withdraw","host":["{{baseUrl}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"esse enim elit\",\n \"states\": [\n  {\n   \"id\": \"urn:uuid:f7d672d5-6205-2c2f-7082-998e85878bcd\",\n   \"createdAt\": \"1964-12-14T05:05:31.657Z\",\n   \"updatedAt\": \"2003-04-12T22:37:04.760Z\",\n   \"additionalData\": {},\n   \"status\": \"pending\"\n  }\n ],\n \"createdAt\": \"2013-08-14T14:22:46.725Z\",\n \"additionalData\": {},\n \"status\": \"pending\",\n \"type\": \"create_account\",\n \"updatedAt\": \"laboris enim\",\n \"payments\": [\n  {\n   \"id\": \"in minim\",\n   \"status\": \"authorized\",\n   \"type\": \"boleto\",\n   \"destination\": {\n    \"id\": \"5af40619-cac3-0eab-afa3-265d16998b63\",\n    \"stellar\": {\n     \"publicKey\": \"labo\"\n    },\n    \"updatedAt\": \"enim Lorem occaecat\",\n    \"createdAt\": \"voluptate est\",\n    \"root\": true,\n    \"user\": {\n     \"id\": \"15a2a9a0-3773-d8df-681c-a476c3c9a017\",\n     \"name\": \"veniam do labore\",\n     \"firstName\": \"nisi dolore cupidatat sit\",\n     \"lastName\": \"Lorem labore velit\",\n     \"email\": \"ONcNUutqGRmgdSH@PgKMUYvxtjtByG.yxjt\",\n     \"role\": \"consumer\",\n     \"updatedAt\": \"1947-07-11T21:56:20.033Z\",\n     \"createdAt\": \"1944-10-24T01:39:07.191Z\",\n     \"twoFactorRequired\": false\n    }\n   },\n   \"amount\": \"1.0\",\n   \"asset\": {\n    \"id\": \"urn:uuid:df0b3751-968a-e55f-9d00-0f599d2a7a1e\",\n    \"name\": \"in irure id et\",\n    \"createdAt\": \"2004-11-23T13:57:11.785Z\",\n    \"updatedAt\": \"1953-09-07T05:26:09.369Z\",\n    \"code\": \"BRLP\",\n    \"root\": false,\n    \"provider\": \"pariatur \"\n   },\n   \"createdAt\": \"1966-01-27T12:01:19.509Z\",\n   \"updatedAt\": \"2008-09-22T06:29:11.790Z\",\n   \"scheduleFor\": \"1971-04-22T15:04:10.097Z\"\n  },\n  {\n   \"id\": \"pariatur ut non\",\n   \"status\": \"authorized\",\n   \"type\": \"authorized_card_reversal\",\n   \"destination\": {\n    \"id\": \"urn:uuid:93ba2d0c-c805-53e0-07cf-ff88186b43f5\",\n    \"stellar\": {\n     \"publicKey\": \"pariatur eiusmod incididunt ut aute\"\n    },\n    \"updatedAt\": \"labo\",\n    \"createdAt\": \"incididunt cillum cupidatat\",\n    \"root\": false,\n    \"user\": {\n     \"id\": \"urn:uuid:0ac68be9-6fd1-3d15-0b2b-7e8e65957bf0\",\n     \"name\": \"Ut fugiat consequat sint in\",\n     \"firstName\": \"sed culpa sint\",\n     \"lastName\": \"aute Duis aliquip\",\n     \"email\": \"Xhl1vy9l@PzgxHFENdGVuMznQYgk.ydg\",\n     \"role\": \"consumer\",\n     \"updatedAt\": \"1994-11-02T02:11:50.720Z\",\n     \"createdAt\": \"1965-04-21T02:55:40.453Z\",\n     \"twoFactorRequired\": false\n    }\n   },\n   \"amount\": \"1.0\",\n   \"asset\": {\n    \"id\": \"urn:uuid:f152883a-bac9-c299-4d38-a89bb7fa8f9a\",\n    \"name\": \"dolore culpa ea\",\n    \"createdAt\": \"1983-10-31T13:54:02.311Z\",\n    \"updatedAt\": \"1975-07-16T11:19:03.933Z\",\n    \"code\": \"BRLP\",\n    \"root\": false,\n    \"provider\": \"nisi cillum\"\n   },\n   \"createdAt\": \"1963-05-08T15:08:59.265Z\",\n   \"updatedAt\": \"1972-08-28T04:56:58.553Z\",\n   \"scheduleFor\": \"2016-04-06T23:29:29.437Z\"\n  }\n ],\n \"source\": {\n  \"id\": \"1411195c-607f-12fc-e7f1-d9e542908df9\",\n  \"stellar\": {\n   \"publicKey\": \"adipisicing cillum dolore\"\n  },\n  \"updatedAt\": \"dolor ea exercitation\",\n  \"createdAt\": \"ut ipsum elit laboris\",\n  \"root\": true,\n  \"user\": {\n   \"id\": \"11c15adb-4b0d-8a76-a6f8-cfb264a8ec96\",\n   \"name\": \"ipsum est labore nulla\",\n   \"firstName\": \"in culpa ullamco in\",\n   \"lastName\": \"non voluptate ut aliquip\",\n   \"email\": \"SkHcT4usm@EnY.kpa\",\n   \"role\": \"consumer\",\n   \"updatedAt\": \"1991-01-12T07:12:25.114Z\",\n   \"createdAt\": \"2012-10-25T07:01:35.483Z\",\n   \"twoFactorRequired\": false\n  }\n }\n}"},{"id":"5fda9c6a-b95e-469f-a575-dc8fb5d41596","name":"Not enough balance","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"},{"description":"The EndToEndId of the transaction, if not set will be generated one.","key":"X-EndToEnd-Id","value":"<uuid>"},{"description":"The ID of the transaction, if not set will be generated one(only for PIX)","key":"X-Transaction-Id","value":"<string>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"bankingId\": \"<string>\",\n    \"bank\": {\n        \"holderType\": \"<string>\",\n        \"bank\": \"<string>\",\n        \"agency\": \"<number>\",\n        \"account\": \"<number>\",\n        \"name\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"agencyDigit\": \"<string>\",\n        \"accountDigit\": \"<string>\",\n        \"type\": \"checking\"\n    },\n    \"key\": \"<string>\",\n    \"arrangement\": \"str\",\n    \"extra\": {\n        \"purpose\": \"<number>\",\n        \"priority\": \"normal\",\n        \"accountExternalId\": \"<string>\",\n        \"remittanceInfo\": \"<string>\"\n    },\n    \"additionalData\": \"<object>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/withdraw","host":["{{baseUrl}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id"}]}},"status":"Precondition Failed","code":412,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 412,\n \"message\": \"[412] User doesn't have enough balance. (stackId: 3cfa366f-10c1-4154-a761-f27a0ee01a7f)\",\n \"stackId\": \"3cfa366f-10c1-4154-a761-f27a0ee01a7f\",\n \"details\": {\n  \"assets\": [\n   \"BRLP\"\n  ]\n }\n}"},{"id":"67fe6997-c1ea-4d5c-b3a4-01e7b8247b69","name":"Invalid UUID","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"},{"description":"The EndToEndId of the transaction, if not set will be generated one.","key":"X-EndToEnd-Id","value":"<uuid>"},{"description":"The ID of the transaction, if not set will be generated one(only for PIX)","key":"X-Transaction-Id","value":"<string>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"bankingId\": \"<string>\",\n    \"bank\": {\n        \"holderType\": \"<string>\",\n        \"bank\": \"<string>\",\n        \"agency\": \"<number>\",\n        \"account\": \"<number>\",\n        \"name\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"agencyDigit\": \"<string>\",\n        \"accountDigit\": \"<string>\",\n        \"type\": \"checking\"\n    },\n    \"key\": \"<string>\",\n    \"arrangement\": \"str\",\n    \"extra\": {\n        \"purpose\": \"<number>\",\n        \"priority\": \"normal\",\n        \"accountExternalId\": \"<string>\",\n        \"remittanceInfo\": \"<string>\"\n    },\n    \"additionalData\": \"<object>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/withdraw","host":["{{baseUrl}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] walletId should be a UUID (stackId: 67896372-6007-416a-b06a-cc339344c405)\",\n \"stackId\": \"67896372-6007-416a-b06a-cc339344c405\",\n \"details\": {}\n}"},{"id":"82eb438b-021b-4617-a45b-7e359199f7d5","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"},{"description":"The EndToEndId of the transaction, if not set will be generated one.","key":"X-EndToEnd-Id","value":"<uuid>"},{"description":"The ID of the transaction, if not set will be generated one(only for PIX)","key":"X-Transaction-Id","value":"<string>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"bankingId\": \"<string>\",\n    \"bank\": {\n        \"holderType\": \"<string>\",\n        \"bank\": \"<string>\",\n        \"agency\": \"<number>\",\n        \"account\": \"<number>\",\n        \"name\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"agencyDigit\": \"<string>\",\n        \"accountDigit\": \"<string>\",\n        \"type\": \"checking\"\n    },\n    \"key\": \"<string>\",\n    \"arrangement\": \"str\",\n    \"extra\": {\n        \"purpose\": \"<number>\",\n        \"priority\": \"normal\",\n        \"accountExternalId\": \"<string>\",\n        \"remittanceInfo\": \"<string>\"\n    },\n    \"additionalData\": \"<object>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/withdraw","host":["{{baseUrl}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"message\": \"[500] invalid input syntax for uuid: \\\"jkdsjlksl\\\" (stackId: d119ad68-fa95-49d8-aef2-60020b61ad28)\",\n \"stackId\": \"d119ad68-fa95-49d8-aef2-60020b61ad28\",\n \"details\": {\n  \"code\": \"22P02\"\n },\n \"stack\": \"QueryFailedError: invalid input syntax for uuid: \\\"jkdsjlksl\\\"\\n    at new QueryFailedError (/usr/src/bitcapital/src/error/QueryFailedError.ts:9:9)\\n    at /usr/src/bitcapital/src/driver/postgres/PostgresQueryRunner.ts:178:30\\n    at Query.<anonymous> (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/plugins/plugin-pg.js:104:13)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at Query.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at Query.handleError (/usr/src/bitcapital/node_modules/pg/lib/query.js:145:17)\\n    at Connection.connectedErrorMessageHandler (/usr/src/bitcapital/node_modules/pg/lib/client.js:214:17)\\n    at Socket.<anonymous> (/usr/src/bitcapital/node_modules/pg/lib/connection.js:134:12)\"\n}"},{"id":"d9ac05ba-b7cc-4b2c-9a2a-54679ae946e0","name":"Not Found","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"},{"description":"The EndToEndId of the transaction, if not set will be generated one.","key":"X-EndToEnd-Id","value":"<uuid>"},{"description":"The ID of the transaction, if not set will be generated one(only for PIX)","key":"X-Transaction-Id","value":"<string>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"bankingId\": \"<string>\",\n    \"bank\": {\n        \"holderType\": \"<string>\",\n        \"bank\": \"<string>\",\n        \"agency\": \"<number>\",\n        \"account\": \"<number>\",\n        \"name\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"agencyDigit\": \"<string>\",\n        \"accountDigit\": \"<string>\",\n        \"type\": \"checking\"\n    },\n    \"key\": \"<string>\",\n    \"arrangement\": \"str\",\n    \"extra\": {\n        \"purpose\": \"<number>\",\n        \"priority\": \"normal\",\n        \"accountExternalId\": \"<string>\",\n        \"remittanceInfo\": \"<string>\"\n    },\n    \"additionalData\": \"<object>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/withdraw","host":["{{baseUrl}}"],"path":["wallets",":id","withdraw"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Wallet not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"}],"_postman_id":"a8cbbda5-9cef-4a79-a51e-fe50c10ccafb"},{"name":"Transfer money from Settlement Acoount to an Instant Payment Account","id":"d15051eb-630a-4216-9a23-5197e08db16f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"ispb\": \"<string>\"\n}"},"url":"{{baseUrl}}/wallets/:id/ip-account-recharge","description":"<p>Performs withdrawal from wallet that represents the STR Participant's settlement account to an Instant Payment account</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id","ip-account-recharge"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"813deadf-5d33-49d4-83dd-f70b6cb682b4","description":{"content":"<p>(Required) The UUID of the wallet to be used</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"0ce8db4f-af95-4687-aed7-a50b164fb221","name":"Not Found","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/ip-account-recharge","host":["{{baseUrl}}"],"path":["wallets",":id","ip-account-recharge"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Wallet not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"},{"id":"0f94c49b-a90e-4706-a534-5e21442f00be","name":"Not enough balance","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/ip-account-recharge","host":["{{baseUrl}}"],"path":["wallets",":id","ip-account-recharge"],"variable":[{"key":"id"}]}},"status":"Precondition Failed","code":412,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 412,\n \"message\": \"[412] User doesn't have enough balance. (stackId: 3cfa366f-10c1-4154-a761-f27a0ee01a7f)\",\n \"stackId\": \"3cfa366f-10c1-4154-a761-f27a0ee01a7f\",\n \"details\": {\n  \"assets\": [\n   \"BRLP\"\n  ]\n }\n}"},{"id":"54f8c153-4eda-4f69-881a-e7783ab0f8fc","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/ip-account-recharge","host":["{{baseUrl}}"],"path":["wallets",":id","ip-account-recharge"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"583f41e0-4fc8-4e3c-ab06-8706443872ac","name":"Invalid UUID","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/ip-account-recharge","host":["{{baseUrl}}"],"path":["wallets",":id","ip-account-recharge"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] walletId should be a UUID (stackId: 67896372-6007-416a-b06a-cc339344c405)\",\n \"stackId\": \"67896372-6007-416a-b06a-cc339344c405\",\n \"details\": {}\n}"},{"id":"804698a9-b1e6-4d49-b1a3-d02e3fac6c67","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/ip-account-recharge","host":["{{baseUrl}}"],"path":["wallets",":id","ip-account-recharge"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"message\": \"[500] invalid input syntax for uuid: \\\"jkdsjlksl\\\" (stackId: d119ad68-fa95-49d8-aef2-60020b61ad28)\",\n \"stackId\": \"d119ad68-fa95-49d8-aef2-60020b61ad28\",\n \"details\": {\n  \"code\": \"22P02\"\n },\n \"stack\": \"QueryFailedError: invalid input syntax for uuid: \\\"jkdsjlksl\\\"\\n    at new QueryFailedError (/usr/src/bitcapital/src/error/QueryFailedError.ts:9:9)\\n    at /usr/src/bitcapital/src/driver/postgres/PostgresQueryRunner.ts:178:30\\n    at Query.<anonymous> (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/plugins/plugin-pg.js:104:13)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at Query.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at Query.handleError (/usr/src/bitcapital/node_modules/pg/lib/query.js:145:17)\\n    at Connection.connectedErrorMessageHandler (/usr/src/bitcapital/node_modules/pg/lib/client.js:214:17)\\n    at Socket.<anonymous> (/usr/src/bitcapital/node_modules/pg/lib/connection.js:134:12)\"\n}"},{"id":"d384ee96-42d5-4f31-8fe1-7cd8f9b278ea","name":"Created","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/ip-account-recharge","host":["{{baseUrl}}"],"path":["wallets",":id","ip-account-recharge"],"variable":[{"key":"id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"cupidatat mollit ea\",\n \"states\": [\n  {\n   \"id\": \"urn:uuid:ba1b391b-e270-9932-aedf-e80873ea29db\",\n   \"createdAt\": \"1970-05-17T22:38:22.240Z\",\n   \"updatedAt\": \"1972-03-01T22:58:31.309Z\",\n   \"additionalData\": {},\n   \"status\": \"pending\"\n  }\n ],\n \"createdAt\": \"1960-10-02T10:43:59.666Z\",\n \"additionalData\": {},\n \"status\": \"pending\",\n \"type\": \"create_account\",\n \"updatedAt\": \"in anim\",\n \"payments\": [\n  {\n   \"id\": \"esse et\",\n   \"status\": \"authorized\",\n   \"type\": \"phone_credit\",\n   \"destination\": {\n    \"id\": \"13eb6942-fc6e-c5c5-f991-4f0c6af28c37\",\n    \"stellar\": {\n     \"publicKey\": \"commodo irure\"\n    },\n    \"updatedAt\": \"voluptate\",\n    \"createdAt\": \"adipisicing tempor labore incididunt sed\",\n    \"root\": false,\n    \"user\": {\n     \"id\": \"urn:uuid:e6a98678-5472-50bf-1bdf-3b141d52c0e7\",\n     \"name\": \"aliquip ipsum ad\",\n     \"firstName\": \"qui officia consectetur Excepteur\",\n     \"lastName\": \"tempor culpa dolore exercitation\",\n     \"email\": \"ewt53R253a3tqxe@DfosjoBXTQXzsWW.kc\",\n     \"role\": \"consumer\",\n     \"updatedAt\": \"1971-02-05T02:52:13.994Z\",\n     \"createdAt\": \"1964-02-25T00:33:04.747Z\",\n     \"twoFactorRequired\": false\n    }\n   },\n   \"amount\": \"1.0\",\n   \"asset\": {\n    \"id\": \"c9723ba9-1226-8ab6-7490-62de241a4921\",\n    \"name\": \"sunt\",\n    \"createdAt\": \"1964-06-20T04:33:36.437Z\",\n    \"updatedAt\": \"2014-10-30T15:44:36.098Z\",\n    \"code\": \"BRLP\",\n    \"root\": false,\n    \"provider\": \"laborum sunt dolor exercitation\"\n   },\n   \"createdAt\": \"1992-03-18T16:14:05.075Z\",\n   \"updatedAt\": \"1964-08-29T19:53:41.111Z\",\n   \"scheduleFor\": \"2020-10-30T00:31:52.679Z\"\n  },\n  {\n   \"id\": \"culpa laboris\",\n   \"status\": \"authorized\",\n   \"type\": \"boleto\",\n   \"destination\": {\n    \"id\": \"eed5ba2b-1304-7d19-218e-a8c5cb70b8ca\",\n    \"stellar\": {\n     \"publicKey\": \"culpa proident nostrud elit\"\n    },\n    \"updatedAt\": \"nisi sit\",\n    \"createdAt\": \"laboris sint minim in\",\n    \"root\": false,\n    \"user\": {\n     \"id\": \"c2609212-f25a-e765-d01a-f0b95cae8f41\",\n     \"name\": \"irure aliqua sint nisi id\",\n     \"firstName\": \"aute in incididunt reprehenderit\",\n     \"lastName\": \"Duis ut\",\n     \"email\": \"HlUXWVNSiLRhWw@UhqGijnxHnMsj.xre\",\n     \"role\": \"consumer\",\n     \"updatedAt\": \"1951-01-18T10:34:25.039Z\",\n     \"createdAt\": \"1990-01-14T14:11:29.922Z\",\n     \"twoFactorRequired\": false\n    }\n   },\n   \"amount\": \"1.0\",\n   \"asset\": {\n    \"id\": \"urn:uuid:60d95e1d-e5c9-d287-e0bf-036dc105b6f9\",\n    \"name\": \"adipisicing proident Excepteur eu\",\n    \"createdAt\": \"2012-04-07T13:57:54.426Z\",\n    \"updatedAt\": \"1989-07-24T21:08:53.636Z\",\n    \"code\": \"BRLP\",\n    \"root\": false,\n    \"provider\": \"Ut laboris anim et\"\n   },\n   \"createdAt\": \"2017-08-09T20:39:45.449Z\",\n   \"updatedAt\": \"2008-06-17T04:09:15.231Z\",\n   \"scheduleFor\": \"1955-07-13T15:20:43.066Z\"\n  }\n ],\n \"source\": {\n  \"id\": \"urn:uuid:9de23156-c528-7143-f557-69cae76d8202\",\n  \"stellar\": {\n   \"publicKey\": \"non anim nostrud\"\n  },\n  \"updatedAt\": \"in ea irure\",\n  \"createdAt\": \"anim do occaecat\",\n  \"root\": false,\n  \"user\": {\n   \"id\": \"66a2a09d-dd09-8ff9-afe1-291408a1a3bc\",\n   \"name\": \"est nulla cillum Ut\",\n   \"firstName\": \"officia\",\n   \"lastName\": \"ex eu\",\n   \"email\": \"yFx@wQUDqulwvOgFoWBeqmPgtcztVpJxmwbO.tlx\",\n   \"role\": \"consumer\",\n   \"updatedAt\": \"1978-11-30T09:37:48.211Z\",\n   \"createdAt\": \"1968-03-31T04:52:25.933Z\",\n   \"twoFactorRequired\": true\n  }\n }\n}"}],"_postman_id":"d15051eb-630a-4216-9a23-5197e08db16f"},{"name":"Transfer money from an Instant Payment Account to a settlement account held by a STR participant","id":"bbc7aa98-374d-432d-9063-46507ce0e39b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"ispb\": \"<string>\",\n    \"bankingId\": \"<string>\",\n    \"bank\": {\n        \"holderType\": \"<string>\",\n        \"bank\": \"<string>\",\n        \"agency\": \"<number>\",\n        \"account\": \"<number>\",\n        \"name\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"agencyDigit\": \"<string>\",\n        \"accountDigit\": \"<string>\",\n        \"type\": \"checking\"\n    }\n}"},"url":"{{baseUrl}}/wallets/:id/ip-account-withdraw","description":"<p>Performs withdrawal from wallet that represents the SPI Participant's Instant Payment account to a Instant Payment account</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id","ip-account-withdraw"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"75421e91-1544-4cd3-a817-14995b3249d0","description":{"content":"<p>(Required) The UUID of the wallet to be used</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"82dc07a9-e98f-41e1-be44-8fb5fa7333a5","name":"Not Found","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"ispb\": \"<string>\",\n    \"bankingId\": \"<string>\",\n    \"bank\": {\n        \"holderType\": \"<string>\",\n        \"bank\": \"<string>\",\n        \"agency\": \"<number>\",\n        \"account\": \"<number>\",\n        \"name\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"agencyDigit\": \"<string>\",\n        \"accountDigit\": \"<string>\",\n        \"type\": \"checking\"\n    }\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/ip-account-withdraw","host":["{{baseUrl}}"],"path":["wallets",":id","ip-account-withdraw"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Wallet not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"},{"id":"92996dd0-0a03-4504-9fdf-b807cfd53d90","name":"Created","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"ispb\": \"<string>\",\n    \"bankingId\": \"<string>\",\n    \"bank\": {\n        \"holderType\": \"<string>\",\n        \"bank\": \"<string>\",\n        \"agency\": \"<number>\",\n        \"account\": \"<number>\",\n        \"name\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"agencyDigit\": \"<string>\",\n        \"accountDigit\": \"<string>\",\n        \"type\": \"checking\"\n    }\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/ip-account-withdraw","host":["{{baseUrl}}"],"path":["wallets",":id","ip-account-withdraw"],"variable":[{"key":"id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"cupidatat mollit ea\",\n \"states\": [\n  {\n   \"id\": \"urn:uuid:ba1b391b-e270-9932-aedf-e80873ea29db\",\n   \"createdAt\": \"1970-05-17T22:38:22.240Z\",\n   \"updatedAt\": \"1972-03-01T22:58:31.309Z\",\n   \"additionalData\": {},\n   \"status\": \"pending\"\n  }\n ],\n \"createdAt\": \"1960-10-02T10:43:59.666Z\",\n \"additionalData\": {},\n \"status\": \"pending\",\n \"type\": \"create_account\",\n \"updatedAt\": \"in anim\",\n \"payments\": [\n  {\n   \"id\": \"esse et\",\n   \"status\": \"authorized\",\n   \"type\": \"phone_credit\",\n   \"destination\": {\n    \"id\": \"13eb6942-fc6e-c5c5-f991-4f0c6af28c37\",\n    \"stellar\": {\n     \"publicKey\": \"commodo irure\"\n    },\n    \"updatedAt\": \"voluptate\",\n    \"createdAt\": \"adipisicing tempor labore incididunt sed\",\n    \"root\": false,\n    \"user\": {\n     \"id\": \"urn:uuid:e6a98678-5472-50bf-1bdf-3b141d52c0e7\",\n     \"name\": \"aliquip ipsum ad\",\n     \"firstName\": \"qui officia consectetur Excepteur\",\n     \"lastName\": \"tempor culpa dolore exercitation\",\n     \"email\": \"ewt53R253a3tqxe@DfosjoBXTQXzsWW.kc\",\n     \"role\": \"consumer\",\n     \"updatedAt\": \"1971-02-05T02:52:13.994Z\",\n     \"createdAt\": \"1964-02-25T00:33:04.747Z\",\n     \"twoFactorRequired\": false\n    }\n   },\n   \"amount\": \"1.0\",\n   \"asset\": {\n    \"id\": \"c9723ba9-1226-8ab6-7490-62de241a4921\",\n    \"name\": \"sunt\",\n    \"createdAt\": \"1964-06-20T04:33:36.437Z\",\n    \"updatedAt\": \"2014-10-30T15:44:36.098Z\",\n    \"code\": \"BRLP\",\n    \"root\": false,\n    \"provider\": \"laborum sunt dolor exercitation\"\n   },\n   \"createdAt\": \"1992-03-18T16:14:05.075Z\",\n   \"updatedAt\": \"1964-08-29T19:53:41.111Z\",\n   \"scheduleFor\": \"2020-10-30T00:31:52.679Z\"\n  },\n  {\n   \"id\": \"culpa laboris\",\n   \"status\": \"authorized\",\n   \"type\": \"boleto\",\n   \"destination\": {\n    \"id\": \"eed5ba2b-1304-7d19-218e-a8c5cb70b8ca\",\n    \"stellar\": {\n     \"publicKey\": \"culpa proident nostrud elit\"\n    },\n    \"updatedAt\": \"nisi sit\",\n    \"createdAt\": \"laboris sint minim in\",\n    \"root\": false,\n    \"user\": {\n     \"id\": \"c2609212-f25a-e765-d01a-f0b95cae8f41\",\n     \"name\": \"irure aliqua sint nisi id\",\n     \"firstName\": \"aute in incididunt reprehenderit\",\n     \"lastName\": \"Duis ut\",\n     \"email\": \"HlUXWVNSiLRhWw@UhqGijnxHnMsj.xre\",\n     \"role\": \"consumer\",\n     \"updatedAt\": \"1951-01-18T10:34:25.039Z\",\n     \"createdAt\": \"1990-01-14T14:11:29.922Z\",\n     \"twoFactorRequired\": false\n    }\n   },\n   \"amount\": \"1.0\",\n   \"asset\": {\n    \"id\": \"urn:uuid:60d95e1d-e5c9-d287-e0bf-036dc105b6f9\",\n    \"name\": \"adipisicing proident Excepteur eu\",\n    \"createdAt\": \"2012-04-07T13:57:54.426Z\",\n    \"updatedAt\": \"1989-07-24T21:08:53.636Z\",\n    \"code\": \"BRLP\",\n    \"root\": false,\n    \"provider\": \"Ut laboris anim et\"\n   },\n   \"createdAt\": \"2017-08-09T20:39:45.449Z\",\n   \"updatedAt\": \"2008-06-17T04:09:15.231Z\",\n   \"scheduleFor\": \"1955-07-13T15:20:43.066Z\"\n  }\n ],\n \"source\": {\n  \"id\": \"urn:uuid:9de23156-c528-7143-f557-69cae76d8202\",\n  \"stellar\": {\n   \"publicKey\": \"non anim nostrud\"\n  },\n  \"updatedAt\": \"in ea irure\",\n  \"createdAt\": \"anim do occaecat\",\n  \"root\": false,\n  \"user\": {\n   \"id\": \"66a2a09d-dd09-8ff9-afe1-291408a1a3bc\",\n   \"name\": \"est nulla cillum Ut\",\n   \"firstName\": \"officia\",\n   \"lastName\": \"ex eu\",\n   \"email\": \"yFx@wQUDqulwvOgFoWBeqmPgtcztVpJxmwbO.tlx\",\n   \"role\": \"consumer\",\n   \"updatedAt\": \"1978-11-30T09:37:48.211Z\",\n   \"createdAt\": \"1968-03-31T04:52:25.933Z\",\n   \"twoFactorRequired\": true\n  }\n }\n}"},{"id":"bf981b57-be2b-4d3d-9eba-316aeaa35405","name":"Invalid UUID","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"ispb\": \"<string>\",\n    \"bankingId\": \"<string>\",\n    \"bank\": {\n        \"holderType\": \"<string>\",\n        \"bank\": \"<string>\",\n        \"agency\": \"<number>\",\n        \"account\": \"<number>\",\n        \"name\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"agencyDigit\": \"<string>\",\n        \"accountDigit\": \"<string>\",\n        \"type\": \"checking\"\n    }\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/ip-account-withdraw","host":["{{baseUrl}}"],"path":["wallets",":id","ip-account-withdraw"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] walletId should be a UUID (stackId: 67896372-6007-416a-b06a-cc339344c405)\",\n \"stackId\": \"67896372-6007-416a-b06a-cc339344c405\",\n \"details\": {}\n}"},{"id":"c8182d5f-2833-4c9c-8bdf-84b0c6ac1095","name":"Not enough balance","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"ispb\": \"<string>\",\n    \"bankingId\": \"<string>\",\n    \"bank\": {\n        \"holderType\": \"<string>\",\n        \"bank\": \"<string>\",\n        \"agency\": \"<number>\",\n        \"account\": \"<number>\",\n        \"name\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"agencyDigit\": \"<string>\",\n        \"accountDigit\": \"<string>\",\n        \"type\": \"checking\"\n    }\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/ip-account-withdraw","host":["{{baseUrl}}"],"path":["wallets",":id","ip-account-withdraw"],"variable":[{"key":"id"}]}},"status":"Precondition Failed","code":412,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 412,\n \"message\": \"[412] User doesn't have enough balance. (stackId: 3cfa366f-10c1-4154-a761-f27a0ee01a7f)\",\n \"stackId\": \"3cfa366f-10c1-4154-a761-f27a0ee01a7f\",\n \"details\": {\n  \"assets\": [\n   \"BRLP\"\n  ]\n }\n}"},{"id":"f06f8187-e7b6-4e18-a6d6-abc7aa4da9a8","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"ispb\": \"<string>\",\n    \"bankingId\": \"<string>\",\n    \"bank\": {\n        \"holderType\": \"<string>\",\n        \"bank\": \"<string>\",\n        \"agency\": \"<number>\",\n        \"account\": \"<number>\",\n        \"name\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"agencyDigit\": \"<string>\",\n        \"accountDigit\": \"<string>\",\n        \"type\": \"checking\"\n    }\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/ip-account-withdraw","host":["{{baseUrl}}"],"path":["wallets",":id","ip-account-withdraw"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"fc31c800-ede8-429a-a01e-1762e4d62cf4","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"ispb\": \"<string>\",\n    \"bankingId\": \"<string>\",\n    \"bank\": {\n        \"holderType\": \"<string>\",\n        \"bank\": \"<string>\",\n        \"agency\": \"<number>\",\n        \"account\": \"<number>\",\n        \"name\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"agencyDigit\": \"<string>\",\n        \"accountDigit\": \"<string>\",\n        \"type\": \"checking\"\n    }\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/ip-account-withdraw","host":["{{baseUrl}}"],"path":["wallets",":id","ip-account-withdraw"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"message\": \"[500] invalid input syntax for uuid: \\\"jkdsjlksl\\\" (stackId: d119ad68-fa95-49d8-aef2-60020b61ad28)\",\n \"stackId\": \"d119ad68-fa95-49d8-aef2-60020b61ad28\",\n \"details\": {\n  \"code\": \"22P02\"\n },\n \"stack\": \"QueryFailedError: invalid input syntax for uuid: \\\"jkdsjlksl\\\"\\n    at new QueryFailedError (/usr/src/bitcapital/src/error/QueryFailedError.ts:9:9)\\n    at /usr/src/bitcapital/src/driver/postgres/PostgresQueryRunner.ts:178:30\\n    at Query.<anonymous> (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/plugins/plugin-pg.js:104:13)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at Query.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at Query.handleError (/usr/src/bitcapital/node_modules/pg/lib/query.js:145:17)\\n    at Connection.connectedErrorMessageHandler (/usr/src/bitcapital/node_modules/pg/lib/client.js:214:17)\\n    at Socket.<anonymous> (/usr/src/bitcapital/node_modules/pg/lib/connection.js:134:12)\"\n}"}],"_postman_id":"bbc7aa98-374d-432d-9063-46507ce0e39b"},{"name":"Register a claim to a wallet","id":"edf6dfdc-4347-4b98-885b-2b272461a597","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"<string>\",\n    \"key\": \"<string>\",\n    \"keyType\": \"<string>\",\n    \"provider\": \"<string>\"\n}"},"url":"{{baseUrl}}/wallets/:id/claims","description":"<p>Registers a claim to a key having an wallet as it's destination</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":id","claims"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"5523f6ec-be86-4a6d-ab73-f57e7c2b7e30","description":{"content":"<p>(Required) The UUID of the Wallet</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"324a986e-1e5b-4201-8603-1eaf7d4709cc","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"PORTABILITY\",\n    \"key\": \"jmb10@gmail.com\",\n    \"keyType\": \"EMAIL\",\n    \"provider\": \"parati-provider\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/claims","host":["{{baseUrl}}"],"path":["wallets",":id","claims"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": \"400\",\n \"message\": \"[400] [400] A claim already exist for key (stackId: cad66dc6-1b36-4db6-8641-c56f437dfd32) (stackId: cad66dc6-1b36-4db6-8641-c56f437dfd32)\",\n \"stackId\": \"cad66dc6-1b36-4db6-8641-c56f437dfd32\",\n \"details\": {\n  \"stack\": \"HttpError: [400] A claim already exist for key (stackId: cad66dc6-1b36-4db6-8641-c56f437dfd32)\\n    at Object.wrapDictError (/usr/src/bitcapital/monorepo/common/dict-api/api/utils/ErrorUtil.ts:67:9)\\n    at ClaimService.<anonymous> (/usr/src/bitcapital/monorepo/common/dict-api/api/services/ClaimService.ts:188:13)\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/usr/src/bitcapital/monorepo/common/dict-api/dist/api/services/ClaimService.js:5:58)\\n    at runMicrotasks (<anonymous>)\",\n  \"details\": {\n   \"$\": {\n    \"xmlns\": \"urn:ietf:rfc:7807\"\n   },\n   \"type\": \"https://dict.pi.rsfn.net.br/api/v1/error/ClaimAlreadyExistsForKey\",\n   \"title\": \"Bad Request\",\n   \"status\": \"400\",\n   \"detail\": \"A claim already exist for key\",\n   \"correlationId\": \"8B5CE7C7F6D5483C8AF2F6CB32F28B58\"\n  },\n  \"message\": \"[400] A claim already exist for key (stackId: cad66dc6-1b36-4db6-8641-c56f437dfd32)\",\n  \"status\": \"400\",\n  \"stackId\": \"cad66dc6-1b36-4db6-8641-c56f437dfd32\"\n },\n \"stack\": \"HttpError: [400] [400] A claim already exist for key (stackId: cad66dc6-1b36-4db6-8641-c56f437dfd32) (stackId: cad66dc6-1b36-4db6-8641-c56f437dfd32)\\n    inherits HttpError: [400] A claim already exist for key (stackId: cad66dc6-1b36-4db6-8641-c56f437dfd32)\\n    at Object.wrapDictError (/usr/src/bitcapital/monorepo/common/dict-api/api/utils/ErrorUtil.ts:67:9)\\n    at ClaimService.<anonymous> (/usr/src/bitcapital/monorepo/common/dict-api/api/services/ClaimService.ts:188:13)\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/usr/src/bitcapital/monorepo/common/dict-api/dist/api/services/ClaimService.js:5:58)\\n    at runMicrotasks (<anonymous>)\"\n}"},{"id":"76df8d09-4894-4cdb-a40d-d6015aba65a7","name":"OK","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"PORTABILITY\",\n    \"key\": \"jmb10@gmail.com\",\n    \"keyType\": \"EMAIL\",\n    \"provider\": \"parati-provider\"\n}"},"url":{"raw":"{{baseUrl}}/wallets/:id/claims","host":["{{baseUrl}}"],"path":["wallets",":id","claims"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"key\": \"jmb10@gmail.com\",\n \"keyType\": \"EMAIL\",\n \"account\": {\n  \"id\": \"43b99108-64bb-474b-b412-54597c4413e2\",\n  \"createdAt\": \"2020-09-11T14:52:57.464Z\",\n  \"updatedAt\": \"2020-09-11T14:52:57.464Z\",\n  \"deletedAt\": null,\n  \"ispb\": \"03311443\",\n  \"number\": \"28495840\",\n  \"branch\": \"0001\",\n  \"type\": \"checking\",\n  \"openingDate\": \"2020-09-11T14:52:57.441Z\",\n  \"externalId\": null,\n  \"user\": {\n   \"id\": \"a3a00eb0-997b-45e2-9b11-e871be64cda0\",\n   \"createdAt\": \"2020-09-11T14:00:20.444Z\",\n   \"updatedAt\": \"2020-09-11T14:00:20.444Z\",\n   \"deletedAt\": null,\n   \"name\": \"John Doe\",\n   \"type\": \"personal\",\n   \"taxId\": \"01234567890\",\n   \"tradeName\": null\n  }\n },\n \"donor\": \"29079725\",\n \"claimId\": \"91a5fa09-5da0-4f63-9036-4020bc58eb6c\",\n \"status\": \"OPEN\",\n \"completionPeriodEnd\": null,\n \"resolutionPeriodEnd\": \"2020-09-18T14:55:08.101Z\",\n \"lastModified\": \"2020-09-11T14:55:08.101Z\",\n \"id\": \"71bd42b8-8a82-474e-bf35-bc0c7f68b824\",\n \"createdAt\": \"2020-09-11T14:55:08.209Z\",\n \"updatedAt\": \"2020-09-11T14:55:08.209Z\",\n \"deletedAt\": null,\n \"type\": \"PORTABILITY\",\n \"walletId\": \"935f8a8f-2f05-46f7-88c0-26e6e90f4196\",\n \"states\": [\n  {\n   \"id\": \"19694009-2e75-4cc8-9659-e9de1fc7f928\",\n   \"createdAt\": \"2020-09-11T14:55:08.235Z\",\n   \"updatedAt\": \"2020-09-11T14:55:08.235Z\",\n   \"deletedAt\": null,\n   \"status\": \"OPEN\",\n   \"additionalData\": {}\n  }\n ]\n}"}],"_postman_id":"edf6dfdc-4347-4b98-885b-2b272461a597"}],"id":"72c952ce-7a26-4b05-b8b5-5ef7fab95830","_postman_id":"72c952ce-7a26-4b05-b8b5-5ef7fab95830","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"qrcode","item":[{"name":"Validate a QR Code","id":"127f5ec7-e048-4ba7-80aa-d32ca57cc57a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"data\": \"<string>\"\n}"},"url":"{{baseUrl}}/qrcode/validate?format=brcode&populate=false","description":"<p>Validates and retrieves informations about a QR Code</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["qrcode","validate"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>The format of the inputed QR Code</p>\n","type":"text/plain"},"key":"format","value":"brcode"},{"description":{"content":"<p>If true, retrieves informations from DICT aswell</p>\n","type":"text/plain"},"key":"populate","value":"false"}],"variable":[]}},"response":[{"id":"4d8d568f-fcbf-48ba-bbbc-d041effef8e6","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/qrcode/validate?format=brcode&populate=false","host":["{{baseUrl}}"],"path":["qrcode","validate"],"query":[{"key":"format","value":"brcode"},{"key":"populate","value":"false"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"e09aed94-41e2-48ae-9b29-e78b434745de","name":"OK","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/qrcode/validate?format=brcode&populate=false","host":["{{baseUrl}}"],"path":["qrcode","validate"],"query":[{"key":"format","value":"brcode"},{"key":"populate","value":"false"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"key\": \"nostrud mollit aute incididunt\",\n \"mcc\": \"elit adipisicing\",\n \"receiver\": {\n  \"name\": \"dolore cupidatat\",\n  \"city\": \"velit ea non\",\n  \"account\": {\n   \"ispb\": \"<string>\",\n   \"number\": \"<string>\",\n   \"branch\": \"<string>\",\n   \"type\": \"<string>\",\n   \"user\": {\n    \"name\": \"<string>\",\n    \"type\": \"<string>\",\n    \"taxId\": \"<string>\"\n   },\n   \"externalId\": \"<string>\",\n   \"openingDate\": \"<dateTime>\"\n  }\n },\n \"type\": \"static\",\n \"additionalData\": {},\n \"amount\": \"laboris\",\n \"externalAccount\": {\n  \"key\": \"<string>\",\n  \"gui\": \"<string>\"\n }\n}"}],"_postman_id":"127f5ec7-e048-4ba7-80aa-d32ca57cc57a"},{"name":"Pay a QR Code","id":"9fbd807c-a834-4783-b027-25639eec0f9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"source\": \"<uuid>\",\n    \"data\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"amount\": \"<string>\",\n    \"asset\": \"<string>\",\n    \"accountExternalId\": \"<uuid>\"\n}"},"url":"{{baseUrl}}/qrcode/pay?format=brcode","description":"<p>Pays a QR Code</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["qrcode","pay"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>The format of the QR Code</p>\n","type":"text/plain"},"key":"format","value":"brcode"}],"variable":[]}},"response":[{"id":"9c494e03-72c9-4464-9d38-250584140948","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"source\": \"<uuid>\",\n    \"data\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"amount\": \"<string>\",\n    \"asset\": \"BRLP\",\n    \"accountExternalId\": \"<uuid>\"\n}"},"url":{"raw":"{{baseUrl}}/qrcode/pay?format=brcode","host":["{{baseUrl}}"],"path":["qrcode","pay"],"query":[{"key":"format","value":"brcode"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] Invalid parameter or body field: \\\"QRCode\\\" (stackId: e13fa604-fd36-49fd-b5cd-82bb93e66c2b)\",\n \"stackId\": \"e13fa604-fd36-49fd-b5cd-82bb93e66c2b\",\n \"details\": {\n  \"errors\": [\n   {\n    \"constraints\": {\n     \"isNotEmpty\": \"data should not be empty\"\n    },\n    \"property\": \"data\"\n   }\n  ]\n }\n}"},{"id":"bd5617c5-e8cb-47f9-85e0-701a21dffcf9","name":"Not enough balance","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"source\": \"<uuid>\",\n    \"data\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"amount\": \"<string>\",\n    \"asset\": \"BRLP\",\n    \"accountExternalId\": \"<uuid>\"\n}"},"url":{"raw":"{{baseUrl}}/qrcode/pay?format=brcode","host":["{{baseUrl}}"],"path":["qrcode","pay"],"query":[{"key":"format","value":"brcode"}]}},"status":"Precondition Failed","code":412,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 412,\n \"message\": \"[412] User doesn't have enough balance. (stackId: 3cfa366f-10c1-4154-a761-f27a0ee01a7f)\",\n \"stackId\": \"3cfa366f-10c1-4154-a761-f27a0ee01a7f\",\n \"details\": {\n  \"assets\": [\n   \"BRLP\"\n  ]\n }\n}"},{"id":"dcf13d31-249b-4dcf-8a79-167413147298","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"source\": \"<uuid>\",\n    \"data\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"amount\": \"<string>\",\n    \"asset\": \"BRLP\",\n    \"accountExternalId\": \"<uuid>\"\n}"},"url":{"raw":"{{baseUrl}}/qrcode/pay?format=brcode","host":["{{baseUrl}}"],"path":["qrcode","pay"],"query":[{"key":"format","value":"brcode"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"fdbfc4b6-a1fd-455b-9865-67c4549af71b","name":"Created","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"source\": \"<uuid>\",\n    \"data\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"amount\": \"<string>\",\n    \"asset\": \"BRLP\",\n    \"accountExternalId\": \"<uuid>\"\n}"},"url":{"raw":"{{baseUrl}}/qrcode/pay?format=brcode","host":["{{baseUrl}}"],"path":["qrcode","pay"],"query":[{"key":"format","value":"brcode"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"cupidatat mollit ea\",\n \"states\": [\n  {\n   \"id\": \"urn:uuid:ba1b391b-e270-9932-aedf-e80873ea29db\",\n   \"createdAt\": \"1970-05-17T22:38:22.240Z\",\n   \"updatedAt\": \"1972-03-01T22:58:31.309Z\",\n   \"additionalData\": {},\n   \"status\": \"pending\"\n  }\n ],\n \"createdAt\": \"1960-10-02T10:43:59.666Z\",\n \"additionalData\": {},\n \"status\": \"pending\",\n \"type\": \"create_account\",\n \"updatedAt\": \"in anim\",\n \"payments\": [\n  {\n   \"id\": \"esse et\",\n   \"status\": \"authorized\",\n   \"type\": \"phone_credit\",\n   \"destination\": {\n    \"id\": \"13eb6942-fc6e-c5c5-f991-4f0c6af28c37\",\n    \"stellar\": {\n     \"publicKey\": \"commodo irure\"\n    },\n    \"updatedAt\": \"voluptate\",\n    \"createdAt\": \"adipisicing tempor labore incididunt sed\",\n    \"root\": false,\n    \"user\": {\n     \"id\": \"urn:uuid:e6a98678-5472-50bf-1bdf-3b141d52c0e7\",\n     \"name\": \"aliquip ipsum ad\",\n     \"firstName\": \"qui officia consectetur Excepteur\",\n     \"lastName\": \"tempor culpa dolore exercitation\",\n     \"email\": \"ewt53R253a3tqxe@DfosjoBXTQXzsWW.kc\",\n     \"role\": \"consumer\",\n     \"updatedAt\": \"1971-02-05T02:52:13.994Z\",\n     \"createdAt\": \"1964-02-25T00:33:04.747Z\",\n     \"twoFactorRequired\": false\n    }\n   },\n   \"amount\": \"1.0\",\n   \"asset\": {\n    \"id\": \"c9723ba9-1226-8ab6-7490-62de241a4921\",\n    \"name\": \"sunt\",\n    \"createdAt\": \"1964-06-20T04:33:36.437Z\",\n    \"updatedAt\": \"2014-10-30T15:44:36.098Z\",\n    \"code\": \"BRLP\",\n    \"root\": false,\n    \"provider\": \"laborum sunt dolor exercitation\"\n   },\n   \"createdAt\": \"1992-03-18T16:14:05.075Z\",\n   \"updatedAt\": \"1964-08-29T19:53:41.111Z\",\n   \"scheduleFor\": \"2020-10-30T00:31:52.679Z\"\n  },\n  {\n   \"id\": \"culpa laboris\",\n   \"status\": \"authorized\",\n   \"type\": \"boleto\",\n   \"destination\": {\n    \"id\": \"eed5ba2b-1304-7d19-218e-a8c5cb70b8ca\",\n    \"stellar\": {\n     \"publicKey\": \"culpa proident nostrud elit\"\n    },\n    \"updatedAt\": \"nisi sit\",\n    \"createdAt\": \"laboris sint minim in\",\n    \"root\": false,\n    \"user\": {\n     \"id\": \"c2609212-f25a-e765-d01a-f0b95cae8f41\",\n     \"name\": \"irure aliqua sint nisi id\",\n     \"firstName\": \"aute in incididunt reprehenderit\",\n     \"lastName\": \"Duis ut\",\n     \"email\": \"HlUXWVNSiLRhWw@UhqGijnxHnMsj.xre\",\n     \"role\": \"consumer\",\n     \"updatedAt\": \"1951-01-18T10:34:25.039Z\",\n     \"createdAt\": \"1990-01-14T14:11:29.922Z\",\n     \"twoFactorRequired\": false\n    }\n   },\n   \"amount\": \"1.0\",\n   \"asset\": {\n    \"id\": \"urn:uuid:60d95e1d-e5c9-d287-e0bf-036dc105b6f9\",\n    \"name\": \"adipisicing proident Excepteur eu\",\n    \"createdAt\": \"2012-04-07T13:57:54.426Z\",\n    \"updatedAt\": \"1989-07-24T21:08:53.636Z\",\n    \"code\": \"BRLP\",\n    \"root\": false,\n    \"provider\": \"Ut laboris anim et\"\n   },\n   \"createdAt\": \"2017-08-09T20:39:45.449Z\",\n   \"updatedAt\": \"2008-06-17T04:09:15.231Z\",\n   \"scheduleFor\": \"1955-07-13T15:20:43.066Z\"\n  }\n ],\n \"source\": {\n  \"id\": \"urn:uuid:9de23156-c528-7143-f557-69cae76d8202\",\n  \"stellar\": {\n   \"publicKey\": \"non anim nostrud\"\n  },\n  \"updatedAt\": \"in ea irure\",\n  \"createdAt\": \"anim do occaecat\",\n  \"root\": false,\n  \"user\": {\n   \"id\": \"66a2a09d-dd09-8ff9-afe1-291408a1a3bc\",\n   \"name\": \"est nulla cillum Ut\",\n   \"firstName\": \"officia\",\n   \"lastName\": \"ex eu\",\n   \"email\": \"yFx@wQUDqulwvOgFoWBeqmPgtcztVpJxmwbO.tlx\",\n   \"role\": \"consumer\",\n   \"updatedAt\": \"1978-11-30T09:37:48.211Z\",\n   \"createdAt\": \"1968-03-31T04:52:25.933Z\",\n   \"twoFactorRequired\": true\n  }\n }\n}"}],"_postman_id":"9fbd807c-a834-4783-b027-25639eec0f9d"}],"id":"c792d030-6604-44b2-9e30-c75a93296fcf","_postman_id":"c792d030-6604-44b2-9e30-c75a93296fcf","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"transactions/{id}","item":[{"name":"Get a transaction's informations","id":"f70ff77d-4964-4ecc-8af0-7bddaf9fcc6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/transactions/:id","description":"<p>Retrieves informations about a given transaction</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["transactions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"3302e4e3-f200-4a0e-9779-5bdd8bb25029","description":{"content":"<p>(Required) The UUID of the transaction</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"04349d56-989f-495f-ba77-40673338d705","name":"OK","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/transactions/:id","host":["{{baseUrl}}"],"path":["transactions",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"cupidatat mollit ea\",\n \"states\": [\n  {\n   \"id\": \"urn:uuid:ba1b391b-e270-9932-aedf-e80873ea29db\",\n   \"createdAt\": \"1970-05-17T22:38:22.240Z\",\n   \"updatedAt\": \"1972-03-01T22:58:31.309Z\",\n   \"additionalData\": {},\n   \"status\": \"pending\"\n  }\n ],\n \"createdAt\": \"1960-10-02T10:43:59.666Z\",\n \"additionalData\": {},\n \"status\": \"pending\",\n \"type\": \"create_account\",\n \"updatedAt\": \"in anim\",\n \"payments\": [\n  {\n   \"id\": \"esse et\",\n   \"status\": \"authorized\",\n   \"type\": \"phone_credit\",\n   \"destination\": {\n    \"id\": \"13eb6942-fc6e-c5c5-f991-4f0c6af28c37\",\n    \"stellar\": {\n     \"publicKey\": \"commodo irure\"\n    },\n    \"updatedAt\": \"voluptate\",\n    \"createdAt\": \"adipisicing tempor labore incididunt sed\",\n    \"root\": false,\n    \"user\": {\n     \"id\": \"urn:uuid:e6a98678-5472-50bf-1bdf-3b141d52c0e7\",\n     \"name\": \"aliquip ipsum ad\",\n     \"firstName\": \"qui officia consectetur Excepteur\",\n     \"lastName\": \"tempor culpa dolore exercitation\",\n     \"email\": \"ewt53R253a3tqxe@DfosjoBXTQXzsWW.kc\",\n     \"role\": \"consumer\",\n     \"updatedAt\": \"1971-02-05T02:52:13.994Z\",\n     \"createdAt\": \"1964-02-25T00:33:04.747Z\",\n     \"twoFactorRequired\": false\n    }\n   },\n   \"amount\": \"1.0\",\n   \"asset\": {\n    \"id\": \"c9723ba9-1226-8ab6-7490-62de241a4921\",\n    \"name\": \"sunt\",\n    \"createdAt\": \"1964-06-20T04:33:36.437Z\",\n    \"updatedAt\": \"2014-10-30T15:44:36.098Z\",\n    \"code\": \"BRLP\",\n    \"root\": false,\n    \"provider\": \"laborum sunt dolor exercitation\"\n   },\n   \"createdAt\": \"1992-03-18T16:14:05.075Z\",\n   \"updatedAt\": \"1964-08-29T19:53:41.111Z\",\n   \"scheduleFor\": \"2020-10-30T00:31:52.679Z\"\n  },\n  {\n   \"id\": \"culpa laboris\",\n   \"status\": \"authorized\",\n   \"type\": \"boleto\",\n   \"destination\": {\n    \"id\": \"eed5ba2b-1304-7d19-218e-a8c5cb70b8ca\",\n    \"stellar\": {\n     \"publicKey\": \"culpa proident nostrud elit\"\n    },\n    \"updatedAt\": \"nisi sit\",\n    \"createdAt\": \"laboris sint minim in\",\n    \"root\": false,\n    \"user\": {\n     \"id\": \"c2609212-f25a-e765-d01a-f0b95cae8f41\",\n     \"name\": \"irure aliqua sint nisi id\",\n     \"firstName\": \"aute in incididunt reprehenderit\",\n     \"lastName\": \"Duis ut\",\n     \"email\": \"HlUXWVNSiLRhWw@UhqGijnxHnMsj.xre\",\n     \"role\": \"consumer\",\n     \"updatedAt\": \"1951-01-18T10:34:25.039Z\",\n     \"createdAt\": \"1990-01-14T14:11:29.922Z\",\n     \"twoFactorRequired\": false\n    }\n   },\n   \"amount\": \"1.0\",\n   \"asset\": {\n    \"id\": \"urn:uuid:60d95e1d-e5c9-d287-e0bf-036dc105b6f9\",\n    \"name\": \"adipisicing proident Excepteur eu\",\n    \"createdAt\": \"2012-04-07T13:57:54.426Z\",\n    \"updatedAt\": \"1989-07-24T21:08:53.636Z\",\n    \"code\": \"BRLP\",\n    \"root\": false,\n    \"provider\": \"Ut laboris anim et\"\n   },\n   \"createdAt\": \"2017-08-09T20:39:45.449Z\",\n   \"updatedAt\": \"2008-06-17T04:09:15.231Z\",\n   \"scheduleFor\": \"1955-07-13T15:20:43.066Z\"\n  }\n ],\n \"source\": {\n  \"id\": \"urn:uuid:9de23156-c528-7143-f557-69cae76d8202\",\n  \"stellar\": {\n   \"publicKey\": \"non anim nostrud\"\n  },\n  \"updatedAt\": \"in ea irure\",\n  \"createdAt\": \"anim do occaecat\",\n  \"root\": false,\n  \"user\": {\n   \"id\": \"66a2a09d-dd09-8ff9-afe1-291408a1a3bc\",\n   \"name\": \"est nulla cillum Ut\",\n   \"firstName\": \"officia\",\n   \"lastName\": \"ex eu\",\n   \"email\": \"yFx@wQUDqulwvOgFoWBeqmPgtcztVpJxmwbO.tlx\",\n   \"role\": \"consumer\",\n   \"updatedAt\": \"1978-11-30T09:37:48.211Z\",\n   \"createdAt\": \"1968-03-31T04:52:25.933Z\",\n   \"twoFactorRequired\": true\n  }\n }\n}"},{"id":"7dbdb6d4-5a58-40f1-b49e-231081d869d6","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/transactions/:id","host":["{{baseUrl}}"],"path":["transactions",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"stackId\": \"2adbb7a0-2735-03c4-ab9d-5f2a4478531a\",\n \"details\": {},\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stack\": \"cupidatat fugiat\"\n}"},{"id":"892237cb-73f6-4d1b-b1e8-169d13f68ed3","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/transactions/:id","host":["{{baseUrl}}"],"path":["transactions",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"stackId\": \"urn:uuid:405cc99b-654b-409b-69d5-ad070222504d\",\n \"details\": {\n  \"errors\": [\n   {\n    \"property\": \"FIELD_NAME\",\n    \"contraints\": {\n     \"isNotEmpty\": \"FIELD_NAME should not be empty\"\n    }\n   },\n   {\n    \"property\": \"FIELD_NAME\",\n    \"contraints\": {\n     \"isNotEmpty\": \"FIELD_NAME should not be empty\"\n    }\n   }\n  ]\n },\n \"message\": \"[412] User doesn't have enough balance. (stackId: 3cfa366f-10c1-4154-a761-f27a0ee01a7f)\",\n \"stack\": \"occaecat d\"\n}"},{"id":"8f73116a-0391-47f5-9279-07afa2e74cf3","name":"Not Found","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/transactions/:id","host":["{{baseUrl}}"],"path":["transactions",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"stackId\": \"urn:uuid:e203b7bb-6f27-b27d-fa64-d47829446d73\",\n \"details\": {},\n \"message\": \"[404] Transaction not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stack\": \"magna sint Ut\"\n}"}],"_postman_id":"f70ff77d-4964-4ecc-8af0-7bddaf9fcc6c"},{"name":"Refund a Transaction withdaaw e pixin","id":"d5a2965a-c32d-4420-8621-f7d9ae06fbf6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"reason\": \"<string>\",\n    \"reasonCode\": \"<string>\"\n}"},"url":"{{baseUrl}}/transactions/:id/refund","description":"<p>Refunds a transaction originated by Bit Capital's platform</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["transactions",":id","refund"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"acac937c-d2ae-4048-8123-dbc9ecac7010","description":{"content":"<p>(Required) The ID of the transaction that needs to be refunded</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"357980d6-656c-474a-8409-f8439aa5d2c2","name":"Created","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"reason\": \"<string>\",\n    \"reasonCode\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/transactions/:id/refund","host":["{{baseUrl}}"],"path":["transactions",":id","refund"],"variable":[{"key":"id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"cupidatat mollit ea\",\n \"states\": [\n  {\n   \"id\": \"urn:uuid:ba1b391b-e270-9932-aedf-e80873ea29db\",\n   \"createdAt\": \"1970-05-17T22:38:22.240Z\",\n   \"updatedAt\": \"1972-03-01T22:58:31.309Z\",\n   \"additionalData\": {},\n   \"status\": \"pending\"\n  }\n ],\n \"createdAt\": \"1960-10-02T10:43:59.666Z\",\n \"additionalData\": {},\n \"status\": \"pending\",\n \"type\": \"create_account\",\n \"updatedAt\": \"in anim\",\n \"payments\": [\n  {\n   \"id\": \"esse et\",\n   \"status\": \"authorized\",\n   \"type\": \"phone_credit\",\n   \"destination\": {\n    \"id\": \"13eb6942-fc6e-c5c5-f991-4f0c6af28c37\",\n    \"stellar\": {\n     \"publicKey\": \"commodo irure\"\n    },\n    \"updatedAt\": \"voluptate\",\n    \"createdAt\": \"adipisicing tempor labore incididunt sed\",\n    \"root\": false,\n    \"user\": {\n     \"id\": \"urn:uuid:e6a98678-5472-50bf-1bdf-3b141d52c0e7\",\n     \"name\": \"aliquip ipsum ad\",\n     \"firstName\": \"qui officia consectetur Excepteur\",\n     \"lastName\": \"tempor culpa dolore exercitation\",\n     \"email\": \"ewt53R253a3tqxe@DfosjoBXTQXzsWW.kc\",\n     \"role\": \"consumer\",\n     \"updatedAt\": \"1971-02-05T02:52:13.994Z\",\n     \"createdAt\": \"1964-02-25T00:33:04.747Z\",\n     \"twoFactorRequired\": false\n    }\n   },\n   \"amount\": \"1.0\",\n   \"asset\": {\n    \"id\": \"c9723ba9-1226-8ab6-7490-62de241a4921\",\n    \"name\": \"sunt\",\n    \"createdAt\": \"1964-06-20T04:33:36.437Z\",\n    \"updatedAt\": \"2014-10-30T15:44:36.098Z\",\n    \"code\": \"BRLP\",\n    \"root\": false,\n    \"provider\": \"laborum sunt dolor exercitation\"\n   },\n   \"createdAt\": \"1992-03-18T16:14:05.075Z\",\n   \"updatedAt\": \"1964-08-29T19:53:41.111Z\",\n   \"scheduleFor\": \"2020-10-30T00:31:52.679Z\"\n  },\n  {\n   \"id\": \"culpa laboris\",\n   \"status\": \"authorized\",\n   \"type\": \"boleto\",\n   \"destination\": {\n    \"id\": \"eed5ba2b-1304-7d19-218e-a8c5cb70b8ca\",\n    \"stellar\": {\n     \"publicKey\": \"culpa proident nostrud elit\"\n    },\n    \"updatedAt\": \"nisi sit\",\n    \"createdAt\": \"laboris sint minim in\",\n    \"root\": false,\n    \"user\": {\n     \"id\": \"c2609212-f25a-e765-d01a-f0b95cae8f41\",\n     \"name\": \"irure aliqua sint nisi id\",\n     \"firstName\": \"aute in incididunt reprehenderit\",\n     \"lastName\": \"Duis ut\",\n     \"email\": \"HlUXWVNSiLRhWw@UhqGijnxHnMsj.xre\",\n     \"role\": \"consumer\",\n     \"updatedAt\": \"1951-01-18T10:34:25.039Z\",\n     \"createdAt\": \"1990-01-14T14:11:29.922Z\",\n     \"twoFactorRequired\": false\n    }\n   },\n   \"amount\": \"1.0\",\n   \"asset\": {\n    \"id\": \"urn:uuid:60d95e1d-e5c9-d287-e0bf-036dc105b6f9\",\n    \"name\": \"adipisicing proident Excepteur eu\",\n    \"createdAt\": \"2012-04-07T13:57:54.426Z\",\n    \"updatedAt\": \"1989-07-24T21:08:53.636Z\",\n    \"code\": \"BRLP\",\n    \"root\": false,\n    \"provider\": \"Ut laboris anim et\"\n   },\n   \"createdAt\": \"2017-08-09T20:39:45.449Z\",\n   \"updatedAt\": \"2008-06-17T04:09:15.231Z\",\n   \"scheduleFor\": \"1955-07-13T15:20:43.066Z\"\n  }\n ],\n \"source\": {\n  \"id\": \"urn:uuid:9de23156-c528-7143-f557-69cae76d8202\",\n  \"stellar\": {\n   \"publicKey\": \"non anim nostrud\"\n  },\n  \"updatedAt\": \"in ea irure\",\n  \"createdAt\": \"anim do occaecat\",\n  \"root\": false,\n  \"user\": {\n   \"id\": \"66a2a09d-dd09-8ff9-afe1-291408a1a3bc\",\n   \"name\": \"est nulla cillum Ut\",\n   \"firstName\": \"officia\",\n   \"lastName\": \"ex eu\",\n   \"email\": \"yFx@wQUDqulwvOgFoWBeqmPgtcztVpJxmwbO.tlx\",\n   \"role\": \"consumer\",\n   \"updatedAt\": \"1978-11-30T09:37:48.211Z\",\n   \"createdAt\": \"1968-03-31T04:52:25.933Z\",\n   \"twoFactorRequired\": true\n  }\n }\n}"},{"id":"b3dc8d05-49c9-43b9-a879-f3a442620bd6","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"reason\": \"<string>\",\n    \"reasonCode\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/transactions/:id/refund","host":["{{baseUrl}}"],"path":["transactions",":id","refund"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"message\": \"[500] invalid input syntax for uuid: \\\"jkdsjlksl\\\" (stackId: d119ad68-fa95-49d8-aef2-60020b61ad28)\",\n \"stackId\": \"d119ad68-fa95-49d8-aef2-60020b61ad28\",\n \"details\": {\n  \"code\": \"22P02\"\n },\n \"stack\": \"QueryFailedError: invalid input syntax for uuid: \\\"jkdsjlksl\\\"\\n    at new QueryFailedError (/usr/src/bitcapital/src/error/QueryFailedError.ts:9:9)\\n    at /usr/src/bitcapital/src/driver/postgres/PostgresQueryRunner.ts:178:30\\n    at Query.<anonymous> (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/plugins/plugin-pg.js:104:13)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at Query.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at Query.handleError (/usr/src/bitcapital/node_modules/pg/lib/query.js:145:17)\\n    at Connection.connectedErrorMessageHandler (/usr/src/bitcapital/node_modules/pg/lib/client.js:214:17)\\n    at Socket.<anonymous> (/usr/src/bitcapital/node_modules/pg/lib/connection.js:134:12)\"\n}"},{"id":"b97dbb5d-0b92-4a8e-b17c-09b3aa7b5e51","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"reason\": \"<string>\",\n    \"reasonCode\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/transactions/:id/refund","host":["{{baseUrl}}"],"path":["transactions",":id","refund"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"c5adcbab-215b-4fa3-9be0-b85cf05954f5","name":"Invalid UUID","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"reason\": \"<string>\",\n    \"reasonCode\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/transactions/:id/refund","host":["{{baseUrl}}"],"path":["transactions",":id","refund"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] transactionId should be a UUID (stackId: 67896372-6007-416a-b06a-cc339344c405)\",\n \"stackId\": \"67896372-6007-416a-b06a-cc339344c405\",\n \"details\": {}\n}"},{"id":"cc7ca0ae-c383-424f-8ae3-9a2915090be2","name":"Not Found","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"reason\": \"<string>\",\n    \"reasonCode\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/transactions/:id/refund","host":["{{baseUrl}}"],"path":["transactions",":id","refund"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Transaction not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"},{"id":"fb87e2cb-f9df-40ed-a4d0-11068b0bc4c2","name":"Not enough balance","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"<string>\",\n    \"reason\": \"<string>\",\n    \"reasonCode\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/transactions/:id/refund","host":["{{baseUrl}}"],"path":["transactions",":id","refund"],"variable":[{"key":"id"}]}},"status":"Precondition Failed","code":412,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 412,\n \"message\": \"[412] User doesn't have enough balance. (stackId: 3cfa366f-10c1-4154-a761-f27a0ee01a7f)\",\n \"stackId\": \"3cfa366f-10c1-4154-a761-f27a0ee01a7f\",\n \"details\": {\n  \"assets\": [\n   \"BRLP\"\n  ]\n }\n}"}],"_postman_id":"d5a2965a-c32d-4420-8621-f7d9ae06fbf6"},{"name":"Retrieve transaction informations from the provider","id":"c0fb6223-93e8-488c-aefd-176030c47bd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/transactions/:id/external","description":"<p>Retrieves informations about a transaction in the external provider.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["transactions",":id","external"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"c2beee18-7241-4ec7-9915-7ee58a4472a5","description":{"content":"<p>(Required) The UUID of the transaction you wish to get informations</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"0ad45fd6-7cd7-4076-98e1-eeeb820ffc66","name":"Invalid UUID","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/transactions/:id/external","host":["{{baseUrl}}"],"path":["transactions",":id","external"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] transactionId should be a UUID (stackId: 67896372-6007-416a-b06a-cc339344c405)\",\n \"stackId\": \"67896372-6007-416a-b06a-cc339344c405\",\n \"details\": {}\n}"},{"id":"7acf1f3e-1738-4fd6-bebc-88b81a1e9af6","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/transactions/:id/external","host":["{{baseUrl}}"],"path":["transactions",":id","external"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"7bed2af0-b436-4eca-806c-b08bb0111840","name":"Not Found","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/transactions/:id/external","host":["{{baseUrl}}"],"path":["transactions",":id","external"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Transaction not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"},{"id":"afaf5659-1cd5-4ed8-a96b-3ef2de242f83","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/transactions/:id/external","host":["{{baseUrl}}"],"path":["transactions",":id","external"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"message\": \"[500] invalid input syntax for uuid: \\\"jkdsjlksl\\\" (stackId: d119ad68-fa95-49d8-aef2-60020b61ad28)\",\n \"stackId\": \"d119ad68-fa95-49d8-aef2-60020b61ad28\",\n \"details\": {\n  \"code\": \"22P02\"\n },\n \"stack\": \"QueryFailedError: invalid input syntax for uuid: \\\"jkdsjlksl\\\"\\n    at new QueryFailedError (/usr/src/bitcapital/src/error/QueryFailedError.ts:9:9)\\n    at /usr/src/bitcapital/src/driver/postgres/PostgresQueryRunner.ts:178:30\\n    at Query.<anonymous> (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/plugins/plugin-pg.js:104:13)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at Query.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at Query.handleError (/usr/src/bitcapital/node_modules/pg/lib/query.js:145:17)\\n    at Connection.connectedErrorMessageHandler (/usr/src/bitcapital/node_modules/pg/lib/client.js:214:17)\\n    at Socket.<anonymous> (/usr/src/bitcapital/node_modules/pg/lib/connection.js:134:12)\"\n}"},{"id":"db69b08b-0d76-47e4-8d69-f05758c66422","name":"OK","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/transactions/:id/external","host":["{{baseUrl}}"],"path":["transactions",":id","external"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c0fb6223-93e8-488c-aefd-176030c47bd9"},{"name":"Report a new infraction from a transaction","id":"968b4bc4-a655-4445-8c14-74d79afdc10f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"<string>\",\n    \"details\": \"<string>\",\n    \"ispb\": \"<string>\"\n}"},"url":"{{baseUrl}}/transactions/:id/dict/infractions","description":"<p>Creates a new infraction report about a given transaction.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["transactions",":id","dict","infractions"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"381d568a-f4c0-4c9a-b516-8fd56010fdd5","description":{"content":"<p>(Required) A transaction UUID</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"05890116-d6e2-4bd2-9783-fe458807e7d8","name":"Forbidden","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"<string>\",\n    \"details\": \"<string>\",\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/transactions/:id/dict/infractions","host":["{{baseUrl}}"],"path":["transactions",":id","dict","infractions"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"stackId\": \"2adbb7a0-2735-03c4-ab9d-5f2a4478531a\",\n \"details\": {},\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stack\": \"cupidatat fugiat\"\n}"},{"id":"6530c4f4-6e76-4846-926f-576603c45782","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"<string>\",\n    \"details\": \"<string>\",\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/transactions/:id/dict/infractions","host":["{{baseUrl}}"],"path":["transactions",":id","dict","infractions"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"stackId\": \"26c22ee8-3bd7-2dea-0af2-00f4c466c74f\",\n \"details\": {},\n \"message\": \"[500] \",\n \"stack\": \"ea magna\"\n}"},{"id":"859c81c1-576f-4bd0-b449-65dcb62bb2be","name":"Created","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"<string>\",\n    \"details\": \"<string>\",\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/transactions/:id/dict/infractions","host":["{{baseUrl}}"],"path":["transactions",":id","dict","infractions"],"variable":[{"key":"id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"urn:uuid:05609fff-bf8c-1e1c-b4d8-c4b2061762cf\",\n \"transactionId\": \"urn:uuid:8981c80b-52ef-d618-1a9b-3409d2c23200\",\n \"type\": \"<string>\",\n \"reportedBy\": \"DEBITED_PARTICIPANT\",\n \"debitedParticipant\": \"do d\",\n \"creditedParticipant\": \"inci\",\n \"createdAt\": \"1980-06-08T03:45:18.757Z\",\n \"updatedAt\": \"1999-12-07T08:52:55.841Z\",\n \"details\": \"sed\",\n \"analysis\": {\n  \"details\": \"elit\",\n  \"result\": \"AGREED\"\n },\n \"states\": [\n  {\n   \"createdAt\": \"2008-03-31T15:51:12.663Z\",\n   \"id\": \"42dfaed6-6751-4f78-99c2-7d64a24f0db4\",\n   \"status\": \"acknowledged\",\n   \"updatedAt\": \"1993-03-19T12:40:42.762Z\",\n   \"deletedAt\": \"1964-06-12T07:44:51.210Z\"\n  },\n  {\n   \"createdAt\": \"1975-10-28T22:27:28.914Z\",\n   \"id\": \"urn:uuid:a046a93b-46a4-1ffd-01ce-a48cf863ce5e\",\n   \"status\": \"acknowledged\",\n   \"updatedAt\": \"1981-01-08T17:24:20.662Z\",\n   \"deletedAt\": \"2008-10-04T20:45:11.444Z\"\n  }\n ]\n}"},{"id":"a3937293-4ebd-44ec-9be8-42aaa21021f5","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"<string>\",\n    \"details\": \"<string>\",\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/transactions/:id/dict/infractions","host":["{{baseUrl}}"],"path":["transactions",":id","dict","infractions"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"stackId\": \"2adbb7a0-2735-03c4-ab9d-5f2a4478531a\",\n \"details\": {},\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stack\": \"cupidatat fugiat\"\n}"},{"id":"bcf6c6a2-3819-4873-beef-4b1f1639e792","name":"Not Found","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"<string>\",\n    \"details\": \"<string>\",\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/transactions/:id/dict/infractions","host":["{{baseUrl}}"],"path":["transactions",":id","dict","infractions"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"stackId\": \"urn:uuid:e203b7bb-6f27-b27d-fa64-d47829446d73\",\n \"details\": {},\n \"message\": \"[404] Transaction not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stack\": \"magna sint Ut\"\n}"},{"id":"dd877a0b-8085-4bb0-817c-912c34bda3ca","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"<string>\",\n    \"details\": \"<string>\",\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/transactions/:id/dict/infractions","host":["{{baseUrl}}"],"path":["transactions",":id","dict","infractions"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"stackId\": \"urn:uuid:4741c903-2643-c30e-585f-9165607d2a95\",\n \"details\": {\n  \"errors\": [\n   {\n    \"property\": \"FIELD_NAME\",\n    \"contraints\": {\n     \"isNotEmpty\": \"FIELD_NAME should not be empty\"\n    }\n   },\n   {\n    \"property\": \"FIELD_NAME\",\n    \"contraints\": {\n     \"isNotEmpty\": \"FIELD_NAME should not be empty\"\n    }\n   }\n  ]\n },\n \"message\": \"[412] User doesn't have enough balance. (stackId: 3cfa366f-10c1-4154-a761-f27a0ee01a7f)\",\n \"stack\": \"commodo id\"\n}"}],"_postman_id":"968b4bc4-a655-4445-8c14-74d79afdc10f"}],"id":"e240a813-55ef-402e-99d0-a3ec01212583","_postman_id":"e240a813-55ef-402e-99d0-a3ec01212583","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"entries","item":[{"name":"List internal keys of the system","id":"4f450de0-ebe9-433c-b5ad-84384cc2b6fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/entries?userId=<uuid>&walletId=<uuid>&taxId=<string>&skip=<integer>&limit=50&branch=<string>&account=<string>","description":"<p>Lists the internal keys registered for your PSP.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["entries"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Filters all keys that are owned by a given userId</p>\n","type":"text/plain"},"key":"userId","value":"<uuid>"},{"description":{"content":"<p>Filters all keys that are owned by a given walletId</p>\n","type":"text/plain"},"key":"walletId","value":"<uuid>"},{"description":{"content":"<p>The taxId of the person you wish to filter</p>\n","type":"text/plain"},"key":"taxId","value":"<string>"},{"description":{"content":"<p>Used for pagination. Defines how many items to skip before the first one shown in the result.</p>\n","type":"text/plain"},"key":"skip","value":"<integer>"},{"description":{"content":"<p>Used for pagination. Defines how many items the result will have.</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>The branch number you wish to search for</p>\n","type":"text/plain"},"key":"branch","value":"<string>"},{"description":{"content":"<p>The account number you wish to search for</p>\n","type":"text/plain"},"key":"account","value":"<string>"}],"variable":[]}},"response":[{"id":"4a3daff7-f37c-463d-990f-f34b15ce66de","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/entries?userId=<uuid>&walletId=<uuid>&taxId=<string>&skip=<integer>&limit=50&branch=<string>&account=<string>","host":["{{baseUrl}}"],"path":["entries"],"query":[{"key":"userId","value":"<uuid>"},{"key":"walletId","value":"<uuid>"},{"key":"taxId","value":"<string>"},{"key":"skip","value":"<integer>"},{"key":"limit","value":"50"},{"key":"branch","value":"<string>"},{"key":"account","value":"<string>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"5b0a859b-4fe1-46df-b445-5e3db7bd51bb","name":"OK","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/entries?userId=<uuid>&walletId=<uuid>&taxId=<string>&skip=<integer>&limit=50&branch=<string>&account=<string>","host":["{{baseUrl}}"],"path":["entries"],"query":[{"key":"userId","value":"<uuid>"},{"key":"walletId","value":"<uuid>"},{"key":"taxId","value":"<string>"},{"key":"skip","value":"<integer>"},{"key":"limit","value":"50"},{"key":"branch","value":"<string>"},{"key":"account","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"description":"(Required) The request limit until `X-RateLimit-Reset`","key":"X-RateLimit-Limit","value":"60"},{"description":"(Required) The request limit remaining until `X-RateLimit-Reset`","key":"X-RateLimit-Remaining","value":"59"},{"description":"(Required) The UNIX timestamp for the next reset in rate-limit","key":"X-RateLimit-Reset","value":"1596649387"},{"description":"(Required) The total length of the list being sent","key":"X-Data-Length","value":"30"},{"description":"(Required) The limit set for pagination for this request","key":"X-Data-Limit","value":"-55876273.11966421"},{"description":"(Required) How many items were skiped for this request","key":"X-Data-Skip","value":"-55876273.11966421"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"key\": \"culpa Lorem ea\",\n  \"keyType\": \"cnpj\",\n  \"account\": {\n   \"ispb\": \"<string>\",\n   \"number\": \"<string>\",\n   \"branch\": \"<string>\",\n   \"type\": \"<string>\",\n   \"user\": {\n    \"name\": \"<string>\",\n    \"type\": \"<string>\",\n    \"taxId\": \"<string>\"\n   },\n   \"externalId\": \"<string>\",\n   \"openingDate\": \"<dateTime>\"\n  },\n  \"createdAt\": \"1964-01-23T13:04:26.573Z\",\n  \"ownedAt\": \"1942-09-11T14:15:34.108Z\",\n  \"statistics\": {\n   \"updatedAt\": \"1973-06-12T02:55:50.673Z\",\n   \"counters\": [\n    {\n     \"type\": \"settlements\",\n     \"by\": \"key\",\n     \"d3\": \"5\",\n     \"d30\": \"5\",\n     \"m6\": \"5\"\n    },\n    {\n     \"type\": \"settlements\",\n     \"by\": \"key\",\n     \"d3\": \"5\",\n     \"d30\": \"5\",\n     \"m6\": \"5\"\n    }\n   ]\n  },\n  \"claimedAt\": \"1963-03-22T04:07:13.807Z\",\n  \"internal\": false,\n  \"registrationId\": \"8a593ef6-52f4-e984-da92-4e7ada584b73\"\n },\n {\n  \"key\": \"laboris velit exercitation quis ad\",\n  \"keyType\": \"cpf\",\n  \"account\": {\n   \"ispb\": \"<string>\",\n   \"number\": \"<string>\",\n   \"branch\": \"<string>\",\n   \"type\": \"<string>\",\n   \"user\": {\n    \"name\": \"<string>\",\n    \"type\": \"<string>\",\n    \"taxId\": \"<string>\"\n   },\n   \"externalId\": \"<string>\",\n   \"openingDate\": \"<dateTime>\"\n  },\n  \"createdAt\": \"1973-12-28T16:20:06.654Z\",\n  \"ownedAt\": \"1972-01-13T18:46:32.311Z\",\n  \"statistics\": {\n   \"updatedAt\": \"2017-10-26T22:31:13.281Z\",\n   \"counters\": [\n    {\n     \"type\": \"settlements\",\n     \"by\": \"key\",\n     \"d3\": \"5\",\n     \"d30\": \"5\",\n     \"m6\": \"5\"\n    },\n    {\n     \"type\": \"settlements\",\n     \"by\": \"key\",\n     \"d3\": \"5\",\n     \"d30\": \"5\",\n     \"m6\": \"5\"\n    }\n   ]\n  },\n  \"claimedAt\": \"1971-04-04T20:25:00.093Z\",\n  \"internal\": false,\n  \"registrationId\": \"urn:uuid:7f3a4b66-d1c3-bbad-29fe-219097f8a160\"\n }\n]"}],"_postman_id":"4f450de0-ebe9-433c-b5ad-84384cc2b6fe"},{"name":"Find a key's informations","id":"2a5452a5-5235-4d99-9e75-bd2db5d05737","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/entries/:key?userId=<string>&endToEndId=<string>&ispb=<string>","description":"<p>Retrieves informations about a key entry</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["entries",":key"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>(Required) The user ID that is requesting this operation</p>\n","type":"text/plain"},"key":"userId","value":"<string>"},{"description":{"content":"<p>The EndToEndId of the operation, if none the core banking will generate one for you.</p>\n","type":"text/plain"},"key":"endToEndId","value":"<string>"},{"description":{"content":"<p>(Required) The ISPB of the PSP sending the request</p>\n","type":"text/plain"},"key":"ispb","value":"<string>"}],"variable":[{"id":"054def2b-5243-434b-80e3-91bcc718be55","description":{"content":"<p>(Required) The key you want to use for this operation</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"key"}]}},"response":[{"id":"085bdf6d-552b-4247-ac4d-22462ba2e7da","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/entries/:key?userId=<string>&endToEndId=<string>&ispb=29079725","host":["{{baseUrl}}"],"path":["entries",":key"],"query":[{"key":"userId","value":"<string>"},{"key":"endToEndId","value":"<string>"},{"key":"ispb","value":"29079725"}],"variable":[{"key":"key"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"bd591625-35b7-482d-a7e0-fa8d996c3cef","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/entries/:key?userId=<string>&endToEndId=<string>&ispb=29079725","host":["{{baseUrl}}"],"path":["entries",":key"],"query":[{"key":"userId","value":"<string>"},{"key":"endToEndId","value":"<string>"},{"key":"ispb","value":"29079725"}],"variable":[{"key":"key"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] userId should be a UUID (stackId: 67896372-6007-416a-b06a-cc339344c405)\",\n \"stackId\": \"67896372-6007-416a-b06a-cc339344c405\",\n \"details\": {}\n}"},{"id":"d570ce04-4ce8-4552-aedf-669337f8266d","name":"Key not found","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/entries/:key?userId=<string>&endToEndId=<string>&ispb=29079725","host":["{{baseUrl}}"],"path":["entries",":key"],"query":[{"key":"userId","value":"<string>"},{"key":"endToEndId","value":"<string>"},{"key":"ispb","value":"29079725"}],"variable":[{"key":"key"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Key not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"},{"id":"f9ebd5d2-9672-4aa7-9d0e-b1c48fd5dedc","name":"OK","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/entries/:key?userId=<string>&endToEndId=<string>&ispb=29079725","host":["{{baseUrl}}"],"path":["entries",":key"],"query":[{"key":"userId","value":"<string>"},{"key":"endToEndId","value":"<string>"},{"key":"ispb","value":"29079725"}],"variable":[{"key":"key"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"description":"(Required) Number of requests remaining for the given `userId` on DICT rate limit","key":"X-RateLimit-Client-Remaining","value":"30"},{"description":"(Required) How many seconds it will take until `X-RateLimit-Client-Remaining` resets","key":"X-RateLimit-Client-Reset","value":"30"},{"description":"(Required) Number of requests remaining for the given PSP on DICT rate limit","key":"X-RateLimit-PSP-Remaining","value":"30"},{"description":"(Required) How many seconds it will take until `X-RateLimit-PSP-Remaining` resets","key":"X-RateLimit-PSP-Reset","value":"30"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"endToEndId\": \"string\",\n \"entry\": {\n  \"key\": \"string\",\n  \"keyType\": \"cnpj\",\n  \"account\": {\n   \"ispb\": \"stringst\",\n   \"number\": \"string\",\n   \"branch\": \"stri\",\n   \"type\": \"checking\",\n   \"user\": {\n    \"name\": \"string\",\n    \"type\": \"personal\",\n    \"taxId\": \"stringstrin\"\n   }\n  },\n  \"createdAt\": \"2019-08-24T14:15:22Z\",\n  \"ownedAt\": \"2019-08-24T14:15:22Z\",\n  \"registrationId\": \"cb67e1cd-0e53-4115-9a51-243e5b471e8b\",\n  \"statistics\": {\n   \"counters\": [\n    {\n     \"type\": \"settlements\",\n     \"by\": \"key\",\n     \"d3\": \"5\",\n     \"d30\": \"5\",\n     \"m6\": \"5\"\n    }\n   ],\n   \"updatedAt\": \"2019-08-24T14:15:22Z\"\n  },\n  \"claimedAt\": \"2019-08-24T14:15:22Z\",\n  \"internal\": true\n }\n}"}],"_postman_id":"2a5452a5-5235-4d99-9e75-bd2db5d05737"}],"id":"6f0f7e48-8623-487c-bbf0-0a45a7b1e02d","_postman_id":"6f0f7e48-8623-487c-bbf0-0a45a7b1e02d","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"dict","item":[{"name":"claims","item":[{"name":"{id}","item":[{"name":"Get Claim by Id","id":"ecf9f7a7-ec5a-4aba-89bf-a2484d57dc63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/dict/claims/:id","description":"<p>Retrieves informations about a specific claim by it's ID.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["dict","claims",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"1d3cf722-6728-4413-a431-618ba0bf681e","description":{"content":"<p>(Required) The UUID of the claim</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"0e0a5913-1fbb-4f96-980f-6a037c18c94f","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/dict/claims/:id","host":["{{baseUrl}}"],"path":["dict","claims",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"559164c1-66c7-4baf-90af-fec4be2ee59f","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/dict/claims/:id","host":["{{baseUrl}}"],"path":["dict","claims",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"message\": \"[500] invalid input syntax for uuid: \\\"jkdsjlksl\\\" (stackId: d119ad68-fa95-49d8-aef2-60020b61ad28)\",\n \"stackId\": \"d119ad68-fa95-49d8-aef2-60020b61ad28\",\n \"details\": {\n  \"code\": \"22P02\"\n },\n \"stack\": \"QueryFailedError: invalid input syntax for uuid: \\\"jkdsjlksl\\\"\\n    at new QueryFailedError (/usr/src/bitcapital/src/error/QueryFailedError.ts:9:9)\\n    at /usr/src/bitcapital/src/driver/postgres/PostgresQueryRunner.ts:178:30\\n    at Query.<anonymous> (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/plugins/plugin-pg.js:104:13)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at Query.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at Query.handleError (/usr/src/bitcapital/node_modules/pg/lib/query.js:145:17)\\n    at Connection.connectedErrorMessageHandler (/usr/src/bitcapital/node_modules/pg/lib/client.js:214:17)\\n    at Socket.<anonymous> (/usr/src/bitcapital/node_modules/pg/lib/connection.js:134:12)\"\n}"},{"id":"a4854017-05ea-44af-87ef-4f83ea00c476","name":"OK","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/dict/claims/:id","host":["{{baseUrl}}"],"path":["dict","claims",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"type\": \"<string>\",\n \"key\": \"non id dolore esse\",\n \"keyType\": \"<string>\",\n \"account\": {\n  \"ispb\": \"<string>\",\n  \"number\": \"<string>\",\n  \"branch\": \"<string>\",\n  \"type\": \"<string>\",\n  \"user\": {\n   \"name\": \"<string>\",\n   \"type\": \"<string>\",\n   \"taxId\": \"<string>\"\n  },\n  \"externalId\": \"<string>\",\n  \"openingDate\": \"<dateTime>\"\n },\n \"donor\": \"2 2 \",\n \"id\": \"urn:uuid:44c38218-97bb-a0dc-cc5c-baea438f2a85\",\n \"status\": \"WAITING_RESOLUTION\",\n \"resolutionPeriodEnd\": \"2007-06-07T01:33:23.192Z\",\n \"updatedAt\": \"1983-06-30T17:35:09.857Z\",\n \"createdAt\": \"1971-06-22T18:31:21.271Z\",\n \"states\": [\n  {\n   \"id\": \"0efe43dc-eccb-3ae7-09a0-86c560c408be\",\n   \"createdAt\": \"1951-07-27T18:18:24.473Z\",\n   \"updatedAt\": \"1989-12-01T09:36:24.242Z\",\n   \"additionalData\": {},\n   \"status\": \"CANCELLED\"\n  }\n ],\n \"claimId\": \"urn:uuid:2ae46d6c-af33-6871-deae-941de15e958a\",\n \"lastModified\": \"2006-02-16T12:12:24.066Z\",\n \"completionPeriodEnd\": \"1943-12-14T23:09:08.413Z\",\n \"deletedAt\": \"1977-11-07T22:16:46.399Z\"\n}"},{"id":"d2da2994-fca3-4ae3-98d6-723aa1b5f375","name":"Invalid UUID","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/dict/claims/:id","host":["{{baseUrl}}"],"path":["dict","claims",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] claimId should be a UUID (stackId: 67896372-6007-416a-b06a-cc339344c405)\",\n \"stackId\": \"67896372-6007-416a-b06a-cc339344c405\",\n \"details\": {}\n}"},{"id":"dfb32640-54fa-44b2-a4a1-acce74ed0da5","name":"Claim not found","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/dict/claims/:id","host":["{{baseUrl}}"],"path":["dict","claims",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Claim not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"}],"_postman_id":"ecf9f7a7-ec5a-4aba-89bf-a2484d57dc63"},{"name":"Acknowledge Claim","id":"7fdb2e53-7b49-4353-89bb-7510e539d140","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\"\n}"},"url":"{{baseUrl}}/dict/claims/:id/acknowledge","description":"<p>Acknowledges a claim. \nOnly <code>open</code> claims can be acknowledged.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["dict","claims",":id","acknowledge"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"070bb35d-593e-4569-9afb-66bacdc3c0cb","description":{"content":"<p>(Required) The UUID of the Claim</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"56e338c7-ceae-4d3d-8f87-cfc3c4ad29dc","name":"Invalid UUID","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/acknowledge","host":["{{baseUrl}}"],"path":["dict","claims",":id","acknowledge"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] claimId should be a UUID (stackId: 67896372-6007-416a-b06a-cc339344c405)\",\n \"stackId\": \"67896372-6007-416a-b06a-cc339344c405\",\n \"details\": {}\n}"},{"id":"5bf0024f-e064-4d7d-9fb9-bb0fb20c099e","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/acknowledge","host":["{{baseUrl}}"],"path":["dict","claims",":id","acknowledge"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"message\": \"[500] invalid input syntax for uuid: \\\"jkdsjlksl\\\" (stackId: d119ad68-fa95-49d8-aef2-60020b61ad28)\",\n \"stackId\": \"d119ad68-fa95-49d8-aef2-60020b61ad28\",\n \"details\": {\n  \"code\": \"22P02\"\n },\n \"stack\": \"QueryFailedError: invalid input syntax for uuid: \\\"jkdsjlksl\\\"\\n    at new QueryFailedError (/usr/src/bitcapital/src/error/QueryFailedError.ts:9:9)\\n    at /usr/src/bitcapital/src/driver/postgres/PostgresQueryRunner.ts:178:30\\n    at Query.<anonymous> (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/plugins/plugin-pg.js:104:13)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at Query.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at Query.handleError (/usr/src/bitcapital/node_modules/pg/lib/query.js:145:17)\\n    at Connection.connectedErrorMessageHandler (/usr/src/bitcapital/node_modules/pg/lib/client.js:214:17)\\n    at Socket.<anonymous> (/usr/src/bitcapital/node_modules/pg/lib/connection.js:134:12)\"\n}"},{"id":"680ffd31-3ab7-46d1-9c45-f3f39e9b23a7","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/acknowledge","host":["{{baseUrl}}"],"path":["dict","claims",":id","acknowledge"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"c2cf7ee7-bb40-4103-8205-165a1fc99bcd","name":"Claim not found","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/acknowledge","host":["{{baseUrl}}"],"path":["dict","claims",":id","acknowledge"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Claim not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"},{"id":"c5856af5-0fa3-47d4-9e44-ce1e7b1c264f","name":"OK","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/acknowledge","host":["{{baseUrl}}"],"path":["dict","claims",":id","acknowledge"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"states\": [\n  {\n   \"additionalData\": {},\n   \"status\": \"WAITING_RESOLUTION\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-11T01:13:15.046Z\",\n   \"createdAt\": \"2020-09-11T01:13:15.046Z\",\n   \"id\": \"6eeb5df0-7acb-4fe1-921a-ec45263ce23c\"\n  },\n  {\n   \"additionalData\": {},\n   \"status\": \"OPEN\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-11T00:59:03.528Z\",\n   \"createdAt\": \"2020-09-11T00:59:03.528Z\",\n   \"id\": \"c9ee383b-6647-46a7-8333-b12c83cad85b\"\n  }\n ],\n \"type\": \"PORTABILITY\",\n \"deletedAt\": null,\n \"updatedAt\": \"2020-09-11T01:13:15.025Z\",\n \"createdAt\": \"2020-09-11T00:59:03.497Z\",\n \"id\": \"026e3522-2337-46e4-8045-db64fad3b7da\",\n \"lastModified\": \"2020-09-11T01:13:14.910Z\",\n \"resolutionPeriodEnd\": \"2020-09-18T00:59:00Z\",\n \"completionPeriodEnd\": null,\n \"status\": \"WAITING_RESOLUTION\",\n \"claimId\": \"94320a78-9309-4c0a-a252-16479f6349ca\",\n \"donor\": \"03311443\",\n \"account\": {\n  \"user\": {\n   \"tradeName\": null,\n   \"taxId\": \"01234567890\",\n   \"type\": \"personal\",\n   \"name\": \"John Doe\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-10T23:49:39.697Z\",\n   \"createdAt\": \"2020-09-10T23:49:39.697Z\",\n   \"id\": \"4376d247-7217-4ca2-ab9f-1b0041bc9b82\"\n  },\n  \"externalId\": null,\n  \"openingDate\": \"2020-09-10T19:42:29.196Z\",\n  \"type\": \"checking\",\n  \"branch\": \"0001\",\n  \"number\": \"232323\",\n  \"ispb\": \"29079725\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2020-09-11T00:29:37.530Z\",\n  \"createdAt\": \"2020-09-11T00:29:37.530Z\",\n  \"id\": \"c602278a-2b17-4b43-be66-651a4fab12da\"\n },\n \"keyType\": \"EMAIL\",\n \"key\": \"jmb3@gmail.com\"\n}"}],"_postman_id":"7fdb2e53-7b49-4353-89bb-7510e539d140"},{"name":"Cancel Claim","id":"e27312b4-6109-45a9-9e2f-e455bdff5a52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"ispb\": \"<string>\"\n}"},"url":"{{baseUrl}}/dict/claims/:id/cancel","description":"<p>Cancels an existing claim.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["dict","claims",":id","cancel"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"bbec0358-5b7b-4c5c-9b90-f3a174f64a3c","description":{"content":"<p>(Required) The UUID of the Claim</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"439eab38-3cc7-4a9e-a59e-2f46bf2a0189","name":"Precondition Failed","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/cancel","host":["{{baseUrl}}"],"path":["dict","claims",":id","cancel"],"variable":[{"key":"id"}]}},"status":"Precondition Failed","code":412,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 412,\n \"message\": \"[412] Invalid Reason (stackId: 4fa7a85f-c365-454b-bb21-29506bfe948c)\",\n \"stackId\": \"4fa7a85f-c365-454b-bb21-29506bfe948c\",\n \"details\": {},\n \"stack\": \"HttpError: [412] Invalid Reason (stackId: 4fa7a85f-c365-454b-bb21-29506bfe948c)\\n    at /usr/src/bitcapital/monorepo/common/dict-api/api/filters/claim/CancelClaim.ts:23:11\\n    at Generator.next (<anonymous>)\\n    at fulfilled (/usr/src/bitcapital/monorepo/common/dict-api/dist/api/filters/claim/CancelClaim.js:5:58)\\n    at runMicrotasks (<anonymous>)\"\n}"},{"id":"5a43d903-7abb-4f1b-9d78-41354daa2067","name":"Invalid UUID","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/cancel","host":["{{baseUrl}}"],"path":["dict","claims",":id","cancel"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] claimId should be a UUID (stackId: 67896372-6007-416a-b06a-cc339344c405)\",\n \"stackId\": \"67896372-6007-416a-b06a-cc339344c405\",\n \"details\": {}\n}"},{"id":"893841d9-a30b-488e-b218-c80499f326da","name":"OK","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/cancel","host":["{{baseUrl}}"],"path":["dict","claims",":id","cancel"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"states\": [\n  {\n   \"additionalData\": {\n    \"cancelReason\": \"USER_REQUESTED\",\n    \"cancelledBy\": \"DONOR\"\n   },\n   \"status\": \"CANCELLED\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-11T01:37:00.885Z\",\n   \"createdAt\": \"2020-09-11T01:37:00.885Z\",\n   \"id\": \"ba83de9b-3ffc-4610-853d-8864159f1998\"\n  },\n  {\n   \"additionalData\": {},\n   \"status\": \"OPEN\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-11T01:36:08.922Z\",\n   \"createdAt\": \"2020-09-11T01:36:08.922Z\",\n   \"id\": \"dea6317c-0710-4ecf-9e84-0c6e19f881b0\"\n  },\n  {\n   \"additionalData\": {},\n   \"status\": \"WAITING_RESOLUTION\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-11T01:36:55.835Z\",\n   \"createdAt\": \"2020-09-11T01:36:55.835Z\",\n   \"id\": \"20bfcc57-5222-443e-b597-6f84ae237472\"\n  }\n ],\n \"type\": \"PORTABILITY\",\n \"deletedAt\": null,\n \"updatedAt\": \"2020-09-11T01:37:00.850Z\",\n \"createdAt\": \"2020-09-11T01:36:08.862Z\",\n \"id\": \"48a546d8-344c-4f9b-a8d6-fb9e2bc93963\",\n \"cancelledBy\": \"DONOR\",\n \"cancelReason\": \"USER_REQUESTED\",\n \"lastModified\": \"2020-09-11T01:37:00.732Z\",\n \"resolutionPeriodEnd\": \"2020-09-18T01:36:00Z\",\n \"completionPeriodEnd\": null,\n \"status\": \"CANCELLED\",\n \"claimId\": \"ffab8892-8f6b-45a3-b0aa-023acbcbd6ff\",\n \"donor\": \"03311443\",\n \"account\": {\n  \"user\": {\n   \"tradeName\": null,\n   \"taxId\": \"01234567890\",\n   \"type\": \"personal\",\n   \"name\": \"John Doe\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-10T23:49:39.697Z\",\n   \"createdAt\": \"2020-09-10T23:49:39.697Z\",\n   \"id\": \"4376d247-7217-4ca2-ab9f-1b0041bc9b82\"\n  },\n  \"externalId\": null,\n  \"openingDate\": \"2020-09-10T19:42:29.196Z\",\n  \"type\": \"checking\",\n  \"branch\": \"0001\",\n  \"number\": \"232323\",\n  \"ispb\": \"29079725\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2020-09-11T00:29:37.530Z\",\n  \"createdAt\": \"2020-09-11T00:29:37.530Z\",\n  \"id\": \"c602278a-2b17-4b43-be66-651a4fab12da\"\n },\n \"keyType\": \"EMAIL\",\n \"key\": \"jmb4@gmail.com\"\n}"},{"id":"978a3ce3-99c4-4bae-af2e-c7ccfe78c221","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/cancel","host":["{{baseUrl}}"],"path":["dict","claims",":id","cancel"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"9e402aff-510f-4cdf-8c11-a8b21fae7ef7","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/cancel","host":["{{baseUrl}}"],"path":["dict","claims",":id","cancel"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"message\": \"[500] invalid input syntax for uuid: \\\"jkdsjlksl\\\" (stackId: d119ad68-fa95-49d8-aef2-60020b61ad28)\",\n \"stackId\": \"d119ad68-fa95-49d8-aef2-60020b61ad28\",\n \"details\": {\n  \"code\": \"22P02\"\n },\n \"stack\": \"QueryFailedError: invalid input syntax for uuid: \\\"jkdsjlksl\\\"\\n    at new QueryFailedError (/usr/src/bitcapital/src/error/QueryFailedError.ts:9:9)\\n    at /usr/src/bitcapital/src/driver/postgres/PostgresQueryRunner.ts:178:30\\n    at Query.<anonymous> (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/plugins/plugin-pg.js:104:13)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at Query.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at Query.handleError (/usr/src/bitcapital/node_modules/pg/lib/query.js:145:17)\\n    at Connection.connectedErrorMessageHandler (/usr/src/bitcapital/node_modules/pg/lib/client.js:214:17)\\n    at Socket.<anonymous> (/usr/src/bitcapital/node_modules/pg/lib/connection.js:134:12)\"\n}"},{"id":"e4a51e41-ce32-496e-98a9-338c111e2dcf","name":"Claim not found","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/cancel","host":["{{baseUrl}}"],"path":["dict","claims",":id","cancel"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Claim not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"}],"_postman_id":"e27312b4-6109-45a9-9e2f-e455bdff5a52"},{"name":"Confirm Claim","id":"08dd6207-5daa-4268-ad4c-53a9aad23b51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"ispb\": \"<string>\"\n}"},"url":"{{baseUrl}}/dict/claims/:id/confirm","description":"<p>Confirms a claim</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["dict","claims",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"868391c4-6bc4-4b31-b482-3744af2e12cf","description":{"content":"<p>(Required) the UUID of the claim</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"0e22fca1-eb26-43ce-b3df-1a787ffeb1b3","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/confirm","host":["{{baseUrl}}"],"path":["dict","claims",":id","confirm"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"message\": \"[500] invalid input syntax for uuid: \\\"jkdsjlksl\\\" (stackId: d119ad68-fa95-49d8-aef2-60020b61ad28)\",\n \"stackId\": \"d119ad68-fa95-49d8-aef2-60020b61ad28\",\n \"details\": {\n  \"code\": \"22P02\"\n },\n \"stack\": \"QueryFailedError: invalid input syntax for uuid: \\\"jkdsjlksl\\\"\\n    at new QueryFailedError (/usr/src/bitcapital/src/error/QueryFailedError.ts:9:9)\\n    at /usr/src/bitcapital/src/driver/postgres/PostgresQueryRunner.ts:178:30\\n    at Query.<anonymous> (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/plugins/plugin-pg.js:104:13)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at Query.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at Query.handleError (/usr/src/bitcapital/node_modules/pg/lib/query.js:145:17)\\n    at Connection.connectedErrorMessageHandler (/usr/src/bitcapital/node_modules/pg/lib/client.js:214:17)\\n    at Socket.<anonymous> (/usr/src/bitcapital/node_modules/pg/lib/connection.js:134:12)\"\n}"},{"id":"397fb7e6-dab6-4ecd-945b-561076ca06d7","name":"Invalid UUID","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/confirm","host":["{{baseUrl}}"],"path":["dict","claims",":id","confirm"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] claimId should be a UUID (stackId: 67896372-6007-416a-b06a-cc339344c405)\",\n \"stackId\": \"67896372-6007-416a-b06a-cc339344c405\",\n \"details\": {}\n}"},{"id":"8675bb35-ff5a-4ff4-9c81-2c50a7816457","name":"OK","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/confirm","host":["{{baseUrl}}"],"path":["dict","claims",":id","confirm"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"states\": [\n  {\n   \"additionalData\": {},\n   \"status\": \"CONFIRMED\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-11T01:19:47.067Z\",\n   \"createdAt\": \"2020-09-11T01:19:47.067Z\",\n   \"id\": \"496d83e8-e1a3-4833-8763-e40cffe16d71\"\n  },\n  {\n   \"additionalData\": {},\n   \"status\": \"OPEN\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-11T00:59:03.528Z\",\n   \"createdAt\": \"2020-09-11T00:59:03.528Z\",\n   \"id\": \"c9ee383b-6647-46a7-8333-b12c83cad85b\"\n  },\n  {\n   \"additionalData\": {},\n   \"status\": \"WAITING_RESOLUTION\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-11T01:13:15.046Z\",\n   \"createdAt\": \"2020-09-11T01:13:15.046Z\",\n   \"id\": \"6eeb5df0-7acb-4fe1-921a-ec45263ce23c\"\n  }\n ],\n \"type\": \"PORTABILITY\",\n \"deletedAt\": null,\n \"updatedAt\": \"2020-09-11T01:19:47.015Z\",\n \"createdAt\": \"2020-09-11T00:59:03.497Z\",\n \"id\": \"026e3522-2337-46e4-8045-db64fad3b7da\",\n \"confirmReason\": \"USER_REQUESTED\",\n \"lastModified\": \"2020-09-11T01:19:46.305Z\",\n \"resolutionPeriodEnd\": \"2020-09-18T00:59:00Z\",\n \"completionPeriodEnd\": null,\n \"status\": \"CONFIRMED\",\n \"claimId\": \"94320a78-9309-4c0a-a252-16479f6349ca\",\n \"donor\": \"03311443\",\n \"account\": {\n  \"user\": {\n   \"tradeName\": null,\n   \"taxId\": \"01234567890\",\n   \"type\": \"personal\",\n   \"name\": \"John Doe\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-10T23:49:39.697Z\",\n   \"createdAt\": \"2020-09-10T23:49:39.697Z\",\n   \"id\": \"4376d247-7217-4ca2-ab9f-1b0041bc9b82\"\n  },\n  \"externalId\": null,\n  \"openingDate\": \"2020-09-10T19:42:29.196Z\",\n  \"type\": \"checking\",\n  \"branch\": \"0001\",\n  \"number\": \"232323\",\n  \"ispb\": \"29079725\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2020-09-11T00:29:37.530Z\",\n  \"createdAt\": \"2020-09-11T00:29:37.530Z\",\n  \"id\": \"c602278a-2b17-4b43-be66-651a4fab12da\"\n },\n \"keyType\": \"EMAIL\",\n \"key\": \"jmb3@gmail.com\"\n}"},{"id":"c2401cda-98c7-48b2-8400-20308a0e4b90","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/confirm","host":["{{baseUrl}}"],"path":["dict","claims",":id","confirm"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"dba2fae0-6fb3-4ebd-b8bd-ab258d2c5cd9","name":"Claim not found","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"<string>\",\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/confirm","host":["{{baseUrl}}"],"path":["dict","claims",":id","confirm"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Claim not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"}],"_postman_id":"08dd6207-5daa-4268-ad4c-53a9aad23b51"},{"name":"Complete Claim","id":"94487cac-07e4-45ba-87d5-3f676035ec08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\"\n}"},"url":"{{baseUrl}}/dict/claims/:id/complete","description":"<p>Completes an existing claim</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["dict","claims",":id","complete"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"974313bf-ccad-41c5-8d73-aeaaba65693e","description":{"content":"<p>(Required) The UUID of the claim</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"088a11e4-9080-465d-af82-87422b5a62a6","name":"Invalid UUID","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/complete","host":["{{baseUrl}}"],"path":["dict","claims",":id","complete"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] claimId should be a UUID (stackId: 67896372-6007-416a-b06a-cc339344c405)\",\n \"stackId\": \"67896372-6007-416a-b06a-cc339344c405\",\n \"details\": {}\n}"},{"id":"53869998-ebf1-4c86-aa0a-0101fac3b9b1","name":"OK","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/complete","host":["{{baseUrl}}"],"path":["dict","claims",":id","complete"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"states\": [\n  {\n   \"additionalData\": {\n    \"entryCreationDate\": \"2020-09-11T01:42:12.443Z\",\n    \"keyOwnershipDate\": \"2020-09-11T01:42:12.442Z\",\n    \"requestId\": \"bbe5eb86-b877-40ac-8df7-b7fc439c6165\"\n   },\n   \"status\": \"COMPLETED\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-11T01:42:12.655Z\",\n   \"createdAt\": \"2020-09-11T01:42:12.655Z\",\n   \"id\": \"87e306ca-9dc0-41fe-84ac-da1d563dfe9f\"\n  },\n  {\n   \"additionalData\": {},\n   \"status\": \"OPEN\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-11T01:39:15.407Z\",\n   \"createdAt\": \"2020-09-11T01:39:15.407Z\",\n   \"id\": \"1e336f1f-240f-4df9-98d7-b2065a2e0495\"\n  },\n  {\n   \"additionalData\": {},\n   \"status\": \"WAITING_RESOLUTION\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-11T01:39:32.675Z\",\n   \"createdAt\": \"2020-09-11T01:39:32.675Z\",\n   \"id\": \"65ee9fab-73b8-416d-8c4a-183544969491\"\n  },\n  {\n   \"additionalData\": {},\n   \"status\": \"CONFIRMED\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-11T01:39:44.913Z\",\n   \"createdAt\": \"2020-09-11T01:39:44.913Z\",\n   \"id\": \"100b84da-0138-4283-926b-bc8384e840f8\"\n  },\n  {\n   \"additionalData\": {},\n   \"status\": \"CONFIRMED\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-11T01:40:47.223Z\",\n   \"createdAt\": \"2020-09-11T01:40:47.223Z\",\n   \"id\": \"38c40cb4-0db5-400b-be3c-29698358f2ce\"\n  }\n ],\n \"type\": \"OWNERSHIP\",\n \"deletedAt\": null,\n \"updatedAt\": \"2020-09-11T01:42:12.564Z\",\n \"createdAt\": \"2020-09-11T01:39:15.359Z\",\n \"id\": \"39b2842e-ebe7-4d1c-84a1-017918a4804b\",\n \"lastModified\": \"2020-09-11T01:42:12.465Z\",\n \"resolutionPeriodEnd\": \"2020-09-11T01:39:00Z\",\n \"completionPeriodEnd\": \"2020-09-11T01:39:00Z\",\n \"status\": \"COMPLETED\",\n \"claimId\": \"8cb6c193-3f43-4a8c-88aa-52a051841642\",\n \"donor\": \"03311443\",\n \"account\": {\n  \"user\": {\n   \"tradeName\": null,\n   \"taxId\": \"01795412186\",\n   \"type\": \"personal\",\n   \"name\": \"Pedro\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-11T01:39:14.322Z\",\n   \"createdAt\": \"2020-09-11T01:39:14.322Z\",\n   \"id\": \"992bec60-50a3-41a1-a307-d11ce6e71c62\"\n  },\n  \"externalId\": null,\n  \"openingDate\": \"2020-09-10T19:42:29.196Z\",\n  \"type\": \"checking\",\n  \"branch\": \"0001\",\n  \"number\": \"1243\",\n  \"ispb\": \"29079725\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2020-09-11T01:39:14.331Z\",\n  \"createdAt\": \"2020-09-11T01:39:14.331Z\",\n  \"id\": \"cd6b7826-beae-4aeb-b403-fd4ae7d21458\"\n },\n \"keyType\": \"EMAIL\",\n \"key\": \"jmb4@gmail.com\",\n \"requestId\": \"bbe5eb86-b877-40ac-8df7-b7fc439c6165\"\n}"},{"id":"5823a975-e2f5-4085-9c2a-d9cc201c2c97","name":"Claim not found","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/complete","host":["{{baseUrl}}"],"path":["dict","claims",":id","complete"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Claim not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"},{"id":"62675bf9-639f-4cc5-b9e3-c20998ed47c9","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/complete","host":["{{baseUrl}}"],"path":["dict","claims",":id","complete"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"f7b71979-f80e-418c-82de-d7ce1fd0bee7","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"29079725\"\n}"},"url":{"raw":"{{baseUrl}}/dict/claims/:id/complete","host":["{{baseUrl}}"],"path":["dict","claims",":id","complete"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"message\": \"[500] invalid input syntax for uuid: \\\"jkdsjlksl\\\" (stackId: d119ad68-fa95-49d8-aef2-60020b61ad28)\",\n \"stackId\": \"d119ad68-fa95-49d8-aef2-60020b61ad28\",\n \"details\": {\n  \"code\": \"22P02\"\n },\n \"stack\": \"QueryFailedError: invalid input syntax for uuid: \\\"jkdsjlksl\\\"\\n    at new QueryFailedError (/usr/src/bitcapital/src/error/QueryFailedError.ts:9:9)\\n    at /usr/src/bitcapital/src/driver/postgres/PostgresQueryRunner.ts:178:30\\n    at Query.<anonymous> (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/plugins/plugin-pg.js:104:13)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at Query.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at Query.handleError (/usr/src/bitcapital/node_modules/pg/lib/query.js:145:17)\\n    at Connection.connectedErrorMessageHandler (/usr/src/bitcapital/node_modules/pg/lib/client.js:214:17)\\n    at Socket.<anonymous> (/usr/src/bitcapital/node_modules/pg/lib/connection.js:134:12)\"\n}"}],"_postman_id":"94487cac-07e4-45ba-87d5-3f676035ec08"}],"id":"17a14605-8dcb-436a-b877-aabdf3d046f5","_postman_id":"17a14605-8dcb-436a-b877-aabdf3d046f5","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Find claims","id":"1d71b77c-58cd-492e-a2e3-ec149bd2583f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/dict/claims?ispb=<string>&donor=<boolean>&claimer=<boolean>&status=<string>&type=<string>&skip=<integer>&limit=<integer>","description":"<p>Gets list of claims from the financial institution</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["dict","claims"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Filters the search by giving a specific ispb</p>\n","type":"text/plain"},"key":"ispb","value":"<string>"},{"description":{"content":"<p>Filters only claims that have the current PSP as donor</p>\n","type":"text/plain"},"key":"donor","value":"<boolean>"},{"description":{"content":"<p>Filters only claims that have the current PSP as claimer</p>\n","type":"text/plain"},"key":"claimer","value":"<boolean>"},{"description":{"content":"<p>Filters only claims with a given status</p>\n","type":"text/plain"},"key":"status","value":"<string>"},{"description":{"content":"<p>Filters only claims with a given type</p>\n","type":"text/plain"},"key":"type","value":"<string>"},{"description":{"content":"<p>Pagination option for skiping a given number of results</p>\n","type":"text/plain"},"key":"skip","value":"<integer>"},{"description":{"content":"<p>Pagination element to limit the result array for a given length</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[]}},"response":[{"id":"262dfc0c-73ce-4f87-bfa8-020ef9129f4f","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/dict/claims?ispb=<string>&donor=<boolean>&claimer=<boolean>&status=<string>&type=<string>&skip=<integer>&limit=<integer>","host":["{{baseUrl}}"],"path":["dict","claims"],"query":[{"key":"ispb","value":"<string>"},{"key":"donor","value":"<boolean>"},{"key":"claimer","value":"<boolean>"},{"key":"status","value":"<string>"},{"key":"type","value":"<string>"},{"key":"skip","value":"<integer>"},{"key":"limit","value":"<integer>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"7ea37f24-fdb6-47be-909d-ff008b89bd6c","name":"OK","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/dict/claims?ispb=<string>&donor=<boolean>&claimer=<boolean>&status=<string>&type=<string>&skip=<integer>&limit=<integer>","host":["{{baseUrl}}"],"path":["dict","claims"],"query":[{"key":"ispb","value":"<string>"},{"key":"donor","value":"<boolean>"},{"key":"claimer","value":"<boolean>"},{"key":"status","value":"<string>"},{"key":"type","value":"<string>"},{"key":"skip","value":"<integer>"},{"key":"limit","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"description":"(Required) The request limit until `X-RateLimit-Reset`","key":"X-RateLimit-Limit","value":"60"},{"description":"(Required) The request limit remaining until `X-RateLimit-Reset`","key":"X-RateLimit-Remaining","value":"59"},{"description":"(Required) The UNIX timestamp for the next reset in rate-limit","key":"X-RateLimit-Reset","value":"1596649387"},{"description":"(Required) The total length of the list being sent","key":"X-Data-Length","value":"30"},{"description":"(Required) The limit set for pagination for this request","key":"X-Data-Limit","value":"-55876273.11966421"},{"description":"(Required) How many items were skiped for this request","key":"X-Data-Skip","value":"-55876273.11966421"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"type\": \"<string>\",\n \"key\": \"non id dolore esse\",\n \"keyType\": \"<string>\",\n \"account\": {\n  \"ispb\": \"<string>\",\n  \"number\": \"<string>\",\n  \"branch\": \"<string>\",\n  \"type\": \"<string>\",\n  \"user\": {\n   \"name\": \"<string>\",\n   \"type\": \"<string>\",\n   \"taxId\": \"<string>\"\n  },\n  \"externalId\": \"<string>\",\n  \"openingDate\": \"<dateTime>\"\n },\n \"donor\": \"2 2 \",\n \"id\": \"urn:uuid:44c38218-97bb-a0dc-cc5c-baea438f2a85\",\n \"status\": \"WAITING_RESOLUTION\",\n \"resolutionPeriodEnd\": \"2007-06-07T01:33:23.192Z\",\n \"updatedAt\": \"1983-06-30T17:35:09.857Z\",\n \"createdAt\": \"1971-06-22T18:31:21.271Z\",\n \"states\": [\n  {\n   \"id\": \"0efe43dc-eccb-3ae7-09a0-86c560c408be\",\n   \"createdAt\": \"1951-07-27T18:18:24.473Z\",\n   \"updatedAt\": \"1989-12-01T09:36:24.242Z\",\n   \"additionalData\": {},\n   \"status\": \"CANCELLED\"\n  }\n ],\n \"claimId\": \"urn:uuid:2ae46d6c-af33-6871-deae-941de15e958a\",\n \"lastModified\": \"2006-02-16T12:12:24.066Z\",\n \"completionPeriodEnd\": \"1943-12-14T23:09:08.413Z\",\n \"deletedAt\": \"1977-11-07T22:16:46.399Z\"\n}"}],"_postman_id":"1d71b77c-58cd-492e-a2e3-ec149bd2583f"},{"name":"Create a new claim","id":"184217af-667e-4bb1-b303-245cae753ab8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"<string>\",\n    \"key\": \"<string>\",\n    \"keyType\": \"<string>\",\n    \"account\": {\n        \"ispb\": \"<string>\",\n        \"number\": \"<string>\",\n        \"branch\": \"<string>\",\n        \"type\": \"<string>\",\n        \"user\": {\n            \"name\": \"<string>\",\n            \"type\": \"<string>\",\n            \"taxId\": \"<string>\"\n        },\n        \"externalId\": \"<string>\",\n        \"openingDate\": \"<dateTime>\"\n    }\n}"},"url":"{{baseUrl}}/dict/claims","description":"<p>Creates a new claim in DICT</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["dict","claims"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"25d5785a-ed3b-4bb7-b8dd-234a71db0ea4","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"<string>\",\n    \"key\": \"<string>\",\n    \"keyType\": \"<string>\",\n    \"account\": {\n        \"ispb\": \"<string>\",\n        \"number\": \"<string>\",\n        \"branch\": \"<string>\",\n        \"type\": \"<string>\",\n        \"user\": {\n            \"name\": \"<string>\",\n            \"type\": \"<string>\",\n            \"taxId\": \"<string>\"\n        },\n        \"externalId\": \"<string>\",\n        \"openingDate\": \"<dateTime>\"\n    }\n}"},"url":"{{baseUrl}}/dict/claims"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"479f1441-1343-41d8-8ecc-71fdb2fcd359","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"<string>\",\n    \"key\": \"<string>\",\n    \"keyType\": \"<string>\",\n    \"account\": {\n        \"ispb\": \"<string>\",\n        \"number\": \"<string>\",\n        \"branch\": \"<string>\",\n        \"type\": \"<string>\",\n        \"user\": {\n            \"name\": \"<string>\",\n            \"type\": \"<string>\",\n            \"taxId\": \"<string>\"\n        },\n        \"externalId\": \"<string>\",\n        \"openingDate\": \"<dateTime>\"\n    }\n}"},"url":"{{baseUrl}}/dict/claims"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] Invalid parameter or body field: \\\"Transaction\\\" (stackId: e13fa604-fd36-49fd-b5cd-82bb93e66c2b)\",\n \"stackId\": \"e13fa604-fd36-49fd-b5cd-82bb93e66c2b\",\n \"details\": {\n  \"errors\": [\n   {\n    \"constraints\": {\n     \"isNotEmpty\": \"type should not be empty\"\n    },\n    \"property\": \"type\"\n   }\n  ]\n }\n}"},{"id":"86c91ae9-d540-43d3-b620-286b615cd2ec","name":"Created","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"<string>\",\n    \"key\": \"<string>\",\n    \"keyType\": \"<string>\",\n    \"account\": {\n        \"ispb\": \"<string>\",\n        \"number\": \"<string>\",\n        \"branch\": \"<string>\",\n        \"type\": \"<string>\",\n        \"user\": {\n            \"name\": \"<string>\",\n            \"type\": \"<string>\",\n            \"taxId\": \"<string>\"\n        },\n        \"externalId\": \"<string>\",\n        \"openingDate\": \"<dateTime>\"\n    }\n}"},"url":"{{baseUrl}}/dict/claims"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"states\": [\n  {\n   \"additionalData\": {},\n   \"status\": \"OPEN\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-11T00:59:03.528Z\",\n   \"createdAt\": \"2020-09-11T00:59:03.528Z\",\n   \"id\": \"c9ee383b-6647-46a7-8333-b12c83cad85b\"\n  }\n ],\n \"type\": \"PORTABILITY\",\n \"deletedAt\": null,\n \"updatedAt\": \"2020-09-11T00:59:03.497Z\",\n \"createdAt\": \"2020-09-11T00:59:03.497Z\",\n \"id\": \"026e3522-2337-46e4-8045-db64fad3b7da\",\n \"lastModified\": \"2020-09-11T00:59:03.339Z\",\n \"resolutionPeriodEnd\": \"2020-09-18T00:59:03.339Z\",\n \"completionPeriodEnd\": null,\n \"status\": \"OPEN\",\n \"claimId\": \"94320a78-9309-4c0a-a252-16479f6349ca\",\n \"donor\": \"03311443\",\n \"account\": {\n  \"user\": {\n   \"tradeName\": null,\n   \"taxId\": \"01234567890\",\n   \"type\": \"personal\",\n   \"name\": \"John Doe\",\n   \"deletedAt\": null,\n   \"updatedAt\": \"2020-09-10T23:49:39.697Z\",\n   \"createdAt\": \"2020-09-10T23:49:39.697Z\",\n   \"id\": \"4376d247-7217-4ca2-ab9f-1b0041bc9b82\"\n  },\n  \"externalId\": null,\n  \"openingDate\": \"2020-09-10T19:42:29.196Z\",\n  \"type\": \"checking\",\n  \"branch\": \"0001\",\n  \"number\": \"232323\",\n  \"ispb\": \"29079725\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2020-09-11T00:29:37.530Z\",\n  \"createdAt\": \"2020-09-11T00:29:37.530Z\",\n  \"id\": \"c602278a-2b17-4b43-be66-651a4fab12da\"\n },\n \"keyType\": \"EMAIL\",\n \"key\": \"jmb3@gmail.com\"\n}"}],"_postman_id":"184217af-667e-4bb1-b303-245cae753ab8"}],"id":"f8d35c7c-52b0-4f43-a526-08bd8650129f","_postman_id":"f8d35c7c-52b0-4f43-a526-08bd8650129f","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"infractions","item":[{"name":"{id}","item":[{"name":"Get info from an infraction","id":"e4532dbd-a00b-4812-bbda-cf9d1dbd057b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/dict/infractions/:id","description":"<p>Retrieves informations about a given infraction</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["dict","infractions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"d0dc1857-9e32-471f-a899-be5984d7be99","description":{"content":"<p>(Required) The UUID of the infraction</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"3c2579a0-d600-4650-b433-4c97d5623f2c","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/dict/infractions/:id","host":["{{baseUrl}}"],"path":["dict","infractions",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"stackId\": \"2adbb7a0-2735-03c4-ab9d-5f2a4478531a\",\n \"details\": {},\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stack\": \"cupidatat fugiat\"\n}"},{"id":"52042af2-20d7-4ae1-ae9b-11d04edfd215","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/dict/infractions/:id","host":["{{baseUrl}}"],"path":["dict","infractions",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"stackId\": \"26c22ee8-3bd7-2dea-0af2-00f4c466c74f\",\n \"details\": {},\n \"message\": \"[500] \",\n \"stack\": \"ea magna\"\n}"},{"id":"575be51c-bca7-4a4b-b9c0-4636b4498136","name":"Forbidden","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/dict/infractions/:id","host":["{{baseUrl}}"],"path":["dict","infractions",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"stackId\": \"2adbb7a0-2735-03c4-ab9d-5f2a4478531a\",\n \"details\": {},\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stack\": \"cupidatat fugiat\"\n}"},{"id":"c7155542-e7d0-4b02-9dcf-bf8f1fd0a8f6","name":"OK","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/dict/infractions/:id","host":["{{baseUrl}}"],"path":["dict","infractions",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"urn:uuid:43718f89-56fb-52a8-bff9-0830cf567f4b\",\n \"transactionId\": \"d4157e6e-94f0-b72e-b0df-df58ca294ecd\",\n \"type\": \"<string>\",\n \"reportedBy\": \"DEBITED_PARTICIPANT\",\n \"debitedParticipant\": \"pari\",\n \"creditedParticipant\": \"cons\",\n \"createdAt\": \"1955-09-04T18:41:52.913Z\",\n \"updatedAt\": \"1961-03-15T10:14:57.808Z\",\n \"details\": \"ess\",\n \"analysis\": {\n  \"details\": \"tem\",\n  \"result\": \"AGREED\"\n },\n \"states\": [\n  {\n   \"createdAt\": \"2019-08-05T01:06:07.048Z\",\n   \"id\": \"b808ca59-4f00-74b3-1448-19b4ecf9fcb3\",\n   \"status\": \"cancelled\",\n   \"updatedAt\": \"2003-06-15T12:20:40.737Z\",\n   \"deletedAt\": \"1990-04-19T02:43:29.790Z\"\n  },\n  {\n   \"createdAt\": \"1947-08-06T18:24:02.652Z\",\n   \"id\": \"urn:uuid:eaadc1b9-8fe8-5837-31db-d6ec35d83207\",\n   \"status\": \"open\",\n   \"updatedAt\": \"2020-06-11T20:46:15.951Z\",\n   \"deletedAt\": \"2016-07-13T22:03:43.307Z\"\n  }\n ]\n}"},{"id":"f47a4837-38cd-4b0a-9a5d-cb5cc84e54bd","name":"Not Found","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/dict/infractions/:id","host":["{{baseUrl}}"],"path":["dict","infractions",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"stackId\": \"urn:uuid:e203b7bb-6f27-b27d-fa64-d47829446d73\",\n \"details\": {},\n \"message\": \"[404] Transaction not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stack\": \"magna sint Ut\"\n}"}],"_postman_id":"e4532dbd-a00b-4812-bbda-cf9d1dbd057b"},{"name":"Acknowledge an Infraction","id":"e04e28c6-cd8c-431d-9ea5-c4527cf7f04c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\"\n}"},"url":"{{baseUrl}}/dict/infractions/:id/acknowledge","description":"<p>Acknowledges a given infraction with status <code>open</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["dict","infractions",":id","acknowledge"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"2921831b-5e6f-4859-952b-5c16332af504","description":{"content":"<p>(Required) The UUID of the Infraction</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"192853d1-d69c-4937-9a55-98a484d46c9f","name":"Forbidden","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/acknowledge","host":["{{baseUrl}}"],"path":["dict","infractions",":id","acknowledge"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"stackId\": \"2adbb7a0-2735-03c4-ab9d-5f2a4478531a\",\n \"details\": {},\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stack\": \"cupidatat fugiat\"\n}"},{"id":"7cb80792-dc54-4d68-8299-29a3725fea85","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/acknowledge","host":["{{baseUrl}}"],"path":["dict","infractions",":id","acknowledge"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"stackId\": \"2adbb7a0-2735-03c4-ab9d-5f2a4478531a\",\n \"details\": {},\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stack\": \"cupidatat fugiat\"\n}"},{"id":"99cbbd01-d66f-43dc-8ce2-ae4c85f822ca","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/acknowledge","host":["{{baseUrl}}"],"path":["dict","infractions",":id","acknowledge"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"stackId\": \"urn:uuid:4741c903-2643-c30e-585f-9165607d2a95\",\n \"details\": {\n  \"errors\": [\n   {\n    \"property\": \"FIELD_NAME\",\n    \"contraints\": {\n     \"isNotEmpty\": \"FIELD_NAME should not be empty\"\n    }\n   },\n   {\n    \"property\": \"FIELD_NAME\",\n    \"contraints\": {\n     \"isNotEmpty\": \"FIELD_NAME should not be empty\"\n    }\n   }\n  ]\n },\n \"message\": \"[412] User doesn't have enough balance. (stackId: 3cfa366f-10c1-4154-a761-f27a0ee01a7f)\",\n \"stack\": \"commodo id\"\n}"},{"id":"b279aa66-59a9-4bfb-a231-2bf35820bc4e","name":"Not Found","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/acknowledge","host":["{{baseUrl}}"],"path":["dict","infractions",":id","acknowledge"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"stackId\": \"urn:uuid:e203b7bb-6f27-b27d-fa64-d47829446d73\",\n \"details\": {},\n \"message\": \"[404] Transaction not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stack\": \"magna sint Ut\"\n}"},{"id":"ca4289a3-6efe-4f21-bebd-dfa2f1d24fdb","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/acknowledge","host":["{{baseUrl}}"],"path":["dict","infractions",":id","acknowledge"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"stackId\": \"26c22ee8-3bd7-2dea-0af2-00f4c466c74f\",\n \"details\": {},\n \"message\": \"[500] \",\n \"stack\": \"ea magna\"\n}"},{"id":"dd96656c-20de-4e48-9bb2-4e7668bba7e3","name":"OK","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/acknowledge","host":["{{baseUrl}}"],"path":["dict","infractions",":id","acknowledge"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"urn:uuid:43718f89-56fb-52a8-bff9-0830cf567f4b\",\n \"transactionId\": \"d4157e6e-94f0-b72e-b0df-df58ca294ecd\",\n \"type\": \"<string>\",\n \"reportedBy\": \"DEBITED_PARTICIPANT\",\n \"debitedParticipant\": \"pari\",\n \"creditedParticipant\": \"cons\",\n \"createdAt\": \"1955-09-04T18:41:52.913Z\",\n \"updatedAt\": \"1961-03-15T10:14:57.808Z\",\n \"details\": \"ess\",\n \"analysis\": {\n  \"details\": \"tem\",\n  \"result\": \"AGREED\"\n },\n \"states\": [\n  {\n   \"createdAt\": \"2019-08-05T01:06:07.048Z\",\n   \"id\": \"b808ca59-4f00-74b3-1448-19b4ecf9fcb3\",\n   \"status\": \"cancelled\",\n   \"updatedAt\": \"2003-06-15T12:20:40.737Z\",\n   \"deletedAt\": \"1990-04-19T02:43:29.790Z\"\n  },\n  {\n   \"createdAt\": \"1947-08-06T18:24:02.652Z\",\n   \"id\": \"urn:uuid:eaadc1b9-8fe8-5837-31db-d6ec35d83207\",\n   \"status\": \"open\",\n   \"updatedAt\": \"2020-06-11T20:46:15.951Z\",\n   \"deletedAt\": \"2016-07-13T22:03:43.307Z\"\n  }\n ]\n}"}],"_postman_id":"e04e28c6-cd8c-431d-9ea5-c4527cf7f04c"},{"name":"Close an Infraction","id":"10522142-3450-4492-9036-a9b90453d55b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\",\n    \"result\": \"DISAGREED\",\n    \"details\": \"<string>\"\n}"},"url":"{{baseUrl}}/dict/infractions/:id/close","description":"<p>Closes a infraction with status <code>acknowledged</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["dict","infractions",":id","close"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"d8f174a0-3f28-4a75-8d88-edf969cb010c","description":{"content":"<p>(Required) The UUID of the infraction</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"1dce5c82-a5fd-49f2-9dac-450772551160","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\",\n    \"result\": \"DISAGREED\",\n    \"details\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/close","host":["{{baseUrl}}"],"path":["dict","infractions",":id","close"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"stackId\": \"26c22ee8-3bd7-2dea-0af2-00f4c466c74f\",\n \"details\": {},\n \"message\": \"[500] \",\n \"stack\": \"ea magna\"\n}"},{"id":"33a7cb6c-453b-41ad-a254-d991371289cf","name":"Forbidden","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\",\n    \"result\": \"DISAGREED\",\n    \"details\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/close","host":["{{baseUrl}}"],"path":["dict","infractions",":id","close"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"stackId\": \"2adbb7a0-2735-03c4-ab9d-5f2a4478531a\",\n \"details\": {},\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stack\": \"cupidatat fugiat\"\n}"},{"id":"62f6545f-b3b6-48ab-bb10-e913c4dd4e28","name":"Not Found","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\",\n    \"result\": \"DISAGREED\",\n    \"details\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/close","host":["{{baseUrl}}"],"path":["dict","infractions",":id","close"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"stackId\": \"urn:uuid:e203b7bb-6f27-b27d-fa64-d47829446d73\",\n \"details\": {},\n \"message\": \"[404] Transaction not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stack\": \"magna sint Ut\"\n}"},{"id":"69e74867-af70-4567-928a-6a73919f230f","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\",\n    \"result\": \"DISAGREED\",\n    \"details\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/close","host":["{{baseUrl}}"],"path":["dict","infractions",":id","close"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"stackId\": \"2adbb7a0-2735-03c4-ab9d-5f2a4478531a\",\n \"details\": {},\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stack\": \"cupidatat fugiat\"\n}"},{"id":"8771cc16-cb07-4cae-8194-34cefcf849ce","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\",\n    \"result\": \"DISAGREED\",\n    \"details\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/close","host":["{{baseUrl}}"],"path":["dict","infractions",":id","close"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"stackId\": \"urn:uuid:4741c903-2643-c30e-585f-9165607d2a95\",\n \"details\": {\n  \"errors\": [\n   {\n    \"property\": \"FIELD_NAME\",\n    \"contraints\": {\n     \"isNotEmpty\": \"FIELD_NAME should not be empty\"\n    }\n   },\n   {\n    \"property\": \"FIELD_NAME\",\n    \"contraints\": {\n     \"isNotEmpty\": \"FIELD_NAME should not be empty\"\n    }\n   }\n  ]\n },\n \"message\": \"[412] User doesn't have enough balance. (stackId: 3cfa366f-10c1-4154-a761-f27a0ee01a7f)\",\n \"stack\": \"commodo id\"\n}"},{"id":"a9be3b9a-2d9b-4bff-bdf7-af1d9e1d7b67","name":"OK","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\",\n    \"result\": \"DISAGREED\",\n    \"details\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/close","host":["{{baseUrl}}"],"path":["dict","infractions",":id","close"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"urn:uuid:43718f89-56fb-52a8-bff9-0830cf567f4b\",\n \"transactionId\": \"d4157e6e-94f0-b72e-b0df-df58ca294ecd\",\n \"type\": \"<string>\",\n \"reportedBy\": \"DEBITED_PARTICIPANT\",\n \"debitedParticipant\": \"pari\",\n \"creditedParticipant\": \"cons\",\n \"createdAt\": \"1955-09-04T18:41:52.913Z\",\n \"updatedAt\": \"1961-03-15T10:14:57.808Z\",\n \"details\": \"ess\",\n \"analysis\": {\n  \"details\": \"tem\",\n  \"result\": \"AGREED\"\n },\n \"states\": [\n  {\n   \"createdAt\": \"2019-08-05T01:06:07.048Z\",\n   \"id\": \"b808ca59-4f00-74b3-1448-19b4ecf9fcb3\",\n   \"status\": \"cancelled\",\n   \"updatedAt\": \"2003-06-15T12:20:40.737Z\",\n   \"deletedAt\": \"1990-04-19T02:43:29.790Z\"\n  },\n  {\n   \"createdAt\": \"1947-08-06T18:24:02.652Z\",\n   \"id\": \"urn:uuid:eaadc1b9-8fe8-5837-31db-d6ec35d83207\",\n   \"status\": \"open\",\n   \"updatedAt\": \"2020-06-11T20:46:15.951Z\",\n   \"deletedAt\": \"2016-07-13T22:03:43.307Z\"\n  }\n ]\n}"}],"_postman_id":"10522142-3450-4492-9036-a9b90453d55b"},{"name":"Cancel an infraction","id":"d417d69b-04b2-45fb-915a-8086f77feca4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\"\n}"},"url":"{{baseUrl}}/dict/infractions/:id/cancel","description":"<p>Cancels a given infraction</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["dict","infractions",":id","cancel"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"bbe4b864-5ae5-4dfe-b776-807781a14322","description":{"content":"<p>(Required) The UUID of the infraction</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"id"}]}},"response":[{"id":"109103d5-c627-4cbe-bbe5-9f24b9d29366","name":"Forbidden","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/cancel","host":["{{baseUrl}}"],"path":["dict","infractions",":id","cancel"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"stackId\": \"2adbb7a0-2735-03c4-ab9d-5f2a4478531a\",\n \"details\": {},\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stack\": \"cupidatat fugiat\"\n}"},{"id":"10d7b470-76b5-44d4-a59e-28fa9c72f138","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/cancel","host":["{{baseUrl}}"],"path":["dict","infractions",":id","cancel"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"1ddbd829-46e3-4ff0-b9d3-ce3d2f6e557c","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/cancel","host":["{{baseUrl}}"],"path":["dict","infractions",":id","cancel"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"stackId\": \"2adbb7a0-2735-03c4-ab9d-5f2a4478531a\",\n \"details\": {},\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stack\": \"cupidatat fugiat\"\n}"},{"id":"3a001034-5466-4d97-b5f0-7737609d8b9d","name":"Not Found","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/cancel","host":["{{baseUrl}}"],"path":["dict","infractions",":id","cancel"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"stackId\": \"urn:uuid:e203b7bb-6f27-b27d-fa64-d47829446d73\",\n \"details\": {},\n \"message\": \"[404] Transaction not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stack\": \"magna sint Ut\"\n}"},{"id":"531fc7e3-c508-4289-8a5b-576f50f6d87c","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/cancel","host":["{{baseUrl}}"],"path":["dict","infractions",":id","cancel"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"stackId\": \"urn:uuid:4741c903-2643-c30e-585f-9165607d2a95\",\n \"details\": {\n  \"errors\": [\n   {\n    \"property\": \"FIELD_NAME\",\n    \"contraints\": {\n     \"isNotEmpty\": \"FIELD_NAME should not be empty\"\n    }\n   },\n   {\n    \"property\": \"FIELD_NAME\",\n    \"contraints\": {\n     \"isNotEmpty\": \"FIELD_NAME should not be empty\"\n    }\n   }\n  ]\n },\n \"message\": \"[412] User doesn't have enough balance. (stackId: 3cfa366f-10c1-4154-a761-f27a0ee01a7f)\",\n \"stack\": \"commodo id\"\n}"},{"id":"ebe2b2ee-0ea0-47b7-bca8-9fdda10ac8ef","name":"OK","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"ispb\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/dict/infractions/:id/cancel","host":["{{baseUrl}}"],"path":["dict","infractions",":id","cancel"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"urn:uuid:43718f89-56fb-52a8-bff9-0830cf567f4b\",\n \"transactionId\": \"d4157e6e-94f0-b72e-b0df-df58ca294ecd\",\n \"type\": \"<string>\",\n \"reportedBy\": \"DEBITED_PARTICIPANT\",\n \"debitedParticipant\": \"pari\",\n \"creditedParticipant\": \"cons\",\n \"createdAt\": \"1955-09-04T18:41:52.913Z\",\n \"updatedAt\": \"1961-03-15T10:14:57.808Z\",\n \"details\": \"ess\",\n \"analysis\": {\n  \"details\": \"tem\",\n  \"result\": \"AGREED\"\n },\n \"states\": [\n  {\n   \"createdAt\": \"2019-08-05T01:06:07.048Z\",\n   \"id\": \"b808ca59-4f00-74b3-1448-19b4ecf9fcb3\",\n   \"status\": \"cancelled\",\n   \"updatedAt\": \"2003-06-15T12:20:40.737Z\",\n   \"deletedAt\": \"1990-04-19T02:43:29.790Z\"\n  },\n  {\n   \"createdAt\": \"1947-08-06T18:24:02.652Z\",\n   \"id\": \"urn:uuid:eaadc1b9-8fe8-5837-31db-d6ec35d83207\",\n   \"status\": \"open\",\n   \"updatedAt\": \"2020-06-11T20:46:15.951Z\",\n   \"deletedAt\": \"2016-07-13T22:03:43.307Z\"\n  }\n ]\n}"}],"_postman_id":"d417d69b-04b2-45fb-915a-8086f77feca4"}],"id":"01981681-891f-4f18-9771-2b76f8566698","_postman_id":"01981681-891f-4f18-9771-2b76f8566698","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"List all infractions","id":"e5807ac0-2484-45c2-bdd4-67d886a43410","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/dict/infractions?skip=<integer>&limit=20&status=<string>&type=<string>&reportedBy=<string>","description":"<p>Lists all infractions from the system</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["dict","infractions"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>How many items to skip before the first item of the list</p>\n","type":"text/plain"},"key":"skip","value":"<integer>"},{"description":{"content":"<p>The number of items to include in the list</p>\n","type":"text/plain"},"key":"limit","value":"20"},{"description":{"content":"<p>The latest status of the infraction</p>\n","type":"text/plain"},"key":"status","value":"<string>"},{"description":{"content":"<p>The type of the infraction</p>\n","type":"text/plain"},"key":"type","value":"<string>"},{"description":{"content":"<p>The ISPB of the PSP which reported the infraction</p>\n","type":"text/plain"},"key":"reportedBy","value":"<string>"}],"variable":[]}},"response":[{"id":"91c8afbb-71be-44eb-9bad-d962db8fcd8e","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/dict/infractions?skip=<integer>&limit=20&status=<string>&type=<string>&reportedBy=<string>","host":["{{baseUrl}}"],"path":["dict","infractions"],"query":[{"key":"skip","value":"<integer>"},{"key":"limit","value":"20"},{"key":"status","value":"<string>"},{"key":"type","value":"<string>"},{"key":"reportedBy","value":"<string>"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"stackId\": \"26c22ee8-3bd7-2dea-0af2-00f4c466c74f\",\n \"details\": {},\n \"message\": \"[500] \",\n \"stack\": \"ea magna\"\n}"},{"id":"aca8c2e4-192b-4e21-ad08-9b66523c4fdc","name":"Forbidden","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/dict/infractions?skip=<integer>&limit=20&status=<string>&type=<string>&reportedBy=<string>","host":["{{baseUrl}}"],"path":["dict","infractions"],"query":[{"key":"skip","value":"<integer>"},{"key":"limit","value":"20"},{"key":"status","value":"<string>"},{"key":"type","value":"<string>"},{"key":"reportedBy","value":"<string>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"stackId\": \"2adbb7a0-2735-03c4-ab9d-5f2a4478531a\",\n \"details\": {},\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stack\": \"cupidatat fugiat\"\n}"},{"id":"cb54e292-bd09-4dfd-bb21-4a214200dd14","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/dict/infractions?skip=<integer>&limit=20&status=<string>&type=<string>&reportedBy=<string>","host":["{{baseUrl}}"],"path":["dict","infractions"],"query":[{"key":"skip","value":"<integer>"},{"key":"limit","value":"20"},{"key":"status","value":"<string>"},{"key":"type","value":"<string>"},{"key":"reportedBy","value":"<string>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"stackId\": \"2adbb7a0-2735-03c4-ab9d-5f2a4478531a\",\n \"details\": {},\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stack\": \"cupidatat fugiat\"\n}"},{"id":"d5819397-d88f-43b6-bd9b-2fb0e431f25f","name":"OK","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/dict/infractions?skip=<integer>&limit=20&status=<string>&type=<string>&reportedBy=<string>","host":["{{baseUrl}}"],"path":["dict","infractions"],"query":[{"key":"skip","value":"<integer>"},{"key":"limit","value":"20"},{"key":"status","value":"<string>"},{"key":"type","value":"<string>"},{"key":"reportedBy","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"id\": \"d503e4b8-ad79-6a68-f011-bdc2cbaf74d2\",\n  \"transactionId\": \"urn:uuid:576b03a3-2c5b-d343-e4ef-0038cf522848\",\n  \"type\": \"<string>\",\n  \"reportedBy\": \"CREDITED_PARTICIPANT\",\n  \"debitedParticipant\": \"id D\",\n  \"creditedParticipant\": \"nisi\",\n  \"createdAt\": \"2013-07-05T15:45:09.547Z\",\n  \"updatedAt\": \"2018-10-08T06:30:26.492Z\",\n  \"details\": \"qu\",\n  \"analysis\": {\n   \"details\": \"exe\",\n   \"result\": \"AGREED\"\n  },\n  \"states\": [\n   {\n    \"createdAt\": \"1967-11-19T11:02:07.709Z\",\n    \"id\": \"c5e03fae-8e2f-ae30-f705-43f9cf93969c\",\n    \"status\": \"closed\",\n    \"updatedAt\": \"2006-07-27T10:24:36.316Z\",\n    \"deletedAt\": \"1994-02-22T13:07:09.970Z\"\n   },\n   {\n    \"createdAt\": \"2010-08-13T23:50:47.224Z\",\n    \"id\": \"d4a54705-f87f-7065-b9a1-5f029635d6f7\",\n    \"status\": \"acknowledged\",\n    \"updatedAt\": \"1980-12-08T20:41:48.173Z\",\n    \"deletedAt\": \"1987-08-26T19:08:37.828Z\"\n   }\n  ]\n },\n {\n  \"id\": \"urn:uuid:92b8f8b9-eeb8-734c-ad85-2cb0f56f5807\",\n  \"transactionId\": \"urn:uuid:47ff9a05-cf89-12b3-cb30-b5006c0a2772\",\n  \"type\": \"<string>\",\n  \"reportedBy\": \"CREDITED_PARTICIPANT\",\n  \"debitedParticipant\": \"Uten\",\n  \"creditedParticipant\": \"labo\",\n  \"createdAt\": \"1976-01-06T16:56:12.312Z\",\n  \"updatedAt\": \"1973-05-11T08:34:39.242Z\",\n  \"details\": \"culp\",\n  \"analysis\": {\n   \"details\": \"in\",\n   \"result\": \"DISAGREED\"\n  },\n  \"states\": [\n   {\n    \"createdAt\": \"2002-09-11T18:12:14.407Z\",\n    \"id\": \"urn:uuid:f4deeffb-7634-2824-61dd-013c00ff7966\",\n    \"status\": \"closed\",\n    \"updatedAt\": \"1948-06-13T08:47:46.665Z\",\n    \"deletedAt\": \"2019-07-13T00:59:42.128Z\"\n   },\n   {\n    \"createdAt\": \"2001-01-01T09:10:09.906Z\",\n    \"id\": \"urn:uuid:6fa87581-0910-8f00-b3dc-482bb7f3c3c2\",\n    \"status\": \"acknowledged\",\n    \"updatedAt\": \"1976-04-27T01:09:59.855Z\",\n    \"deletedAt\": \"1951-06-11T20:45:55.036Z\"\n   }\n  ]\n }\n]"}],"_postman_id":"e5807ac0-2484-45c2-bdd4-67d886a43410"}],"id":"00eab01d-d474-4f57-8815-2b59429c0506","_postman_id":"00eab01d-d474-4f57-8815-2b59429c0506","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Create an account in DICT","id":"8af61cd1-3ea0-44d7-af9d-c8bebba7aa3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"branch\": \"<string>\",\n    \"externalId\": \"<string>\",\n    \"ispb\": \"<string>\",\n    \"number\": \"<string>\",\n    \"openingDate\": \"<dateTime>\",\n    \"type\": \"<string>\",\n    \"user\": {\n        \"name\": \"<string>\",\n        \"type\": \"<string>\",\n        \"taxId\": \"<string>\"\n    },\n    \"walletId\": \"<uuid>\",\n    \"instanceId\": \"<string>\"\n}"},"url":"{{baseUrl}}/dict/accounts","description":"<p>Creates a new mapping in DICT-API for a account.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["dict","accounts"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"04e3d7d0-6a36-42ef-9c58-b491b0849782","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"branch\": \"<string>\",\n    \"externalId\": \"<string>\",\n    \"ispb\": \"<string>\",\n    \"number\": \"<string>\",\n    \"openingDate\": \"<dateTime>\",\n    \"type\": \"<string>\",\n    \"user\": {\n        \"name\": \"<string>\",\n        \"type\": \"<string>\",\n        \"taxId\": \"<string>\"\n    },\n    \"walletId\": \"<uuid>\",\n    \"instanceId\": \"<string>\"\n}"},"url":"{{baseUrl}}/dict/accounts"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"stackId\": \"urn:uuid:4741c903-2643-c30e-585f-9165607d2a95\",\n \"details\": {\n  \"errors\": [\n   {\n    \"property\": \"FIELD_NAME\",\n    \"contraints\": {\n     \"isNotEmpty\": \"FIELD_NAME should not be empty\"\n    }\n   },\n   {\n    \"property\": \"FIELD_NAME\",\n    \"contraints\": {\n     \"isNotEmpty\": \"FIELD_NAME should not be empty\"\n    }\n   }\n  ]\n },\n \"message\": \"[412] User doesn't have enough balance. (stackId: 3cfa366f-10c1-4154-a761-f27a0ee01a7f)\",\n \"stack\": \"commodo id\"\n}"},{"id":"09431995-8c37-4f1b-beb7-d31118813109","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"branch\": \"<string>\",\n    \"externalId\": \"<string>\",\n    \"ispb\": \"<string>\",\n    \"number\": \"<string>\",\n    \"openingDate\": \"<dateTime>\",\n    \"type\": \"<string>\",\n    \"user\": {\n        \"name\": \"<string>\",\n        \"type\": \"<string>\",\n        \"taxId\": \"<string>\"\n    },\n    \"walletId\": \"<uuid>\",\n    \"instanceId\": \"<string>\"\n}"},"url":"{{baseUrl}}/dict/accounts"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"stackId\": \"26c22ee8-3bd7-2dea-0af2-00f4c466c74f\",\n \"details\": {},\n \"message\": \"[500] \",\n \"stack\": \"ea magna\"\n}"},{"id":"11f82519-7c21-4fc8-a0fb-235d9b314621","name":"Created","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"branch\": \"<string>\",\n    \"externalId\": \"<string>\",\n    \"ispb\": \"<string>\",\n    \"number\": \"<string>\",\n    \"openingDate\": \"<dateTime>\",\n    \"type\": \"<string>\",\n    \"user\": {\n        \"name\": \"<string>\",\n        \"type\": \"<string>\",\n        \"taxId\": \"<string>\"\n    },\n    \"walletId\": \"<uuid>\",\n    \"instanceId\": \"<string>\"\n}"},"url":"{{baseUrl}}/dict/accounts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"branch\": \"<string>\",\n \"createdAt\": \"1955-02-10T23:49:18.629Z\",\n \"externalId\": \"<string>\",\n \"id\": \"urn:uuid:99a5f6c4-7ff0-75c2-01f1-0c8d701bca34\",\n \"ispb\": \"<string>\",\n \"number\": \"<string>\",\n \"openingDate\": \"<dateTime>\",\n \"type\": \"<string>\",\n \"updatedAt\": \"1944-12-06T17:45:02.005Z\",\n \"user\": {\n  \"name\": \"<string>\",\n  \"type\": \"<string>\",\n  \"taxId\": \"<string>\"\n },\n \"deletedAt\": \"1966-12-21T12:00:23.052Z\"\n}"},{"id":"5955bb35-e463-480c-b171-c26fe4bb4766","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"branch\": \"<string>\",\n    \"externalId\": \"<string>\",\n    \"ispb\": \"<string>\",\n    \"number\": \"<string>\",\n    \"openingDate\": \"<dateTime>\",\n    \"type\": \"<string>\",\n    \"user\": {\n        \"name\": \"<string>\",\n        \"type\": \"<string>\",\n        \"taxId\": \"<string>\"\n    },\n    \"walletId\": \"<uuid>\",\n    \"instanceId\": \"<string>\"\n}"},"url":"{{baseUrl}}/dict/accounts"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"stackId\": \"2adbb7a0-2735-03c4-ab9d-5f2a4478531a\",\n \"details\": {},\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stack\": \"cupidatat fugiat\"\n}"}],"_postman_id":"8af61cd1-3ea0-44d7-af9d-c8bebba7aa3c"}],"id":"15b4b587-f149-4697-8ffb-e02a361ee9ad","_postman_id":"15b4b587-f149-4697-8ffb-e02a361ee9ad","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"providers/{provider}","item":[{"name":"statements","item":[{"name":"Request a external statement","id":"85908df8-422d-4f75-ae8f-4015136cce21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"interval\": {\n        \"start\": \"Now-24h\",\n        \"end\": \"Now\"\n    }\n}"},"url":"{{baseUrl}}/providers/:provider/statements/export","description":"<p><em>This API is still under approval and can change in the future</em></p>\n<p>Exports the custody provider bank statement.</p>\n<p>In case this wallet is a <code>instant-payments</code> wallets and a <code>setllement</code> account, this generates a CSV file with the transactions from SPI, for other types of wallet this endpoint is not yet available.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["providers",":provider","statements","export"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"2696906e-e6c9-4a73-a94e-e3b024d52fdb","description":{"content":"<p>(Required) The name of the provider you wish to check the statement of</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"provider"}]}},"response":[{"id":"1b183e84-a634-46cd-b5f4-437ba185d807","name":"Provider not found","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"interval\": {\n        \"start\": \"Now-24h\",\n        \"end\": \"Now\"\n    }\n}"},"url":{"raw":"{{baseUrl}}/providers/:provider/statements/export","host":["{{baseUrl}}"],"path":["providers",":provider","statements","export"],"variable":[{"key":"provider"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Provider not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"},{"id":"883d5113-c7bb-48ab-a674-f037a4260920","name":"OK","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"interval\": {\n        \"start\": \"Now-24h\",\n        \"end\": \"Now\"\n    }\n}"},"url":{"raw":"{{baseUrl}}/providers/:provider/statements/export","host":["{{baseUrl}}"],"path":["providers",":provider","statements","export"],"variable":[{"key":"provider"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"urn:uuid:2f42527d-b59a-b919-e7ce-1b53aea54b55\",\n \"states\": [\n  {\n   \"additionalData\": {},\n   \"status\": \"pending\",\n   \"createdAt\": \"2019-05-05T04:21:23.711Z\"\n  }\n ],\n \"interval\": {\n  \"start\": \"1958-03-09T04:17:43.003Z\",\n  \"end\": \"2017-10-07T04:24:13.723Z\"\n },\n \"format\": \"csv\",\n \"downloadUrl\": \"anim deserunt id\",\n \"walletId\": \"urn:uuid:7cb301fb-a068-1839-9f23-483af65e55bb\"\n}"},{"id":"db75f94c-813e-41e1-b5bf-1f5cbd0d300a","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"interval\": {\n        \"start\": \"Now-24h\",\n        \"end\": \"Now\"\n    }\n}"},"url":{"raw":"{{baseUrl}}/providers/:provider/statements/export","host":["{{baseUrl}}"],"path":["providers",":provider","statements","export"],"variable":[{"key":"provider"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"}],"_postman_id":"85908df8-422d-4f75-ae8f-4015136cce21"},{"name":"Retrieve external statement informations","id":"2f1cf778-cbd5-4069-8e7c-e02323d2608f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/providers/:provider/statements/:statementId","description":"<p>Retrieves informations about a given statement generated using <code>/providers/{provider}/statements/export</code></p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["providers",":provider","statements",":statementId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"e4ec1e13-28a9-4544-9cf4-ce8803fe6fc3","description":{"content":"<p>(Required) The name of the provider you wish to check the statement of</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"provider"},{"id":"085b7d1a-4e95-47a3-a7d7-ecdd6336bd54","description":{"content":"<p>(Required) The id of the statement you wish to get informations about</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"statementId"}]}},"response":[{"id":"4116f653-bec6-4083-81d8-32f011afe2f5","name":"Not Found","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/providers/:provider/statements/:statementId","host":["{{baseUrl}}"],"path":["providers",":provider","statements",":statementId"],"variable":[{"key":"provider"},{"key":"statementId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Provider not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"},{"id":"49a2a094-b973-4558-815e-ab0127eb7458","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/providers/:provider/statements/:statementId","host":["{{baseUrl}}"],"path":["providers",":provider","statements",":statementId"],"variable":[{"key":"provider"},{"key":"statementId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"da219a97-3458-47ae-8ca7-2d327da5e6c0","name":"OK","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/providers/:provider/statements/:statementId","host":["{{baseUrl}}"],"path":["providers",":provider","statements",":statementId"],"variable":[{"key":"provider"},{"key":"statementId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"urn:uuid:2f42527d-b59a-b919-e7ce-1b53aea54b55\",\n \"states\": [\n  {\n   \"additionalData\": {},\n   \"status\": \"pending\",\n   \"createdAt\": \"2019-05-05T04:21:23.711Z\"\n  }\n ],\n \"interval\": {\n  \"start\": \"1958-03-09T04:17:43.003Z\",\n  \"end\": \"2017-10-07T04:24:13.723Z\"\n },\n \"format\": \"csv\",\n \"downloadUrl\": \"anim deserunt id\",\n \"walletId\": \"urn:uuid:7cb301fb-a068-1839-9f23-483af65e55bb\"\n}"}],"_postman_id":"2f1cf778-cbd5-4069-8e7c-e02323d2608f"}],"id":"783693d9-46af-4644-96bd-eadfbf752a9f","_postman_id":"783693d9-46af-4644-96bd-eadfbf752a9f","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Get a wallet's external balance","id":"d585ac23-d058-484e-bbb8-c9449ca62728","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/providers/:provider/balance","description":"<p><em>This API is still under approval and can change in the future</em></p>\n<p>Retrieves informations about a wallet in the external provider. </p>\n<p>In case this wallet is a <code>instant-payments</code> wallets and a <code>setllement</code> account, this retrieves the balance of this wallet in the Brazilian Central Bank's system, for other types of wallet this endpoint is not yet available.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["providers",":provider","balance"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"2be6e94f-8c3f-4511-b529-08f4832ce475","description":{"content":"<p>(Required) The name of the provider that you wish to check the balance from</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"provider"}]}},"response":[{"id":"0f777971-4153-49d8-bc2c-43f7a7a52551","name":"OK","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/providers/:provider/balance","host":["{{baseUrl}}"],"path":["providers",":provider","balance"],"variable":[{"key":"provider"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"pendingBalance\": \"in proident pariatur enim et\",\n \"availableBalance\": \"nostrud occaecat et pariatur\",\n \"balance\": \"incididunt ve\"\n}"},{"id":"3cfceae4-3871-457e-b3cf-a9b8e91465a9","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/providers/:provider/balance","host":["{{baseUrl}}"],"path":["providers",":provider","balance"],"variable":[{"key":"provider"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"71ff3828-64f3-4ce6-9d18-1b89fe878ad9","name":"Provider not found","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/providers/:provider/balance","host":["{{baseUrl}}"],"path":["providers",":provider","balance"],"variable":[{"key":"provider"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Provider not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"}],"_postman_id":"d585ac23-d058-484e-bbb8-c9449ca62728"},{"name":"Send a Message Manually to SPI","id":"43cbff50-4a0f-4e40-b973-8f831587bf72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"messageCode\": \"<string>\",\n    \"body\": \"<string>\"\n}"},"url":"{{baseUrl}}/providers/:provider/send","description":"<p>Sends a manual message to the SPI.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["providers",":provider","send"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"9e93acc3-c5ea-4763-a13b-ebbdd3fc1761","description":{"content":"<p>(Required) The provider you wish to send the message to</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"provider"}]}},"response":[{"id":"08bd62c6-de4f-44d4-996b-a59f43d7140e","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"messageCode\": \"<string>\",\n    \"body\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/providers/:provider/send","host":["{{baseUrl}}"],"path":["providers",":provider","send"],"variable":[{"key":"provider"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"63a985ee-7e6f-47b2-8696-c66bf2f6f5fd","name":"Not enough balance","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"messageCode\": \"<string>\",\n    \"body\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/providers/:provider/send","host":["{{baseUrl}}"],"path":["providers",":provider","send"],"variable":[{"key":"provider"}]}},"status":"Precondition Failed","code":412,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 412,\n \"message\": \"[412] User doesn't have enough balance. (stackId: 3cfa366f-10c1-4154-a761-f27a0ee01a7f)\",\n \"stackId\": \"3cfa366f-10c1-4154-a761-f27a0ee01a7f\",\n \"details\": {\n  \"assets\": [\n   \"BRLP\"\n  ]\n }\n}"},{"id":"d77635bc-5ebe-4591-a7cd-dd33b216a5d1","name":"Created","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"messageCode\": \"<string>\",\n    \"body\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/providers/:provider/send","host":["{{baseUrl}}"],"path":["providers",":provider","send"],"variable":[{"key":"provider"}]}},"status":"Created","code":201,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"f14e357d-fb3c-465b-bc6c-147a132cf243","name":"Not Found","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"messageCode\": \"<string>\",\n    \"body\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/providers/:provider/send","host":["{{baseUrl}}"],"path":["providers",":provider","send"],"variable":[{"key":"provider"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] Provider not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"},{"id":"fa6ced7c-88d0-4bb5-a16c-d64726c93f8c","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"messageCode\": \"<string>\",\n    \"body\": \"<string>\"\n}"},"url":{"raw":"{{baseUrl}}/providers/:provider/send","host":["{{baseUrl}}"],"path":["providers",":provider","send"],"variable":[{"key":"provider"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] Invalid parameter or body field: \\\"PIXMessage\\\" (stackId: e13fa604-fd36-49fd-b5cd-82bb93e66c2b)\",\n \"stackId\": \"e13fa604-fd36-49fd-b5cd-82bb93e66c2b\",\n \"details\": {\n  \"errors\": [\n   {\n    \"constraints\": {\n     \"isNotEmpty\": \"body should not be empty\"\n    },\n    \"property\": \"body\"\n   }\n  ]\n }\n}"}],"_postman_id":"43cbff50-4a0f-4e40-b973-8f831587bf72"}],"id":"97153c75-72aa-409a-ae19-22e6c24c1015","_postman_id":"97153c75-72aa-409a-ae19-22e6c24c1015","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Retrieve a consumer's registered keys","id":"31433af0-2ea0-4f47-88b6-9c6ca1f24394","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/consumers/:id/dict/keys?skip=<number>&limit=<number>","description":"<p>Lists all keys registered from a given user.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id","dict","keys"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>number items to show</p>\n","type":"text/plain"},"key":"skip","value":"<number>"},{"description":{"content":"<p>number items to skip</p>\n","type":"text/plain"},"key":"limit","value":"<number>"}],"variable":[{"description":{"content":"<p><code>required</code> user.id</p>\n","type":"text/plain"},"type":"string","value":"e377d512-f8db-411b-b388-26d92fa715ce","key":"id"}]}},"response":[{"id":"91241b65-a329-40f2-b58e-3d288d2589ff","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/consumers/:id/dict/keys?skip=<number>&limit=<number>","host":["{{baseUrl}}"],"path":["consumers",":id","dict","keys"],"query":[{"key":"skip","value":"<number>"},{"key":"limit","value":"<number>"}],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 500,\n \"message\": \"[500] invalid input syntax for uuid: \\\"jkdsjlksl\\\" (stackId: d119ad68-fa95-49d8-aef2-60020b61ad28)\",\n \"stackId\": \"d119ad68-fa95-49d8-aef2-60020b61ad28\",\n \"details\": {\n  \"code\": \"22P02\"\n },\n \"stack\": \"QueryFailedError: invalid input syntax for uuid: \\\"jkdsjlksl\\\"\\n    at new QueryFailedError (/usr/src/bitcapital/src/error/QueryFailedError.ts:9:9)\\n    at /usr/src/bitcapital/src/driver/postgres/PostgresQueryRunner.ts:178:30\\n    at Query.<anonymous> (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/plugins/plugin-pg.js:104:13)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at Query.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at Query.handleError (/usr/src/bitcapital/node_modules/pg/lib/query.js:145:17)\\n    at Connection.connectedErrorMessageHandler (/usr/src/bitcapital/node_modules/pg/lib/client.js:214:17)\\n    at Socket.<anonymous> (/usr/src/bitcapital/node_modules/pg/lib/connection.js:134:12)\"\n}"},{"id":"9c103909-8a17-48c3-a0a2-0f9edbfaaae4","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/consumers/:id/dict/keys?skip=<number>&limit=<number>","host":["{{baseUrl}}"],"path":["consumers",":id","dict","keys"],"query":[{"key":"skip","value":"<number>"},{"key":"limit","value":"<number>"}],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"message\": \"[401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\",\n \"stackId\": \"e57723e4-7f74-4d53-a8fe-4bb53990a58d\",\n \"details\": {},\n \"stack\": \"UnauthorizedRequestError: [401] Credentials missing or invalid (stackId: e57723e4-7f74-4d53-a8fe-4bb53990a58d)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:53:24\\n    at Generator.next (<anonymous>)\\n    at /usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:8:71\\n    at new Promise (<anonymous>)\\n    at __awaiter (/usr/src/bitcapital/core/core-api/dist/api/filters/oauth/token.js:4:12)\\n    at /usr/src/bitcapital/core/core-api/api/filters/oauth/token.ts:41:85\\n    at ExpressOAuthServer.handleError (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:153:5)\\n    at ExpressOAuthServer.<anonymous> (/usr/src/bitcapital/node_modules/express-oauth-server/index.js:57:28)\\n    at /usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:49\\n    at AsyncHooksCLS.runWithContext (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:125:20)\\n    at ExpressOAuthServer.contextWrapper (/usr/src/bitcapital/node_modules/@google-cloud/trace-agent/build/src/cls/async-hooks.js:147:25)\\n    at ExpressOAuthServer.tryCatcher (/usr/src/bitcapital/node_modules/bluebird/js/release/util.js:16:23)\\n    at Promise._settlePromiseFromHandler (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:547:31)\\n    at Promise._settlePromise (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:604:18)\\n    at Promise._settlePromise0 (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:649:10)\\n    at Promise._settlePromises (/usr/src/bitcapital/node_modules/bluebird/js/release/promise.js:725:18)\\n    at _drainQueueStep (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:93:12)\\n    at _drainQueue (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:86:9)\\n    at Async._drainQueues (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:102:5)\\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/bitcapital/node_modules/bluebird/js/release/async.js:15:14)\"\n}"},{"id":"9c883d59-bf73-4362-86c1-27df689cc0f2","name":"Invalid UUID","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/consumers/:id/dict/keys?skip=<number>&limit=<number>","host":["{{baseUrl}}"],"path":["consumers",":id","dict","keys"],"query":[{"key":"skip","value":"<number>"},{"key":"limit","value":"<number>"}],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 400,\n \"message\": \"[400] userId should be a UUID (stackId: 67896372-6007-416a-b06a-cc339344c405)\",\n \"stackId\": \"67896372-6007-416a-b06a-cc339344c405\",\n \"details\": {}\n}"},{"id":"ba1701da-99fe-4542-a935-20422c52867b","name":"OK","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/consumers/:id/dict/keys?skip=<number>&limit=<number>","host":["{{baseUrl}}"],"path":["consumers",":id","dict","keys"],"query":[{"key":"skip","value":"<number>"},{"key":"limit","value":"<number>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"description":"(Required) The request limit until `X-RateLimit-Reset`","key":"X-RateLimit-Limit","value":"60"},{"description":"(Required) The request limit remaining until `X-RateLimit-Reset`","key":"X-RateLimit-Remaining","value":"59"},{"description":"(Required) The UNIX timestamp for the next reset in rate-limit","key":"X-RateLimit-Reset","value":"1596649387"},{"description":"(Required) The total length of the list being sent","key":"X-Data-Length","value":"30"},{"description":"(Required) The limit set for pagination for this request","key":"X-Data-Limit","value":"50"},{"description":"(Required) How many items were skiped for this request","key":"X-Data-Skip","value":"-55876273.11966421"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"key\": \"Duis\",\n  \"keyType\": \"phone\",\n  \"account\": {\n   \"ispb\": \"<string>\",\n   \"number\": \"<string>\",\n   \"branch\": \"<string>\",\n   \"type\": \"<string>\",\n   \"user\": {\n    \"name\": \"<string>\",\n    \"type\": \"<string>\",\n    \"taxId\": \"<string>\"\n   },\n   \"externalId\": \"<string>\",\n   \"openingDate\": \"<dateTime>\"\n  },\n  \"createdAt\": \"1991-05-11T00:43:35.471Z\",\n  \"ownedAt\": \"1954-01-05T05:17:31.716Z\",\n  \"statistics\": {\n   \"updatedAt\": \"2005-10-15T05:27:47.182Z\",\n   \"counters\": [\n    {\n     \"type\": \"settlements\",\n     \"by\": \"key\",\n     \"d3\": \"5\",\n     \"d30\": \"5\",\n     \"m6\": \"5\"\n    },\n    {\n     \"type\": \"settlements\",\n     \"by\": \"key\",\n     \"d3\": \"5\",\n     \"d30\": \"5\",\n     \"m6\": \"5\"\n    }\n   ]\n  },\n  \"claimedAt\": \"1947-09-06T19:58:17.927Z\",\n  \"internal\": true,\n  \"registrationId\": \"urn:uuid:d16f331a-7700-3405-86bf-6e74c7f91224\"\n },\n {\n  \"key\": \"Ut ut\",\n  \"keyType\": \"cnpj\",\n  \"account\": {\n   \"ispb\": \"<string>\",\n   \"number\": \"<string>\",\n   \"branch\": \"<string>\",\n   \"type\": \"<string>\",\n   \"user\": {\n    \"name\": \"<string>\",\n    \"type\": \"<string>\",\n    \"taxId\": \"<string>\"\n   },\n   \"externalId\": \"<string>\",\n   \"openingDate\": \"<dateTime>\"\n  },\n  \"createdAt\": \"1986-01-06T09:34:22.044Z\",\n  \"ownedAt\": \"1978-05-07T11:04:14.843Z\",\n  \"statistics\": {\n   \"updatedAt\": \"1969-06-10T17:56:30.638Z\",\n   \"counters\": [\n    {\n     \"type\": \"settlements\",\n     \"by\": \"key\",\n     \"d3\": \"5\",\n     \"d30\": \"5\",\n     \"m6\": \"5\"\n    },\n    {\n     \"type\": \"settlements\",\n     \"by\": \"key\",\n     \"d3\": \"5\",\n     \"d30\": \"5\",\n     \"m6\": \"5\"\n    }\n   ]\n  },\n  \"claimedAt\": \"1988-05-10T18:49:19.053Z\",\n  \"internal\": true,\n  \"registrationId\": \"urn:uuid:436c9a67-75fe-ef8b-b245-d39356099d3a\"\n }\n]"},{"id":"ff6f4d6f-1a4c-4d89-9d4e-8707eec5f918","name":"Consumer not found","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/consumers/:id/dict/keys?skip=<number>&limit=<number>","host":["{{baseUrl}}"],"path":["consumers",":id","dict","keys"],"query":[{"key":"skip","value":"<number>"},{"key":"limit","value":"<number>"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"message\": \"[404] User not found (stackId: 87b99834-7b7c-4a76-9271-bec3298129fd)\",\n \"stackId\": \"87b99834-7b7c-4a76-9271-bec3298129fd\",\n \"details\": {}\n}"}],"_postman_id":"31433af0-2ea0-4f47-88b6-9c6ca1f24394"},{"name":"Generate a new access token","id":"8ef7ad72-c915-4240-8050-f944a11fc561","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) Following the OAuth protocol, this header should have the Base64 hash of the client secret and client id from the credentials, following this example: <code>Basic base64(OAUTHCLIENT:OAUTHSECRET)</code></p>\n","key":"Authorization","value":"<string>"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"<string>","description":"<p>The type of the OAuth authentcation (This can only be one of client_credentials,password,refresh_token,secret_token)</p>\n"},{"key":"username","value":"<string>","description":"<p>In case grant_type = 'password', this field is required. Should be filled with the username of the account you wish to authenticate with</p>\n"},{"key":"password","value":"<string>","description":"<p>In case grant_type = 'password', this field is required. Should be filled with the password of the account you wish to authenticate with</p>\n"},{"key":"scopes","value":"<string>","description":"<p>The scopes of access this credential will have, by default it gives all scopes this user has access to.</p>\n"}]},"url":"{{baseUrl}}/oauth/token","description":"<p>Generates a new access token for a given user, following the OAuth 2.0 flow.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["oauth","token"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8ef7ad72-c915-4240-8050-f944a11fc561"},{"name":"Send a SPI Message","id":"c3ce7f87-de07-4a65-9e5c-f970d7e19dc0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"message\": \"<string>\"\n}"},"url":"{{baseUrl}}/spi/messages","description":"<p>Sends a raw message to SPI.\nIt's not allowed to send pacs messages, for that use the specific endpoints.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["spi","messages"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"3e63039c-aefa-4434-9bb7-86b07ac5c056","name":"Created","originalRequest":{"method":"POST","header":[{"description":{"content":"Added as a part of security scheme: oauth2","type":"text/plain"},"key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n    \"message\": \"<string>\"\n}"},"url":"{{baseUrl}}/spi/messages"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msgId\": \"Lorem\",\n \"id\": \"consectetur in cillum Duis\"\n}"}],"_postman_id":"c3ce7f87-de07-4a65-9e5c-f970d7e19dc0"}],"id":"3f2dc82d-4912-4804-9b7c-2f63868b88ec","description":"<blockquote>\n<p>documentation in progress...</p>\n</blockquote>\n","_postman_id":"3f2dc82d-4912-4804-9b7c-2f63868b88ec","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Metrics (beta)","item":[{"name":"Consumers status","id":"b9f44474-cace-4d76-a3a8-09a3ccd37e23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/metrics/consumers","description":"<p>Retrrieves the count of users in each state</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["metrics","consumers"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"6c3dc778-f9dc-485e-9ab3-16a55f954f88","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/metrics/consumers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 25 Apr 2020 15:31:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-API-Version","value":"2.0.6"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"1587828726"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"ETag","value":"W/\"145-9Cyy+cd2seb31WVKg9icA8FqruI\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"58991bfcbddef39f-GRU"},{"key":"Content-Encoding","value":"br"},{"key":"cf-request-id","value":"02538fd1ee0000f39fbc003200000001"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": [\n        {\n            \"count\": \"1\",\n            \"status\": \"blocked\"\n        },\n        {\n            \"count\": \"2\",\n            \"status\": \"processing_provider_documents\"\n        },\n        {\n            \"count\": \"6\",\n            \"status\": \"provider_rejected\"\n        },\n        {\n            \"count\": \"52\",\n            \"status\": \"pending_billing_plan_subscription\"\n        },\n        {\n            \"count\": \"68\",\n            \"status\": \"provider_failed\"\n        },\n        {\n            \"count\": \"79\",\n            \"status\": \"ready\"\n        }\n    ],\n    \"actions\": {\n        \"count\": 0,\n        \"name\": \"pending_deletion\"\n    }\n}"}],"_postman_id":"b9f44474-cace-4d76-a3a8-09a3ccd37e23"},{"name":"Transections status","id":"17b1bfff-e3cc-4c6d-81d8-67a116a93c89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/metrics/transactions","description":"<p>Retrieves metrics about all transactions in the system</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["metrics","transactions"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"56dca530-fe14-4989-be5d-93f10744c299","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/metrics/transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 25 Apr 2020 15:31:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-API-Version","value":"2.0.6"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"1587828726"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"ETag","value":"W/\"7a-FVthqlVXw8D1H2PUJy0Qjszi2sY\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"58991d065e6df39f-GRU"},{"key":"Content-Encoding","value":"br"},{"key":"cf-request-id","value":"02539077fa0000f39fbc2ab200000001"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": [\n        {\n            \"count\": \"168\",\n            \"status\": \"executed\"\n        },\n        {\n            \"count\": \"104\",\n            \"status\": \"AUTHORIZED\"\n        },\n        {\n            \"count\": \"284\",\n            \"status\": \"notified\"\n        }\n    ]\n}"}],"_postman_id":"17b1bfff-e3cc-4c6d-81d8-67a116a93c89"},{"name":"Wallets status","id":"daea72e0-675e-4c39-b40a-0f41577eb924","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/metrics/wallets","description":"<p>Retrieves the number of wallet in each state in the system.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["metrics","wallets"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"2d025bd8-28d3-4eca-a176-b5d5daf21b90","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/metrics/wallets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 25 Apr 2020 15:32:53 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-API-Version","value":"2.0.6"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"1587828822"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"ETag","value":"W/\"d8-WeB1PwRraNXt1rQJc6TbBK9l4H4\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"58991e7fff8af39f-GRU"},{"key":"Content-Encoding","value":"br"},{"key":"cf-request-id","value":"02539163f60000f39fbc163200000001"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": [\n        {\n            \"count\": \"5\",\n            \"status\": \"pending\"\n        },\n        {\n            \"count\": \"10\",\n            \"status\": \"registered_in_provider\"\n        },\n        {\n            \"count\": \"7\",\n            \"status\": \"pending_provider_approval\"\n        },\n        {\n            \"count\": \"272\",\n            \"status\": \"ready\"\n        },\n        {\n            \"count\": \"129\",\n            \"status\": \"registered\"\n        }\n    ]\n}"}],"_postman_id":"daea72e0-675e-4c39-b40a-0f41577eb924"}],"id":"25bdcf6b-6786-4a2c-8d0e-7c184611ea19","event":[{"listen":"prerequest","script":{"id":"092a8439-25c3-4668-b7eb-def769cbd89f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1cfc3065-3099-46ea-812c-2359fbcb9e5d","type":"text/javascript","exec":[""]}}],"_postman_id":"25bdcf6b-6786-4a2c-8d0e-7c184611ea19","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"(deprecated)","item":[{"name":"Phone Credits","item":[{"name":"/providers","id":"bfa1cfc2-2c5f-4a27-b38c-f5278aa6eef6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/phone-credits/providers","description":"<p>Get all available providers for phone charging</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["phone-credits","providers"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"6bfbec80-8d9d-4a9b-828d-3b6352f13057","name":"/providers","originalRequest":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/phone-credits/providers"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"dealers\": [\n        {\n            \"code\": \"001\",\n            \"name\": \"Vivo\"\n        },\n        {\n            \"code\": \"002\",\n            \"name\": \"Claro\"\n        },\n        {\n            \"code\": \"003\",\n            \"name\": \"Oi\"\n        },\n        {\n            \"code\": \"004\",\n            \"name\": \"Tim\"\n        }\n    ]\n}"}],"_postman_id":"bfa1cfc2-2c5f-4a27-b38c-f5278aa6eef6"},{"name":"/phone-credits/order/history/:walletId","id":"db3b0762-96ba-4188-a068-e931f03696d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/phone-credits/order/history/:walletId","description":"<p>Get all phone credits orders for wallet</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["phone-credits","order","history",":walletId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"d4a1ddb6-08a1-48db-92e3-110d23bcc5dd","type":"string","value":"","key":"walletId"}]}},"response":[],"_postman_id":"db3b0762-96ba-4188-a068-e931f03696d5"},{"name":"/order/create","id":"60dba300-f60c-497e-994b-73e34a064430","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"phoneCode\": \"19\",\n\t\"phoneNumber\": \"996416288\",\n\t\"providerCode\": \"001\",\n\t\"source\": \"9aace7e-8b2d-452a-a888-d708eb903cc0\"\n}"},"url":"{{API_BASE_URL}}/phone-credits/order/create","description":"<p>Create a new phone credit order</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["phone-credits","order","create"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"954c8664-bfea-4aa9-95e1-6666df006888","name":"/order/create","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"phoneCode\": \"19\",\n\t\"phoneNumber\": \"996416288\",\n\t\"providerCode\": \"001\",\n\t\"source\": \"9aace7e-8b2d-452a-a888-d708eb903cc0\"\n}"},"url":"{{API_BASE_URL}}/phone-credits/order/create"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"98291601-80aa-4082-ba6d-bf92621fe9c7\",\n    \"deletedAt\": null,\n    \"createdAt\": \"2019-07-17T12:42:09.158Z\",\n    \"updatedAt\": \"2019-07-17T12:42:09.158Z\",\n    \"walletId\": null,\n    \"providerCode\": \"001\",\n    \"phoneNumber\": \"996416288\",\n    \"phoneCode\": \"19\",\n    \"chosenAmount\": null,\n    \"providerOrderId\": \"4c023bf5-0ffe-40c8-a99d-e5feeb47de65\",\n    \"status\": \"created\",\n    \"amounts\": [\n        {\n            \"id\": \"c292d94e-631c-4948-b368-b0b39f06ce7f\",\n            \"deletedAt\": null,\n            \"createdAt\": \"2019-07-17T12:42:09.171Z\",\n            \"updatedAt\": \"2019-07-17T12:42:09.171Z\",\n            \"amount\": \"500\",\n            \"amountKey\": \"\"\n        },\n        {\n            \"id\": \"61df99af-da6a-4e87-9c10-98ea5610662d\",\n            \"deletedAt\": null,\n            \"createdAt\": \"2019-07-17T12:42:09.184Z\",\n            \"updatedAt\": \"2019-07-17T12:42:09.184Z\",\n            \"amount\": \"3000\",\n            \"amountKey\": \"\"\n        },\n        {\n            \"id\": \"32aaec5c-1ab1-41d8-8f9a-c7cd84b6686a\",\n            \"deletedAt\": null,\n            \"createdAt\": \"2019-07-17T12:42:09.191Z\",\n            \"updatedAt\": \"2019-07-17T12:42:09.191Z\",\n            \"amount\": \"5000\",\n            \"amountKey\": \"\"\n        },\n        {\n            \"id\": \"90fddd90-738a-4910-a3de-6979de266b04\",\n            \"deletedAt\": null,\n            \"createdAt\": \"2019-07-17T12:42:09.196Z\",\n            \"updatedAt\": \"2019-07-17T12:42:09.196Z\",\n            \"amount\": \"7000\",\n            \"amountKey\": \"\"\n        },\n        {\n            \"id\": \"faf32c45-841d-4f61-b5b7-0833a89e974e\",\n            \"deletedAt\": null,\n            \"createdAt\": \"2019-07-17T12:42:09.201Z\",\n            \"updatedAt\": \"2019-07-17T12:42:09.201Z\",\n            \"amount\": \"9000\",\n            \"amountKey\": \"\"\n        },\n        {\n            \"id\": \"24b5754d-463a-4227-9bb4-4c0488741113\",\n            \"deletedAt\": null,\n            \"createdAt\": \"2019-07-17T12:42:09.207Z\",\n            \"updatedAt\": \"2019-07-17T12:42:09.207Z\",\n            \"amount\": \"10000\",\n            \"amountKey\": \"\"\n        }\n    ]\n}"}],"_postman_id":"60dba300-f60c-497e-994b-73e34a064430"},{"name":"/order/:phoneCreditOrderId","id":"c87a1735-caa0-4c0d-8c9c-b41c0291f4f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"amount\":\"10\",\n\t\"source\":\"\"\n}"},"url":"{{API_BASE_URL}}/phone-credits/order/:orderId/complete","description":"<p>Complete order</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["phone-credits","order",":orderId","complete"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"4ead1f0c-2ca5-4799-bf5c-a65e182d1b7f","type":"string","value":"","key":"orderId"}]}},"response":[],"_postman_id":"c87a1735-caa0-4c0d-8c9c-b41c0291f4f4"}],"id":"4de1d53c-a140-45c1-872d-e9a25642d0c4","_postman_id":"4de1d53c-a140-45c1-872d-e9a25642d0c4","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Preview","item":[{"name":"/kyc/people/preview","id":"c4ff74ab-f944-47c2-b4b6-14a2bc0990cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/kyc/people/preview?taxId=01234567890","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["kyc","people","preview"],"host":["{{API_BASE_URL}}"],"query":[{"key":"taxId","value":"01234567890"}],"variable":[]}},"response":[],"_postman_id":"c4ff74ab-f944-47c2-b4b6-14a2bc0990cd"},{"name":"/kyc/companies/preview","id":"c0fa48a5-727b-49d6-a0f1-b539249c55f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/kyc/companies/preview?taxId=29079725000107","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["kyc","companies","preview"],"host":["{{API_BASE_URL}}"],"query":[{"key":"taxId","value":"29079725000107"}],"variable":[]}},"response":[],"_postman_id":"c0fa48a5-727b-49d6-a0f1-b539249c55f6"}],"id":"a54d833d-c985-4988-83df-ebba40d4fd52","event":[{"listen":"prerequest","script":{"id":"3b9cf51d-ec2a-4763-a7ea-b71024e872e7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"43580b8a-dea8-4791-8f95-1c3a91ed2567","type":"text/javascript","exec":[""]}}],"_postman_id":"a54d833d-c985-4988-83df-ebba40d4fd52","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Postback","item":[{"name":"Base postback payload","item":[{"name":"Postback response","id":"76aff24b-19b0-4806-91b8-4104fe40d1a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"id","value":"114120e9-c9ef-4f7c-a104-c00f35e41f16","description":"<p>The id of the resource</p>\n","type":"text"},{"key":"status","value":"ready","description":"<p>The status of the resource</p>\n","type":"text"},{"key":"entity","value":"wallet","description":"<p>The entity associated to the status update</p>\n","type":"text"}]},"url":"http://localhost:5000/bitcapital-postback","description":"<p>{\n    \"id\": \"114120e9-c9ef-4f7c-a104-c00f35e41f16\",\n    \"status\": \"ready\",\n    \"entity\": \"wallet\"\n}</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["bitcapital-postback"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"76aff24b-19b0-4806-91b8-4104fe40d1a9"}],"id":"93e40f60-30ea-4d69-82c8-55664ebc95e0","_postman_id":"93e40f60-30ea-4d69-82c8-55664ebc95e0","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}}],"id":"a9615462-d471-4f7e-a1d6-acfba698b3c4","_postman_id":"a9615462-d471-4f7e-a1d6-acfba698b3c4","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"API Crude View","item":[{"name":"Billing","item":[{"name":"/services","id":"bce404f3-ab73-432e-b9b4-11ea40b9f670","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":false},"method":"GET","header":[],"url":"{{API_BASE_URL}}/services","description":"<p>Get all available services for usage on plans</p>\n","urlObject":{"path":["services"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bce404f3-ab73-432e-b9b4-11ea40b9f670"},{"name":"/billing/users/:userId/type/:serviceType/fee","id":"e6094c29-4230-411b-bb76-38c85bd5199b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/billing/users/:userId/type/:serviceType/fee","description":"<p>Get actual fee of one service that is been applied to a certain user.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["billing","users",":userId","type",":serviceType","fee"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"type":"string","value":"{{USER_ID}}","key":"userId"},{"description":{"content":"<p>Service types can be retrived from [GET -&gt; /services]</p>\n","type":"text/plain"},"type":"string","value":"{{SERVICE_TYPE}}","key":"serviceType"}]}},"response":[],"_postman_id":"e6094c29-4230-411b-bb76-38c85bd5199b"},{"name":"/plans","id":"9ef5d568-116e-4af0-8fa9-424d0cd0f030","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":false},"method":"GET","header":[],"url":"{{API_BASE_URL}}/plans","description":"<p>Obtain list of plans</p>\n","urlObject":{"path":["plans"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9ef5d568-116e-4af0-8fa9-424d0cd0f030"},{"name":"/plans/:id","id":"31322ec8-ac48-4815-8801-eba0970b1fa6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":false},"method":"GET","header":[],"url":"{{API_BASE_URL}}/plans/:id","description":"<p>Obtain details of a specific plan</p>\n","urlObject":{"path":["plans",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"type":"string","value":"{{PLAN_ID}}","key":"id"}]}},"response":[],"_postman_id":"31322ec8-ac48-4815-8801-eba0970b1fa6"},{"name":"/plans/:id/services/:serviceType","id":"e0edbace-47c0-4e2f-b94f-d4d6e86dfb64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"{{API_BASE_URL}}/plans/:id/services/:serviceType","description":"<p>Removing a service from the plan.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["plans",":id","services",":serviceType"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"type":"string","value":"{{PLAN_ID}}","key":"id"},{"description":{"content":"<p>Service types can be retrived from [GET -&gt; /services]</p>\n","type":"text/plain"},"type":"string","value":"{{SERVICE_TYPE}}","key":"serviceType"}]}},"response":[],"_postman_id":"e0edbace-47c0-4e2f-b94f-d4d6e86dfb64"},{"name":"/invoices","id":"9e23a378-4fd3-468a-90c5-56902c6a3a52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/invoices?userId={{USER_ID}}","description":"<p>List of invoices of a specific user.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["invoices"],"host":["{{API_BASE_URL}}"],"query":[{"key":"userId","value":"{{USER_ID}}"}],"variable":[]}},"response":[],"_postman_id":"9e23a378-4fd3-468a-90c5-56902c6a3a52"},{"name":"/invoices/:id","id":"ee8b03af-6721-47a8-84fe-e0bdcb03950d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/invoices/:id","description":"<p>List of invoices can be retrieved from [GET /invoices?userId=X]</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["invoices",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"type":"string","value":"{{INVOICE_ID}}","key":"id"}]}},"response":[],"_postman_id":"ee8b03af-6721-47a8-84fe-e0bdcb03950d"},{"name":"/plans","event":[{"listen":"test","script":{"id":"a8cacf77-5f7b-4155-adba-aa053f199f68","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","    var jsonData = pm.response.json();","    pm.environment.set(\"PLAN_ID\", jsonData.id);","});"],"type":"text/javascript"}}],"id":"e2ac1e60-9d50-4d4c-a613-33ab116493da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Plano Assinatura 02\",\n    \"items\": [\n    \t{\n    \t\t\"serviceId\": \"d5f5d02b-e2da-4a52-b6fd-243cc6b45a38\",\n            \"name\": \"Assinatura\",\n            \"price\": 100,\n            \"entryClazz\": \"service_charge\",\n            \"billingTrigger\": \"invoice_closing\",\n            \"freeUntil\": 100\n        }\n    ],\n    \"billingSettings\": {\n        \"invoiceClosing\": {\n            \"periodicity\": \"monthly\",\n            \"dayOfMonth\": 5\n        },\n        \"periodCalculation\": {\n            \"periodicity\": \"daily\"\n        },\n        \"settlementTrigger\": \"invoiceClosing\"\n    },\n    \"domain\": \"{{DOMAIN_ID}}\",\n    \"validFrom\": \"2019-12-31\",\n    \"default\": false\n}"},"url":"{{API_BASE_URL}}/plans","description":"<p>Creating a plan</p>\n<h2 id=\"body-payload\">Body Payload</h2>\n<ul>\n<li>name: Display name for the plan</li>\n<li>items: list of services to be charged</li>\n<li>billingSettings: configurations for the plan<ul>\n<li>invoiceClosing: periocity can be <em>monthly</em>, <em>weekly</em> or <em>daily</em> basis</li>\n</ul>\n</li>\n<li>domain</li>\n<li>validFrom: Date it will start be avaliable</li>\n<li>default: Default plan use to be subscribed on consumer creation</li>\n</ul>\n","urlObject":{"path":["plans"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e2ac1e60-9d50-4d4c-a613-33ab116493da"},{"name":"/plans/:id/items","id":"8345b13d-48b1-441c-ac28-ffdb63931125","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"serviceId\": \"d5f5d02b-e2da-4a52-b6fd-243cc6b45a38\",\n        \"name\": \"Assinatura\",\n        \"price\": 110,\n        \"entryClazz\": \"service_charge\",\n        \"billingTrigger\": \"invoice_closing\",\n        \"freeUntil\": 110\n    }\n]"},"url":"{{API_BASE_URL}}/plans/:id/items","description":"<p>Editing or adding plan (services) items</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["plans",":id","items"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"type":"string","value":"{{PLAN_ID}}","key":"id"}]}},"response":[],"_postman_id":"8345b13d-48b1-441c-ac28-ffdb63931125"},{"name":"/plans/:id/subscribe","id":"c26db0cf-327f-43f1-9c05-59d8413afd14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"subscriber\": \"{{USER_ID}}\",\n\t\"prepaid\": false\n}"},"url":"{{API_BASE_URL}}/plans/:id/subscribe","description":"<p>Subscribe user to a plan</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["plans",":id","subscribe"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"type":"string","value":"{{PLAN_ID}}","key":"id"}]}},"response":[],"_postman_id":"c26db0cf-327f-43f1-9c05-59d8413afd14"},{"name":"/invoices/:id/close","id":"0cceac84-ce5e-4f74-b801-f215778c4a1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"force\": true\n}"},"url":"{{API_BASE_URL}}/invoices/:id/close","description":"<p>Close an opened invoice. It will generate a new invoice.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["invoices",":id","close"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"type":"string","value":"{{INVOICE_ID}}","key":"id"}]}},"response":[],"_postman_id":"0cceac84-ce5e-4f74-b801-f215778c4a1b"}],"id":"005daec0-46d0-4209-9cc2-f02cbe4503eb","event":[{"listen":"prerequest","script":{"id":"c941c268-20e1-4d45-92cf-81ccb945d279","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3609001e-a97e-44e9-82ce-f2344153532f","type":"text/javascript","exec":[""]}}],"_postman_id":"005daec0-46d0-4209-9cc2-f02cbe4503eb","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Authorization API","item":[{"name":"/transactions/authorize (authorization)","event":[{"listen":"prerequest","script":{"id":"e3b0c4e7-aeb5-45a4-b694-692f4e56490b","exec":["// Basic request data","const timestamp = Date.now();","const method = request.method.toUpperCase();","const url = request.url.split(\"{{API_BASE_URL}}\")[1];","","// Building request signature payload","const payload = [","    method,","    url,","    timestamp,","];","","// For POST and PUT methods, we must also pass the raw body ","if(method === 'POST' || method === 'PUT') {","    // Make sure JSON file has no tabs, spaces or new lines (uglify JSON)","    payload.push(JSON.stringify(JSON.parse(request.data)));","}","","console.log('Request signature payload', payload);","","// Generating hex for request signature","const hash = CryptoJS.HmacSHA256(payload.join(','), pm.environment.get('OAUTH_CLIENT_SECRET'));","const signature = CryptoJS.enc.Hex.stringify(hash);","","// Setting results as environment variables","pm.environment.set(\"X_REQUEST_SIGNATURE\", signature);","pm.environment.set(\"X_REQUEST_TIMESTAMP\", timestamp);","",""],"type":"text/javascript"}}],"id":"90431e5b-eb81-4bc5-ba40-2579e9c6969a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"<p>The request signature</p>\n","key":"X-Request-Signature","type":"text","value":"{{X_REQUEST_SIGNATURE}}"},{"description":"<p>The request timestamp</p>\n","key":"X-Request-Timestamp","type":"text","value":"{{X_REQUEST_TIMESTAMP}}"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"authorization\",\n  \"type\": \"card\",\n  \"asset\": \"BRLP\",\n  \"amount\": \"20.00\",\n  \"walletId\": \"360fcfbf-58b0-43b1-ba08-44f06de5db85\",\n  \"transitoryAccountType\": \"card_transaction\",\n  \"additionalData\": {\n    \"merchantName\": \"TEST\",\n    \"merchantCode\": \"TEST\",\n    \"raw\": {}\n  }\n}\n"},"url":"{{API_BASE_URL}}/transactions/authorize","description":"<p>Authorizes a new transaction for a given wallet.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["transactions","authorize"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"90431e5b-eb81-4bc5-ba40-2579e9c6969a"},{"name":"/transactions/authorize (settlement)","event":[{"listen":"prerequest","script":{"id":"8ad75dc3-5b54-46d3-9b81-b382681376d1","exec":["// Basic request data","const timestamp = Date.now();","const method = request.method.toUpperCase();","const url = request.url.split(\"{{API_BASE_URL}}\")[1];","","// Building request signature payload","const payload = [","    method,","    url,","    timestamp,","];","","// For POST and PUT methods, we must also pass the raw body ","if(method === 'POST' || method === 'PUT') {","    // Make sure JSON file has no tabs, spaces or new lines (uglify JSON)","    payload.push(JSON.stringify(JSON.parse(request.data)));","}","","console.log('Request signature payload', payload);","","// Generating hex for request signature","const hash = CryptoJS.HmacSHA256(payload.join(','), pm.environment.get('OAUTH_CLIENT_SECRET'));","const signature = CryptoJS.enc.Hex.stringify(hash);","","// Setting results as environment variables","pm.environment.set(\"X_REQUEST_SIGNATURE\", signature);","pm.environment.set(\"X_REQUEST_TIMESTAMP\", timestamp);","",""],"type":"text/javascript"}}],"id":"911241f2-d6fd-468a-af5c-4b9eb7dbc37f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"<p>The request signature</p>\n","key":"X-Request-Signature","type":"text","value":"{{X_REQUEST_SIGNATURE}}"},{"description":"<p>The request timestamp</p>\n","key":"X-Request-Timestamp","type":"text","value":"{{X_REQUEST_TIMESTAMP}}"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"settlement\",\n  \"type\": \"card\",\n  \"asset\": \"BRLP\",\n  \"amount\": \"0.50\",\n  \"transactionId\": \"415f63b3-435c-4b74-9b40-b52aa870f19c\",\n  \"walletId\": \"360fcfbf-58b0-43b1-ba08-44f06de5db85\",\n  \"transitoryAccountType\": \"card_transaction\"\n}"},"url":"{{API_BASE_URL}}/transactions/authorize","description":"<p>Settles an authorized transaction(sends it from <code>authorized</code> to <code>executed</code>).</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["transactions","authorize"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"911241f2-d6fd-468a-af5c-4b9eb7dbc37f"},{"name":"/transactions/authorize (refund)","event":[{"listen":"prerequest","script":{"id":"07a67e12-e5aa-40d4-af5f-28dd3c2df190","exec":["// Basic request data","const timestamp = Date.now();","const method = request.method.toUpperCase();","const url = request.url.split(\"{{API_BASE_URL}}\")[1];","","// Building request signature payload","const payload = [","    method,","    url,","    timestamp,","];","","// For POST and PUT methods, we must also pass the raw body ","if(method === 'POST' || method === 'PUT') {","    // Make sure JSON file has no tabs, spaces or new lines (uglify JSON)","    payload.push(JSON.stringify(JSON.parse(request.data)));","}","","console.log('Request signature payload', payload);","","// Generating hex for request signature","const hash = CryptoJS.HmacSHA256(payload.join(','), pm.environment.get('OAUTH_CLIENT_SECRET'));","const signature = CryptoJS.enc.Hex.stringify(hash);","","// Setting results as environment variables","pm.environment.set(\"X_REQUEST_SIGNATURE\", signature);","pm.environment.set(\"X_REQUEST_TIMESTAMP\", timestamp);","",""],"type":"text/javascript"}}],"id":"63db190b-b5a9-4b65-945b-816e33f83a38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"<p>The request signature</p>\n","key":"X-Request-Signature","type":"text","value":"{{X_REQUEST_SIGNATURE}}"},{"description":"<p>The request timestamp</p>\n","key":"X-Request-Timestamp","type":"text","value":"{{X_REQUEST_TIMESTAMP}}"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"refund\",\n  \"type\": \"transaction_reversal\",\n  \"asset\": \"BRLP\",\n  \"amount\": \"0.50\",\n  \"transactionId\": \"5ae20f15-33bd-459e-bb60-21bdde488a8f\",\n  \"walletId\": \"360fcfbf-58b0-43b1-ba08-44f06de5db85\"\n}\n"},"url":"{{API_BASE_URL}}/transactions/authorize","description":"<p>Refunds a settled transaction(creates a new transaction of type <code>transaction_reversal</code> reverting the original transaction)</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["transactions","authorize"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"63db190b-b5a9-4b65-945b-816e33f83a38"},{"name":"/transactions/authorize (authorization_reversal)","event":[{"listen":"prerequest","script":{"id":"efc40717-dbcc-43e3-80c3-34bfd770672a","exec":["// Basic request data","const timestamp = Date.now();","const method = request.method.toUpperCase();","const url = request.url.split(\"{{API_BASE_URL}}\")[1];","","// Building request signature payload","const payload = [","    method,","    url,","    timestamp,","];","","// For POST and PUT methods, we must also pass the raw body ","if(method === 'POST' || method === 'PUT') {","    // Make sure JSON file has no tabs, spaces or new lines (uglify JSON)","    payload.push(JSON.stringify(JSON.parse(request.data)));","}","","console.log('Request signature payload', payload);","","// Generating hex for request signature","const hash = CryptoJS.HmacSHA256(payload.join(','), pm.environment.get('OAUTH_CLIENT_SECRET'));","const signature = CryptoJS.enc.Hex.stringify(hash);","","// Setting results as environment variables","pm.environment.set(\"X_REQUEST_SIGNATURE\", signature);","pm.environment.set(\"X_REQUEST_TIMESTAMP\", timestamp);","",""],"type":"text/javascript"}}],"id":"7ff4f0d7-8ffc-41ab-b501-01cb81007cd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"<p>The request signature</p>\n","key":"X-Request-Signature","type":"text","value":"{{X_REQUEST_SIGNATURE}}"},{"description":"<p>The request timestamp</p>\n","key":"X-Request-Timestamp","type":"text","value":"{{X_REQUEST_TIMESTAMP}}"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"authorization_reversal\",\n  \"type\": \"card\",\n  \"asset\": \"BRLP\",\n  \"amount\": \"0.50\",\n  \"transactionId\": \"c5dbbf84-e243-4d02-beb3-3890ec702391\",\n  \"walletId\": \"360fcfbf-58b0-43b1-ba08-44f06de5db85\",\n  \"transitoryAccountType\": \"card_transaction\"\n}"},"url":"{{API_BASE_URL}}/transactions/authorize","description":"<p>Reverts an authorized transaction.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["transactions","authorize"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ff4f0d7-8ffc-41ab-b501-01cb81007cd6"}],"id":"48362cd8-8e4b-43c0-b7f9-78d0385197d0","event":[{"listen":"prerequest","script":{"id":"3636a6ec-37a3-49f3-a982-d2186682be2f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"471df1ba-ec67-4a38-a3e7-962565713618","type":"text/javascript","exec":[""]}}],"_postman_id":"48362cd8-8e4b-43c0-b7f9-78d0385197d0","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Transactions","item":[{"name":"/transactions/:id","id":"1a7fa243-07c7-414f-83bb-fffa440f6cff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/transactions/:id","description":"<p>Gets a transaction based on its id.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["transactions",":id"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"description":{"content":"<p>The transaction id</p>\n","type":"text/plain"},"type":"any","value":"47ac218e-0c4d-498d-9181-51cf240122fc","key":"id"}]}},"response":[],"_postman_id":"1a7fa243-07c7-414f-83bb-fffa440f6cff"},{"name":"/transactions/:transactionId/refund","event":[{"listen":"prerequest","script":{"id":"d0789b57-1002-4ae8-9ffe-1acec8028d0d","exec":["// Basic request data","const timestamp = Date.now();","const method = request.method.toUpperCase();","const url = request.url.split(\"{{API_BASE_URL}}\")[1];","","// Building request signature payload","const payload = [","    method,","    url,","    timestamp,","];","","// For POST and PUT methods, we must also pass the raw body ","if(method === 'POST' || method === 'PUT') {","    // Make sure JSON file has no tabs, spaces or new lines (uglify JSON)","    payload.push(JSON.stringify(JSON.parse(request.data)));","}","","console.log('Request signature payload', payload);","","// Generating hex for request signature","const hash = CryptoJS.HmacSHA256(payload.join(','), pm.environment.get('OAUTH_CLIENT_SECRET'));","const signature = CryptoJS.enc.Hex.stringify(hash);","","// Setting results as environment variables","pm.environment.set(\"X_REQUEST_SIGNATURE\", signature);","pm.environment.set(\"X_REQUEST_TIMESTAMP\", timestamp);","",""],"type":"text/javascript"}}],"id":"c37b80b2-8521-417f-a794-07d84fabbd3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Request-Signature","value":"{{X_REQUEST_SIGNATURE}}","description":"<p>The request signature</p>\n","type":"text"},{"key":"X-Request-Timestamp","value":"{{X_REQUEST_TIMESTAMP}}","description":"<p>The request timestamp</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reasonCode\": \"10\",\n    \"reason\": \"Distrato\",\n    \"amount\": \"55.00\"\n}"},"url":"{{API_BASE_URL}}/transactions/:transactionId/refund","description":"<p>Sends a new payment in the platform, registering it in the Stellar blockchain.</p>\n","urlObject":{"path":["transactions",":transactionId","refund"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"type":"string","value":"","key":"transactionId"}]}},"response":[],"_postman_id":"c37b80b2-8521-417f-a794-07d84fabbd3c"}],"id":"8b73ee16-a534-4ac2-891c-5052e9c80a6c","_postman_id":"8b73ee16-a534-4ac2-891c-5052e9c80a6c","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}}],"id":"5b480123-0836-423a-af20-6f5c37ae36c3","description":"<blockquote>\n<p>Here all the same endpoints listed are displayed but in a raw view without grouping by product</p>\n</blockquote>\n","_postman_id":"5b480123-0836-423a-af20-6f5c37ae36c3","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"User","item":[{"name":"Consumer","item":[{"name":"Invoice","item":[{"name":"/users/:userId/invoices/:invoiceId","id":"c25a6f3f-bcf2-41cf-a3bf-cd2b79f34a28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/users/:userId/invoices/:invoiceId","description":"<p>Retrieves informations about a specific invoice</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["users",":userId","invoices",":invoiceId"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"type":"string","value":"","key":"userId"},{"type":"string","value":"","key":"invoiceId"}]}},"response":[{"id":"f3b4fe44-ceff-46e6-9a4a-d4f6a3c079a7","name":"200 (OK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/consumers/:userId/invoices/:id","host":["{{API_BASE_URL}}"],"path":["consumers",":userId","invoices",":id"],"variable":[{"key":"userId","type":"string","value":"25490c3e-eb90-4247-8cf7-d79f28d518cf"},{"key":"id","value":"current"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-API-Version","value":"1.9.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Date","value":"Fri, 24 Jan 2020 20:03:04 GMT"},{"key":"X-RateLimit-Reset","value":"1579896229"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1195"},{"key":"ETag","value":"W/\"4ab-0s+/sqS+MPJRTrJ0Yj2GXUDKAL8\""},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"settledEntriesBalance\": \"0.00\",\n    \"pendingEntriesBalance\": \"0.00\",\n    \"totalSettledDebits\": \"0.000000\",\n    \"totalPendingDebits\": \"0.000000\",\n    \"totalSettledCredits\": \"0.000000\",\n    \"totalPendingCredits\": \"0.000000\",\n    \"current\": true,\n    \"status\": \"active\",\n    \"closureScheduledFor\": \"2020-02-11T01:59:59.999Z\",\n    \"startedAt\": \"2020-01-24T19:51:06.921Z\",\n    \"updatedAt\": \"2020-01-24T19:51:07.080Z\",\n    \"createdAt\": \"2020-01-24T19:51:07.080Z\",\n    \"id\": \"11526911-d2df-4a6f-b509-3d2998bcd850\",\n    \"contractor\": {\n        \"id\": \"25490c3e-eb90-4247-8cf7-d79f28d518cf\",\n        \"name\": \"Leandro Alvarez Lovato\",\n        \"firstName\": \"Leandro Alvarez\",\n        \"lastName\": \"Lovato\",\n        \"email\": \"fonseca@creditas.com.br\",\n        \"role\": \"consumer\",\n        \"twoFactorRequired\": false,\n        \"updatedAt\": \"2020-01-24T19:50:09.448Z\",\n        \"createdAt\": \"2020-01-24T19:50:09.448Z\"\n    },\n    \"periods\": [\n        {\n            \"settledEntriesBalance\": \"0.00\",\n            \"pendingEntriesBalance\": \"0.00\",\n            \"totalSettledDebits\": \"0.000000\",\n            \"totalPendingDebits\": \"0.000000\",\n            \"totalSettledCredits\": \"0.000000\",\n            \"totalPendingCredits\": \"0.000000\",\n            \"current\": true,\n            \"status\": \"active\",\n            \"closureScheduledFor\": \"2020-01-26T01:59:59.999Z\",\n            \"startedAt\": \"2020-01-24T19:51:06.921Z\",\n            \"updatedAt\": \"2020-01-24T19:51:07.084Z\",\n            \"createdAt\": \"2020-01-24T19:51:07.084Z\",\n            \"id\": \"074b053c-c414-47a0-9fd6-ce5a23eb79b8\",\n            \"entries\": []\n        }\n    ]\n}"}],"_postman_id":"c25a6f3f-bcf2-41cf-a3bf-cd2b79f34a28"}],"id":"1e7a6dd8-8711-458c-832a-9fee328424ed","_postman_id":"1e7a6dd8-8711-458c-832a-9fee328424ed","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}}],"id":"7ca72978-4c0d-4cd4-8384-4d672412d474","event":[{"listen":"prerequest","script":{"id":"8a9b9c70-f413-44b1-9ced-4c02476e6aa7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"36f6e634-f60d-4d4f-8008-9e3f0ea4d229","type":"text/javascript","exec":[""]}}],"_postman_id":"7ca72978-4c0d-4cd4-8384-4d672412d474","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"/users/:id/invoices","id":"bd63e3f3-ef35-4d71-bebb-f46fb67edfc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/consumers/:userId/invoices","description":"<p>Lists all invoices from a given user ordered by startedAt.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":userId","invoices"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"ea9912e9-2fc6-4aa9-8ae9-c7b3d052763b","description":{"content":"<p>The user's UUID.</p>\n","type":"text/plain"},"type":"string","value":"{{USER_ID}}","key":"userId"}]}},"response":[{"id":"87a6bc31-8a4b-41e6-8158-f8036a719ca7","name":"200 (OK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{API_BASE_URL}}/users/:id/invoices","host":["{{API_BASE_URL}}"],"path":["users",":id","invoices"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-API-Version","value":"1.9.0"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Date","value":"Fri, 24 Jan 2020 20:03:04 GMT"},{"key":"X-RateLimit-Reset","value":"1579896229"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Expose-Headers","value":"x-data-length,x-data-skip,x-data-limit,x-oauth-bearer-expiration,x-oauth-bearer-scope"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1195"},{"key":"ETag","value":"W/\"4ab-0s+/sqS+MPJRTrJ0Yj2GXUDKAL8\""},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"settledEntriesBalance\": \"0.0000000\",\n    \"pendingEntriesBalance\": \"-14.0000000\",\n    \"totalSettledDebits\": \"0.0000000\",\n    \"totalPendingDebits\": \"14.0000000\",\n    \"totalSettledCredits\": \"0.0000000\",\n    \"totalPendingCredits\": \"0.0000000\",\n    \"current\": true,\n    \"status\": \"closing\",\n    \"closureScheduledFor\": \"2020-06-01T02:59:59.999Z\",\n    \"startedAt\": \"2020-05-30T17:32:06.544Z\",\n    \"updatedAt\": \"2020-05-31T15:51:44.702Z\",\n    \"createdAt\": \"2020-05-30T17:32:06.662Z\",\n    \"id\": \"eb24cf10-32b9-43d7-9988-37efd957fd73\",\n    \"contractor\": {\n        \"id\": \"0244c9f1-2c63-47ef-a50c-fab44f1f23cb\",\n        \"name\": \"Teste Mediador\",\n        \"firstName\": \"Teste\",\n        \"lastName\": \"Mediador\",\n        \"email\": \"teste@mediador.com.br\",\n        \"role\": \"mediator\",\n        \"twoFactorRequired\": false,\n        \"updatedAt\": \"2020-05-30T17:28:27.371Z\",\n        \"createdAt\": \"2020-05-30T17:28:27.377Z\"\n    },\n    \"periods\": [\n        {\n            \"settledEntriesBalance\": \"0.0000000\",\n            \"pendingEntriesBalance\": \"-14.0000000\",\n            \"totalSettledDebits\": \"0.0000000\",\n            \"totalPendingDebits\": \"14.0000000\",\n            \"totalSettledCredits\": \"0.0000000\",\n            \"totalPendingCredits\": \"0.0000000\",\n            \"current\": false,\n            \"status\": \"closed\",\n            \"closedAt\": \"2020-05-31T15:51:14.240Z\",\n            \"closureScheduledFor\": \"2020-05-31T15:51:13.417Z\",\n            \"startedAt\": \"2020-05-30T17:32:06.544Z\",\n            \"updatedAt\": \"2020-05-31T15:51:14.404Z\",\n            \"createdAt\": \"2020-05-30T17:32:06.672Z\",\n            \"id\": \"7bb90e59-8ac7-492e-8e9b-7587a059431e\",\n            \"entries\": [\n                {\n                    \"id\": \"97d274ed-2074-4449-9f23-c7d91e8a24fd\",\n                    \"status\": \"pending\",\n                    \"additionalData\": {\n                        \"sourceTransaction\": {\n                            \"operationDate\": \"2020-05-31T15:04:39.248Z\",\n                            \"user\": {\n                                \"twoFactorRequired\": false,\n                                \"updatedAt\": \"2020-05-30T17:32:56.862Z\",\n                                \"firstName\": \"John\",\n                                \"createdAt\": \"2020-05-30T17:32:56.862Z\",\n                                \"lastName\": \"Doe\",\n                                \"domain\": {\n                                    \"role\": \"default\",\n                                    \"name\": \"Default Domain\",\n                                    \"id\": \"bdb0088d-ffb9-455a-b2f4-93fced075b4d\"\n                                },\n                                \"email\": \"john2@company.com\",\n                                \"role\": \"consumer\",\n                                \"name\": \"John Doe\",\n                                \"id\": \"a9becfe5-031c-4212-982d-aa6f9f496e6c\"\n                            }\n                        },\n                        \"chargeback\": false\n                    },\n                    \"amount\": \"3.0000000\",\n                    \"operationType\": \"debit\",\n                    \"updatedAt\": \"2020-05-31T15:04:39.964Z\",\n                    \"createdAt\": \"2020-05-31T15:04:39.961Z\",\n                    \"type\": {\n                        \"id\": \"08efbcea-e556-4378-b25f-72ba22b959cd\",\n                        \"service\": {\n                            \"id\": \"66edffe7-3d53-4f26-8c2d-3b144ea09914\",\n                            \"description\": \"Emissão de cartão virtual\",\n                            \"name\": \"Emissão de cartão virtual\",\n                            \"provider\": null,\n                            \"type\": \"virtual_card_issuing\"\n                        },\n                        \"name\": \"Virtual Card Issuing\"\n                    }\n                },\n                {\n                    \"id\": \"c45fec8c-cf24-4254-aa6b-63ddc39e8ed6\",\n                    \"status\": \"pending\",\n                    \"additionalData\": {\n                        \"sourceTransaction\": {\n                            \"additionalData\": {},\n                            \"updatedAt\": \"2020-05-31T15:04:18.486Z\",\n                            \"createdAt\": \"2020-05-31T15:04:18.486Z\",\n                            \"payments\": [\n                                {\n                                    \"scheduleFor\": null,\n                                    \"updatedAt\": \"2020-05-31T15:04:18.499Z\",\n                                    \"createdAt\": \"2020-05-31T15:04:18.499Z\",\n                                    \"status\": \"authorized\",\n                                    \"amount\": \"1.23\",\n                                    \"type\": \"transfer\",\n                                    \"id\": \"d66d6948-8faf-4c65-8286-41fcc9d14319\"\n                                },\n                                {\n                                    \"scheduleFor\": null,\n                                    \"updatedAt\": \"2020-05-31T15:04:18.481Z\",\n                                    \"createdAt\": \"2020-05-31T15:04:18.749Z\",\n                                    \"status\": \"settled\",\n                                    \"amount\": \"8.0000000\",\n                                    \"type\": \"service_fee\",\n                                    \"id\": \"4ff95f8b-a915-4441-b915-d3c85e4b980b\"\n                                }\n                            ],\n                            \"source\": {\n                                \"updatedAt\": \"2020-05-30T17:32:57.265Z\",\n                                \"createdAt\": \"2020-05-30T17:32:57.265Z\",\n                                \"stellar\": {\n                                    \"publicKey\": \"GAGXZN77TLEYYSPYONBH52734U6TCVXCU2RGL2MWZ2Q6ZRH5SODWMCFS\"\n                                },\n                                \"id\": \"e4baa458-deae-43ff-8542-941fe59993c5\"\n                            },\n                            \"type\": \"payment\",\n                            \"id\": \"def9ee2e-5896-4b67-9ab5-f2a0f560677a\"\n                        },\n                        \"chargeback\": false,\n                        \"sourceId\": \"def9ee2e-5896-4b67-9ab5-f2a0f560677a\"\n                    },\n                    \"amount\": \"4.0000000\",\n                    \"operationType\": \"debit\",\n                    \"updatedAt\": \"2020-05-31T15:04:27.299Z\",\n                    \"createdAt\": \"2020-05-31T15:04:27.295Z\",\n                    \"type\": {\n                        \"id\": \"7a6667e4-cc3b-469f-8cbf-ec523113ded0\",\n                        \"service\": {\n                            \"id\": \"01bad2ca-5cf3-44d1-9c2f-8860fdef36d7\",\n                            \"description\": \"Transferência\",\n                            \"name\": \"Transferência\",\n                            \"provider\": null,\n                            \"type\": \"transfer\"\n                        },\n                        \"name\": \"P2P\"\n                    }\n                },\n                {\n                    \"id\": \"81631430-b79a-4348-b7dc-3659de7dd6e9\",\n                    \"status\": \"pending\",\n                    \"additionalData\": {\n                        \"sourceTransaction\": {\n                            \"operationDate\": \"2020-05-31T15:02:36.090Z\",\n                            \"user\": {\n                                \"twoFactorRequired\": false,\n                                \"updatedAt\": \"2020-05-30T17:32:56.862Z\",\n                                \"firstName\": \"John\",\n                                \"createdAt\": \"2020-05-30T17:32:56.862Z\",\n                                \"lastName\": \"Doe\",\n                                \"domain\": {\n                                    \"role\": \"default\",\n                                    \"name\": \"Default Domain\",\n                                    \"id\": \"bdb0088d-ffb9-455a-b2f4-93fced075b4d\"\n                                },\n                                \"email\": \"john2@company.com\",\n                                \"role\": \"consumer\",\n                                \"name\": \"John Doe\",\n                                \"id\": \"a9becfe5-031c-4212-982d-aa6f9f496e6c\"\n                            }\n                        },\n                        \"chargeback\": false\n                    },\n                    \"amount\": \"3.0000000\",\n                    \"operationType\": \"debit\",\n                    \"updatedAt\": \"2020-05-31T15:03:37.771Z\",\n                    \"createdAt\": \"2020-05-31T15:03:37.767Z\",\n                    \"type\": {\n                        \"id\": \"08efbcea-e556-4378-b25f-72ba22b959cd\",\n                        \"service\": {\n                            \"id\": \"66edffe7-3d53-4f26-8c2d-3b144ea09914\",\n                            \"description\": \"Emissão de cartão virtual\",\n                            \"name\": \"Emissão de cartão virtual\",\n                            \"provider\": null,\n                            \"type\": \"virtual_card_issuing\"\n                        },\n                        \"name\": \"Virtual Card Issuing\"\n                    }\n                },\n                {\n                    \"id\": \"c664b79f-b763-48c0-9802-e07d2123ec7f\",\n                    \"status\": \"pending\",\n                    \"additionalData\": {\n                        \"sourceTransaction\": {\n                            \"additionalData\": {},\n                            \"updatedAt\": \"2020-05-31T14:51:43.770Z\",\n                            \"createdAt\": \"2020-05-31T14:51:43.770Z\",\n                            \"payments\": [\n                                {\n                                    \"scheduleFor\": null,\n                                    \"updatedAt\": \"2020-05-31T14:51:43.783Z\",\n                                    \"createdAt\": \"2020-05-31T14:51:43.783Z\",\n                                    \"status\": \"authorized\",\n                                    \"amount\": \"1.23\",\n                                    \"type\": \"transfer\",\n                                    \"id\": \"3eab21cd-8d8f-4927-aca3-21bb2b12342b\"\n                                },\n                                {\n                                    \"scheduleFor\": null,\n                                    \"updatedAt\": \"2020-05-31T14:51:43.766Z\",\n                                    \"createdAt\": \"2020-05-31T14:51:43.831Z\",\n                                    \"status\": \"settled\",\n                                    \"amount\": \"8.0000000\",\n                                    \"type\": \"service_fee\",\n                                    \"id\": \"efe81a48-ea83-4fb2-90c0-7d2a48d9bd71\"\n                                }\n                            ],\n                            \"source\": {\n                                \"updatedAt\": \"2020-05-30T17:32:57.265Z\",\n                                \"createdAt\": \"2020-05-30T17:32:57.265Z\",\n                                \"stellar\": {\n                                    \"publicKey\": \"GAGXZN77TLEYYSPYONBH52734U6TCVXCU2RGL2MWZ2Q6ZRH5SODWMCFS\"\n                                },\n                                \"id\": \"e4baa458-deae-43ff-8542-941fe59993c5\"\n                            },\n                            \"type\": \"payment\",\n                            \"id\": \"a0936d87-7fee-4f8f-87ba-f47c50c7a019\"\n                        },\n                        \"chargeback\": false,\n                        \"sourceId\": \"a0936d87-7fee-4f8f-87ba-f47c50c7a019\"\n                    },\n                    \"amount\": \"4.0000000\",\n                    \"operationType\": \"debit\",\n                    \"updatedAt\": \"2020-05-31T14:51:45.331Z\",\n                    \"createdAt\": \"2020-05-31T14:51:45.326Z\",\n                    \"type\": {\n                        \"id\": \"7a6667e4-cc3b-469f-8cbf-ec523113ded0\",\n                        \"service\": {\n                            \"id\": \"01bad2ca-5cf3-44d1-9c2f-8860fdef36d7\",\n                            \"description\": \"Transferência\",\n                            \"name\": \"Transferência\",\n                            \"provider\": null,\n                            \"type\": \"transfer\"\n                        },\n                        \"name\": \"P2P\"\n                    }\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"bd63e3f3-ef35-4d71-bebb-f46fb67edfc4"}],"id":"04dacf99-028b-4729-abb8-7c834d3c4ccf","_postman_id":"04dacf99-028b-4729-abb8-7c834d3c4ccf","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"[TSHOOT] Core","item":[{"name":"Re-send to queue","id":"d8f84fe5-486f-41d2-83c3-e9029b4e9b88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\n}"},"url":"{{API_BASE_URL}}/consumers/:id","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["consumers",":id"],"host":["{{API_BASE_URL}}"],"query":[{"disabled":true,"description":{"content":"<p>Remove the failed state and send the user back to the processing queue</p>\n","type":"text/plain"},"key":"retry","value":"true"}],"variable":[{"description":{"content":"<p>userID (with empty body)</p>\n","type":"text/plain"},"type":"any","value":"8516d33e-6a30-4118-93f2-5e2d14849d01","key":"id"}]}},"response":[],"_postman_id":"d8f84fe5-486f-41d2-83c3-e9029b4e9b88"},{"name":"Retry on queue","id":"76392022-5566-4d15-baf1-3d767d657f0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"user\": \"81ec6550-3e09-4339-9139-11cc9ba849e8\",\n\t\"retry\": true //only if states = failed\n\t\n}"},"url":"{{API_BASE_URL}}/queues/users","description":"<p>Addsan User to the queue.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["queues","users"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"76392022-5566-4d15-baf1-3d767d657f0a"}],"id":"20fdf0ef-f430-4ac4-b1d7-0eabbe811b4f","_postman_id":"20fdf0ef-f430-4ac4-b1d7-0eabbe811b4f","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"Boleto NOVO","item":[{"name":"Payment","item":[{"name":"Validate a Boleto","id":"904e64fb-485e-47aa-b42f-255d8f37438b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/boletos/payment/validate/999999999999900000000","description":"<p>There are 2 types of Boletos that can be paid on the platform. Boletos issued by banks and Boletos issued by concessionaires.</p>\n<p><strong>Boletos issued by banks</strong></p>\n<ul>\n<li>These are Boletos issued by banks, or financial institutions, with a fixed amount, and a pre-defined payment date. Ex: Bradesco, Neon, Nu Bank.</li>\n</ul>\n<p><strong>Boletos issued by concessionaries</strong></p>\n<ul>\n<li>These are Boletos issued by service concessionaires. Services such as: Water bills, electricity bills, gas bills.<blockquote>\n<p>NOTE: Boleto payment services from concessionaires are still under development. We will inform you when this service is available.</p>\n</blockquote>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["boletos","payment","validate","999999999999900000000"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"38d0ba7d-d740-4f8a-9d1d-d82d9236c2eb","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source\": \"80349602-ad67-4737-a06b-e9918b51a38e\",\n    \"digitableLine\": \"65590.00002 00442.500005 36134.737000 3 85860000000501\",\n    \"amount\": \"5.01\",\n    \"asset\": \"BRLP\", //asset ROOT\n    \"extra\": {}\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/boletos/payment/validate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"paymentInfo\": {\n    \"traders\": {\n      \"recipient\": \"BIT CAPITAL LTDA\",\n      \"recipientDocument\": \"00.079.725/0001-00\",\n      \"payerDocument\": \"000.189.518-00\",\n      \"payerName\": \"Nome\"\n    },\n    \"expiresAt\": \"2021-10-15T00:00:00.000Z\",\n    \"totalAmount\": 7.13,\n    \"amountDetails\": {\n      \"calculationDate\": \"2021-02-07T00:00:00.000Z\",\n      \"discount\": 0,\n      \"fineAmount\": 0,\n      \"interestAmount\": 0,\n      \"paymentAmountUpdated\": 7.13,\n      \"totalAmount\": 7.13\n    },\n    \"digitableLine\": \"21890010070384534680236877088389787740000000713\",\n    \"nextBusinessDay\": null,\n    \"paymentDeadline\": \"2021-12-14T00:00:00.000Z\",\n    \"allowChangeValue\": false\n  }\n}"}],"_postman_id":"904e64fb-485e-47aa-b42f-255d8f37438b"},{"name":"Payment proof","id":"81e19fa5-5d54-4fbf-a862-343b616eb347","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{API_BASE_URL}}/boletos/payment/payment-proof/999999999999900000000","description":"<p>There are 2 types of Boletos that can be paid on the platform. Boletos issued by banks and Boletos issued by concessionaires.</p>\n<p><strong>Boletos issued by banks</strong></p>\n<ul>\n<li>These are Boletos issued by banks, or financial institutions, with a fixed amount, and a pre-defined payment date. Ex: Bradesco, Neon, Nu Bank.</li>\n</ul>\n<p><strong>Boletos issued by concessionaries</strong></p>\n<ul>\n<li>These are Boletos issued by service concessionaires. Services such as: Water bills, electricity bills, gas bills.<blockquote>\n<p>NOTE: Boleto payment services from concessionaires are still under development. We will inform you when this service is available.</p>\n</blockquote>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["boletos","payment","payment-proof","999999999999900000000"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"6ca8e65c-3f4b-4f47-b282-cfa227ad3c01","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source\": \"80349602-ad67-4737-a06b-e9918b51a38e\",\n    \"digitableLine\": \"65590.00002 00442.500005 36134.737000 3 85860000000501\",\n    \"amount\": \"5.01\",\n    \"asset\": \"BRLP\", //asset ROOT\n    \"extra\": {}\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/boletos/payment/validate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"paymentInfo\": {\n    \"traders\": {\n      \"recipient\": \"NEON PAGAMENTOS S.A.\",\n      \"recipientDocument\": \"20.855.875/0001-82\",\n      \"payerDocument\": \"111.222.333-44\",\n      \"payerName\": \"Nome Do Emissor Do Boleto\"\n    },\n    \"expiresAt\": \"2021-04-10T00:00:00.000Z\",\n    \"totalAmount\": 5.01,\n    \"amountDetails\": {\n      \"calculationDate\": \"2021-09-02T00:00:00.000Z\",\n      \"discount\": 0,\n      \"fineAmount\": 0,\n      \"interestAmount\": 0,\n      \"paymentAmountUpdated\": 5.01,\n      \"totalAmount\": 5.01\n    },\n    \"digitableLine\": \"65590000020044250000536134737000385860000000501\",\n    \"nextBusinessDay\": null,\n    \"paymentDeadline\": \"2021-04-12T00:00:00.000Z\",\n    \"allowChangeValue\": false\n  }\n}"}],"_postman_id":"81e19fa5-5d54-4fbf-a862-343b616eb347"},{"name":"Pay a Boleto","id":"7d97057f-f68f-497d-899d-f7239912cc37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"source\": \"80349602-ad67-4737-a06b-e9918b51a38e\",\n\t\"digitableLine\": \"65590.00002 00442.500005 36134.737000 3 85860000000501\",\n\t\"amount\": \"5.01\",\n\t\"asset\": \"BRLP\", //asset ROOT\n\t\"extra\": {}\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/boletos/payment/pay","description":"<p>There are 2 types of Boletos that can be paid on the platform. Boletos issued by banks and Boletos issued by concessionaires.</p>\n<p><strong>Boletos issued by banks</strong></p>\n<ul>\n<li>These are Boletos issued by banks, or financial institutions, with a fixed amount, and a pre-defined payment date. Ex: Bradesco, Neon, Nu Bank.</li>\n</ul>\n<p><strong>Boletos issued by concessionaries</strong></p>\n<ul>\n<li>These are Boletos issued by service concessionaires. Services such as: Water bills, electricity bills, gas bills.<blockquote>\n<p>NOTE: Boleto payment services from concessionaires are still under development. We will inform you when this service is available.</p>\n</blockquote>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["boletos","payment","pay"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"f3e13bc8-1a38-411c-97b4-2f02bbd6e787","name":"Not enough money","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source\": \"80349602-ad67-4737-a06b-e9918b51a38e\",\n    \"digitableLine\": \"65590.00002 00442.500005 36134.737000 3 85860000000501\",\n    \"amount\": \"5.01\",\n    \"asset\": \"BRLP\", //asset ROOT\n    \"extra\": {}\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/boletos/pay"},"status":"Not enough balance","code":412,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 412,\n    \"message\": \"[412] User does not have enough balance. (stackId: aabc2004-2b67-49f8-88af-6ecd79dcd9bb)\",\n    \"stackId\": \"aabc2004-2b67-49f8-88af-6ecd79dcd9bb\",\n    \"details\": {\n        \"assets\": [\n            \"BRLP\"\n        ]\n    }\n}"},{"id":"301517f4-3bac-4380-a746-dba2cda132dd","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source\": \"80349602-ad67-4737-a06b-e9918b51a38e\",\n    \"digitableLine\": \"65590.00002 00442.500005 36134.737000 3 85860000000501\",\n    \"amount\": \"5.01\",\n    \"asset\": \"BRLP\", //asset ROOT\n    \"extra\": {}\n}","options":{"raw":{"language":"json"}}},"url":"{{API_BASE_URL}}/boletos/pay"},"status":"Not enough balance","code":412,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 412,\n    \"message\": \"[412] User does not have enough balance. (stackId: aabc2004-2b67-49f8-88af-6ecd79dcd9bb)\",\n    \"stackId\": \"aabc2004-2b67-49f8-88af-6ecd79dcd9bb\",\n    \"details\": {\n        \"assets\": [\n            \"BRLP\"\n        ]\n    }\n}"}],"_postman_id":"7d97057f-f68f-497d-899d-f7239912cc37"}],"id":"f2b27682-aa07-4f19-a7e4-a4cd3a431d6a","_postman_id":"f2b27682-aa07-4f19-a7e4-a4cd3a431d6a","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}}],"id":"7f4995a0-13ac-48bf-9330-99aff2611476","description":"<p>There's no way to simulate a received Boleto in tests environments. To solve this, here we provide some examples of payload received\n<br /> </p>\n<h4 id=\"examples-of-boleto-received\">Examples of Boleto received</h4>\n<ul>\n<li>is a payment with type <code>boleto_in</code></li>\n<li>all <code>boleto_in</code>  is a boleto emited by endpoint <strong>\"Emit a Boleto for recharge\"</strong></li>\n<li>all payments are coming from <code>Bit Capital Issuer</code> that means it comes from other financial institution (outside platform);</li>\n</ul>\n<br />\n\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"banking\": null,\n    \"payments\": [\n        {\n            \"status\": \"settled\",\n            \"type\": \"boleto_in\",\n            \"destination\": {\n                \"id\": \"80349602-ad67-4737-a06b-e9918b51a38e\",\n                \"stellar\": {\n                    \"publicKey\": \"GBIMVYYXYLNZ5ZW5WVL36MHG2G26VPOBEQ5KDGIMCDGXOKFRCBSSDUTZ\"\n                },\n                \"updatedAt\": \"2020-09-16T19:38:59.663Z\",\n                \"createdAt\": \"2020-09-16T19:38:59.663Z\",\n                \"deletedAt\": null,\n                \"user\": {\n                    \"id\": \"c07bd96c-59aa-4677-8bb6-9765a83f205d\",\n                    \"name\": \"Bruno da Silva Vieira\",\n                    \"firstName\": \"Bruno da Silva\",\n                    \"lastName\": \"Vieira\",\n                    \"email\": \"bruno.vieira@outlook.com\",\n                    \"role\": \"consumer\",\n                    \"twoFactorRequired\": false,\n                    \"updatedAt\": \"2020-10-05T14:30:33.069Z\",\n                    \"createdAt\": \"2020-09-16T19:38:58.753Z\"\n                },\n                \"additionalData\": {}\n            },\n            \"amount\": \"5.01\",\n            \"asset\": {\n                \"id\": \"98a4e3eb-cfef-4f64-b7c8-fcfe29e6378f\",\n                \"name\": \"BRL BS2\",\n                \"code\": \"BRLB\",\n                \"root\": false,\n                \"provider\": \"bs2\",\n                \"required\": false,\n                \"updatedAt\": \"2020-08-05T23:53:47.775Z\",\n                \"createdAt\": \"2020-08-05T23:53:47.775Z\"\n            },\n            \"scheduleFor\": null,\n            \"updatedAt\": \"2021-02-18T10:25:45.554Z\",\n            \"createdAt\": \"2021-02-18T10:25:45.554Z\",\n            \"id\": \"aca994b4-ad3e-4819-b0b5-4106376d5eb9\"\n        }\n    ],\n    \"source\": {\n        \"id\": \"106d6869-d475-4e38-b586-905acd80a720\",\n        \"root\": true,\n        \"stellar\": {\n            \"publicKey\": \"GAGPSIHDVEMMMH55GI3YNNR4KPU4OKZGF3XBOWYRCJWCNZNT4PHVI2DC\"\n        },\n        \"updatedAt\": \"2020-05-05T20:18:03.421Z\",\n        \"createdAt\": \"2020-05-05T20:18:03.421Z\",\n        \"deletedAt\": null,\n        \"user\": {\n            \"id\": \"64698d90-cf84-466a-99a6-63b6214878e9\",\n            \"name\": \"Bit Capital Issuer\",\n            \"firstName\": \"Bit Capital\",\n            \"lastName\": \"Issuer\",\n            \"email\": \"admin@btcore.app\",\n            \"role\": \"admin\",\n            \"twoFactorRequired\": false,\n            \"updatedAt\": \"2020-05-05T20:18:03.397Z\",\n            \"createdAt\": \"2020-05-05T20:18:03.397Z\"\n        },\n        \"additionalData\": {}\n    },\n    \"states\": [\n        {\n            \"additionalData\": {\n                \"pod\": \"production-core-core-api-transaction-workers-997556467-59fqn\"\n            },\n            \"updatedAt\": \"2021-02-18T10:25:52.451Z\",\n            \"createdAt\": \"2021-02-18T10:25:52.451Z\",\n            \"status\": \"notified\",\n            \"id\": \"c85fb1c4-7d29-4fc4-8e71-581d99e61614\"\n        },\n        {\n            \"additionalData\": {\n                \"pod\": \"production-core-core-api-transaction-workers-997556467-lhlz8\"\n            },\n            \"updatedAt\": \"2021-02-18T10:25:51.860Z\",\n            \"createdAt\": \"2021-02-18T10:25:51.860Z\",\n            \"status\": \"executed\",\n            \"id\": \"dc5aab34-d4ea-40c9-af89-27a31c6b37ce\"\n        },\n        {\n            \"additionalData\": {\n                \"authorized\": [],\n                \"pod\": \"production-core-core-api-server-7fcb6dc58b-qwf8h\"\n            },\n            \"updatedAt\": \"2021-02-18T10:25:47.124Z\",\n            \"createdAt\": \"2021-02-18T10:25:45.596Z\",\n            \"status\": \"accepted\",\n            \"id\": \"5052a5bd-2971-42a7-997e-b327cfe59892\"\n        },\n        {\n            \"additionalData\": {\n                \"authorized\": [],\n                \"skipped\": [\n                    {\n                        \"provider\": \"bs2\",\n                        \"payment\": \"aca994b4-ad3e-4819-b0b5-4106376d5eb9\",\n                        \"asset\": \"BRLB\"\n                    }\n                ]\n            },\n            \"updatedAt\": \"2021-02-18T10:25:45.580Z\",\n            \"createdAt\": \"2021-02-18T10:25:45.580Z\",\n            \"status\": \"AUTHORIZED\",\n            \"id\": \"86e38300-5a59-4bb5-80f0-8881b408a370\"\n        },\n        {\n            \"additionalData\": {},\n            \"updatedAt\": \"2021-02-18T10:25:45.546Z\",\n            \"createdAt\": \"2021-02-18T10:25:45.546Z\",\n            \"status\": \"pending\",\n            \"id\": \"1df95a55-1803-43de-91b6-ca283dae2928\"\n        }\n    ],\n    \"updatedAt\": \"2021-02-18T10:25:51.073Z\",\n    \"createdAt\": \"2021-02-18T10:25:45.540Z\",\n    \"additionalData\": {\n        \"externalTransaction\": {\n            \"postbackId\": \"9863f8e4-525e-49a2-aa1e-442dd7c633fd\",\n            \"createdAt\": \"2021-02-18T07:25:42.4938016-03:00\",\n            \"id\": \"c1d8b05c-01b0-4362-a860-7a7500a8b207\"\n        },\n        \"hash\": \"e6264f8b9d5aff8bf1f90367448d8d22628d30f19cffee6aebe8f7cb4e846649\"\n    },\n    \"status\": \"notified\",\n    \"type\": \"payment\",\n    \"id\": \"279a4791-1b16-4224-8f23-39987524526f\"\n}\n\n</code></pre>","_postman_id":"7f4995a0-13ac-48bf-9330-99aff2611476","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}},{"name":"/wallets/:walletId/cards/:cardId/check","id":"c24440dd-6fdb-47ef-8f15-acc8df5694ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"asset\": \"BRLD\",\n\t\"type\": \"password\",\n\t\"value\": \"1235\"\n}"},"url":"{{API_BASE_URL}}/wallets/:walletId/cards/:id/check","description":"<p>Checks if the password or cvv of a given card is correct or not.</p>\n","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}},"urlObject":{"path":["wallets",":walletId","cards",":id","check"],"host":["{{API_BASE_URL}}"],"query":[],"variable":[{"id":"8b2978bf-501d-4230-8fcb-24f70fd956d4","type":"string","value":"","key":"walletId"},{"id":"a633b387-48f6-4193-9260-8435be5ad808","type":"string","value":"b4dc7841-ae88-4107-a607-4b3b3855a465","key":"id"}]}},"response":[{"id":"bb073495-db97-459c-9887-eecf3d3cc28e","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{API_BASE_URL}}/users/:userId/cards/:id/activate","host":["{{API_BASE_URL}}"],"path":["users",":userId","cards",":id","activate"],"variable":[{"key":"userId","value":"9fde3df1-3db3-44d1-a8c4-71d98c339249"},{"key":"id","value":"b4dc7841-ae88-4107-a607-4b3b3855a465"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"1244","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Jul 2018 12:36:46 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"4dc-eWuUU4jWvjbT3soiXFcxLyAyMIo\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"X-Data-Length","value":"4","name":"X-Data-Length","description":"Custom header"},{"key":"X-Data-Limit","value":"25","name":"X-Data-Limit","description":"Custom header"},{"key":"X-Data-Skip","value":"0","name":"X-Data-Skip","description":"Custom header"},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": \"b4dc7841-ae88-4107-a607-4b3b3855a465\",\r\n    \"provider\": \"cards\",\r\n    \"additionalData\": {\r\n        \"cardsId\": \"e300e579-4f10-4b36-b845-456797331584\"\r\n    },\r\n    \"status\": \"available\",\r\n    \"virtual\": false,\r\n    \"holder\": {\r\n        \"id\": \"9fde3df1-3db3-44d1-a8c4-71d98c339249\",\r\n        \"createdAt\": \"2018-07-27T02:04:25.463Z\",\r\n        \"updatedAt\": \"2018-07-27T02:04:25.463Z\",\r\n        \"firstName\": \"John\",\r\n        \"lastName\": \"Connor\",\r\n        \"email\": \"example3@example.com\",\r\n        \"status\": \"active\",\r\n        \"domainId\": \"acc67211-4687-4b12-9f7b-fed395d8a54d\",\r\n        \"domain\": {\r\n            \"id\": \"acc67211-4687-4b12-9f7b-fed395d8a54d\",\r\n            \"name\": \"Bitcapital Test Network\",\r\n            \"role\": \"root\",\r\n            \"slug\": \"testnet\",\r\n            \"settings\": {}\r\n        },\r\n        \"ownedDomainId\": null,\r\n        \"consumer\": {\r\n            \"id\": \"95f1f89c-dac2-46c0-b9f7-044392255d0f\",\r\n            \"createdAt\": \"2018-07-27T02:04:25.463Z\",\r\n            \"updatedAt\": \"2018-07-27T02:04:25.463Z\",\r\n            \"status\": \"pending_documents\",\r\n            \"userId\": \"9fde3df1-3db3-44d1-a8c4-71d98c339249\"\r\n        },\r\n        \"mediator\": null\r\n    },\r\n    \"wallet\": {\r\n        \"id\": \"1445c455-3e06-4b63-af04-fcc246255d93\",\r\n        \"provider\": \"cards\",\r\n        \"stellar\": {\r\n            \"publicKey\": \"GDOQ3GR2KPWBA33CLMQQSXLSFOVVSKANVLB5XNI5AAKXOTNLE4IR7FGC\"\r\n        },\r\n        \"assets\": [\r\n            {\r\n                \"id\": \"d963ccc5-615b-4a7c-b20c-2b0738e48d0a\",\r\n                \"name\": \"BRL Digital\",\r\n                \"code\": \"BRLD\",\r\n                \"updatedAt\": \"2018-12-03T21:01:48.914Z\",\r\n                \"createdAt\": \"2018-12-03T21:01:48.914Z\"\r\n            }\r\n        ],\r\n        \"issuedAssets\": [\r\n            {\r\n                \"id\": \"d963ccc5-615b-4a7c-b20c-2b0738e48d0a\",\r\n                \"name\": \"BRL Digital\",\r\n                \"code\": \"BRLD\",\r\n                \"updatedAt\": \"2018-12-03T21:01:48.914Z\",\r\n                \"createdAt\": \"2018-12-03T21:01:48.914Z\"\r\n            }\r\n        ],\r\n        \"user\": {\r\n            \"id\": \"9fde3df1-3db3-44d1-a8c4-71d98c339249\",\r\n            \"createdAt\": \"2018-07-27T02:04:25.463Z\",\r\n            \"updatedAt\": \"2018-07-27T02:04:25.463Z\",\r\n            \"firstName\": \"John\",\r\n            \"lastName\": \"Connor\",\r\n            \"email\": \"example3@example.com\",\r\n            \"status\": \"active\",\r\n            \"domainId\": \"acc67211-4687-4b12-9f7b-fed395d8a54d\",\r\n            \"domain\": {\r\n                \"id\": \"acc67211-4687-4b12-9f7b-fed395d8a54d\",\r\n                \"name\": \"Bitcapital Test Network\",\r\n                \"role\": \"root\",\r\n                \"slug\": \"testnet\",\r\n                \"settings\": {}\r\n            },\r\n            \"ownedDomainId\": null,\r\n            \"consumer\": {\r\n                \"id\": \"95f1f89c-dac2-46c0-b9f7-044392255d0f\",\r\n                \"createdAt\": \"2018-07-27T02:04:25.463Z\",\r\n                \"updatedAt\": \"2018-07-27T02:04:25.463Z\",\r\n                \"status\": \"pending_documents\",\r\n                \"userId\": \"9fde3df1-3db3-44d1-a8c4-71d98c339249\"\r\n            },\r\n            \"mediator\": null\r\n        },\r\n        \"status\": \"ready\",\r\n        \"createdAt\": \"2018-08-18T23:47:40.131Z\",\r\n        \"updatedAt\": \"2018-08-18T23:47:40.131Z\"\r\n    }\r\n}"}],"_postman_id":"c24440dd-6fdb-47ef-8f15-acc8df5694ff"}],"id":"419ba0e9-e340-48ab-8211-9743b65b68ee","_postman_id":"419ba0e9-e340-48ab-8211-9743b65b68ee","description":"","auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"},"isInherited":true,"source":{"_postman_id":"79fae379-3985-44e7-9b47-def275b99435","id":"79fae379-3985-44e7-9b47-def275b99435","name":"Bit Capital - Documentation","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"token":"{{BC_BEARER_TOKEN}}"}},"event":[{"listen":"prerequest","script":{"id":"843d415f-73d9-4a6f-9cab-4ee15dd9202c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ca848812-a6ff-42df-8235-bf5e1db6abcb","type":"text/javascript","exec":[""]}}],"variable":[{"key":"userID","value":"e377d512-f8db-411b-b388-26d92fa715ce"},{"key":"domainID","value":"5f1953f1-8035-4a58-9390-b456065be79a"},{"key":"walletID","value":"7cc5a5b7-90d6-4540-a544-bb65dd120483"},{"key":"cardID","value":"ff1b61ba-ebe2-4336-b0a1-dcb3ffa646f6"},{"key":"planID","value":"2a0c5aca-110b-4bcb-b8e1-ab0bea73c3d3"},{"key":"subscriptionID","value":"f98ae934-3c19-4669-b096-16b33477d504"},{"key":"serviceID","value":"b57c1726-854f-45a3-949e-4bbb3cfad68d"},{"key":"phoneID","value":"985741e4-9188-49a4-a7a1-b0a7413bfa9f"},{"key":"assetID","value":"249580dc-361d-47bf-8ca5-e96289976008"},{"key":"assetCODE","value":"BRLD"},{"key":"boletoassetCODE","value":"BRLB"},{"key":"boleto_digitable_line","value":"999999999999900000000"}]}