{"info":{"_postman_id":"4467063e-d78b-4b7b-a8ac-c9aa338213c9","name":"AnSpacePay","description":"<html><head></head><body><p>Welcome to AnSpacePay API!<br>In this documentation, you will find all the information on integrating with our API.<br>You can easily integrate withdrawal and deposit functions in your application, offering your customers a secure and reliable transaction experience.</p>\n<h2 id=\"summary\">Summary</h2>\n<ol>\n<li>This manual aims to establish the Security Headers that must be implemented by default for WEB applications. <a href=\"https://doc.anspacepay.com/#a68c9359-72ed-4345-9bf6-a4558a0e274a\">Complete Documentation</a></li>\n</ol>\n<h3 id=\"environment\">Environment</h3>\n<p>In the production environment, calls must be made using the HTTPS protocol.</p>\n<h3 id=\"the-methods-used-for-depositing-and-withdrawing-via-pix-will-be\">The methods used for depositing and withdrawing via Pix will be:</h3>\n<p><a href=\"https://doc.anspacepay.com/#6c896009-0de1-4c9a-aa11-74b7f3fe15e6\">Token</a> - responsible for generating the token used in all requests.</p>\n<p><a href=\"https://doc.anspacepay.com/#68f9c7a9-3cef-4fa8-8eab-1c031b720085\">Deposit</a> - In case of a deposit, our customers must call the <strong>PaymentPix API.</strong></p>\n<p><a href=\"https://doc.anspacepay.com/#cdf22b9e-a978-41a8-ab05-d7bb83a38058\">Withdraw</a> - In case of withdrawal, our customers must call the <strong>TransferPix API.</strong></p>\n<h3 id=\"about-callback-functions\">About callback functions</h3>\n<p><a href=\"https://doc.anspacepay.com/#2e4468c1-f84f-48b4-9b30-5ad04fc70d6a\">Webhook</a> - You can check the callback process of deposit and withdrawal methods.</p>\n<h1 id=\"download-the-collection\">Download the collection</h1>\n<p>You can download our collection to your local environment by clicking on the \"Run in Postman\" button in the upper right corner of the screen.</p>\n<img src=\"https://content.pstmn.io/c1032d83-7e45-4665-9c17-8889ec2c637d/cG9zdG1hbi5wbmc=\" width=\"331\" height=\"127\">\n\n<p>You can use both Postman Web and Postman Desktop.</p>\n<h1 id=\"about-authorization\">About Authorization</h1>\n<p>Before making any request, it is necessary to authenticate through the Token endpoint. <a href=\"https://documenter.getpostman.com/view/26213144/2s93JoxRUa#52f82973-3e52-4871-8660-084754b11485\">Token[POST -&gt; Token]</a></p>\n<h1 id=\"about-ip-authorization\">About IP Authorization</h1>\n<p>To connect with our API in the production environment, it is necessary to inform your IP so that it is released by our firewall. In a SANDBOX environment, it is not necessary.</p>\n<h1 id=\"ips-from-anspace\">IPs from AnSpace</h1>\n<p>Outgoing IPs from which AnSpace can make calls to the partners' API.</p>\n<p><strong>Production</strong></p>\n<p>3.217.158.141<br>100.24.146.217<br>54.235.243.113<br>35.174.203.128<br>44.206.203.196<br>54.207.112.29</p>\n<p><strong>Homologation</strong><br>3.223.125.52</p>\n<p><strong>Sandbox</strong><br>44.198.72.58</p>\n<h1 id=\"about-deposit\">About Deposit</h1>\n<p><strong>Use of deposit methods</strong></p>\n<p>In case of a deposit, our customers must call the <a href=\"https://documenter.getpostman.com/view/26213144/2s93JoxRUa#c24bf481-a191-46b9-a6e6-1206f2019dc7\">PaymentPix API.</a></p>\n<p><strong>Precondition</strong></p>\n<p>- Generation of the access token through the Token folder <a href=\"https://documenter.getpostman.com/view/26213144/2s93JoxRUa#52f82973-3e52-4871-8660-084754b11485\">(Token[POST -&gt; Token])</a></p>\n<p><strong>Request:</strong></p>\n<p>- After generating the token, access a mass deposit, PaymentPix endpoint:</p>\n<p><strong>Headers:</strong></p>\n<p><strong>ApplicationToken</strong> – (Obtained from the Customer Panel integration registration screen.)</p>\n<p><strong>Authorization</strong> - (Bearer + access_token)</p>\n<p><strong>X-Request-Id -</strong></p>\n<p>Optional parameter where the customer can enter a hash code at the time of deposit.</p>\n<p>The value informed in the x-request-id parameter will be encrypted using the applicationtoken as key.<br>The method used for encryption is the HMAC-SHA256 passing two parameters, the first being the value of the x-request-id, and the second the value that comes in the Applicationtoken parameter.</p>\n<p>You can use the site <a href=\"https://www.devglan.com/online-tools/hmac-sha256-online\">https://www.devglan.com/online-tools/hmac-sha256-online</a> to encrypt your token.</p>\n<p>This parameter will be used in callback control on successful operations.</p>\n<p>The x-request-id parameter will be sent in the header of the callback function.</p>\n<p>This field supports values ​​of up to 68 characters.</p>\n<p>Body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"CustomId\": \"\",\n    \"amount\": 100,\n    \"dueDate\": \"30/12/2023\",\n    \"customer\": {\n        \"name\": \"SANDBOX PEOPLE NAME\",\n        \"phoneNumber\": \"+12345678910121314\",\n        \"email\": \"sandbox.people@email.sandbox.com\",\n        \"cpfcnpj\": \"87397163769\",\n        \"bankispb\":\"000000\",\n        \"bankbranch\":\"00000\",\n        \"bankaccount\":\"00000\",\n        \"address\": \"STREET 01, NUMBER 02 - HOUSE 03\",\n        \"neighborhood\": \"NEIGHBORHOOD\",\n        \"city\": \"CITY\",\n        \"state\": \"UF\",\n        \"country\": \"BRAZIL\",\n        \"zipcode\": \"12345678\"\n    },\n    \"ExpirationInMinutes\": \"6\",\n    \"confirmationUrl\": \"https://webhook.site/495472fc-207d-45ae-8c5d-731ec32779d4\"\n}\n\n</code></pre>\n<p><strong>Bank details</strong>:</p>\n<p>Additional information for the deposit process.</p>\n<p><strong>bankispb</strong> (optional): ISPB code of the user's bank.<br><strong>bankbranch</strong> (optional): User's bank branch number.<br><strong>bankaccount</strong> (optional): User's bank account number, without the hyphen, but including the check digit.</p>\n<p><strong>In case of success, confirmation of a deposit is carried out by confirmationUrl</strong></p>\n<p>After making the request, our system will return to the Status Code 200 customer with the payment QRCode.<br>At this time, our system will be waiting for the payment. In case of identified payment, we carry out the processing, confirm, and send Callback to the customer.</p>\n<p>After sending the Callback to the client, we expect the client to return with the code 200 in case of Success. Having content in the body is unnecessary, as we only validate the Status Code.</p>\n<p>If it returns Status Code 400, our system understands that it is critical for the customer's system and in this case, our system will consider it as sent.</p>\n<p>For any code different from 200 and 400, our system will try to send the shipment 20 times, if not successful, our system will finish the shipment. If any callback is missed by the customer our support department can be contacted to resend the webhooks.</p>\n<p>In case of non-payment of the QRCode, we do not have Callback communication.</p>\n<h3 id=\"deposit-status\">Deposit status:</h3>\n<ul>\n<li><p>Pending</p>\n</li>\n<li><p>Canceled</p>\n</li>\n<li><p>Paid</p>\n</li>\n<li><p>Overdue</p>\n</li>\n</ul>\n<h1 id=\"about-withdraw\">About Withdraw</h1>\n<p><strong>Use of the Withdrawal method</strong></p>\n<p>In case of withdrawal, our customers must call the <a href=\"https://documenter.getpostman.com/view/26213144/2s93JoxRUa#5480251f-82ba-4d85-8705-5311712223e0\">TransferPix API.</a></p>\n<p><strong>Precondition:</strong></p>\n<p>- Generation of the access token through the Token folder <a href=\"https://documenter.getpostman.com/view/26213144/2s93JoxRUa#52f82973-3e52-4871-8660-084754b11485\">(Token[POST -&gt; Token])</a></p>\n<p><strong>Requisition:</strong></p>\n<p>- After generating the token, access the Withdraw endpoint TransferPix folder:</p>\n<p><strong>Headers</strong>:</p>\n<p><strong>ApplicationToken</strong> – (Obtained from the Customer Panel integration registration screen.)</p>\n<p><strong>Authorization</strong> - (Bearer + access_token)</p>\n<p><strong>x-request-id (</strong></p>\n<p>Optional parameter where the customer can enter a hash code at the time of withdrawal.</p>\n<p>The value informed in the x-request-id parameter will be encrypted using the applicationtoken as key.<br>The method used for encryption is the<br>HMAC-SHA256 passes two parameters, the first being the value of the x-resquest-id, and the second being the value of the Applicationtoken parameter.</p>\n<p>You can use the site <a href=\"https://www.devglan.com/online-tools/hmac-sha256-online\">https://www.devglan.com/online-tools/hmac-sha256-online</a> to encrypt your token.</p>\n<p>This parameter will be used in callback control on successful operations.</p>\n<p>The x-request-id parameter will be sent in the header of the callback function.</p>\n<p>This field supports values ​​of up to 68 characters.</p>\n<p>Body:''</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"digitalSignature\": \"\",\n\"amount\": 1,\n\"favorecido\": {\n    \"nome\": \"SANDBOX PEOPLE NAME\",\n    \"cpfcnpj\": \"87397163769\",\n    \"chave\": {\n        \"idTipoChavePIX\": 1,\n        \"chavePIX\": \"87397163769\"\n    },\n    \"bankispb\":\"000000\",\n    \"bankbranch\":\"00000\",\n    \"bankaccount\":\"00000\"\n},\n\"confirmationUrl\": \"https://webhook.site/495472fc-207d-45ae-8c5d-731ec32779d4\",\n\"updateUrl\": \"https://webhook.site/bd2f10b5-daa1-4980-87c5-50d38b182a36\"\n\n</code></pre>\n<p>**<br>Bank details**:</p>\n<p>Additional information for the withdrawal process.</p>\n<p><strong>bankispb</strong> (optional): ISPB code of the user's bank.<br><strong>bankbranch</strong> (optional): User's bank branch number.<br><strong>bankaccount</strong> (optional): User's bank account number, without the hyphen, but including the check digit.</p>\n<p>Optional information:**</p>\n<p><strong>In case of success, confirmation of a withdraw is carried out by confirmationUrl. In the event of a reversal, it will be carried out exclusively through the updateUrl.</strong></p>\n<p><strong>Successful payment</strong></p>\n<p>After we receive the withdrawal request and process it asynchronously and wait for the bank to return, if the bank confirms it, we send a Callback confirming the withdrawal. The expected code for them is 200 can be content.</p>\n<p>If it returns Status code 400, our system understands that it is critical to the client's system and in this case, our system considers it as sent.</p>\n<p>For anything other than 200 and 400, our system will try to send the submission 20 times, if unsuccessful, our system will terminate the submission attempt. If any callback is missed by the customer our support department can be contacted to resend the webhooks.</p>\n<p><strong>Payment instability:</strong></p>\n<p>We received the withdrawal request and processed it asynchronously and waited for the bank to return. If the bank returns that it was unable to pay, for example (Destination institution rejected payment, origin institution rejected payment, unstable central bank or other reasons) we return the instability codes:</p>\n<p>**<br>Withdraw:**</p>\n<p>01 - INSTABILITY</p>\n<p>02 - RETURNED TRANSACTION</p>\n<p>03 - REJECTED TRANSACTION</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Download the collection","slug":"download-the-collection"},{"content":"About Authorization","slug":"about-authorization"},{"content":"About IP Authorization","slug":"about-ip-authorization"},{"content":"IPs from AnSpace","slug":"ips-from-anspace"},{"content":"About Deposit","slug":"about-deposit"},{"content":"About Withdraw","slug":"about-withdraw"}],"owner":"34318601","collectionId":"4467063e-d78b-4b7b-a8ac-c9aa338213c9","publishedId":"2sAY545JZ5","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-11-11T20:23:59.000Z"},"item":[{"name":"Security Headers","item":[],"id":"61e133e1-9c96-40bb-b886-24cbd554f54c","description":"<p><strong>Goal:</strong></p>\n<p>This manual aims to establish the Security Headers that must be implemented by default for WEB applications.</p>\n<p>The OWASP Top 10 is a list of the top ten most critical security vulnerabilities in web applications, compiled by the Open Web Application Security Project (OWASP). This best practices guide focuses on HTTP headers to increase application security, considering the risks identified in the OWASP Top 10.</p>\n<p><strong>Scope:</strong></p>\n<p>This manual is applicable to all WEB applications in the AnSpace Pay environment.</p>\n<p><strong>Guidelines:</strong></p>\n<p>In accordance with our Vulnerability Management process, we use the Tenable.io Web App Scanning tool, which is one of the leading tools for tracking scans.<br />Therefore, we used the HTTP Security Header Family plugin as a base to determine the criticality and necessity of implementing Security Headers.</p>\n<p><strong>Security Headers and Mandatory Recommendations:</strong></p>\n<p>Based on criticality, the following Security Headers are mandatory:</p>\n<p><strong>HTTP Strict Transport Security HSTS:</strong></p>\n<p>This header, for security reasons and compliance with scans, must include the value of max-age=31536000 ; includeSubDomains<br />More information can be consulted on the reference pages below:</p>\n<p><a href=\"https://www.tenable.com/plugins/was/98715\">Missing HTTP Strict Transport Security Policy | Tenable® Permissive HTTP Strict Transport Security Policy Detected | Tenable®</a></p>\n<p><strong>Cross-Origin Resource Sharing CORS:</strong></p>\n<p>This header, for security reasons and compliance with scans, must include the mapping of all domains that interact with the request, otherwise the scan points to an insecure configuration.</p>\n<p>More information can be consulted on the reference pages below:</p>\n<p><a href=\"https://www.tenable.com/plugins/was/98983\">Insecure Cross-Origin Resource Sharing Configuration | Tenable® Insecure 'Access-Control-Allow-Origin' Header | Tenable®</a></p>\n<p><strong>Content Security Policy CSP</strong></p>\n<p>This header allows control over the resources the user agent is allowed to load for a given page, essential to prevent scripting attacks.<br />More information can be consulted on the reference pages below:</p>\n<p><a href=\"https://www.tenable.com/plugins/was/112554\">Missing Content Security Policy | Tenable® Permissive Content Security Policy Detected | Tenable®<br />Deprecated Content Security Policy | Tenable®</a></p>\n<p><strong>Content-Type</strong></p>\n<p>This header allows clients to find the best way to render application data.<br />More information can be consulted on the reference pages below:</p>\n<p><a href=\"https://www.tenable.com/plugins/was/98648\">Missing 'Content-Type' Header | Tenable®</a></p>\n<p>Cache-Control:</p>\n<p>This header is used to specify directives for caching mechanisms. It is essential to use the correct directives based on the context of the page, in order to prevent sensitive information (such as passwords, credit cards and personal information) from being stored on the client side and, consequently, from being intercepted by unauthorized persons. authorized.<br />More information can be consulted on the reference pages below:<br /><a href=\"https://www.tenable.com/plugins/was/112553\">Missing 'Cache-Control' Header | Tenable®</a></p>\n<p><strong>X-Content-Type-Options:</strong></p>\n<p>This header is a marker used by the server to indicate that the MIME types sent by the Content-:Type headers should not be altered or followed.<br />More information can be consulted on the reference pages below:<br /><a href=\"https://developer.mozilla.org/pt-BR/docs/Web/HTTP/Headers/X-Content-Type-Options\">X-Content-Type-Options - HTTP | MDN (mozilla.org)</a></p>\n<p><strong>X-Frame-Options</strong></p>\n<p>This header is used to indicate whether or not the browser should render the page in a (en-US), , or (en-US). Sites can use this to prevent click-jacking attacks by ensuring that their content is not embedded on other sites.<br />More information can be consulted on the reference pages below:<br /><a href=\"https://www.tenable.com/plugins/was/98060\">Missing 'X-Frame-Options' Header | Tenable®</a></p>\n<p><strong>HTTP Header Information Disclosure</strong></p>\n<p>This information is not a specific header, but an information security recommendation to disable default headers that indicate server information, an attacker can use this information to take advantage of specific vulnerabilities.<br />More information can be consulted on the reference pages below:<br /><a href=\"https://www.tenable.com/plugins/was/98618\">HTTP Header Information Disclosure | Tenable®</a></p>\n<p><strong>HTTP user-Agent:</strong></p>\n<p>In summary, the User-Agent header can provide useful information about the client accessing the application, but it should be treated with caution. Validate and sanitize User-Agent data and monitor logs for suspicious activity. Don't base security decisions solely on User-Agent and implement other comprehensive security practices to secure your application.<br />More information can be consulted on the reference pages below:<br /><a href=\"https://developer.tenable.com/docs/user-agent-header\">User-Agent Header (tenable.com)</a></p>\n<p><strong>Revision:</strong></p>\n<p>This standard is reviewed annually or as understood by the Information Security manager.</p>\n","_postman_id":"61e133e1-9c96-40bb-b886-24cbd554f54c"},{"name":"Token","item":[{"name":"Token","id":"8a831d73-d555-4f9a-bac3-52814313ee49","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"190626000001","type":"text"},{"key":"password","value":"21abd94c-d2a5-48ba-b38d-4a38752e8772","type":"text"},{"key":"grant_type","value":"password","type":"text"}]},"url":"https://sandbox.api.anspacepay.com/token","description":"<h2 id=\"authentication\">Authentication</h2>\n<p>In order to have access to ALL API Methods, it is necessary to request a TOKEN that will be valid for 1h (one hour). To obtain this TOKEN, the user and password of each application created in the Digital Infinity panel will be used.</p>\n<p><strong>REQUEST :</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>username</td>\n<td>Obtained on the application registration screen on the panel</td>\n</tr>\n<tr>\n<td>password</td>\n<td>Obtained on the application registration screen on the panel</td>\n</tr>\n<tr>\n<td>grant_type</td>\n<td>fixed value</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>RESPONSE :</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>access_token</td>\n<td>API Authentication Token</td>\n</tr>\n<tr>\n<td>token_type</td>\n<td>Token type (Fixed: “bearer”)</td>\n</tr>\n<tr>\n<td>expires_in</td>\n<td>token validity</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>REQUEST IDENTIFICATION</strong></p>\n<p>All API methods need to be identified and linked to a client application. For each application created in your panel, an “applicationtoken” is generated. This code must be sent in the header of each request, as well as the authentication token obtained as described above.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>applicationtoken</td>\n<td>Obtained on the application registration screen on the panel</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["token"],"host":["https://sandbox.api.anspacepay.com"],"query":[],"variable":[]}},"response":[{"id":"6c98137e-dee4-4af6-b197-326a5418eb54","name":"Token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","name":"Content-Type","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"190626000001","type":"text"},{"key":"password","value":"21abd94c-d2a5-48ba-b38d-4a38752e8772","type":"text"},{"key":"grant_type","value":"password","type":"text"}]},"url":"https://sandbox.api.anspacepay.com/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","enabled":true},{"key":"Pragma","value":"no-cache","enabled":true},{"key":"Content-Type","value":"application/json;charset=UTF-8","enabled":true},{"key":"Expires","value":"-1","enabled":true},{"key":"Server","value":"Microsoft-IIS/10.0","enabled":true},{"key":"X-Powered-By","value":"ASP.NET","enabled":true},{"key":"Date","value":"Sun, 26 Mar 2023 13:33:10 GMT","enabled":true},{"key":"Content-Length","value":"294","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"EPMgRea0lIVFDOnP-Is2720XbnzsFAc8E8QZZHGMTUlZ6z122BRvZt61binC57qQarhp9JIka0xywBmn1DWlWLd1U85L0JeQDHuwmnB6GR9-NHE6-qq80V9sEBp0Ukvn1vfZiojeCeP51wb6gHT_E89DnBiqXheSzYKKiu5dvNPZyY_IFPL3u1-PyIgWb-YxZe6LO5vWtTQEpzCZ2WFUyrZaDtpb8aWdT854kUxlS4I\",\n    \"token_type\": \"bearer\",\n    \"expires_in\": 3599\n}"}],"_postman_id":"8a831d73-d555-4f9a-bac3-52814313ee49"}],"id":"7b7f9afb-153f-40e3-8415-e1131312c206","_postman_id":"7b7f9afb-153f-40e3-8415-e1131312c206","description":""},{"name":"PIX","item":[{"name":"Deposit","item":[{"name":"PaymentPix","event":[{"listen":"prerequest","script":{"id":"6330e24a-87d1-43bf-903b-77dd9240646b","exec":["var Atual = new Date()\r","var customId = Number(Atual)\r","pm.collectionVariables.set('CustomId', customId)\r","\r","//Checa se as variaveis obrigatorias estao preenchidas\r","if (!pm.collectionVariables.get('USRENAME-SANDBOX') || !pm.collectionVariables.get('PWD-SANDBOX')){\r","    throw new Error('Usuario ou senha em branco')\r","}\r","if (!pm.collectionVariables.get('TOKEN-SANDBOX')){\r","    throw new Error('ApplicationToken em branco')\r","}\r","pm.sendRequest({\r","    url: pm.collectionVariables.get('SANDBOX') + '/token',\r","    method: 'POST',\r","    header: {'content-type': 'application/x-www-form-urlencoded'},\r","    body: {\r","        mode: 'urlencoded',\r","        \"urlencoded\": [\r","            { key: \"username\", value: pm.collectionVariables.get('USRENAME-SANDBOX') },\r","            { key: \"password\", value: pm.collectionVariables.get('PWD-SANDBOX') },\r","            { key: \"grant_type\", value: \"password\" }\r","        ]\r","    }\r","    }, (err, res) => {\r","        pm.collectionVariables.set(\"AccessToken\", 'Bearer ' + res.json().access_token)\r","    })"],"type":"text/javascript","packages":{}}}],"id":"547422a9-7d0b-4060-b95d-2e52d4bf59d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"Authorization","value":"","type":"text"},{"key":"x-request-Id","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"CustomId\": \"\",\r\n    \"amount\": 100,\r\n    \"dueDate\": \"30/12/2023\",\r\n    \"customer\": {\r\n        \"name\": \"SANDBOX PEOPLE NAME Teste\",\r\n        \"phoneNumber\": \"+12345678910121314\",\r\n        \"email\": \"sandbox.people@email.sandbox.com\",\r\n        \"cpfcnpj\": \"87397163769\",\r\n        \"bankispb\":\"00000000\",\r\n        \"bankbranch\":\"0000\",\r\n        \"bankaccount\":\"0000000000\",\r\n        \"address\": \"STREET 01, NUMBER 02 - HOUSE 03\",\r\n        \"neighborhood\": \"NEIGHBORHOOD\",\r\n        \"city\": \"CITY\",\r\n        \"state\": \"UF\",\r\n        \"country\": \"BRAZIL\",\r\n        \"zipcode\": \"12345678\"\r\n    },\r\n    \"ExpirationInMinutes\": \"6\",\r\n    \"confirmationUrl\": \"https://webhook.site/495472fc-207d-45ae-8c5d-731ec32779d4\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.api.anspacepay.com/payment/pix","description":"<p>Create a charge for payment via PIX and return the PIX code, value, and QRCode.</p>\n<p><strong>Pre-Request Script:</strong></p>\n<p><strong>1-</strong> Before calling the \"/payment/pix\" endpoint, we must call the Token endpoint. In the Token response, we get the access_token.</p>\n<p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n\"access_token\": \"akOAKwg0gb8Lt2_yziDr8y_wAOfAWziaPa9oFLZkTclIHNKKwtj8k0_K7aNMdVUooAOgBq7LpR0T23NpQwICFSnYtqbHSJrQaaP-XFiqIfQwr4buhI4DVcskwK3KZJ2bPEfdMGeNAEMay-zMm9bDdpKzs95AlI2ymPYDL8_R0V2528l4h645arRa2DV5sXwsxNvNGQRlFKsEZKF5Zp8-dQALSrsb6DUF18TsHbOGZdY\",\n\"token_type\": \"bearer\",\n\"expires_in\": 3599\n}\n\n</code></pre>\n<p>The access_token we will use from the request, as shown in the example below:</p>\n<p><strong>Authorization</strong>: Bearer + access_token</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Length</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>customid</td>\n<td>String</td>\n<td>20</td>\n<td>Yes</td>\n<td>Invoice</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>Int</td>\n<td></td>\n<td>Yes</td>\n<td>Invoice value</td>\n</tr>\n<tr>\n<td>dueDate</td>\n<td>Date</td>\n<td></td>\n<td>Yes</td>\n<td>Due date format(dd/mm/yyyy)</td>\n</tr>\n<tr>\n<td>customer.name</td>\n<td>string</td>\n<td>80</td>\n<td>Yes</td>\n<td>Customer name</td>\n</tr>\n<tr>\n<td>customer.email</td>\n<td>string</td>\n<td>100</td>\n<td>Yes</td>\n<td>Customer e-mail</td>\n</tr>\n<tr>\n<td>customer.addres</td>\n<td>string</td>\n<td>100</td>\n<td>Yes</td>\n<td>Customer address</td>\n</tr>\n<tr>\n<td>customer.bankispb</td>\n<td>string</td>\n<td>8</td>\n<td>no</td>\n<td>ISPB code of the user's bank</td>\n</tr>\n<tr>\n<td>customer.bankbranch</td>\n<td>string</td>\n<td>4</td>\n<td>no</td>\n<td>User's bank branch number</td>\n</tr>\n<tr>\n<td>customer.bankaccount</td>\n<td>string</td>\n<td>10</td>\n<td>no</td>\n<td>User's bank account number, without the hyphen, but including the check digit</td>\n</tr>\n<tr>\n<td>customer.neighborhood</td>\n<td>string</td>\n<td>80</td>\n<td>Yes</td>\n<td>Neighborhood</td>\n</tr>\n<tr>\n<td>customer.city</td>\n<td>string</td>\n<td>80</td>\n<td>Yes</td>\n<td>City</td>\n</tr>\n<tr>\n<td>customer.state</td>\n<td>string</td>\n<td>2</td>\n<td>Yes</td>\n<td>State abbreviation</td>\n</tr>\n<tr>\n<td>customer.country</td>\n<td>string</td>\n<td>80</td>\n<td>Yes</td>\n<td>Country</td>\n</tr>\n<tr>\n<td>customer.zipcode</td>\n<td>string</td>\n<td>10</td>\n<td>Yes</td>\n<td>Zip code</td>\n</tr>\n<tr>\n<td>ExpirationInMinutes</td>\n<td>string</td>\n<td>4</td>\n<td>No</td>\n<td>It will set the amount of time, in minutes the QR, Code will take to expire  <br />Default value= 24h</td>\n</tr>\n<tr>\n<td>confirmationUrl</td>\n<td>string</td>\n<td>250</td>\n<td>No</td>\n<td>URL that our system will send the POST for payment confirmation</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"value-conversion\">Value conversion:</h2>\n<p>About the values sent for each requirement, always consider the values divided by 100.<br />No comma must be sent in the requisition body, as follows:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Value Sent</strong></th>\n<th><strong>Value Considered in API</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>0,01</td>\n</tr>\n<tr>\n<td>100</td>\n<td>1,00</td>\n</tr>\n<tr>\n<td>123456</td>\n<td>1.234,56</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"important\">Important:</h2>\n<p>The callback sent after the payment will return considering the same value sent, for instance, if the request was sent as 2000 to pay $20.00 the callback after payment confirmation will return the same value structure as follows:</p>\n<h1 id=\"headers\">Headers</h1>\n<p><strong>ApplicationToken</strong></p>\n<p><strong>Authorization: (bearer + token)</strong></p>\n<p><strong>x-request-id (</strong></p>\n<p>Optional parameter where the customer can enter a hash code at the time of deposit.</p>\n<p>When using the x-request-id parameter, the client must send in <strong>UPPERCASE</strong>.</p>\n<p>The value informed in the x-request-id parameter will be encrypted using the applicationtoken as the key.<br />The method used for encryption is the HMAC-SHA256 passing two parameters, the first being the value of the x-request-id, and the second the value that comes in the Applicationtoken parameter.</p>\n<p>You can use the site <a href=\"https://www.devglan.com/online-tools/hmac-sha256-online\">https://www.devglan.com/online-tools/hmac-sha256-online</a> to encrypt your token.</p>\n<p>This parameter will be used in callback control on successful operations.</p>\n<p>This field supports values ​​of up to 68 characters.</p>\n<p><strong>)</strong></p>\n<h2 id=\"pix-random-key\">Pix Random Key</h2>\n<p>In response to the request, a random deposit key will be generated through the qrCodeString property.</p>\n<p>Through this code, the partner's UI will make a deposit.</p>\n","urlObject":{"path":["payment","pix"],"host":["https://sandbox.api.anspacepay.com"],"query":[],"variable":[]}},"response":[{"id":"f596237b-1a8b-430b-a84c-4cbb849cad2f","name":"PaymentPix","originalRequest":{"method":"POST","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"Authorization","value":"","type":"text"},{"key":"x-request-Id","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"CustomId\": \"\",\r\n    \"amount\": 100,\r\n    \"dueDate\": \"30/12/2023\",\r\n    \"customer\": {\r\n        \"name\": \"SANDBOX PEOPLE NAME\",\r\n        \"phoneNumber\": \"+12345678910121314\",\r\n        \"email\": \"sandbox.people@email.sandbox.com\",\r\n        \"cpfcnpj\": \"87397163769\",\r\n        \"bankispb\":\"00000000\",\r\n        \"bankbranch\":\"0000\",\r\n        \"bankaccount\":\"0000000000\",\r\n        \"address\": \"STREET 01, NUMBER 02 - HOUSE 03\",\r\n        \"neighborhood\": \"NEIGHBORHOOD\",\r\n        \"city\": \"CITY\",\r\n        \"state\": \"UF\",\r\n        \"country\": \"BRAZIL\",\r\n        \"zipcode\": \"12345678\"\r\n    },\r\n    \"ExpirationInMinutes\": \"6\",\r\n    \"confirmationUrl\": \"https://webhook.site/495472fc-207d-45ae-8c5d-731ec32779d4\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.api.anspacepay.com/payment/pix"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"547422a9-7d0b-4060-b95d-2e52d4bf59d7"},{"name":"PutConfirmation","event":[{"listen":"prerequest","script":{"exec":["var Atual = new Date()\r","var customId = Number(Atual)\r","pm.collectionVariables.set('CustomId', customId)\r","\r","//Checa se as variaveis obrigatorias estao preenchidas\r","if (!pm.collectionVariables.get('USRENAME-SANDBOX') || !pm.collectionVariables.get('PWD-SANDBOX')){\r","    throw new Error('Usuario ou senha em branco')\r","}\r","if (!pm.collectionVariables.get('TOKEN-SANDBOX')){\r","    throw new Error('ApplicationToken em branco')\r","}\r","pm.sendRequest({\r","    url: pm.collectionVariables.get('SANDBOX') + '/token',\r","    method: 'POST',\r","    header: {'content-type': 'application/x-www-form-urlencoded'},\r","    body: {\r","        mode: 'urlencoded',\r","        \"urlencoded\": [\r","            { key: \"username\", value: pm.collectionVariables.get('USRENAME-SANDBOX') },\r","            { key: \"password\", value: pm.collectionVariables.get('PWD-SANDBOX') },\r","            { key: \"grant_type\", value: \"password\" }\r","        ]\r","    }\r","    }, (err, res) => {\r","        pm.collectionVariables.set(\"AccessToken\", 'Bearer ' + res.json().access_token)\r","    })"],"type":"text/javascript","id":"0e105e2e-2186-47aa-87d0-efc62eb6342c"}}],"id":"15206047-f70c-45c7-b9ea-ef221b682173","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"a7303ba1-c265-4400-ad69-6e64e7e560b0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.api.anspacepay.com/invoice/putconfirmation","description":"<p>Sends payment confirmation to the URL informed when creating the charge if it has already been paid.</p>\n<p>For payment confirmation validation purposes, in a Sandbox environment, this method sends a request to the URL every time it is executed, regardless of the current billing status.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Length</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>1</td>\n<td>Yes</td>\n<td>Billing ID returned upon creation</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Status:</strong></p>\n<ol>\n<li><p>Canceled</p>\n</li>\n<li><p>Paid</p>\n</li>\n<li><p>Expired</p>\n</li>\n<li><p>Pending</p>\n</li>\n<li><p>Unknown</p>\n</li>\n</ol>\n","urlObject":{"path":["invoice","putconfirmation"],"host":["https://sandbox.api.anspacepay.com"],"query":[],"variable":[]}},"response":[{"id":"b7748b0a-5c5d-4386-8d97-f2104201f439","name":"PutConfirmation","originalRequest":{"method":"PUT","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"a7303ba1-c265-4400-ad69-6e64e7e560b0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://sandbox.api.anspacepay.com/invoice/putconfirmation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private","enabled":true},{"key":"Content-Length","value":"325","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Server","value":"Microsoft-IIS/10.0","enabled":true},{"key":"X-AspNet-Version","value":"4.0.30319","enabled":true},{"key":"X-Powered-By","value":"ASP.NET","enabled":true},{"key":"Date","value":"Mon, 06 Mar 2023 21:52:28 GMT","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": false,\n    \"returnCode\": \"00\",\n    \"returnMessage\": \"Success\",\n    \"id\": \"a7303ba1-c265-4400-ad69-6e64e7e560b0\",\n    \"invoiceCode\": \"1673966309202\",\n    \"status\": \"Pending\",\n    \"amount\": 100,\n    \"dueDate\": \"30/12/2023\",\n    \"paymentDate\": null,\n    \"amountPaid\": 0,\n    \"paymentCurrency\": null,\n    \"cancelDate\": null\n}"}],"_postman_id":"15206047-f70c-45c7-b9ea-ef221b682173"}],"id":"7af13d12-320d-451e-8d6e-ae251e693498","description":"<p>Endpoint is responsible for carrying out deposit operations.</p>\n","_postman_id":"7af13d12-320d-451e-8d6e-ae251e693498"},{"name":"Withdraw","item":[{"name":"TransferPix","event":[{"listen":"prerequest","script":{"id":"5f55b131-f084-4c93-9ee1-c9f4fbaccd57","exec":["var Atual = new Date()\r","var customId = Number(Atual)\r","pm.collectionVariables.set('CustomId', customId)\r","\r","//Checa se as variaveis obrigatorias estao preenchidas\r","if (!pm.collectionVariables.get('USRENAME-SANDBOX') || !pm.collectionVariables.get('PWD-SANDBOX')){\r","    throw new Error('Usuario ou senha em branco')\r","}\r","if (!pm.collectionVariables.get('TOKEN-SANDBOX')){\r","    throw new Error('ApplicationToken em branco')\r","}\r","pm.sendRequest({\r","    url: pm.collectionVariables.get('SANDBOX') + '/token',\r","    method: 'POST',\r","    header: {'content-type': 'application/x-www-form-urlencoded'},\r","    body: {\r","        mode: 'urlencoded',\r","        \"urlencoded\": [\r","            { key: \"username\", value: pm.collectionVariables.get('USRENAME-SANDBOX') },\r","            { key: \"password\", value: pm.collectionVariables.get('PWD-SANDBOX') },\r","            { key: \"grant_type\", value: \"password\" }\r","        ]\r","    }\r","    }, (err, res) => {\r","        var signBytes = CryptoJS.HmacSHA256(res.json().access_token, pm.collectionVariables.get('CRP-TOKEN'));\r","        var signHex = CryptoJS.enc.Hex.stringify(signBytes);\r","        pm.collectionVariables.set('AssinaturaDigital', signHex);\r","        pm.collectionVariables.set(\"AccessToken\", 'Bearer ' + res.json().access_token)\r","    })"],"type":"text/javascript","packages":{}}}],"id":"a69ff7aa-d3e7-40de-ac16-8642b5642038","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"Authorization","value":"","type":"text"},{"key":"x-request-id","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"digitalSignature\": \"\",\r\n    \"amount\": 1,\r\n    \"customId\": \"\",\r\n    \"favorecido\": {\r\n        \"nome\": \"SANDBOX PEOPLE NAME\",\r\n        \"cpfcnpj\": \"87397163769\",\r\n        \"chave\": {\r\n            \"idTipoChavePIX\": 1,\r\n            \"chavePIX\": \"87397163769\"\r\n        },\r\n        \"bankispb\":\"00000000\",\r\n        \"bankbranch\":\"0000\",\r\n        \"bankaccount\":\"0000000000\"\r\n    },\r\n    \"confirmationUrl\": \"https://webhook.site/d876c0f1-0c9a-48db-90e1-23fa975b1d5a\",\r\n    \"updateUrl\": \"https://webhook.site/bd2f10b5-daa1-4980-87c5-50d38b182a36\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.api.anspacepay.com/transfer/pix","description":"<p>Responsible for carrying out the withdrawal.</p>\n<p><strong>Pre-Request Script:</strong></p>\n<p><strong>1-</strong> Before calling the \"/transfer/pix\" endpoint, we must call the Token endpoint. In the Token response, we get the access_token.</p>\n<p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n\"access_token\": \"akOAKwg0gb8Lt2_yziDr8y_wAOfAWziaPa9oFLZkTclIHNKKwtj8k0_K7aNMdVUooAOgBq7LpR0T23NpQwICFSnYtqbHSJrQaaP-XFiqIfQwr4buhI4DVcskwK3KZJ2bPEfdMGeNAEMay-zMm9bDdpKzs95AlI2ymPYDL8_R0V2528l4h645arRa2DV5sXwsxNvNGQRlFKsEZKF5Zp8-dQALSrsb6DUF18TsHbOGZdY\",\n\"token_type\": \"bearer\",\n\"expires_in\": 3599\n}\n\n</code></pre>\n<p><strong>2-</strong> After generating the Token, we will use the HMAC-SHA256 function passing two input parameters. Being the first access_token, and the second 8E765DB0-9C1C-44D0-85AB-8FD0B2E7D7CD (SANDBOX environment)</p>\n<p>The result of the HMAC-SHA256 operation must be stored in a variable.</p>\n<p><strong>Example Postman:</strong></p>\n<p>var signBytes = CryptoJS.HmacSHA256(res.json().access_token, pm.collectionVariables.get('CRP-TOKEN'));</p>\n<p><strong>3-</strong> Next, we must use a function to convert the result of the HMAC-SHA256 operation into a hexadecimal string. The resulting hexadecimal string is stored in the signHex variable.</p>\n<p><strong>Example Postman:</strong></p>\n<p>var signHex = CryptoJS.enc.Hex.stringify(signBytes);</p>\n<p>The result stored in the signHex variable will be used in the request body, in the \"digitalSignature\" property.</p>\n<h2 id=\"headers\">Headers</h2>\n<p><strong>ApplicationToken</strong></p>\n<p><strong>Authorization: (bearer + token)</strong></p>\n<p><strong>x-request-id (</strong></p>\n<p>Optional parameter where the customer can enter a hash code at the time of withdrawal.</p>\n<p>When using the x-request-id parameter, the client must send in <strong>UPPERCASE</strong>.</p>\n<p>The value informed in the x-request-id parameter will be encrypted using the applicationtoken as key.<br />The method used for encryption is the<br />HMAC-SHA256 passing two parameters, the first being the value of the x-resquest-id, and the second being the value of the Applicationtoken parameter.</p>\n<p>You can use the site <a href=\"https://www.devglan.com/online-tools/hmac-sha256-online\">https://www.devglan.com/online-tools/hmac-sha256-online</a> to encrypt your token.</p>\n<p>This parameter will be used in callback control on successful operations.</p>\n<p>This field supports values ​​of up to 68 characters.</p>\n<p><strong>)</strong></p>\n<p><strong>Body Request</strong></p>\n<p><strong>idTipoChavePIX</strong> field only accepts integer values.</p>\n<p>Types accepted in these fields:</p>\n<p>1 - CPF ou CNPJ (CPF - Individual Taxpayer Registration, CNPJ - National Registry of Legal Entities)<br />2 - Phone<br />3 - Email<br />4 - Random</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>**  <br />Parameter**</th>\n<th><strong>Type</strong></th>\n<th><strong>Length</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>digitalSignature</td>\n<td>string</td>\n<td>100</td>\n<td>yes</td>\n<td>Security digital signature for balance transactions. The electronic signature is created through encryption of the access_token (Bearer token used to authenticate in the API). The method used for encryption is HMAC-SHA256 and the key used must be the Security Token (obtained on the Security Token screen in the Integrations menu)</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>int</td>\n<td></td>\n<td>yes</td>\n<td>amount to be transferred</td>\n</tr>\n<tr>\n<td>customId</td>\n<td>string</td>\n<td>50</td>\n<td>yes</td>\n<td>custom id in request</td>\n</tr>\n<tr>\n<td>favorecido.nome</td>\n<td>string</td>\n<td>50</td>\n<td>yes</td>\n<td>favored name</td>\n</tr>\n<tr>\n<td>favorecido.cpfcnpj</td>\n<td>string</td>\n<td>14</td>\n<td>yes</td>\n<td>favored CPF or CNPJ</td>\n</tr>\n<tr>\n<td>favorecido.chave.idTipoChavePIX</td>\n<td>int</td>\n<td></td>\n<td>yes</td>\n<td>PIX key type</td>\n</tr>\n<tr>\n<td>favorecido.bankispb</td>\n<td>string</td>\n<td>8</td>\n<td>no</td>\n<td>ISPB code of the user's bank</td>\n</tr>\n<tr>\n<td>favorecido.bankbranch</td>\n<td>string</td>\n<td>4</td>\n<td>no</td>\n<td>User's bank branch number</td>\n</tr>\n<tr>\n<td>favorecido.bankaccount</td>\n<td>string</td>\n<td>10</td>\n<td>no</td>\n<td>User's bank account number, without the hyphen, but including the check digit</td>\n</tr>\n<tr>\n<td>confirmationUrl</td>\n<td>string</td>\n<td>150</td>\n<td>yes</td>\n<td>callback</td>\n</tr>\n<tr>\n<td>updateUrl</td>\n<td>string</td>\n<td>150</td>\n<td>yes</td>\n<td>callback</td>\n</tr>\n</tbody>\n</table>\n</div><p>Response:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Length</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>returnCode</td>\n<td>int</td>\n<td></td>\n<td>yes</td>\n<td>error return code</td>\n</tr>\n<tr>\n<td>returnMessage</td>\n<td>string</td>\n<td>50</td>\n<td>yes</td>\n<td>success or error message</td>\n</tr>\n<tr>\n<td>withdrawCode</td>\n<td>string</td>\n<td>50</td>\n<td>yes</td>\n<td>Code identifying the withdrawal</td>\n</tr>\n<tr>\n<td>customId</td>\n<td>string</td>\n<td>50</td>\n<td>yes</td>\n<td>custom id in response</td>\n</tr>\n<tr>\n<td>authenticationCode</td>\n<td>string</td>\n<td>50</td>\n<td>yes</td>\n<td>Transaction authentication code</td>\n</tr>\n<tr>\n<td>transactionId</td>\n<td>string</td>\n<td>50</td>\n<td>yes</td>\n<td>Transaction Id</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>50</td>\n<td></td>\n<td>message guiding the current status of the transaction</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["transfer","pix"],"host":["https://sandbox.api.anspacepay.com"],"query":[],"variable":[]}},"response":[{"id":"eeedbf7e-db04-4bc9-ba89-af02a832bc44","name":"TransferPix","originalRequest":{"method":"POST","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"Authorization","value":"","type":"text"},{"key":"x-request-id","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"digitalSignature\": \"\",\r\n    \"amount\": 1,\r\n    \"customId\": \"\",\r\n    \"favorecido\": {\r\n        \"nome\": \"SANDBOX PEOPLE NAME\",\r\n        \"cpfcnpj\": \"87397163769\",\r\n        \"chave\": {\r\n            \"idTipoChavePIX\": 1,\r\n            \"chavePIX\": \"87397163769\"\r\n        },\r\n        \"bankispb\":\"00000000\",\r\n        \"bankbranch\":\"0000\",\r\n        \"bankaccount\":\"0000000000\"\r\n    },\r\n    \"confirmationUrl\": \"https://webhook.site/495472fc-207d-45ae-8c5d-731ec32779d4\",\r\n    \"updateUrl\": \"https://webhook.site/495472fc-207d-45ae-8c5d-731ec32779d4\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.api.anspacepay.com/transfer/pix"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Content-Length","value":"273","enabled":true},{"key":"X-Powered-By","value":"ASP.NET","enabled":true},{"key":"Expires","value":"Thu, 20 Jul 2023 15:51:47 GMT","enabled":true},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store","enabled":true},{"key":"Pragma","value":"no-cache","enabled":true},{"key":"Date","value":"Thu, 20 Jul 2023 15:51:47 GMT","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": false,\n    \"returnCode\": \"00\",\n    \"returnMessage\": \"Success\",\n    \"withdrawCode\": \"1JQM8ATLAL\",\n    \"customId\": \"1689868304861\",\n    \"authenticationCode\": \"28772fc4-3cc7-4aae-85d2-5af515ec0a0a\",\n    \"transactionId\": \"28772fc4-3cc7-4aae-85d2-5af515ec0a0a\",\n    \"status\": \"Received and Awaiting processing\"\n}"}],"_postman_id":"a69ff7aa-d3e7-40de-ac16-8642b5642038"},{"name":"PixPutConfirmation","event":[{"listen":"prerequest","script":{"exec":["var Atual = new Date()\r","var customId = Number(Atual)\r","pm.collectionVariables.set('CustomId', customId)\r","\r","//Checa se as variaveis obrigatorias estao preenchidas\r","if (!pm.collectionVariables.get('USRENAME-SANDBOX') || !pm.collectionVariables.get('PWD-SANDBOX')){\r","    throw new Error('Usuario ou senha em branco')\r","}\r","if (!pm.collectionVariables.get('TOKEN-SANDBOX')){\r","    throw new Error('ApplicationToken em branco')\r","}\r","pm.sendRequest({\r","    url: pm.collectionVariables.get('SANDBOX') + '/token',\r","    method: 'POST',\r","    header: {'content-type': 'application/x-www-form-urlencoded'},\r","    body: {\r","        mode: 'urlencoded',\r","        \"urlencoded\": [\r","            { key: \"username\", value: pm.collectionVariables.get('USRENAME-SANDBOX') },\r","            { key: \"password\", value: pm.collectionVariables.get('PWD-SANDBOX') },\r","            { key: \"grant_type\", value: \"password\" }\r","        ]\r","    }\r","    }, (err, res) => {\r","        var signBytes = CryptoJS.HmacSHA256(res.json().access_token, pm.collectionVariables.get('CRP-TOKEN'));\r","        var signHex = CryptoJS.enc.Hex.stringify(signBytes);\r","        pm.collectionVariables.set('AssinaturaDigital', signHex);\r","        console.log(signHex);\r","        pm.collectionVariables.set(\"AccessToken\", 'Bearer ' + res.json().access_token)\r","    })"],"type":"text/javascript","id":"babe7498-1465-417b-b17d-c4e516e2418f"}}],"id":"31f8a33d-e82a-4bad-a25e-d9ef97bc2b5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"digitalSignature\": \"\",\r\n    \"withdrawCode\": \"DLPKY7JGCJ\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.api.anspacepay.com/transfer/putconfirmation","description":"<p><strong>Putconfirmation Status:</strong></p>\n<p>Completed = Withdrawal Paid<br />Chargeback = Withdrawal reversed<br />Paid and Wait = Received and in process (awaiting bank confirmation)<br />unknown = unknown</p>\n","urlObject":{"path":["transfer","putconfirmation"],"host":["https://sandbox.api.anspacepay.com"],"query":[],"variable":[]}},"response":[{"id":"328e1e86-7461-44c6-ab53-d9c4284c2804","name":"PixPutConfirmation","originalRequest":{"method":"PUT","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"digitalSignature\": \"\",\r\n    \"withdrawCode\": \"DLPKY7JGCJ\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.api.anspacepay.com/transfer/putconfirmation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 01 Sep 2023 01:46:26 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Content-Length","value":"696","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Server","value":"Microsoft-IIS/10.0","enabled":true},{"key":"X-Powered-By","value":"ASP.NET","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": false,\n    \"returnCode\": \"00\",\n    \"returnMessage\": \"Success\",\n    \"withdrawCode\": \"DLPKY7JGCJ\",\n    \"customId\": \"testesaquenok8921890471284712837128371283982139801\",\n    \"authenticationCode\": null,\n    \"transactionCode\": null,\n    \"amount\": 1,\n    \"transaction\": {\n        \"paymentDate\": null,\n        \"operationType\": \"PIX\",\n        \"transactionDate\": \"23/08/2023\",\n        \"completedDate\": \"23/08/2023\",\n        \"chargebackDate\": \"23/08/2023\"\n    },\n    \"recipient\": {\n        \"recipientName\": \"SANDBOX PEOPLE NAME\",\n        \"recipientDocumentID\": \"87397163769\",\n        \"recipientBankAgency\": null,\n        \"recipientBankAccount\": \"-\",\n        \"recipientPIXKeyType\": \"CPF ou CNPJ\",\n        \"recipientPIXKey\": \"87397163769\"\n    },\n    \"requestDate\": \"23/08/2023\",\n    \"paymentDate\": null,\n    \"chargebackDate\": \"23/08/2023\",\n    \"completionDate\": \"23/08/2023\",\n    \"status\": \"Chargeback\"\n}"}],"_postman_id":"31f8a33d-e82a-4bad-a25e-d9ef97bc2b5e"}],"id":"a3d4ebe1-eecf-44b7-86e1-62f867146f7f","description":"<p>Endpoints responsible for the withdrawal operation.</p>\n","_postman_id":"a3d4ebe1-eecf-44b7-86e1-62f867146f7f"},{"name":"Webhook","item":[],"id":"997a915a-f88e-468e-b8ac-744679ceda7b","description":"<h3 id=\"deposit-callback\">Deposit CallBack</h3>\n<p>Once the deposit is requested using the deposit method \"/payment/pix,\" the QRCode Pix will be generated for the deposit to be made, and it will remain in pending status until it is paid. After payment, the system will return the data according to the JSON below:</p>\n<p>Deposit completed: this is a finished event (\"status\": \"Paid\").</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n\"id\": \"cac5642a-9679-41cc-bf1d-014d33b9f8b2\",\n\"txId\": \"806aa601d8984f73910fba2a066660e4\",\n\"total\": 100000,\n\"status\": \"Paid\",\n\"customId\": \"PBC1003311818687659648880640\",\n\"endToEnd\": \"E9040088820240731164425105552676\",\n\"totalPaid\": 100000,\n\"invoiceCode\": \"PPNLZOE\",\n\"ispbPagador\": \"90400888\",\n\"nomePagador\": \"55 640 295 MARCELO ALEXANDRE SILVA JUNIO\",\n\"paymentDate\": \"2024-07-31T13:44:43.347\",\n\"emailPagador\": null,\n\"installments\": 1,\n\"paymentmethod\": \"PIX\",\n\"cpfCnpjPagador\": \"55640295000152\",\n\"telefonePagador\": null,\n\"nomeBancoPagador\": \"BCO SANTANDER (BRASIL) S.A.\",\n\"payment_currency\": \"BRL\",\n\"original_currency\": \"BRL\",\n\"paid_by_cripto_currency\": \"false\"\n}\n\n</code></pre>\n<p>Withdraw sent to the bank and awaiting confirmation: This status will rarely occur, since it goes directly to \"paid\" because transactions via PIX used to occur instantly.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n\"error\":false,\n\"returnCode\":\"00\",\n\"returnMessage\":\"Success\",\n\"withdrawCode\":\"F5RNZ9YT3I\",\n\"customId\": \"1689806298819\",\n\"authenticationCode\":\"a63c0bd8-cd86-4240-8039-927d2b1ccd58\",\n\"transactionCode\":\"E710278662023011402595500001213P\",\n\"transaction\":{\n\"operationType\":\"PIX\",\n\"transactionDate\":\"2023-01-13T23:59:54.667\",\n\"completedDate\":null,\n\"chargebackDate\":null,\n\"paymentDate\":\"2023-01-13T23:59:59.45\"\n},\n\"recipient\":{\n\"recipientName\":\"VANDERLENIR LOIOLA LIMA\",\n\"recipientDocumentID\":\"01845023226\",\n\"recipientBankAgency\":null,\n\"recipientBankAccount\":\"-\",\n\"recipientPIXKeyType\":\"Celular\",\n\"recipientPIXKey\":\"+5596991526191\"\n},\n\"requestDate\":\"2023-01-13T23:59:54.667\",\n\"paymentDate\":\"2023-01-13T23:59:59.45\",\n\"chargebackDate\":null,\n\"completionDate\":null,\n\"status\":\"Paid and Waiting Confirmation\"\n}\n\n</code></pre>\n<p>Administrative returned transaction: The transaction has been denied due to a sending error and another transaction (preferably using a new CustomID) must be sent.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"withdrawCode\": \"RPANT6LE28\",\n  \"customId\": \"1723833777785\",\n  \"transactionId\": \"1534a097-9987-4162-bbe1-defa7b45969d\",\n  \"transactionCode\": null,\n  \"updateCode\": \"02\",\n  \"updateMessage\": \"RETURNED TRANSACTION\",\n  \"amount\": 100,\n  \"reason\": \"Estorno admin\"\n}\n\n</code></pre>\n<h3 id=\"withdraw-callback\">Withdraw CallBack</h3>\n<p>For any updates into transactions, we use <strong>updateUrl</strong>.<br />if one transaction is received, started payment (bank of Brazil), and completed, we use the confirmationUrl that you sent when the request is made</p>\n<p>If one transaction is received, the payment is started at the bank and during this process a problem occurs, our system will send the callback to you using the <strong>updateUrl</strong>, Update the status instead of \"Received and Processing\" to \"Rejected\" or \"Declined\"<br />Because of this, the response model is not the same.</p>\n<p><b>Please attention to the case:<br /></b>In a production environment, one transaction can be 100% completed and after the same minutes the central bank of Brazil updates the status to Rejected, and in this case, we send the callback to you 2 times.<br />First time through <strong>confirmationUrl</strong> to inform that transaction was completed, and then, through <strong>updateUrl</strong> to inform that a problem occurred.</p>\n<p><strong>Examples:</strong></p>\n<p>Below are the examples of requests to updateUrl:</p>\n<p>In this case, instability occurred in the payment system of the Brazilian Central Bank or in the banks that we use:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n\"withdrawCode\": \"3BKT9405J6\",\n\"customId\": \"1689806298819\",\n\"transactionCode\": null,\n\"updateCode\": \"01\",\n\"updateMessage\": \"INSTABILITY\"\n}\n\n</code></pre>\n<p>In this case, instability occurred in the payment system of the Brazilian Central Bank or in the banks that we use or in the target bank (bank of the user):</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n\"withdrawCode\": \"3BKT9405J6\",\n\"customId\": \"1689806298819\",\n\"transactionCode\": null,\n\"updateCode\": \"02\",\n\"updateMessage\": \"RETURNED TRANSACTION\"\n}\n\n</code></pre>\n<p>In this case, the target bank (bank of the user) rejects the transaction for any causes:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n\"withdrawCode\": \"3BKT9405J6\",\n\"customId\": \"1689806298819\",\n\"transactionCode\": null,\n\"updateCode\": \"03\",\n\"updateMessage\": \"REJECTED TRANSACTION\"\n}\n\n</code></pre>\n<p>In these 3 cases, the transaction was DECLINED and the balance must be reset to the user.</p>\n<p><strong>Exemple:</strong></p>\n<p>Withdraw completed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n\"error\": false,\n\"returnCode\": \"00\",\n\"returnMessage\": \"Success\",\n\"withdrawCode\": \"F5RNZ9YT3I\",\n\"customId\": \"1689806298819\",\n\"authenticationCode\": \"a63c0bd8-cd86-4240-8039-927d2b1ccd58\",\n\"transactionCode\": \"E710278662023011402595500001213P\",\n\"transaction\":{\n\"operationType\": \"PIX\",\n\"transactionDate\":\"2023-01-13T23:59:54.667\",\n\"completedDate\":\"2023-01-13T23:59:59.45\",\n\"chargebackDate\":null,\n\"paymentDate\":\"2023-01-13T23:59:59.45\"\n},\n\"recipient\":{\n\"recipientName\":\"VANDERLENIR LOIOLA LIMA\",\n\"recipientDocumentID\":\"01845023226\",\n\"recipientBankAgency\":null,\n\"recipientBankAccount\":\"-\",\n\"recipientPIXKeyType\":\"Celular\",\n\"recipientPIXKey\":\"+5596991526191\"\n},\n\"requestDate\":\"2023-01-13T23:59:54.667\",\n\"paymentDate\":\"2023-01-13T23:59:59.45\",\n\"chargebackDate\":null,\n\"completionDate\":\"2023-01-13T23:59:59.45\",\n\"status\":\"Completed\"\n}\n\n</code></pre>\n<p>Withdraw received and waiting to be processed for the bank:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n\"error\":false,\n\"returnCode\":\"00\",\n\"returnMessage\":\"Success\",\n\"withdrawCode\":\"F5RNZ9YT3I\",\n\"customId\": \"1689806298819\",\n\"authenticationCode\":\"a63c0bd8-cd86-4240-8039-927d2b1ccd58\",\n\"transactionCode\":\"E710278662023011402595500001213P\",\n\"transaction\":{\n\"operationType\":\"PIX\",\n\"transactionDate\":\"2023-01-13T23:59:54.667\",\n\"completedDate\":null,\n\"chargebackDate\":null,\n\"paymentDate\":null\n},\n\"recipient\":{\n\"recipientName\":\"VANDERLENIR LOIOLA LIMA\",\n\"recipientDocumentID\":\"01845023226\",\n\"recipientBankAgency\":null,\n\"recipientBankAccount\":\"-\",\n\"recipientPIXKeyType\":\"Celular\",\n\"recipientPIXKey\":\"+5596991526191\"\n}\n,\n\"requestDate\":\"2023-01-13T23:59:54.667\",\n\"paymentDate\":null,\n\"chargebackDate\":null,\n\"completionDate\":null,\n\"status\":\"Received and Awaiting processing\"\n}\n\n</code></pre>\n<h4 id=\"important\">Important:</h4>\n<p>Please note that there are 2 URLs, one for confirmation (confirmationUrl) and another for update (updateUrl). We recommend that these be different, as this would help with identification.</p>\n<p>Currently, the return and confirmation data structures are different. If there is a field in our webhook called returnCode (this will always be 00), it means that the withdrawal transaction was successful.</p>\n<p>If there is a field called updateCode (which can be 01, 02, 03), any of these means that the withdrawal was reversed.</p>\n<p>Note: Even after confirmation (a rare case), the customer may receive a reversal webhook, so a rollback (reversal) is also necessary on your side.</p>\n<h4 id=\"updates\">Updates:</h4>\n<p>The x-request-id parameter was implemented in the callback.</p>\n<p>This parameter will be used in callback control on successful operations.</p>\n<p>The x-request-id parameter will be sent in the header of the callback function.</p>\n","_postman_id":"997a915a-f88e-468e-b8ac-744679ceda7b"}],"id":"97a909e3-d908-4013-b5e8-1140f0faba8c","_postman_id":"97a909e3-d908-4013-b5e8-1140f0faba8c","description":""},{"name":"Error table","item":[],"id":"92157752-6849-4b4c-a98c-13dacf76868d","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Parameter</th>\n<th>PT error</th>\n<th>Error translation</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>001</td>\n<td>Any</td>\n<td>Parâmetros da requisição vazios</td>\n<td>Empty request parameters</td>\n</tr>\n<tr>\n<td>002</td>\n<td>token</td>\n<td>Não pode ser vazio</td>\n<td>Can't be empty</td>\n</tr>\n<tr>\n<td>003</td>\n<td>applicationToken</td>\n<td>Não pode ser vazio</td>\n<td>Can't be empty</td>\n</tr>\n<tr>\n<td>004</td>\n<td>applicationToken</td>\n<td>Acesso não autorizado ao “ApplicationToken”</td>\n<td>Unauthorized access to “ApplicationToken”</td>\n</tr>\n<tr>\n<td>005</td>\n<td>token</td>\n<td>Acesso não autorizado ao “token”</td>\n<td>Unauthorized access to the “token”</td>\n</tr>\n<tr>\n<td>006</td>\n<td>passInterestToCustomer</td>\n<td>Repassar juros ao cliente não definido</td>\n<td>Pass interest to undefined customer</td>\n</tr>\n<tr>\n<td>007</td>\n<td>passRateToCustomer</td>\n<td>Repassar multa ao cliente não definido</td>\n<td>Pass fine to undefined customer</td>\n</tr>\n<tr>\n<td>008</td>\n<td>passFeeToCustomer</td>\n<td>Repassar taxas ao cliente não definido</td>\n<td>Pass fees to undefined customer</td>\n</tr>\n<tr>\n<td>09</td>\n<td>customer</td>\n<td>Customer vazio</td>\n<td>Empty customer</td>\n</tr>\n<tr>\n<td>010</td>\n<td>customer.cpfCnpj</td>\n<td>CPF ou CNPJ vazio, ou número informado é inválido</td>\n<td>CPF or CNPJ empty, or the number informed is invalid</td>\n</tr>\n<tr>\n<td>011</td>\n<td>customer.email</td>\n<td>Email vazio</td>\n<td>Empty email</td>\n</tr>\n<tr>\n<td>012</td>\n<td>maximumPaymentDate</td>\n<td>Data inválida</td>\n<td>Invalid date</td>\n</tr>\n<tr>\n<td>013</td>\n<td>cardNumber</td>\n<td>Não pode ser vazio (Em caso de transação por cartão de crédito)</td>\n<td>Cannot be empty (In case of credit card transaction)</td>\n</tr>\n<tr>\n<td>014</td>\n<td>securityCode</td>\n<td>Não pode ser vazio (Em caso de transação por cartão de crédito)</td>\n<td>Cannot be empty (In case of credit card transaction)</td>\n</tr>\n<tr>\n<td>015</td>\n<td>securityCode</td>\n<td>Valor informado inválido (Em caso de transação por cartão de crédito)</td>\n<td>Invalid value entered (In case of credit card transaction)</td>\n</tr>\n<tr>\n<td>016</td>\n<td>cardNumber</td>\n<td>Valor informado inválido (Em caso de transação por cartão de crédito)</td>\n<td>Invalid value entered (In case of credit card transaction)</td>\n</tr>\n<tr>\n<td>017</td>\n<td>expirationMonth</td>\n<td>Não pode ser vazio (Em caso de transação por cartão de crédito)</td>\n<td>Cannot be empty (In case of credit card transaction)</td>\n</tr>\n<tr>\n<td>018</td>\n<td>expirationYear</td>\n<td>Não pode ser vazio (Em caso de transação por cartão de crédito)</td>\n<td>Cannot be empty (In case of credit card transaction)</td>\n</tr>\n<tr>\n<td>019</td>\n<td>installments</td>\n<td>Mínimo 1 e máximo 12 (Em caso de transação por cartão de crédito)</td>\n<td>Minimum 1 and maximum 12 (In case of credit card transaction)</td>\n</tr>\n<tr>\n<td>020</td>\n<td>amount / items</td>\n<td>Parcela mínima R$ 5,00 (Em caso de transação por cartão de crédito)</td>\n<td>Minimum installment R$ 5.00 (In case of credit card transaction)</td>\n</tr>\n<tr>\n<td>021</td>\n<td>customer.name</td>\n<td>Name vazio</td>\n<td>empty name</td>\n</tr>\n<tr>\n<td>022</td>\n<td>amount</td>\n<td>“Amount” deve ser informado ou ser enviados itens no parâmetro “Items”</td>\n<td>“Amount” must be informed or items must be sent in the “Items” parameter</td>\n</tr>\n<tr>\n<td>023</td>\n<td>recurrence</td>\n<td>Não se aplica para esta solicitação (Em caso de recorrência)</td>\n<td>Not applicable for this request (In case of recurrence)</td>\n</tr>\n<tr>\n<td>024</td>\n<td>freeTrialPeriod</td>\n<td>Não se aplica para esta solicitação (Em caso de recorrência)</td>\n<td>Not applicable for this request (In case of recurrence)</td>\n</tr>\n<tr>\n<td>025</td>\n<td>installments</td>\n<td>Parcelas não são permitidas na recorrência (Em caso de recorrência)</td>\n<td>Installments are not allowed on recurrence (In case of recurrence)</td>\n</tr>\n<tr>\n<td>026</td>\n<td>recurrenceType</td>\n<td>Não definida (Em caso de recorrência)</td>\n<td>Not defined (In case of recurrence)</td>\n</tr>\n<tr>\n<td>027</td>\n<td>dateEndingRecurrence</td>\n<td>Não definida (Em caso de recorrência)</td>\n<td>Not defined (In case of recurrence)</td>\n</tr>\n<tr>\n<td>028</td>\n<td>passInterestToCustomer</td>\n<td>Não definido (Em caso de recorrência)</td>\n<td>Not defined (In case of recurrence)</td>\n</tr>\n<tr>\n<td>029</td>\n<td>passRateToCustomer</td>\n<td>Não definido (Em caso de recorrência)</td>\n<td>Not defined (In case of recurrence)</td>\n</tr>\n<tr>\n<td>030</td>\n<td>passFeeToCustomer</td>\n<td>Não definido (Em caso de recorrência)</td>\n<td>Not defined (In case of recurrence)</td>\n</tr>\n<tr>\n<td>031</td>\n<td>freeTrialPeriodo</td>\n<td>Valor informado não corresponde ao período (Em caso de recorrência)</td>\n<td>Entered value does not correspond to the period (In case of recurrence)</td>\n</tr>\n<tr>\n<td>032</td>\n<td>promotionalPeriod</td>\n<td>Valor informado não corresponde ao período (Em caso de recorrência)</td>\n<td>Entered value does not correspond to the period (In case of recurrence)</td>\n</tr>\n<tr>\n<td>033</td>\n<td>receiver.name</td>\n<td>Deve ser informado (Em caso de split)</td>\n<td>Must be informed (In case of split)</td>\n</tr>\n<tr>\n<td>034</td>\n<td>receiver.bankNumber</td>\n<td>Deve ser informado (Em caso de split)</td>\n<td>Must be informed (In case of split)</td>\n</tr>\n<tr>\n<td>035</td>\n<td>receiver.bankNumer</td>\n<td>Valor informado inválido (Em caso de split)</td>\n<td>Invalid informed value (In case of split)</td>\n</tr>\n<tr>\n<td>036</td>\n<td>receiver.bankBranch</td>\n<td>Deve ser informado (Em caso de split)</td>\n<td>Must be informed (In case of split)</td>\n</tr>\n<tr>\n<td>037</td>\n<td>receiver.bankAccountType</td>\n<td>Deve ser informado (Em caso de split)</td>\n<td>must be informed (In case of split)</td>\n</tr>\n<tr>\n<td>038</td>\n<td>receiver.bankAccountType</td>\n<td>Valor informado inválido (Em caso de split)</td>\n<td>Invalid informed value (In case of split</td>\n</tr>\n<tr>\n<td>039</td>\n<td>receiver.checkingAccount</td>\n<td>Deve ser informado (Em caso de split)</td>\n<td>Must be informed (In case of split)</td>\n</tr>\n<tr>\n<td>040</td>\n<td>receiver.comissionValue</td>\n<td>Deve ser informado (Em caso de split)</td>\n<td>Must be informed (In case of split)</td>\n</tr>\n<tr>\n<td>041</td>\n<td>receiver.commissionType</td>\n<td>Deve ser informado (Em caso de split)</td>\n<td>Must be informed (In case of split)</td>\n</tr>\n<tr>\n<td>042</td>\n<td>receiver.commissionType</td>\n<td>Valor informado inválido (Em caso de split)</td>\n<td>Invalid informed value (In case of split)</td>\n</tr>\n<tr>\n<td>043</td>\n<td>duedate</td>\n<td>Data vencimento não informada</td>\n<td>Due date not informed</td>\n</tr>\n<tr>\n<td>044</td>\n<td>duedate</td>\n<td>Data vencimento inválida</td>\n<td>Invalid expiration date</td>\n</tr>\n<tr>\n<td>045</td>\n<td>duedate</td>\n<td>Data vencimento maior que “maximumPaymentDate”</td>\n<td>Due date greater than “maximumPaymentDate”</td>\n</tr>\n<tr>\n<td>046</td>\n<td>customID</td>\n<td>Deve ser informado</td>\n<td>must be informed</td>\n</tr>\n<tr>\n<td>047</td>\n<td>amount</td>\n<td>Deve ser informado</td>\n<td>must be informed</td>\n</tr>\n<tr>\n<td>048</td>\n<td>-</td>\n<td>Conta bloqueada ou cancelada</td>\n<td>Account blocked or canceled</td>\n</tr>\n<tr>\n<td>049</td>\n<td>-</td>\n<td>Conta com documentação não aprovada (Para recebimento em Criptomoeda não há necessidade de validação prévia)</td>\n<td>Account with unapproved documentation (For receipt in Cryptocurrency there is no need for prior validation)</td>\n</tr>\n<tr>\n<td>050</td>\n<td>-</td>\n<td>Condições comerciais ainda não configuradas para a forma de pagamento</td>\n<td>Commercial conditions not yet configured for the payment method</td>\n</tr>\n<tr>\n<td>051</td>\n<td>-</td>\n<td>Cartão crédito vencido</td>\n<td>expired credit card</td>\n</tr>\n<tr>\n<td>052</td>\n<td>-</td>\n<td>Chaves de autenticação não autorizada pela equipe comercial</td>\n<td>Authentication keys not authorized by the commercial team</td>\n</tr>\n<tr>\n<td>053</td>\n<td>id</td>\n<td>Id da cobrança não informado ou inválido (O mesmo retornado na criação da cobrança)</td>\n<td>Charge id not informed or invalid (The same as returned when creating the charge)</td>\n</tr>\n<tr>\n<td>054</td>\n<td>tid</td>\n<td>TID da transação não informado ou inválido (O mesmo retornado na autorização do cartão)</td>\n<td>Transaction TID not informed or invalid (The same as returned in the card authorization)</td>\n</tr>\n<tr>\n<td>055</td>\n<td>-</td>\n<td>Transação já capturada</td>\n<td>Transaction already captured</td>\n</tr>\n<tr>\n<td>056</td>\n<td>-</td>\n<td>Erro ao gravar token de cartão de crédito</td>\n<td>Error writing credit card token</td>\n</tr>\n<tr>\n<td>057</td>\n<td>-</td>\n<td>Erro ao gerar token na bandeira do cartão de crédito</td>\n<td>Error generating token in credit card flag</td>\n</tr>\n<tr>\n<td>058</td>\n<td>typePerson</td>\n<td>Tipo de pessoa inválido (1 = Pessoa Física e 2 = Pessoa Jurídica)</td>\n<td>Invalid type of person (1 = Individual and 2 = Legal Entity)</td>\n</tr>\n<tr>\n<td>059</td>\n<td>documentType</td>\n<td>Tipo de documento inválido (1 = CPF e 2 = CNPJ)</td>\n<td>Invalid document type (1 = CPF and 2 = CNPJ)</td>\n</tr>\n<tr>\n<td>060</td>\n<td>-</td>\n<td>Se TypePerson for igual a 1 (Pessoa Física) o DocumentType também precisa ser 1 (CPF)</td>\n<td>If TypePerson is equal to 1 (Individual) the DocumentType must also be 1 (CPF)</td>\n</tr>\n<tr>\n<td>061</td>\n<td>-</td>\n<td>Se TypePerson for igual a 2 (Pessoa Jurídica) o DocumentType também precisa ser 2 (CNPJ)</td>\n<td>If TypePerson is equal to 2 (Legal Entity) the DocumentType must also be 2 (CNPJ)</td>\n</tr>\n<tr>\n<td>062</td>\n<td>documentNumber</td>\n<td>CPF ou CNPJ vazio, ou número informado é inválido</td>\n<td>CPF or CNPJ empty, or the number informed is invalid</td>\n</tr>\n<tr>\n<td>063</td>\n<td>email</td>\n<td>E-mail não pode estar vazio</td>\n<td>Email cannot be empty</td>\n</tr>\n<tr>\n<td>064</td>\n<td>name</td>\n<td>Name não pode estar vazio (Informe o nome fantasia em caso de PJ)</td>\n<td>Name cannot be empty (Insert the fantasy name in case of PJ)</td>\n</tr>\n<tr>\n<td>065</td>\n<td>address</td>\n<td>Address não pode estar vazio</td>\n<td>Address cannot be empty</td>\n</tr>\n<tr>\n<td>066</td>\n<td>zipCode</td>\n<td>ZipCode não pode estar vazio</td>\n<td>ZipCode cannot be empty</td>\n</tr>\n<tr>\n<td>067</td>\n<td>cellPhone</td>\n<td>CellPhone não pode estar vazio</td>\n<td>CellPhone cannot be empty</td>\n</tr>\n<tr>\n<td>068</td>\n<td>birthDate</td>\n<td>BirthDate não pode estar vazio para cadastro pessoa física</td>\n<td>BirthDate cannot be empty for individual registration</td>\n</tr>\n<tr>\n<td>069</td>\n<td>-</td>\n<td>Se TypePerson = 1 (Pessoa Física) DocumentNumber deve conter o CPF com 11 dígitos</td>\n<td>If TypePerson = 1 (Individual) DocumentNumber must contain the CPF with 11 digits</td>\n</tr>\n<tr>\n<td>070</td>\n<td>-</td>\n<td>Se TypePerson = 2 (Pessoa Jurídica) DocumentNumber deve conter o CNPJ com 14 dígitos</td>\n<td>If TypePerson = 2 (Legal Entity) DocumentNumber must contain the CNPJ with 14 digits</td>\n</tr>\n<tr>\n<td>071</td>\n<td>documentNumber</td>\n<td>Documento já cadastrado na base de dados</td>\n<td>Document already registered in the database</td>\n</tr>\n<tr>\n<td>072</td>\n<td>email</td>\n<td>E-mail já cadastrado na base de dados</td>\n<td>Email already registered in the database</td>\n</tr>\n<tr>\n<td>073</td>\n<td>email</td>\n<td>E-mail já cadastrado como um login de acesso de outro usuário</td>\n<td>Email already registered as a login for another user</td>\n</tr>\n<tr>\n<td>074</td>\n<td>name</td>\n<td>Nome inválido</td>\n<td>Invalid name</td>\n</tr>\n<tr>\n<td>075</td>\n<td>name</td>\n<td>Informe o nome completo do cliente</td>\n<td>Enter the customer's full name</td>\n</tr>\n<tr>\n<td>076</td>\n<td>state</td>\n<td>State não pode estar vazio</td>\n<td>State cannot be empty</td>\n</tr>\n<tr>\n<td>077</td>\n<td>state</td>\n<td>State inválido ou não contém uma sigla válida</td>\n<td>Invalid state or does not contain a valid acronym</td>\n</tr>\n<tr>\n<td>078</td>\n<td>city</td>\n<td>City não pode estar vazio</td>\n<td>City cannot be empty</td>\n</tr>\n<tr>\n<td>079</td>\n<td>city</td>\n<td>City inválido para o State(UF) informado</td>\n<td>Invalid City for the State(UF) informed</td>\n</tr>\n<tr>\n<td>080</td>\n<td>companyName</td>\n<td>CompanyName não pode estar vazio para cadastro pessoa jurídica</td>\n<td>CompanyName cannot be empty for legal entity registration</td>\n</tr>\n<tr>\n<td>081</td>\n<td>gender</td>\n<td>1 = Sexo feminino e 2 = sexo masculino</td>\n<td>1 = female and 2 = male</td>\n</tr>\n<tr>\n<td>082</td>\n<td>birthDate</td>\n<td>Idade precisa ser maior que 18 anos para pessoa física</td>\n<td>Age must be over 18 for individuals</td>\n</tr>\n<tr>\n<td>083</td>\n<td>zipCode</td>\n<td>Zipcode inválido</td>\n<td>Invalid zipcode</td>\n</tr>\n<tr>\n<td>084</td>\n<td>-</td>\n<td>Cobrança não pode ser cancelada pois está paga</td>\n<td>Billing cannot be canceled as it has been paid</td>\n</tr>\n<tr>\n<td>084</td>\n<td>-</td>\n<td>Cobrança já foi cancelada em DD/MM/AAAA</td>\n<td>Billing has already been canceled in DD/MM/YYYY</td>\n</tr>\n<tr>\n<td>085</td>\n<td>-</td>\n<td>Não é possível enviar confirmação de pagamento em ambiente de produção se a cobrança ainda não está paga</td>\n<td>It is not possible to send payment confirmation in production environment if the charge is not yet paid</td>\n</tr>\n<tr>\n<td>086</td>\n<td>confirmationUrl</td>\n<td>URL de confirmação de cobrança vazia ou inválida</td>\n<td>Empty or invalid billing confirmation URL</td>\n</tr>\n<tr>\n<td>087</td>\n<td>transfers</td>\n<td>O parâmetro Transfer não podem estar vazios</td>\n<td>The Transfer parameter cannot be empty</td>\n</tr>\n<tr>\n<td>088</td>\n<td>transfers</td>\n<td>O parâmetro Transfer deve conter o Nickname ou DocumentNumber preenchido</td>\n<td>The Transfer parameter must contain the Nickname or DocumentNumber filled in</td>\n</tr>\n<tr>\n<td>089</td>\n<td>digitalSignature</td>\n<td>Assinatura digital deve ser informada</td>\n<td>Digital signature must be informed</td>\n</tr>\n<tr>\n<td>090</td>\n<td>digitalSignature</td>\n<td>Assinatura digital inválida</td>\n<td>Invalid digital signature</td>\n</tr>\n<tr>\n<td>091</td>\n<td>-</td>\n<td>Nenhum token de criptografia foi gerado pelo cliente no painel</td>\n<td>No encryption token was generated by the customer in the dashboard</td>\n</tr>\n<tr>\n<td>092</td>\n<td>-</td>\n<td>Saldo insuficiente para transferência</td>\n<td>Insufficient balance for transfer</td>\n</tr>\n<tr>\n<td>093</td>\n<td>-</td>\n<td>Cliente destino não encontrado</td>\n<td>Destination client not found</td>\n</tr>\n<tr>\n<td>094</td>\n<td>-</td>\n<td>Erro ao cadastrar transferência</td>\n<td>Error registering transfer</td>\n</tr>\n<tr>\n<td>095</td>\n<td>-</td>\n<td>Informe apenas um dos parâmetros. Ou o CPFCNPJ ou Nickname</td>\n<td>Enter only one of the parameters. CPFCNPJ or Nickname</td>\n</tr>\n<tr>\n<td>096</td>\n<td>-</td>\n<td>Conta ainda não aprovada na Digital Infinity</td>\n<td>Account not yet approved</td>\n</tr>\n<tr>\n<td>097</td>\n<td>-</td>\n<td>Conta bloqueada na Digital Infinity</td>\n<td>Account blocked</td>\n</tr>\n<tr>\n<td>098</td>\n<td>-</td>\n<td>Um ou mais pagamentos estão abaixo do valor mínimo de transferência que é de {0}</td>\n<td>One or more payments are below the minimum transfer amount which is {0}</td>\n</tr>\n<tr>\n<td>099</td>\n<td>-</td>\n<td>Um ou mais pagamentos estão sem endereço informado</td>\n<td>One or more payments are without an address provided</td>\n</tr>\n<tr>\n<td>100</td>\n<td>addressTo</td>\n<td>Endereço Bitcoin inválido</td>\n<td>Invalid Bitcoin address</td>\n</tr>\n<tr>\n<td>101</td>\n<td>installments</td>\n<td>Informe ao menos 2 parcelas do carnê</td>\n<td>Inform at least 2 installments of the booklet</td>\n</tr>\n<tr>\n<td>102</td>\n<td>-</td>\n<td>Informe as datas de vencimento de todas as parcelas do carnê</td>\n<td>Inform the due dates of all installments of the booklet</td>\n</tr>\n<tr>\n<td>103</td>\n<td>-</td>\n<td>As datas de vencimento das parcelas do carnê precisam ser maior que a data atual</td>\n<td>The due dates installments must be greater than the current date</td>\n</tr>\n<tr>\n<td>104</td>\n<td>installmentNumber</td>\n<td>Não pode haver número repetido nas parcelas</td>\n<td>Repeated number in the plots</td>\n</tr>\n<tr>\n<td>105</td>\n<td>customId</td>\n<td>Não pode haver CustomId repetido nas parcelas</td>\n<td>Repeated number in the plots</td>\n</tr>\n<tr>\n<td>106</td>\n<td>dueDate</td>\n<td>DueDate não pode ser menor ou igual a data atual</td>\n<td>DueDate cannot be less than or equal to the current date</td>\n</tr>\n<tr>\n<td>107</td>\n<td>bankslip</td>\n<td>Boleto não encontrado</td>\n<td>ticket not found</td>\n</tr>\n<tr>\n<td>108</td>\n<td>bankslip.dueDate</td>\n<td>Boleto vencido expirou o prazo de atualização.</td>\n<td>Expired ticket expired.</td>\n</tr>\n<tr>\n<td>109</td>\n<td>bankslip.dueDate</td>\n<td>Não é possível alterar um boleto mais de uma vez na mesma data.</td>\n<td>It is not possible to change a ticket more than once on the same date.</td>\n</tr>\n<tr>\n<td>110</td>\n<td>bankslip</td>\n<td>Não foi possível alterar o boleto no sistema do BACEN.</td>\n<td>It was not possible to change the ticket in the BACEN system.</td>\n</tr>\n<tr>\n<td>111</td>\n<td>pix</td>\n<td>Não foi possível encontrar a chave PIX.</td>\n<td>Could not find PIX key.</td>\n</tr>\n<tr>\n<td>112</td>\n<td>pix</td>\n<td>Transferência não enviada. Entre em contato com nosso suporte e informe a mensagem: {MENSAGEM PERSONALIZADA}</td>\n<td>Transfer not sent. Contact our support and let us know the message: {CUSTOM MESSAGE}</td>\n</tr>\n<tr>\n<td>113</td>\n<td>pix</td>\n<td>Ocorreu um erro ao salvar solicitação. Informe imediatamente ao suporte.</td>\n<td>An error occurred while saving request. Notify support immediately.</td>\n</tr>\n<tr>\n<td>114</td>\n<td>pix</td>\n<td>Não é possível enviar PIX por sua conta. Entre em contato com o setor de compliance para entender o motivo.</td>\n<td>It is not possible to send PIX on your own. Contact the compliance department to understand why.</td>\n</tr>\n<tr>\n<td>115</td>\n<td>pix</td>\n<td>Cliente ainda não possui conta aberta no banco.</td>\n<td>Customer does not have an open bank account yet.</td>\n</tr>\n<tr>\n<td>116</td>\n<td>pix</td>\n<td>A conta principal está inativa ou encerrada.</td>\n<td>The main account is inactive or closed.</td>\n</tr>\n<tr>\n<td>117</td>\n<td>pix</td>\n<td>Informe o nome completo do favorecido</td>\n<td>Enter the beneficiary's full name</td>\n</tr>\n<tr>\n<td>118</td>\n<td>pix</td>\n<td>Informe o CPF ou CNPJ do favorecido</td>\n<td>Inform the beneficiary's CPF or CNPJ</td>\n</tr>\n<tr>\n<td>119</td>\n<td>pix</td>\n<td>Informe o tipo de chave PIX do favorecido</td>\n<td>Inform the beneficiary's PIX key type</td>\n</tr>\n<tr>\n<td>120</td>\n<td>pix</td>\n<td>Informe a chave PIX do favorecido</td>\n<td>Inform the beneficiary's PIX key</td>\n</tr>\n<tr>\n<td>121</td>\n<td>pix</td>\n<td>Ocorreu um erro ao salvar o conta bancária do favorecido</td>\n<td>There was an error saving the payee's bank account</td>\n</tr>\n<tr>\n<td>122</td>\n<td>pix</td>\n<td>Ocorreu um erro ao salvar o favorecido</td>\n<td>There was an error saving the payee</td>\n</tr>\n<tr>\n<td>123</td>\n<td>pix</td>\n<td>URL de confirmação de saque vazia ou inválida</td>\n<td>Empty or invalid withdrawal confirmation URL</td>\n</tr>\n<tr>\n<td>124</td>\n<td>pix</td>\n<td>URL de atualização de saque vazia ou inválida</td>\n<td>Empty or invalid Cashout Update URL</td>\n</tr>\n<tr>\n<td>125</td>\n<td>pix</td>\n<td>Não é possível enviar confirmação de conclusão de saque em ambiente de produção se o saque ainda não está confirmado pelo BACEN</td>\n<td>It is not possible to send confirmation of withdrawal completion in a production environment if the withdrawal has not yet been confirmed by BACEN</td>\n</tr>\n<tr>\n<td>126</td>\n<td>pix</td>\n<td>Cliente ainda não possui conta aberta no banco</td>\n<td>Customer does not have an open bank account yet</td>\n</tr>\n<tr>\n<td>127</td>\n<td>pix</td>\n<td>Cliente não possui chave cadastrada na sua conta principal</td>\n<td>Customer does not have a key registered in his main account</td>\n</tr>\n<tr>\n<td>128</td>\n<td>pix</td>\n<td>Conta principal inativa ou encerrada</td>\n<td>Master account inactive or closed</td>\n</tr>\n<tr>\n<td>129</td>\n<td>pix</td>\n<td>Conta não reconhecida como uma conta do favorecido</td>\n<td>Account not recognized as a payee account</td>\n</tr>\n<tr>\n<td>130</td>\n<td>pix</td>\n<td>Chave PIX inválida</td>\n<td>Invalid PIX key</td>\n</tr>\n<tr>\n<td>131</td>\n<td>pix</td>\n<td>Chave PIX de outro titular</td>\n<td>Other holder's PIX key</td>\n</tr>\n<tr>\n<td>132</td>\n<td>pix</td>\n<td>Erro ao processar o pagamento do PIX no BACEN</td>\n<td>Error processing PIX payment at BACEN</td>\n</tr>\n<tr>\n<td>133</td>\n<td>transfer</td>\n<td>Não possui permissão para acessar esta transferência</td>\n<td>You don't have permission to access this transfer</td>\n</tr>\n<tr>\n<td>134</td>\n<td>pix</td>\n<td>Chave PIX inválida no BACEN. Verifique uma nova chave PIX com o destinatário</td>\n<td>Invalid PIX key at BACEN. Verify a new PIX key with the recipient</td>\n</tr>\n<tr>\n<td>135</td>\n<td>transfer</td>\n<td>Chave PIX não corresponde ao padrão informado ({TIPO_ENVIADO_NA_REQUISICAO}). Tipos permitidos CPF, CNPJ, EMAIL, EVP ou CELULAR.</td>\n<td>PIX key does not match the informed pattern ({TYPE_SENT_IN_REQUEST}). Allowed types CPF, CNPJ, EMAIL, EVP, or CELLULAR.</td>\n</tr>\n<tr>\n<td>136</td>\n<td>transfer</td>\n<td>O favorecido não foi informado</td>\n<td>Beneficiary was not informed</td>\n</tr>\n<tr>\n<td>137</td>\n<td>transfer</td>\n<td>Chave PIX do favorecido não informado</td>\n<td>Uninformed payee's PIX key</td>\n</tr>\n<tr>\n<td>138</td>\n<td>transfer</td>\n<td>Nenhum banco disponível para pagamento. Entre em contato imediatamente com o suporte.</td>\n<td>No bank is available for payment. Please contact support immediately.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"92157752-6849-4b4c-a98c-13dacf76868d"},{"name":"Health","item":[{"name":"HealthCheck","id":"aca1d30c-0ac9-4fbd-a0e2-ccb3e888dcdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://sandbox.api.anspacepay.com/health/check","urlObject":{"path":["health","check"],"host":["https://sandbox.api.anspacepay.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"aca1d30c-0ac9-4fbd-a0e2-ccb3e888dcdf"},{"name":"HealhPost","id":"b1d4f3f0-56a9-4d73-b597-475d8752f233","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"Authorization","value":"","type":"text"}],"url":"https://sandbox.api.anspacepay.com/Health/Post?url=http%3A%2F%2Fsandbox.api.anspacepay.com","urlObject":{"path":["Health","Post"],"host":["https://sandbox.api.anspacepay.com"],"query":[{"key":"url","value":"http%3A%2F%2Fsandbox.api.anspacepay.com"}],"variable":[]}},"response":[],"_postman_id":"b1d4f3f0-56a9-4d73-b597-475d8752f233"}],"id":"77123b60-e3aa-4b5b-97e1-91c0f185b26e","description":"<p>Provides routes for API health validation</p>\n","_postman_id":"77123b60-e3aa-4b5b-97e1-91c0f185b26e"},{"name":"BankSlip","item":[{"name":"UpdateDueDate","event":[{"listen":"prerequest","script":{"exec":["var Atual = new Date()\r","var customId = Number(Atual)\r","pm.collectionVariables.set('CustomId', customId)\r","\r","//Checa se as variaveis obrigatorias estao preenchidas\r","if (!pm.collectionVariables.get('USRENAME-SANDBOX') || !pm.collectionVariables.get('PWD-SANDBOX')){\r","    throw new Error('Usuario ou senha em branco')\r","}\r","if (!pm.collectionVariables.get('TOKEN-SANDBOX')){\r","    throw new Error('ApplicationToken em branco')\r","}\r","pm.sendRequest({\r","    url: pm.collectionVariables.get('SANDBOX') + '/token',\r","    method: 'POST',\r","    header: {'content-type': 'application/x-www-form-urlencoded'},\r","    body: {\r","        mode: 'urlencoded',\r","        \"urlencoded\": [\r","            { key: \"username\", value: pm.collectionVariables.get('USRENAME-SANDBOX') },\r","            { key: \"password\", value: pm.collectionVariables.get('PWD-SANDBOX') },\r","            { key: \"grant_type\", value: \"password\" }\r","        ]\r","    }\r","    }, (err, res) => {\r","        pm.collectionVariables.set(\"AccessToken\", 'Bearer ' + res.json().access_token)\r","    })"],"type":"text/javascript","id":"377d9bc2-ddd8-4194-85f7-5c3723324732"}}],"id":"cad77d87-81a3-4315-96e0-55484837f431","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"Authorization","value":"","type":"text"},{"key":"x-request-id","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"bankSlipOurNumber\": \"1\",\r\n  \"bankSlipYourNumber\": \"2\",\r\n  \"dueDate\": \"22/05/2023\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.api.anspacepay.com/BankSlip/UpdateDueDate","description":"<p>Update payment slip due date (BS2)</p>\n","urlObject":{"path":["BankSlip","UpdateDueDate"],"host":["https://sandbox.api.anspacepay.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cad77d87-81a3-4315-96e0-55484837f431"}],"id":"405a597b-f3eb-4980-bc6b-8c1654e9d23b","_postman_id":"405a597b-f3eb-4980-bc6b-8c1654e9d23b","description":""},{"name":"Bitcoin","item":[{"name":"Send","event":[{"listen":"prerequest","script":{"exec":["var Atual = new Date()\r","var customId = Number(Atual)\r","pm.collectionVariables.set('CustomId', customId)\r","\r","//Checa se as variaveis obrigatorias estao preenchidas\r","if (!pm.collectionVariables.get('USRENAME-SANDBOX') || !pm.collectionVariables.get('PWD-SANDBOX')){\r","    throw new Error('Usuario ou senha em branco')\r","}\r","if (!pm.collectionVariables.get('TOKEN-SANDBOX')){\r","    throw new Error('ApplicationToken em branco')\r","}\r","pm.sendRequest({\r","    url: pm.collectionVariables.get('SANDBOX') + '/token',\r","    method: 'POST',\r","    header: {'content-type': 'application/x-www-form-urlencoded'},\r","    body: {\r","        mode: 'urlencoded',\r","        \"urlencoded\": [\r","            { key: \"username\", value: pm.collectionVariables.get('USRENAME-SANDBOX') },\r","            { key: \"password\", value: pm.collectionVariables.get('PWD-SANDBOX') },\r","            { key: \"grant_type\", value: \"password\" }\r","        ]\r","    }\r","    }, (err, res) => {\r","        pm.collectionVariables.set(\"AccessToken\", 'Bearer ' + res.json().access_token)\r","    })"],"type":"text/javascript","id":"924ab080-b788-4317-8644-95599f2c8d76"}}],"id":"d69a375b-9d55-48aa-9bae-4ff6fb61f5d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"}],"url":"https://sandbox.api.anspacepay.com/Bitcoin/Send","urlObject":{"path":["Bitcoin","Send"],"host":["https://sandbox.api.anspacepay.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d69a375b-9d55-48aa-9bae-4ff6fb61f5d7"},{"name":"ValidateAddress","event":[{"listen":"prerequest","script":{"exec":["var Atual = new Date()\r","var customId = Number(Atual)\r","pm.collectionVariables.set('CustomId', customId)\r","\r","//Checa se as variaveis obrigatorias estao preenchidas\r","if (!pm.collectionVariables.get('USRENAME-SANDBOX') || !pm.collectionVariables.get('PWD-SANDBOX')){\r","    throw new Error('Usuario ou senha em branco')\r","}\r","if (!pm.collectionVariables.get('TOKEN-SANDBOX')){\r","    throw new Error('ApplicationToken em branco')\r","}\r","pm.sendRequest({\r","    url: pm.collectionVariables.get('SANDBOX') + '/token',\r","    method: 'POST',\r","    header: {'content-type': 'application/x-www-form-urlencoded'},\r","    body: {\r","        mode: 'urlencoded',\r","        \"urlencoded\": [\r","            { key: \"username\", value: pm.collectionVariables.get('USRENAME-SANDBOX') },\r","            { key: \"password\", value: pm.collectionVariables.get('PWD-SANDBOX') },\r","            { key: \"grant_type\", value: \"password\" }\r","        ]\r","    }\r","    }, (err, res) => {\r","        pm.collectionVariables.set(\"AccessToken\", 'Bearer ' + res.json().access_token)\r","    })"],"type":"text/javascript","id":"85f9a5b8-f739-469b-b896-d7687f32d372"}}],"id":"76d87138-d51e-4a66-9d2c-e72e9613385f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"}],"url":"https://sandbox.api.anspacepay.com/Bitcoin/ValidateAddress?address=your-adress","urlObject":{"path":["Bitcoin","ValidateAddress"],"host":["https://sandbox.api.anspacepay.com"],"query":[{"key":"address","value":"your-adress"}],"variable":[]}},"response":[],"_postman_id":"76d87138-d51e-4a66-9d2c-e72e9613385f"}],"id":"541f9c3a-c9a9-4dd8-b0cc-f4fc345e8abd","_postman_id":"541f9c3a-c9a9-4dd8-b0cc-f4fc345e8abd","description":""},{"name":"Customer","item":[{"name":"CreateCustomer","event":[{"listen":"prerequest","script":{"exec":["var Atual = new Date()\r","var customId = Number(Atual)\r","pm.collectionVariables.set('CustomId', customId)\r","\r","//Checa se as variaveis obrigatorias estao preenchidas\r","if (!pm.collectionVariables.get('USRENAME-SANDBOX') || !pm.collectionVariables.get('PWD-SANDBOX')){\r","    throw new Error('Usuario ou senha em branco')\r","}\r","if (!pm.collectionVariables.get('TOKEN-SANDBOX')){\r","    throw new Error('ApplicationToken em branco')\r","}\r","pm.sendRequest({\r","    url: pm.collectionVariables.get('SANDBOX') + '/token',\r","    method: 'POST',\r","    header: {'content-type': 'application/x-www-form-urlencoded'},\r","    body: {\r","        mode: 'urlencoded',\r","        \"urlencoded\": [\r","            { key: \"username\", value: pm.collectionVariables.get('USRENAME-SANDBOX') },\r","            { key: \"password\", value: pm.collectionVariables.get('PWD-SANDBOX') },\r","            { key: \"grant_type\", value: \"password\" }\r","        ]\r","    }\r","    }, (err, res) => {\r","        pm.collectionVariables.set(\"AccessToken\", 'Bearer ' + res.json().access_token)\r","    })"],"type":"text/javascript","id":"0ed74f14-5602-479e-8c55-3aaaafa83d4e"}}],"id":"e344f5a4-b6ac-4236-94f0-c3583fd3df64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"}],"url":"https://sandbox.api.anspacepay.com/Customer/CreateCustomer","urlObject":{"path":["Customer","CreateCustomer"],"host":["https://sandbox.api.anspacepay.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e344f5a4-b6ac-4236-94f0-c3583fd3df64"}],"id":"fe8e1c14-0d86-4ff1-9d3c-67820566f2a9","_postman_id":"fe8e1c14-0d86-4ff1-9d3c-67820566f2a9","description":""},{"name":"Financial","item":[{"name":"PostRebalancingAccounts","event":[{"listen":"prerequest","script":{"exec":["var Atual = new Date()\r","var customId = Number(Atual)\r","pm.collectionVariables.set('CustomId', customId)\r","\r","//Checa se as variaveis obrigatorias estao preenchidas\r","if (!pm.collectionVariables.get('USRENAME-SANDBOX') || !pm.collectionVariables.get('PWD-SANDBOX')){\r","    throw new Error('Usuario ou senha em branco')\r","}\r","if (!pm.collectionVariables.get('TOKEN-SANDBOX')){\r","    throw new Error('ApplicationToken em branco')\r","}\r","pm.sendRequest({\r","    url: pm.collectionVariables.get('SANDBOX') + '/token',\r","    method: 'POST',\r","    header: {'content-type': 'application/x-www-form-urlencoded'},\r","    body: {\r","        mode: 'urlencoded',\r","        \"urlencoded\": [\r","            { key: \"username\", value: pm.collectionVariables.get('USRENAME-SANDBOX') },\r","            { key: \"password\", value: pm.collectionVariables.get('PWD-SANDBOX') },\r","            { key: \"grant_type\", value: \"password\" }\r","        ]\r","    }\r","    }, (err, res) => {\r","        var signBytes = CryptoJS.HmacSHA256(res.json().access_token, pm.collectionVariables.get('CRP-TOKEN'));\r","        var signHex = CryptoJS.enc.Hex.stringify(signBytes);\r","        pm.collectionVariables.set('AssinaturaDigital', signHex);\r","        pm.collectionVariables.set(\"AccessToken\", 'Bearer ' + res.json().access_token)\r","    })"],"type":"text/javascript","packages":{},"id":"65f7bde3-5c16-4b61-ac8a-93e7d9cba0a4"}}],"id":"d2177e9f-4717-4977-ab78-a6ec071c505b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"digitalSignature","value":"","type":"text"},{"key":"Authorization","value":"","type":"text"}],"url":"https://sandbox.api.anspacepay.com/Financial/PostRebalancingAccounts","description":"<p><strong>The endpoint postRebalancingAccounts (double: amountGraphicAccounts) sends the balance of the graphic accounts and we sync the transactional account (debiting/crediting the proprietary account).</strong></p>\n<p>For the client to request this EndPoint, just follow the following rules:<br />1 - authenticate in the API the same way you authenticate to call any other method<br />2 - send the parameter in the Header: ApplicationToken<br />3 - send in the body of the request in the \"application/json\" format<br />4 - the body contains only 1 parameter called: \"digitalSignature\" it must contain the same digital signature sent in the Tranfer/Pix method, respecting the encryption rules described in our documents.</p>\n<p>Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"error\": false,\n    \"returnMessage\": \"Sucess\"\n}\n\n</code></pre>\n<h3 id=\"request-headers\">Request Headers</h3>\n<p>ApplicationToken - Required</p>\n<p>digitalSignature - Required</p>\n<p>Authorization - Required</p>\n<p><strong>Body = None</strong></p>\n","urlObject":{"path":["Financial","PostRebalancingAccounts"],"host":["https://sandbox.api.anspacepay.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2177e9f-4717-4977-ab78-a6ec071c505b"},{"name":"GetRealBalanceSummary","event":[{"listen":"prerequest","script":{"id":"152a660d-27af-4e22-8a57-ac93e6a3f3ff","exec":["var Atual = new Date()\r","var customId = Number(Atual)\r","pm.collectionVariables.set('CustomId', customId)\r","\r","//Checa se as variaveis obrigatorias estao preenchidas\r","if (!pm.collectionVariables.get('USRENAME-SANDBOX') || !pm.collectionVariables.get('PWD-SANDBOX')){\r","    throw new Error('Usuario ou senha em branco')\r","}\r","if (!pm.collectionVariables.get('TOKEN-SANDBOX')){\r","    throw new Error('ApplicationToken em branco')\r","}\r","pm.sendRequest({\r","    url: pm.collectionVariables.get('SANDBOX') + '/token',\r","    method: 'POST',\r","    header: {'content-type': 'application/x-www-form-urlencoded'},\r","    body: {\r","        mode: 'urlencoded',\r","        \"urlencoded\": [\r","            { key: \"username\", value: pm.collectionVariables.get('USRENAME-SANDBOX') },\r","            { key: \"password\", value: pm.collectionVariables.get('PWD-SANDBOX') },\r","            { key: \"grant_type\", value: \"password\" }\r","        ]\r","    }\r","    }, (err, res) => {\r","        var signBytes = CryptoJS.HmacSHA256(res.json().access_token, pm.collectionVariables.get('CRP-TOKEN'));\r","        var signHex = CryptoJS.enc.Hex.stringify(signBytes);\r","        pm.collectionVariables.set('AssinaturaDigital', signHex);\r","        pm.collectionVariables.set(\"AccessToken\", 'Bearer ' + res.json().access_token)\r","    })"],"type":"text/javascript","packages":{}}}],"id":"768b24f2-06bf-4098-828e-cb8cb747b71e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"digitalSignature","value":"","type":"text"},{"key":"Authorization","value":"","type":"text"}],"url":"https://sandbox.api.anspacepay.com​/Financial/GetRealBalanceSummary","description":"<p><strong>This endpoint [ApplicationToken, Authorization, digitalSignature] (general summary) returns the current balance of the transactional and proprietary account.</strong></p>\n<p>For the client to request this EndPoint, just follow the following rules:<br />1 - authenticate in the API the same way you authenticate to call any other method<br />2 - send the parameter in the Header: ApplicationToken<br />3 - send in the body of the request in the \"application/json\" format<br />4 - the body contains only 1 parameter called: \"digitalSignature\" it must contain the same digital signature sent in the Tranfer/Pix method, respecting the encryption rules described in our documents.</p>\n<p>Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"balanceAvailable\": 20000,\n        \"balanceToReceive\": 0,\n        \"currencyCode\": \"BRL\",\n        \"currency\": \"Real\",\n        \"symbol\": \"R$\",\n        \"typeAccount\": \"Transacional\",\n        \"error\": false,\n        \"returnCode\": \"00\",\n        \"returnMessage\": \"Success\"\n    },\n    {\n        \"balanceAvailable\": 20000,\n        \"balanceToReceive\": 0,\n        \"currencyCode\": \"BRL\",\n        \"currency\": \"Real\",\n        \"symbol\": \"R$\",\n        \"typeAccount\": \"Proprietaria\",\n        \"error\": false,\n        \"returnCode\": \"00\",\n        \"returnMessage\": \"Success\"\n    }\n]\n\n</code></pre>\n<h3 id=\"request-headers\">Request Headers</h3>\n<p>ApplicationToken - Required</p>\n<p>digitalSignature - Required</p>\n<p>Authorization - Required</p>\n<p><strong>Body = None</strong></p>\n","urlObject":{"path":["Financial","GetRealBalanceSummary"],"host":["https://sandbox.api.anspacepay.com​"],"query":[],"variable":[]}},"response":[],"_postman_id":"768b24f2-06bf-4098-828e-cb8cb747b71e"},{"name":"GetRealBalanceByDate","event":[{"listen":"prerequest","script":{"exec":["var Atual = new Date()\r","var customId = Number(Atual)\r","pm.collectionVariables.set('CustomId', customId)\r","\r","//Checa se as variaveis obrigatorias estao preenchidas\r","if (!pm.collectionVariables.get('USRENAME-SANDBOX') || !pm.collectionVariables.get('PWD-SANDBOX')){\r","    throw new Error('Usuario ou senha em branco')\r","}\r","if (!pm.collectionVariables.get('TOKEN-SANDBOX')){\r","    throw new Error('ApplicationToken em branco')\r","}\r","pm.sendRequest({\r","    url: pm.collectionVariables.get('SANDBOX') + '/token',\r","    method: 'POST',\r","    header: {'content-type': 'application/x-www-form-urlencoded'},\r","    body: {\r","        mode: 'urlencoded',\r","        \"urlencoded\": [\r","            { key: \"username\", value: pm.collectionVariables.get('USRENAME-SANDBOX') },\r","            { key: \"password\", value: pm.collectionVariables.get('PWD-SANDBOX') },\r","            { key: \"grant_type\", value: \"password\" }\r","        ]\r","    }\r","    }, (err, res) => {\r","        var signBytes = CryptoJS.HmacSHA256(res.json().access_token, pm.collectionVariables.get('CRP-TOKEN'));\r","        var signHex = CryptoJS.enc.Hex.stringify(signBytes);\r","        pm.collectionVariables.set('AssinaturaDigital', signHex);\r","        pm.collectionVariables.set(\"AccessToken\", 'Bearer ' + res.json().access_token)\r","    })"],"type":"text/javascript","packages":{},"id":"e0b01b9b-aff8-4694-8f7a-b43396bebc41"}}],"id":"1550dd16-4d68-4ae0-847a-b49df6b5455f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"digitalSignature","value":"","type":"text"},{"key":"Authorization","value":"","type":"text"}],"url":"https://sandbox.api.anspacepay.com​/Financial/GetRealBalanceByDate?Date=2024-11-08","description":"<p><strong>This endpoint [ApplicationToken, Authorization, digitalSignature] (date: YYYY-MM-DD BRT) passes a movement date (YYYY-MM-DD BRT) and we return the initial and final balance of the transactional and proprietary account.</strong></p>\n<p>For the client to request this EndPoint, just follow the following rules:<br />1 - authenticate in the API the same way you authenticate to call any other method<br />2 - send the parameter in the Header: ApplicationToken<br />3 - send in the body of the request in the \"application/JSON\" format<br />4 - the body contains only 1 parameter called \"digitalSignature.\" It must contain the same digital signature sent in the Tranfer/Pix method, respecting the encryption rules described in our documents.</p>\n<p>Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"balanceAvailable\": 20000,\n        \"balanceToReceive\": 0,\n        \"currencyCode\": \"BRL\",\n        \"currency\": \"Real\",\n        \"symbol\": \"R$\",\n        \"typeAccount\": \"Transacional\",\n        \"error\": false,\n        \"returnCode\": \"00\",\n        \"returnMessage\": \"Success\"\n    },\n    {\n        \"balanceAvailable\": 20000,\n        \"balanceToReceive\": 0,\n        \"currencyCode\": \"BRL\",\n        \"currency\": \"Real\",\n        \"symbol\": \"R$\",\n        \"typeAccount\": \"Proprietaria\",\n        \"error\": false,\n        \"returnCode\": \"00\",\n        \"returnMessage\": \"Success\"\n    }\n]\n\n</code></pre>\n<h3 id=\"request-headers\">Request Headers</h3>\n<p>ApplicationToken - Required</p>\n<p>digitalSignature - Required</p>\n<p>Authorization - Required</p>\n<p><strong>Body = None</strong></p>\n","urlObject":{"path":["Financial","GetRealBalanceByDate"],"host":["https://sandbox.api.anspacepay.com​"],"query":[{"key":"Date","value":"2024-11-08"}],"variable":[]}},"response":[],"_postman_id":"1550dd16-4d68-4ae0-847a-b49df6b5455f"},{"name":"GetRealBalance","event":[{"listen":"prerequest","script":{"exec":["var Atual = new Date()\r","var customId = Number(Atual)\r","pm.collectionVariables.set('CustomId', customId)\r","\r","//Checa se as variaveis obrigatorias estao preenchidas\r","if (!pm.collectionVariables.get('USRENAME-SANDBOX') || !pm.collectionVariables.get('PWD-SANDBOX')){\r","    throw new Error('Usuario ou senha em branco')\r","}\r","if (!pm.collectionVariables.get('TOKEN-SANDBOX')){\r","    throw new Error('ApplicationToken em branco')\r","}\r","pm.sendRequest({\r","    url: pm.collectionVariables.get('SANDBOX') + '/token',\r","    method: 'POST',\r","    header: {'content-type': 'application/x-www-form-urlencoded'},\r","    body: {\r","        mode: 'urlencoded',\r","        \"urlencoded\": [\r","            { key: \"username\", value: pm.collectionVariables.get('USRENAME-SANDBOX') },\r","            { key: \"password\", value: pm.collectionVariables.get('PWD-SANDBOX') },\r","            { key: \"grant_type\", value: \"password\" }\r","        ]\r","    }\r","    }, (err, res) => {\r","        var signBytes = CryptoJS.HmacSHA256(res.json().access_token, pm.collectionVariables.get('CRP-TOKEN'));\r","        var signHex = CryptoJS.enc.Hex.stringify(signBytes);\r","        pm.collectionVariables.set('AssinaturaDigital', signHex);\r","        pm.collectionVariables.set(\"AccessToken\", 'Bearer ' + res.json().access_token)\r","    })"],"type":"text/javascript","id":"edc4e7e9-f2a2-4b1e-b977-37359ab896f1"}}],"id":"d15d9a09-eede-498c-8974-8ee80b8d6ef4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"digitalSignature","value":"","type":"text"},{"key":"Authorization","value":"","type":"text"}],"url":"https://sandbox.api.anspacepay.com/Financial/GetRealBalance","description":"<p><strong>This endpoint returns the current transactional balance:</strong></p>\n<p>For the client to request this EndPoint, just follow the following rules:<br />1 - authenticate in the API the same way you authenticate to call any other method<br />2 - send the parameter in the Header: ApplicationToken<br />3 - send in the body of the request in the \"application/json\" format<br />4 - the body contains only 1 parameter called: \"digitalSignature\" it must contain the same digital signature sent in the Tranfer/Pix method, respecting the encryption rules described in our documents.</p>\n<p>Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"balanceAvailable\": 90457465,\n    \"balanceToReceive\": 0,\n    \"currencyCode\": \"BRL\",\n    \"currency\": \"Real\",\n    \"symbol\": \"R$\",\n    \"error\": false,\n    \"returnCode\": \"00\",\n    \"returnMessage\": \"Success\"\n}\n\n</code></pre>\n<h3 id=\"request-headers\">Request Headers</h3>\n<p>ApplicationToken - Required</p>\n<p>digitalSignature - Required</p>\n<p>Authorization - Required</p>\n<p><strong>Body = None</strong></p>\n","urlObject":{"path":["Financial","GetRealBalance"],"host":["https://sandbox.api.anspacepay.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d15d9a09-eede-498c-8974-8ee80b8d6ef4"},{"name":"GetBitcoinBalance","event":[{"listen":"prerequest","script":{"exec":["var Atual = new Date()\r","var customId = Number(Atual)\r","pm.collectionVariables.set('CustomId', customId)\r","\r","//Checa se as variaveis obrigatorias estao preenchidas\r","if (!pm.collectionVariables.get('USRENAME-SANDBOX') || !pm.collectionVariables.get('PWD-SANDBOX')){\r","    throw new Error('Usuario ou senha em branco')\r","}\r","if (!pm.collectionVariables.get('TOKEN-SANDBOX')){\r","    throw new Error('ApplicationToken em branco')\r","}\r","pm.sendRequest({\r","    url: pm.collectionVariables.get('SANDBOX') + '/token',\r","    method: 'POST',\r","    header: {'content-type': 'application/x-www-form-urlencoded'},\r","    body: {\r","        mode: 'urlencoded',\r","        \"urlencoded\": [\r","            { key: \"username\", value: pm.collectionVariables.get('USRENAME-SANDBOX') },\r","            { key: \"password\", value: pm.collectionVariables.get('PWD-SANDBOX') },\r","            { key: \"grant_type\", value: \"password\" }\r","        ]\r","    }\r","    }, (err, res) => {\r","        var signBytes = CryptoJS.HmacSHA256(res.json().access_token, pm.collectionVariables.get('CRP-TOKEN'));\r","        var signHex = CryptoJS.enc.Hex.stringify(signBytes);\r","        pm.collectionVariables.set('AssinaturaDigital', signHex);\r","        pm.collectionVariables.set(\"AccessToken\", 'Bearer ' + res.json().access_token)\r","    })"],"type":"text/javascript","id":"d01b8e49-4d28-477a-a1e1-7453073f9650"}}],"id":"917d6db3-4fe7-490b-b62e-e65ad3daa52c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"digitalSignature\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.api.anspacepay.com/Financial/GetBitcoinBalance?ApplicationToken=&Authorization=","urlObject":{"path":["Financial","GetBitcoinBalance"],"host":["https://sandbox.api.anspacepay.com"],"query":[{"key":"ApplicationToken","value":""},{"key":"Authorization","value":""}],"variable":[]}},"response":[],"_postman_id":"917d6db3-4fe7-490b-b62e-e65ad3daa52c"}],"id":"904893e2-7acb-4a03-988f-147a43176b24","description":"<p><strong>API Financial</strong> provides the following endpoints:</p>\n<ol>\n<li><p><strong>getRealBalanceBySummary</strong> - Returns a complete summary of the current balance of transactional and proprietary accounts. This endpoint requires authentication via <code>ApplicationToken</code>, <code>Authorization</code>, and <code>digitalSignature</code>.</p>\n</li>\n<li><p><strong>getRealBalanceByDate</strong> - Allows you to see the opening and closing balance of transactional and proprietary accounts for a specific date (in <code>YYYY-MM-DD BRT</code> format). This endpoint also requires authentication with <code>ApplicationToken</code>, <code>Authorization</code>, and <code>digitalSignature</code>.</p>\n</li>\n<li><p><strong>getRealBalance</strong> - Returns the current balance of the transactional account, allowing a quick and simplified query.</p>\n</li>\n<li><p><strong>postRebalancingAccounts</strong> - Synchronizes the balance of the graphic accounts with the transactional account, making adjustments to the proprietary account according to the value specified (<code>amountGraphicAccounts</code>).</p>\n</li>\n</ol>\n","_postman_id":"904893e2-7acb-4a03-988f-147a43176b24"},{"name":"Invoice","item":[{"name":"CancelInvoice","event":[{"listen":"prerequest","script":{"exec":["var Atual = new Date()\r","var customId = Number(Atual)\r","pm.collectionVariables.set('CustomId', customId)\r","\r","//Checa se as variaveis obrigatorias estao preenchidas\r","if (!pm.collectionVariables.get('USRENAME-SANDBOX') || !pm.collectionVariables.get('PWD-SANDBOX')){\r","    throw new Error('Usuario ou senha em branco')\r","}\r","if (!pm.collectionVariables.get('TOKEN-SANDBOX')){\r","    throw new Error('ApplicationToken em branco')\r","}\r","pm.sendRequest({\r","    url: pm.collectionVariables.get('SANDBOX') + '/token',\r","    method: 'POST',\r","    header: {'content-type': 'application/x-www-form-urlencoded'},\r","    body: {\r","        mode: 'urlencoded',\r","        \"urlencoded\": [\r","            { key: \"username\", value: pm.collectionVariables.get('USRENAME-SANDBOX') },\r","            { key: \"password\", value: pm.collectionVariables.get('PWD-SANDBOX') },\r","            { key: \"grant_type\", value: \"password\" }\r","        ]\r","    }\r","    }, (err, res) => {\r","        pm.collectionVariables.set(\"AccessToken\", 'Bearer ' + res.json().access_token)\r","    })"],"type":"text/javascript","id":"2cd4bc11-7766-42b4-a0af-ab9e5e12282c"}}],"id":"5f785599-db68-40a4-879e-f73c472a1401","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"}],"url":"https://sandbox.api.anspacepay.com/Invoice/CancelInvoice?Id=1","urlObject":{"path":["Invoice","CancelInvoice"],"host":["https://sandbox.api.anspacepay.com"],"query":[{"key":"Id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"5f785599-db68-40a4-879e-f73c472a1401"},{"name":"GetInvoice","event":[{"listen":"prerequest","script":{"exec":["var Atual = new Date()\r","var customId = Number(Atual)\r","pm.collectionVariables.set('CustomId', customId)\r","\r","//Checa se as variaveis obrigatorias estao preenchidas\r","if (!pm.collectionVariables.get('USRENAME-SANDBOX') || !pm.collectionVariables.get('PWD-SANDBOX')){\r","    throw new Error('Usuario ou senha em branco')\r","}\r","if (!pm.collectionVariables.get('TOKEN-SANDBOX')){\r","    throw new Error('ApplicationToken em branco')\r","}\r","pm.sendRequest({\r","    url: pm.collectionVariables.get('SANDBOX') + '/token',\r","    method: 'POST',\r","    header: {'content-type': 'application/x-www-form-urlencoded'},\r","    body: {\r","        mode: 'urlencoded',\r","        \"urlencoded\": [\r","            { key: \"username\", value: pm.collectionVariables.get('USRENAME-SANDBOX') },\r","            { key: \"password\", value: pm.collectionVariables.get('PWD-SANDBOX') },\r","            { key: \"grant_type\", value: \"password\" }\r","        ]\r","    }\r","    }, (err, res) => {\r","        pm.collectionVariables.set(\"AccessToken\", 'Bearer ' + res.json().access_token)\r","    })"],"type":"text/javascript","id":"3628a0d2-9653-4181-b573-10884043a2e4"}}],"id":"69b1a2c5-bd0f-4014-8091-767196007f84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"Authorization","value":"","type":"text"}],"url":"https://sandbox.api.anspacepay.com/Invoice/GetInvoice?Id=0632add4-898f-4aa9-8e51-99c1f2b8e579","urlObject":{"path":["Invoice","GetInvoice"],"host":["https://sandbox.api.anspacepay.com"],"query":[{"key":"Id","value":"0632add4-898f-4aa9-8e51-99c1f2b8e579"}],"variable":[]}},"response":[],"_postman_id":"69b1a2c5-bd0f-4014-8091-767196007f84"},{"name":"GetStatus","event":[{"listen":"prerequest","script":{"exec":["var Atual = new Date()\r","var customId = Number(Atual)\r","pm.collectionVariables.set('CustomId', customId)\r","\r","//Checa se as variaveis obrigatorias estao preenchidas\r","if (!pm.collectionVariables.get('USRENAME-SANDBOX') || !pm.collectionVariables.get('PWD-SANDBOX')){\r","    throw new Error('Usuario ou senha em branco')\r","}\r","if (!pm.collectionVariables.get('TOKEN-SANDBOX')){\r","    throw new Error('ApplicationToken em branco')\r","}\r","pm.sendRequest({\r","    url: pm.collectionVariables.get('SANDBOX') + '/token',\r","    method: 'POST',\r","    header: {'content-type': 'application/x-www-form-urlencoded'},\r","    body: {\r","        mode: 'urlencoded',\r","        \"urlencoded\": [\r","            { key: \"username\", value: pm.collectionVariables.get('USRENAME-SANDBOX') },\r","            { key: \"password\", value: pm.collectionVariables.get('PWD-SANDBOX') },\r","            { key: \"grant_type\", value: \"password\" }\r","        ]\r","    }\r","    }, (err, res) => {\r","        pm.collectionVariables.set(\"AccessToken\", 'Bearer ' + res.json().access_token)\r","    })"],"type":"text/javascript","id":"c40abb29-698d-4e84-ab65-712ccbbc5c93"}}],"id":"ebdac2ea-66e3-447a-9f77-c69f6e1e394f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"Authorization","value":"","type":"text"}],"url":"https://sandbox.api.anspacepay.com/Invoice/getstatus?Id=0632add4-898f-4aa9-8e51-99c1f2b8e579","description":"<h3 id=\"request\">Request:</h3>\n<p><strong>Headers:</strong></p>\n<ul>\n<li>ApplicationToken</li>\n<li>Authorization</li>\n</ul>\n<h3 id=\"status\"><strong>Status</strong></h3>\n<p><strong>Pending</strong> - If there is no pending payment date<br /><strong>Canceled</strong> - If it has a cancellation date<br /><strong>Expired</strong> - Expiration date less than current date<br /><strong>Paid</strong> - If you have a payment date<br /><strong>Unknown</strong> - If none of the other conditions.</p>\n","urlObject":{"path":["Invoice","getstatus"],"host":["https://sandbox.api.anspacepay.com"],"query":[{"key":"Id","value":"0632add4-898f-4aa9-8e51-99c1f2b8e579"}],"variable":[]}},"response":[{"id":"54ffe284-84c9-4182-aec2-ec63698f053a","name":"GetStatus","originalRequest":{"method":"GET","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"Authorization","value":"","type":"text"}],"url":{"raw":"https://sandbox.api.anspacepay.com/Invoice/getstatus?Id=0632add4-898f-4aa9-8e51-99c1f2b8e579","host":["https://sandbox.api.anspacepay.com"],"path":["Invoice","getstatus"],"query":[{"key":"Id","value":"0632add4-898f-4aa9-8e51-99c1f2b8e579"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"225","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Expires","value":"Sun, 02 Jul 2023 19:27:51 GMT","enabled":true},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store","enabled":true},{"key":"Pragma","value":"no-cache","enabled":true},{"key":"Date","value":"Sun, 02 Jul 2023 19:27:51 GMT","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Pending\",\n    \"paymentDate\": null,\n    \"dueDate\": \"30/12/2023\",\n    \"cancelDate\": null,\n    \"id\": \"0632add4-898f-4aa9-8e51-99c1f2b8e579\",\n    \"currency\": \"\",\n    \"total\": 1,\n    \"totalPaid\": 0,\n    \"error\": false,\n    \"returnCode\": \"00\",\n    \"returnMessage\": \"Success\"\n}"}],"_postman_id":"ebdac2ea-66e3-447a-9f77-c69f6e1e394f"},{"name":"GetStatusId","event":[{"listen":"prerequest","script":{"exec":["var Atual = new Date()\r","var customId = Number(Atual)\r","pm.collectionVariables.set('CustomId', customId)\r","\r","//Checa se as variaveis obrigatorias estao preenchidas\r","if (!pm.collectionVariables.get('USRENAME-SANDBOX') || !pm.collectionVariables.get('PWD-SANDBOX')){\r","    throw new Error('Usuario ou senha em branco')\r","}\r","if (!pm.collectionVariables.get('TOKEN-SANDBOX')){\r","    throw new Error('ApplicationToken em branco')\r","}\r","pm.sendRequest({\r","    url: pm.collectionVariables.get('SANDBOX') + '/token',\r","    method: 'POST',\r","    header: {'content-type': 'application/x-www-form-urlencoded'},\r","    body: {\r","        mode: 'urlencoded',\r","        \"urlencoded\": [\r","            { key: \"username\", value: pm.collectionVariables.get('USRENAME-SANDBOX') },\r","            { key: \"password\", value: pm.collectionVariables.get('PWD-SANDBOX') },\r","            { key: \"grant_type\", value: \"password\" }\r","        ]\r","    }\r","    }, (err, res) => {\r","        pm.collectionVariables.set(\"AccessToken\", 'Bearer ' + res.json().access_token)\r","    })"],"type":"text/javascript","id":"0a7738e9-ae94-4b4f-9581-d98212299702"}}],"id":"43d837ef-664a-41cd-b7c1-64c677a62bc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApplicationToken","value":"d39bef36-e989-4a50-8301-8adaf61352a0","type":"text"},{"key":"Authorization","value":"","type":"text"}],"url":"https://sandbox.api.anspacepay.com/Invoice/GetStatus/2?Id=0632add4-898f-4aa9-8e51-99c1f2b8e579","urlObject":{"path":["Invoice","GetStatus","2"],"host":["https://sandbox.api.anspacepay.com"],"query":[{"key":"Id","value":"0632add4-898f-4aa9-8e51-99c1f2b8e579"}],"variable":[]}},"response":[],"_postman_id":"43d837ef-664a-41cd-b7c1-64c677a62bc4"}],"id":"3fc1c70f-df55-479d-87db-a04c01b818db","_postman_id":"3fc1c70f-df55-479d-87db-a04c01b818db","description":""},{"name":"FAQ","id":"067b61d4-ab25-436c-9051-fb5385d6884b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"url":"","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>1 - Could you provide your live URLs so I can add them in the code as well before continuing with live tests:</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Base URL: <a href=\"https://api.anspacepay.com2\">https://api.anspacepay.com</a></td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>2 - For the PaymentPix request I see \"amount\": 504 - are those 504 cents, which means it is 5.04BRL?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Right. The amount property is Int type.</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>3 - For the confirmation/callback, you send 2 fields for the amount: \"total\": 504, \"totalPaid\": 504. What do they mean and why there are two fields?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Total is the amount of the invoice.</td>\n</tr>\n<tr>\n<td>totalPaid is the amount paid by the customer, different from the total in case of discount, or interest fees.</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>4 - What are the possible values for the \"status\" field for the confirmation/callback request? I see there is \"Paid\", but what are the rest?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Paid, Canceled, Pending, Unknown</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>5 - What are the min and maximum amount limits for deposits</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>No limits</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>6 - Could you provide the logic behind that \"digitalSignature\" property and how to generate it?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Security digital signature for transactions involving balance is an extra layer of security to make sure your system is allowed to transfer. The electronic signature is created by encrypting the access_token (bearer token used to authenticate the API). The method used for encryption is HMAC-SHA256 and the key used must be the Security Token (obtained from the Security Token screen in the Integrations menu). In the sandbox the Security Token is 8E765DB0-9C1C-44D0-85AB-8FD0B2E7D7CD. You can use the site <a href=\"https://www.devglan.com/online-tools/hmac-sha256-online\">https://www.devglan.com/online-tools/hmac-sha256-online</a> to encrypt your token.</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>6.1 - If \"confirmationUrl\" is the link at which you send us the callbacks, what the \"updateUrl\" property is used for?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>A POST will be sent in case of later updates with fields: WithdrawCode, UpdateCode, UpdateMessage;</td>\n</tr>\n<tr>\n<td>1. WithdrawCode</td>\n</tr>\n<tr>\n<td>2. UpdateCode</td>\n</tr>\n<tr>\n<td>a. 01</td>\n</tr>\n<tr>\n<td>b. 02</td>\n</tr>\n<tr>\n<td>c. 03</td>\n</tr>\n<tr>\n<td>3. UpdateMessage</td>\n</tr>\n<tr>\n<td>a. INSTABILITY (UpdateCode 01)</td>\n</tr>\n<tr>\n<td>b. RETURNED TRANSACTION (UpdateCode 02)</td>\n</tr>\n<tr>\n<td>c. REJECTED TRANSACTION (UpdateCode 03)</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>6.2 What \"idTipoChavePIX\" means? Is that a unique identification for the transaction provided by us?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Is a type of PIX Key</td>\n</tr>\n<tr>\n<td>1. CPFCNPJ = 1 (brazilian document type – CPF = Person, CNPJ = Business),</td>\n</tr>\n<tr>\n<td>2. TELEFONE = 2 (telephon),</td>\n</tr>\n<tr>\n<td>3. EMAIL = 3 (email),</td>\n</tr>\n<tr>\n<td>4. EVP = 4 (type aleatory)</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>6.3 - Does the \"returnMessage\": \"Success\" means that the money is successfully transferred to the given user?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Right. But the Brazilian payment system is asynchronous so the target bank can reject the transaction for any reason.</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>6.4 - What the \"withdrawCode\" and \"authenticationCode\" are used for? Should I show them to the user?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>withdrawCode is the code generated by our system. Is unique for a withdrawal and is a common code between your system and our system.</td>\n</tr>\n<tr>\n<td>authenticationCode is code generated by the Central Bank of Brasil.</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>6.5 <strong>-</strong> Should the properties \"cpfcnpj\" and \"chavePIX\" be the same as provided in the example?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>No. CPF is an identification document for Brazilians and CNPJ is an identification document for Brazilian companies. If the recipient is a person, you need to inform the CPF, if it is a company, you must inform the CNPJ.</td>\n</tr>\n<tr>\n<td>chavePIX is the key of customers who have to receive PIX.</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>6.6 - How I can put a confirmation on the transfer/withdrawal so I can view/test how the response will look? I do not see some specific ID like in the paymentPix</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>{{baseurl}}/transfer/putconfirmation  <br />Here you get the simulation of PutConfirmation of withdraw request to send digitalSinature and withdrawCode.</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>7- Can you please tell us where we can find the transaction statuses?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Withdraw:  <br />01 - INSTABILITY  <br />02 - RETURNED TRANSACTION  <br />03 - REJECTED TRANSACTION  <br />Deposits:  <br />Pending  <br />Canceled  <br />Paid  <br />Overdue</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>8 - What statuses are final ( that will not change)?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Deposit:  <br />Paid  <br />  <br />Withdraw:  <br />COMPLETED  <br />INSTABILITY RETURNED TRANSACTION REJECTED TRANSACTION</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>What is PIX technology?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>PIX is an instant payment system created by the Central Bank of Brazil, officially launched in November 2020. It allows bank transfers to be carried out in real-time, 24 hours a day, seven days a week, at no cost to individuals, and with low rates for companies.  <br />  <br />With PIX, it is possible to carry out transfers using only information such as CPF, CNPJ, emaili, or cell phone of the recipient, making the process faster and more practical. In addition, PIX also allows payment for purchases in physical and virtual stores, withdrawals from commercial establishments, and even payment of utility bills.  <br />  <br />The purpose of the PIX is to reduce the use of cash and increase the efficiency of the Brazilian financial system. It has been adopted by a large part of the population and has already become one of the most popular ways of transferring money in Brazil.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"067b61d4-ab25-436c-9051-fb5385d6884b"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"1a7fdf51-6a71-42bd-b75f-64c18095af4b"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"34e70621-f918-477d-b8c3-62b58af69334"}}],"variable":[{"key":"SANDBOX","value":"https://sandbox.api.anspacepay.com"},{"key":"TOKEN-SANDBOX","value":"d39bef36-e989-4a50-8301-8adaf61352a0"},{"key":"USRENAME-SANDBOX","value":"190626000001"},{"key":"PWD-SANDBOX","value":"21abd94c-d2a5-48ba-b38d-4a38752e8772"},{"key":"CRP-TOKEN","value":"8E765DB0-9C1C-44D0-85AB-8FD0B2E7D7CD"},{"key":"AccessToken","value":""},{"key":"CustomId","value":""},{"key":"AssinaturaDigital","value":""}]}