{"info":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","description":"<html><head></head><body><h2 id=\"autenticação\">Autenticação</h2>\n<ul>\n<li><p>A autenticação é feita através de um Access Token fornecido pela AmFi.</p>\n</li>\n<li><p>Este token deve ser preenchido no header <code>Authorization</code></p>\n</li>\n<li><p>A coleção postman atrelada a essa documentação utiliza uma variável <code>apiKey</code> que você pode usar com o seu token para executar os requests.</p>\n</li>\n</ul>\n<h2 id=\"fluxo-operacional\">Fluxo Operacional</h2>\n<p>O fluxo operacional do originador consiste predominantemente de 3 funções.</p>\n<ol>\n<li><p>Cadastrar novos clientes/tomadores/cedentes dos direitos creditórios adquiridos.</p>\n</li>\n<li><p>Cadastrar remessas com os ativos a serem adquiridos. O sistema da AmFi se encarrega de validar os critérios de elegibilidade, tokenizar os ativos, (opcionalmente) enviar termos de endosso para assinatura, e desembolsar o recurso.</p>\n</li>\n<li><p>Conciliar eventuais recebimentos, quitando os ativos da carteira.</p>\n</li>\n</ol>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"33586609","collectionId":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","publishedId":"2sA2xmUWEP","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF5EB0"},"publishDate":"2024-03-15T02:08:43.000Z"},"item":[{"name":"Endpoints para Originadores","item":[{"name":"Conciliação","item":[{"name":"Listar Entradas a Conciliar","event":[{"listen":"test","script":{"id":"d3787459-fc67-4425-bd6a-f6f2f9521b99","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","// Validate that the response is json object","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","",""],"type":"text/javascript","packages":{}}}],"id":"814bb563-8815-4be7-98db-4662f479bf3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8"}],"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/abrl_entries","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","abrl_entries"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[{"id":"c30ee713-29a9-4dfa-841f-9cbef901762a","name":"Listar Entradas a Conciliar","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"url":{"raw":"https://api.amfi.link/v2/lendings/:lendingId/abrl_entries","host":["https://api.amfi.link"],"path":["v2","lendings",":lendingId","abrl_entries"],"variable":[{"key":"lendingId","value":"88092475-2fd2-4b2f-ad4c-6633e48909c4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 14 Mar 2024 23:37:41 GMT"},{"key":"Server","value":"-"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"ETag","value":"W/\"6c274de3db4e121893916cc9eb9d25cb\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"dd6e87a4-c078-422a-992c-8ab5fc25a648"},{"key":"X-Runtime","value":"0.527498"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 c5bb940b2890383b4ca2d8b74b68699a.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD89-C2"},{"key":"X-Amz-Cf-Id","value":"6jd1aBzIpQsgWNkyDXajxOkHBhf6JyCqPhHiHmMz3KlIjoibCjmSjw=="},{"key":"Content-Security-Policy","value":"frame-ancestors 'none'; default-src 'self' https://amfi-stg-api-permanent-storage.s3.amazonaws.com https://maxcdn.bootstrapcdn.com/; connect-src 'self' https://bam.nr-data.net; style-src 'unsafe-inline' 'self' https://maxcdn.bootstrapcdn.com/; script-src 'unsafe-eval' 'unsafe-inline' 'self' https://js-agent.newrelic.com https://bam.nr-data.net"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"4b3be790-9d45-42c7-bfbe-0aad339de164\",\n            \"type\": \"abrlEntry\",\n            \"attributes\": {\n                \"amount\": \"1000000.0\",\n                \"name\": \"Nome do pagador\",\n                \"receivedAt\": \"2024-03-14T19:58:39.431-03:00\",\n                \"statusCd\": \"registered\",\n                \"taxpayerIdentificationNumber\": \"001.291.211-02\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"currentPage\": 1,\n            \"previousPage\": null,\n            \"nextPage\": null,\n            \"perPage\": 25,\n            \"totalPages\": 1,\n            \"totalCount\": 1\n        }\n    }\n}"}],"_postman_id":"814bb563-8815-4be7-98db-4662f479bf3a"},{"name":"Conciliar Entrada","event":[{"listen":"test","script":{"id":"5f2685c7-b1d7-4e04-b184-ef072680bec3","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","// Validate that the response is json object","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","",""],"type":"text/javascript","packages":{}}}],"id":"b8286452-1aba-4a70-840b-1f5f33a78d5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8"}],"body":{"mode":"raw","raw":"{\n  \"abrlEntryId\": \"2442444f-91c8-4978-b666-948e1ac30a15\",\n  \"payments\": [{\n    \"loanRequestId\": \"512abed0-c51c-4338-8145-712afa7c6ba9\",\n    \"cnabOurNumber\": \"9484\",\n    \"amount\": \"200000.00\"\n  }]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/reconciliations","description":"<p>Dentro de payments, não precisa passar o loanRequestId E o cnabOurNumber, é possível conciliar usando qualquer um dos dois.</p>\n","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","reconciliations"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8286452-1aba-4a70-840b-1f5f33a78d5e"},{"name":"Listar Conciliações via Saldo Pendente","id":"d8881ffe-3d6d-42f9-a964-38efbbf351f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"url":"https://api.amfi.link/v2/partner_reconciliations","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","partner_reconciliations"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[{"id":"9b359ed1-48e2-441f-8554-e99e6615ee30","name":"Sucesso","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"url":"https://api.amfi.link/v2/partner_reconciliations"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"869"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 30 Oct 2025 19:19:40 GMT"},{"key":"X-Runtime","value":"0.454899"},{"key":"Server","value":"-"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"ETag","value":"W/\"375fcc9f8b8b05b0c8ace929a77877bf\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"bc40c8b1-c294-4601-9b96-df6ad34b004e"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 c6ccd07e1e50408d404ed1f9dd2506ce.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LIS50-P1"},{"key":"X-Amz-Cf-Id","value":"CLzkfgXXETemoBCDIp31qqS8hhvojM3T9Rk7YjPj71hYZcqKCIEvdA=="},{"key":"Content-Security-Policy","value":"frame-ancestors 'none'; img-src 'self' data: https://amfi-stg-api-permanent-storage.s3.amazonaws.com https://maxcdn.bootstrapcdn.com/; connect-src 'self' https://bam.nr-data.net; style-src 'unsafe-inline' 'self' https://maxcdn.bootstrapcdn.com/; script-src 'unsafe-eval' 'unsafe-inline' 'self' https://js-agent.newrelic.com https://bam.nr-data.net; default-src 'self' https://amfi-stg-api-permanent-storage.s3.amazonaws.com https://maxcdn.bootstrapcdn.com/"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"1a6b3f66-d6bc-4844-80a7-cfe2f8107d0b\",\n            \"type\": \"partnerReconciliation\",\n            \"attributes\": {\n                \"lendingId\": \"9c994669-af96-417f-a72a-b191c6cd1ad2\",\n                \"statusCd\": \"finished\",\n                \"requestedPayments\": [\n                    {\n                        \"amount\": \"220.0\",\n                        \"cnabOurNumber\": \"bjc-736\",\n                        \"loanRequestId\": null\n                    }\n                ],\n                \"partnerIdentification\": \"teste321312\"\n            }\n        },\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"currentPage\": 1,\n            \"previousPage\": null,\n            \"nextPage\": null,\n            \"perPage\": 10,\n            \"totalPages\": 1,\n            \"totalCount\": 1\n        }\n    }\n}"}],"_postman_id":"d8881ffe-3d6d-42f9-a964-38efbbf351f7"},{"name":"Listar Conciliações","event":[{"listen":"test","script":{"id":"1310aa48-237d-4455-af21-c627a4ee9ff8","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","// Validate that the response is json object","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","",""],"type":"text/javascript","packages":{}}}],"id":"043e4598-da38-4f50-b0e3-e8d4bf5001d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"url":"https://api.amfi.link/v2/reconciliations","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","reconciliations"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[],"_postman_id":"043e4598-da38-4f50-b0e3-e8d4bf5001d1"},{"name":"Conciliar via saldo pendente","event":[{"listen":"test","script":{"id":"8ba3c879-bea6-4e0c-bca0-37f2fac8ccb4","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","// Validate that the response is json object","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","",""],"type":"text/javascript","packages":{}}}],"id":"06a89924-24fc-4f35-891f-f11db6dc372a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"payments\": [\n        {\n            \"cnabOurNumber\": \"1\",\n            \"amount\": \"1000.0\"\n        }\n    ],\n    \"partnerIdentification\": \"teste3\",\n    \"lendingId\": \"88092475-2fd2-4b2f-ad4c-6633e48909c4\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/partner_reconciliations","description":"<p>O objetivo desta rota é conseguir conciliar usando débitos de loan ao em vez de identificar uma entrada. O pool precisa estar devidamente configurado para usar essa feature. Entre em contato com a AmFi se tiveres duvidas de como utilizar.</p>\n<p>body:</p>\n<p>payments*:<br />- cnabOurNumber*: identificador do parceiro referente ao ativo sendo liquidado<br />- amount*: Valor a ser liquidado do ativo</p>\n<p>partnerIdentification*: Identificador unico da conciliação (gerado pelo parceiro). Campo livre</p>\n<p>lendingId: ID do Pool dono dos stivos.</p>\n","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","partner_reconciliations"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[],"_postman_id":"06a89924-24fc-4f35-891f-f11db6dc372a"},{"name":"Dar Baixa","event":[{"listen":"test","script":{"id":"1957596a-871c-43a7-8158-dde1c65067ba","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","// Validate that the response is json object","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","",""],"type":"text/javascript","packages":{}}}],"id":"e4eee668-1853-4efb-be9b-8a2dfdfbcedd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"loanRequests\": [\n        {\n            \"cnab_our_number\": \"bjc-0\",\n            \"manual_entry_reason\": \"Motivo da baixa\"\n        }\n    ],\n    \"lendingId\": \"88092475-2fd2-4b2f-ad4c-6633e48909c4\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/loan_requests/finish_multiple","description":"<p>API Para realizar baixa manual de ativos.</p>\n<p>body:</p>\n<p>loanRequests: Array:</p>\n<p>- cnab_our_number: string - Identificador do ativo. (É possível usar o loan_request_id também.</p>\n<p>- manual_entry_reason: string - Motivo da baixa</p>\n<p>lendingId: string - ID do Pool</p>\n<p>Obs:<br />Os retorno de falha parcial só está disponível para pools configurados para aceitarem ações parciais (ignorar os erros e executar o que conseguir).</p>\n","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","loan_requests","finish_multiple"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[{"id":"3d3322e1-39c4-455c-ace5-77b7fa2cf541","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"loanRequests\": [\n        {\n            \"cnab_our_number\": \"bjc-0\",\n            \"manual_entry_reason\": \"Motivo da baixa\"\n        }\n    ],\n    \"lendingId\": \"88092475-2fd2-4b2f-ad4c-6633e48909c4\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/loan_requests/finish_multiple"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"exceptions\": [],\n    \"missing_loans\": [],\n    \"missing_assets\": []\n}"},{"id":"5093d0da-ec67-40a6-87ad-a8d990e7e8c3","name":"Falha Parcial","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"loanRequests\": [\n        {\n            \"cnab_our_number\": \"bjc-0\",\n            \"manual_entry_reason\": \"Motivo da baixa\"\n        }\n    ],\n    \"lendingId\": \"88092475-2fd2-4b2f-ad4c-6633e48909c4\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/loan_requests/finish_multiple"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"partial_failure\",\n    \"exceptions\": [\n        \"bjc-0\"\n    ],\n    \"missing_loans\": [],\n    \"missing_assets\": []\n}"},{"id":"d4159dc0-e69e-44a0-9d8b-d7d1476e5047","name":"Falha","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"loanRequests\": [\n        {\n            \"cnab_our_number\": \"bjc-0\",\n            \"manual_entry_reason\": \"Motivo da baixa\"\n        }\n    ],\n    \"lendingId\": \"88092475-2fd2-4b2f-ad4c-6633e48909c4\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/loan_requests/finish_multiple"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"failure\",\n    \"exceptions\": [\n        \"bjc-0\"\n    ],\n    \"missing_loans\": [],\n    \"missing_assets\": []\n}"}],"_postman_id":"e4eee668-1853-4efb-be9b-8a2dfdfbcedd"},{"name":"New Request","id":"927d86b6-7fe1-4d22-8264-8dfe6fb350b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"927d86b6-7fe1-4d22-8264-8dfe6fb350b1"},{"name":"Conciliações de Parceiro","id":"9e585c67-3ad7-4087-8b2b-a22f313f7da7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"url":"https://api.amfi.link/v2/partner_reconciliations","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","partner_reconciliations"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[],"_postman_id":"9e585c67-3ad7-4087-8b2b-a22f313f7da7"}],"id":"320c7cb8-a1d9-4844-91fc-29f60899473f","description":"<p>Pagamentos que forem recebidos na conta bancária do Pool são automaticamente identificados e disponibilizados para conciliação.</p>\n<p>É responsabilidade do originador conciliar estas entradas com as operações em aberto. O dinheiro só ficará disponível para novos desembolsos <strong>após</strong> ter sido conciliado.</p>\n<p>O ato de conciliação consiste de duas etapas:</p>\n<ol>\n<li><p>Consultar as entrada pendentes.</p>\n</li>\n<li><p>Conciliar cada entrada identificando o valor que deve ser usado para quitar cada operação.</p>\n</li>\n</ol>\n","_postman_id":"320c7cb8-a1d9-4844-91fc-29f60899473f","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}}},{"name":"Remessas","item":[{"name":"Criar Remessa de CCB","item":[{"name":"Com tomador existente","event":[{"listen":"test","script":{"id":"94733b11-62d8-4b00-9882-a196fbd706a1","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(201);","});","","// Validate that the response is json object","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","pm.test(\"Verifica se o response traz alguns valores\", function () {","    const responseJson = pm.response.json();","    pm.expect(responseJson.data.id).to.be.a(\"string\");","    pm.expect(responseJson.data.type).to.eql(\"loanBatch\");","    pm.expect(responseJson.data.attributes.status).to.eql('pending_async_creation');","});",""],"type":"text/javascript","packages":{}}}],"id":"9690bc86-57f7-41b5-a577-18517c79d1d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"borrowerId\": \"ade85974-8a5c-4f2c-a12a-ef6f31baad8f\",\n  \"assets\": [\n    {\n      \"assetDataType\": \"Ccb\",\n      \"ccb\": {\n        \"assetIssuanceDate\": \"2024-11-14\",\n        \"financialInstitutionId\": \"1ca48a65-3b8c-417d-945c-6c83c58fea93\",\n        \"grossAmount\": \"1000.00\",\n        \"loanTaxes\": \"13.00\",\n        \"issuerCosts\": \"900.00\",\n        \"formattedMonthlyNominalFinancingRate\": \"3.00\",\n        \"formattedMonthlyEffectiveFinancingRate\": \"4.00\",\n        \"assetId\": \"0129310293-000\",\n        \"issuanceLocation\": \"Abadia Dos Dourados\",\n        \"paymentLocation\": \"Abadia Dos Dourados\",\n        \"collaterals\": [],\n        \"payerName\": \"Sacado Teste\",\n        \"payerTaxid\": \"38801051000195\"\n      },\n      \"installments\": [{\n        \"amount\": \"1100.00\",\n        \"due_date\": \"2024-12-18\"\n      }]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","loan_batches"],"host":["https://api.amfi.link"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"9690bc86-57f7-41b5-a577-18517c79d1d9"},{"name":"e Criar Tomador pessoa jurídica","event":[{"listen":"test","script":{"id":"d83e596a-7235-4871-a676-36f0ec55712d","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","// Validate that the response is json object","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","",""],"type":"text/javascript","packages":{}}}],"id":"9301d60c-62ba-44a6-a9ad-54a197b85d9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"borrowerAttributes\": {\n        \"address\": {\n            \"city\": \"São Paulo\",\n            \"complement\": \"100\",\n            \"number\": \"Num\",\n            \"state\": \"SP\",\n            \"street\": \"Nome da Rua\",\n            \"zipCode\": \"01234000\"\n        },\n        \"bankAccount\": {\n            \"account\": \"12309-1\",\n            \"branchNumber\": \"0001\",\n            \"bankCode\": \"001\"\n        },\n        \"legalEntity\": {\n            \"contactEmail\": \"legal_entity@test.com\",\n            \"corporateName\": \"Legal Entity LTDA\",\n            \"countryOfIncorporation\": \"brazil\",\n            \"industry\": \"Financeira\",\n            \"taxpayerIdentificationNumber\": \"47482611532944\",\n            \"partnersAttributes\": [\n                {\n                    \"name\": \"Sócio 1\",\n                    \"taxpayerIdentificationNumber\": \"16207546067\"\n                }\n            ],\n            \"legalRepresentativesAttributes\": [\n                {\n                    \"name\": \"Representante Legal 1\",\n                    \"email\": \"representante@gmail.com\",\n                    \"taxpayerIdentificationNumber\": \"16207546067\"\n                }\n            ]\n        }\n    },\n    \"assets\": [\n        {\n            \"assetDataType\": \"Ccb\",\n            \"ccb\": {\n                \"assetIssuanceDate\": \"2024-03-14\",\n                \"financialInstitutionId\": \"1ca48a65-3b8c-417d-945c-6c83c58fea93\",\n                \"grossAmount\": \"1000.00\",\n                \"loanTaxes\": \"13.00\",\n                \"issuerCosts\": \"900.00\",\n                \"formattedMonthlyNominalFinancingRate\": \"3.00\",\n                \"formattedMonthlyEffectiveFinancingRate\": \"4.00\",\n                \"assetId\": \"0129310293-000\"\n            },\n            \"installments\": [\n                {\n                    \"amount\": \"1100.00\",\n                    \"due_date\": \"2024-05-15\",\n                    \"cnabOurNumber\": \"ccb-x-p1\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","loan_batches"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[],"_postman_id":"9301d60c-62ba-44a6-a9ad-54a197b85d9b"},{"name":"e Criar Tomador pessoa física","event":[{"listen":"test","script":{"id":"2d080358-8885-4a23-a523-ef35f5f64e8a","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","// Validate that the response is json object","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","",""],"type":"text/javascript","packages":{}}}],"id":"21af230a-ebb8-4d81-8d41-327de29f5d84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"borrowerAttributes\": {\n        \"address\": {\n            \"city\": \"São Paulo\",\n            \"complement\": \"100\",\n            \"number\": \"Num\",\n            \"state\": \"SP\",\n            \"street\": \"Nome da Rua\",\n            \"zipCode\": \"01234000\"\n        },\n        \"bankAccount\": {\n            \"account\": \"12309-1\",\n            \"branchNumber\": \"0001\",\n            \"bankCode\": \"001\"\n        },\n        \"individualPerson\": {\n            \"dateOfBirth\": \"1970-01-10\",\n            \"taxpayerIdentificationNumber\": \"00000000272\",\n            \"email\": \"beltrano@gmail.com\",\n            \"lastName\": \"Beltrana\",\n            \"name\": \"Fulano\",\n            \"maritalStatus\": \"single\",\n            \"nationality\": \"Brasileiro\",\n            \"profession\": \"Artista de JS\"\n        }\n    },\n    \"assets\": [\n        {\n            \"assetDataType\": \"Ccb\",\n            \"ccb\": {\n                \"assetIssuanceDate\": \"2024-03-14\",\n                \"financialInstitutionId\": \"1ca48a65-3b8c-417d-945c-6c83c58fea93\",\n                \"grossAmount\": \"1000.00\",\n                \"loanTaxes\": \"13.00\",\n                \"issuerCosts\": \"900.00\",\n                \"formattedMonthlyNominalFinancingRate\": \"3.00\",\n                \"formattedMonthlyEffectiveFinancingRate\": \"4.00\",\n                \"assetId\": \"0129310293-000\"\n            },\n            \"installments\": [\n                {\n                    \"amount\": \"1100.00\",\n                    \"due_date\": \"2024-04-15\",\n                    \"cnabOurNumber\": \"ccb-x-p1\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","loan_batches"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[],"_postman_id":"21af230a-ebb8-4d81-8d41-327de29f5d84"}],"id":"b194fef6-2c7e-4a7f-beda-5412c2f636f5","description":"<p>O valor de aquisição do ativo (valor desembolsado) será igual a ao Valor Bruto da CCB.</p>\n<ul>\n<li><p><code>assetIssuanceDate</code>: Data de emissão</p>\n</li>\n<li><p><code>grossAmount</code>: Valor Bruto</p>\n</li>\n<li><p><code>loanTaxes</code>: IOF</p>\n</li>\n<li><p><code>issuerCosts</code>: TAC</p>\n</li>\n<li><p><code>assetId</code>: Número da CCB</p>\n</li>\n<li><p><code>formattedMonthlyNominalFinancingRate</code>: Taxa de juros mensal</p>\n</li>\n<li><p><code>formattedMonthlyEffectiveFinancingRate</code>: CET mensal.</p>\n</li>\n<li><p><code>financialInstitutionId</code>: Instituição financeira que emitiu a CCB. Em staging, usar sempre <code>1ca48a65-3b8c-417d-945c-6c83c58fea93</code>. Em produção, solicite o ID da IF ao time da AmFi.</p>\n</li>\n<li><p><code>installments</code>: Detalhamento das Parcelas</p>\n</li>\n</ul>\n","_postman_id":"b194fef6-2c7e-4a7f-beda-5412c2f636f5","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}}},{"name":"Criar Remessa de Duplicata","item":[{"name":"Com Tomador existente","event":[{"listen":"test","script":{"id":"1d1a4974-ce92-4e16-a585-57f8dfc9a1fb","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(201);","});","","// Validate that the response is json object","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","pm.test(\"Verifica se o response traz alguns valores\", function () {","    const responseJson = pm.response.json();","    pm.expect(responseJson.data.id).to.be.a(\"string\");","    pm.expect(responseJson.data.type).to.eql(\"loanBatch\");","    pm.expect(responseJson.data.attributes.status).to.eql('pending_async_creation');","});",""],"type":"text/javascript","packages":{}}}],"id":"4ba4a411-b22b-4086-a5fb-dd0771ae93eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"borrowerId\": \"ade85974-8a5c-4f2c-a12a-ef6f31baad8f\",\n  \"assets\": [\n    {\n      \"cnabOurNumber\": \"9953276\",\n      \"assetDataType\": \"Invoice\",\n      \"invoice\": {\n        \"dueDate\": \"2024-10-24\",\n        \"issuingDate\": \"2024-09-24\",\n        \"kindCd\": \"product\", // can be service too\n        \"acquisitionAmount\": \"6188.07\",\n        \"nominalAmount\": \"6530.94\",\n        \"payerTaxpayerIdentificationNumber\": \"76639285003605\",\n        \"payerName\": \"FERRAGENS NEGRAO COMERCIAL LTDA\",\n        \"payerAddress\": \"CEP  29164-064\",\n        \"invoiceNumber\": \"41240915077221000135550010000317681000520011\",\n        \"number\": \"31768/001\",\n        \"firstAssignment\": false,\n        \"endorserName\": \"AMS DE ANTONIO TRANSPORTES LTDA\",\n        \"endorserTaxid\": \"15077221000135\",\n        \"paymentLocation\": \"São Paulo\"\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches","description":"<p>Quando o Tomador já existir na api poderá ser passado o id , CNPJ ou o CPF do mesmo no campo BorrowerId</p>\n<p>Sobre o <code>firstAssignment</code> for false, é necessário passar o endorserTaxid.</p>\n<p>firstAssignment: Se é ou não primeira cessão<br />endorserTaxid: CNPJ Cedente Original</p>\n","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","loan_batches"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ba4a411-b22b-4086-a5fb-dd0771ae93eb"},{"name":"e Criar Tomador pessoa jurídica","event":[{"listen":"test","script":{"id":"7a97a253-7482-4dc6-a85f-477310c767f6","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","// Validate that the response is json object","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","",""],"type":"text/javascript","packages":{}}}],"id":"847f7199-c58d-472a-8542-dd90a85021fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"borrowerAttributes\": {\n    \"address\": {\n        \"city\": \"São Paulo\",\n        \"complement\": \"100\",\n        \"number\": \"Num\",\n        \"state\": \"SP\",\n        \"street\": \"Nome da Rua\",\n        \"zipCode\": \"01234000\"\n    },\n    \"bankAccount\": {\n        \"account\": \"12309-1\",\n        \"branchNumber\": \"0001\",\n        \"bankCode\": \"001\"\n    },\n    \"legalEntity\": {\n        \"contactEmail\": \"legal_entity@test.com\",\n        \"corporateName\": \"Legal Entity LTDA\",\n        \"countryOfIncorporation\": \"brazil\",\n        \"industry\": \"Financeira\",\n        \"taxpayerIdentificationNumber\": \"47482611532944\",\n        \"partnersAttributes\": [\n            {\n                \"name\": \"Sócio 1\",\n                \"taxpayerIdentificationNumber\": \"16207546067\"\n            }\n        ],\n        \"legalPartnersAttributes\": [\n            {\n                \"taxid\": \"47482611532944\",\n                \"businessName\": \"Nome Empresa LTDA\",\n                \"signatoryName\": \"Nome Assinante\",\n                \"signatoryEmail\": \"email_assinante@example.com\"\n            }\n        ],\n        \"legalRepresentativesAttributes\": [\n            {\n                \"name\": \"Representante Legal 1\",\n                \"email\": \"representante@gmail.com\",\n                \"taxpayerIdentificationNumber\": \"16207546067\"\n            }\n        ]\n    }\n},\n  \"assets\": [\n    {\n      \"cnabOurNumber\": \"32019039210312\",\n      \"assetDataType\": \"Invoice\",\n      \"invoice\": {\n        \"dueDate\": \"2024-12-14\",\n        \"issuingDate\": \"2024-03-14\",\n        \"kindCd\": \"product\", // can be service too\n        \"acquisitionAmount\": \"10000.00\",\n        \"nominalAmount\": \"11000.00\",\n        \"payerTaxpayerIdentificationNumber\": \"47482611532944\",\n        \"payerName\": \"José\",\n        \"payerAddress\": \"Rua X, n 42 - 95560-000\",\n        \"invoiceNumber\": \"11111111111111111111111111111111111111111111\",\n        \"firstAssignment\": false,\n        \"endorserName\": \"Razão Social do Cedente Original\",\n        \"endorserTaxid\": \"59274283279115\",\n        \"paymentLocation\": \"SP\",\n        \"number\": \"1234/005\"\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches","description":"<p>Se quiser criar um novo tomador basta não enviar o atributo BorrowerId e mandar o borrowerAttributes, conforme o exemplo abaixo.</p>\n<p>Caso já exista um Tomador com o CNPJ/CPF ( enviado</p>\n","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","loan_batches"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[],"_postman_id":"847f7199-c58d-472a-8542-dd90a85021fb"},{"name":"e Criar Tomador pessoa física","event":[{"listen":"test","script":{"id":"348e4277-5ac7-4f36-8a0c-020f880395c9","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","// Validate that the response is json object","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","",""],"type":"text/javascript","packages":{}}}],"id":"5abd3435-a30c-4bcf-b367-577c423f1ca2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"borrowerAttributes\": {\n    \"address\": {\n        \"city\": \"São Paulo\",\n        \"complement\": \"100\",\n        \"number\": \"Num\",\n        \"state\": \"SP\",\n        \"street\": \"Nome da Rua\",\n        \"zipCode\": \"01234000\"\n    },\n    \"bankAccount\": {\n        \"account\": \"12309-1\",\n        \"branchNumber\": \"0001\",\n        \"bankCode\": \"001\"\n    },\n    \"individualPerson\": {\n        \"dateOfBirth\": \"1970-01-10\",\n        \"taxpayerIdentificationNumber\": \"00000000272\",\n        \"email\": \"beltrano@gmail.com\",\n        \"lastName\": \"Beltrana\",\n        \"name\": \"Fulano\",\n        \"maritalStatus\": \"single\",\n        \"nationality\": \"Brasileiro\",\n        \"profession\": \"Artista de JS\"\n    }\n},\n  \"assets\": [\n    {\n      \"cnabOurNumber\": \"123\",\n      \"assetDataType\": \"Invoice\",\n      \"invoice\": {\n        \"dueDate\": \"2024-04-14\",\n        \"issuingDate\": \"2024-03-14\",\n        \"kindCd\": \"product\", // can be service too\n        \"acquisitionAmount\": \"1000.00\",\n        \"nominalAmount\": \"11000.00\",\n        \"number\": \"1234-001\",\n        \"payerTaxpayerIdentificationNumber\": \"47482611532944\",\n        \"payerName\": \"José\",\n        \"payerAddress\": \"Rua X, n 42 - 95560-000\",\n        \"invoiceNumber\": \"11111111111111111111111111111111111111111111\",\n        \"firstAssignment\": false,\n        \"endorserName\": \"Razão Social do Cedente Original\",\n        \"endorserTaxid\": \"59274283279115\",\n        \"paymentLocation\": \"SP\"\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches","description":"<p>Caso seja; necessário criar um novo tomador pessoa física basta não enviar o atributo BorrowerId e mandar o borrowerAttributes, conforme o exemplo abaixo.</p>\n<p>Caso já exista um Tomador com o CPF (legalEntity.taxpayerIdentificationNumber) enviado, o mesmo será atualizado com as novas informações enviadas, caso sejam diferentes das salvas.</p>\n","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","loan_batches"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[],"_postman_id":"5abd3435-a30c-4bcf-b367-577c423f1ca2"}],"id":"b50aeb00-aa6f-4aa2-9ee9-ea5a44f845a3","description":"<p>O valor de aquisição do ativo (valor desembolsado) será igual a ao Valor Bruto da CCB.</p>\n<ul>\n<li><p>dueDate: Data de vencimento</p>\n</li>\n<li><p>nominalAmount: Valor Nominal / Face</p>\n</li>\n<li><p>acquisitionAmount: Valor de acquisição</p>\n</li>\n<li><p>kindCd: tipo de duplicata: [product,service]</p>\n</li>\n<li><p>payerTaxpayerIdentificationNumber: CPF/CNPJ do sacado</p>\n</li>\n<li><p>payerName: nome do sacado</p>\n</li>\n<li><p>payerAddress: endereço do sacado</p>\n</li>\n<li><p>invoiceNumber: Número da Duplicata / NF</p>\n</li>\n<li><p>number: Número da duplicata</p>\n</li>\n<li><p>cnabOurNumber: Número de identificação unico do ativo no sistema do parceiro. Opcional.</p>\n</li>\n</ul>\n","_postman_id":"b50aeb00-aa6f-4aa2-9ee9-ea5a44f845a3","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}}},{"name":"Criar Remessa de Recebível de Cartão de Crédito","item":[{"name":"Com tomador existente","event":[{"listen":"test","script":{"id":"9340e293-74d4-404e-a5fe-4353ecbb4e75","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(201);","});","","// Validate that the response is json object","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","pm.test(\"Verifica se o response traz alguns valores\", function () {","    const responseJson = pm.response.json();","    pm.expect(responseJson.data.id).to.be.a(\"string\");","    pm.expect(responseJson.data.type).to.eql(\"loanBatch\");","    pm.expect(responseJson.data.attributes.status).to.eql('pending_async_creation');","});",""],"type":"text/javascript","packages":{}}}],"id":"7a4013d0-c9e4-4181-9db7-f06d9187d935","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8"}],"body":{"mode":"raw","raw":"{\n    \"borrowerId\": \"ade85974-8a5c-4f2c-a12a-ef6f31baad8f\",\n    \"assets\": [\n        {\n            \"cnabOurNumber\": \"123\",\n            \"assetDataType\": \"CardReceivable\",\n            \"cardReceivable\": {\n                \"acquisitionAmount\": \"1000.00\",\n                \"dueDate\": \"2024-06-14\",\n                \"flagCodeCd\": \"mastercard\",\n                \"nominalAmount\": \"1200.00\",\n                \"accreditorCd\": \"cielo\",\n                \"accreditorOther\": null,\n                \"registerCode\": \"1234\"\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","loan_batches"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[],"_postman_id":"7a4013d0-c9e4-4181-9db7-f06d9187d935"},{"name":"e Criar Tomador pessoa jurídica","event":[{"listen":"test","script":{"id":"356be9e9-93c0-473e-bc3f-3d1cef5fcaef","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","// Validate that the response is json object","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","",""],"type":"text/javascript","packages":{}}}],"id":"da128b6e-ce30-4857-a8ad-33cd5fa5bb87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"borrowerAttributes\": {\n    \"address\": {\n        \"city\": \"São Paulo\",\n        \"complement\": \"100\",\n        \"number\": \"Num\",\n        \"state\": \"SP\",\n        \"street\": \"Nome da Rua\",\n        \"zipCode\": \"01234000\"\n    },\n    \"bankAccount\": {\n        \"account\": \"12309-1\",\n        \"branchNumber\": \"0001\",\n        \"bankCode\": \"001\"\n    },\n    \"legalEntity\": {\n        \"contactEmail\": \"legal_entity@test.com\",\n        \"corporateName\": \"Legal Entity LTDA\",\n        \"countryOfIncorporation\": \"brazil\",\n        \"industry\": \"Financeira\",\n        \"taxpayerIdentificationNumber\": \"47482611532944\",\n        \"partners\": [\n            {\n                \"name\": \"Joker do Grêmio\",\n                \"taxpayerIdentificationNumber\": \"16207546067\"\n            }\n        ],\n        \n    }\n  },\n    \"assets\": [\n        {\n            \"cnabOurNumber\": \"123\",\n            \"assetDataType\": \"CardReceivable\",\n            \"cardReceivable\": {\n                \"acquisitionAmount\": \"1000.00\",\n                \"dueDate\": \"2024-03-30\",\n                \"flagCodeCd\": \"mastercard\",\n                \"nominalAmount\": \"1200.00\",\n                \"accreditorCd\": \"cielo\",\n                \"accreditorOther\": null,\n                \"registerCode\": \"1234\"\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","loan_batches"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[],"_postman_id":"da128b6e-ce30-4857-a8ad-33cd5fa5bb87"},{"name":"e Criar Tomador pessoa física","event":[{"listen":"test","script":{"id":"1e672de7-bfcb-45a4-b001-992747a1e501","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","// Validate that the response is json object","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","",""],"type":"text/javascript","packages":{}}}],"id":"f5b8ed1f-8cc2-4a84-b985-37c65f24aeb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"borrowerAttributes\": {\n    \"address\": {\n        \"city\": \"São Paulo\",\n        \"complement\": \"100\",\n        \"number\": \"Num\",\n        \"state\": \"SP\",\n        \"street\": \"Nome da Rua\",\n        \"zipCode\": \"01234000\"\n    },\n    \"bankAccount\": {\n        \"account\": \"12309-1\",\n        \"branchNumber\": \"0001\",\n        \"bankCode\": \"001\"\n    },\n    \"individualPerson\": {\n        \"dateOfBirth\": \"1970-01-10\",\n        \"taxpayerIdentificationNumber\": \"49280091000\",\n        \"email\": \"beltrano@gmail.com\",\n        \"lastName\": \"Beltrano\",\n        \"name\": \"Fernando\",\n        \"maritalStatus\": \"single\",\n        \"nationality\": \"Brasileiro\",\n        \"profession\": \"Artista de JS\"\n    }\n  },\n    \"assets\": [\n        {\n            \"cnabOurNumber\": \"123\",\n            \"assetDataType\": \"CardReceivable\",\n            \"cardReceivable\": {\n                \"acquisitionAmount\": \"1000.00\",\n                \"dueDate\": \"2024-12-20\",\n                \"flagCodeCd\": \"mastercard\",\n                \"nominalAmount\": \"1200.00\",\n                \"accreditorCd\": \"cielo\",\n                \"accreditorOther\": null,\n                \"registerCode\": \"1234\"\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","loan_batches"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5b8ed1f-8cc2-4a84-b985-37c65f24aeb3"}],"id":"aeacbc01-1996-4461-a9da-8a50fde483aa","description":"<ul>\n<li>acquisitionAmount*: Valor de aquisição</li>\n<li>nominalAmount*: Valor Nominal</li>\n<li>dueDate*: Data de Vencimento</li>\n<li>flagCodeCd*: Bandeira</li>\n<li>accreditorCd*: Credenciadora</li>\n<li>accreditorOther: Credenciadora (Outra)</li>\n<li>registerCode*: Código de Registro</li>\n<li>O campo accreditorOther deve ser preenchido se o accreditorCd for other.</li>\n</ul>\n<p>O campo flagCodeCd precisa ser um desses:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>- mastercard\n- visa\n- hipercard\n- elo\n- american_express\n- alelo\n- sorocred\n- diners_club\n- sodexo\n- vr\n- ticket\n- aura\n- cabral\n- calcard\n- credz\n- discover\n- goodcard\n- greencard\n- hiper\n- jcb\n- mais\n- maxvan\n- policard\n- redecompras\n- valecard\n- verocheque\n\n</code></pre><p>O campo accreditorCd precisa ser um desses:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>- cielo\n- redecard\n- stone\n- getnet\n- pagueseguro\n- adyen\n- other\n\n</code></pre>","_postman_id":"aeacbc01-1996-4461-a9da-8a50fde483aa","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}}},{"name":"Criar Remessa de Nota Comercial","item":[{"name":"Com tomador existente","id":"73dfdf47-b792-47fe-8d33-525cde5e709f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"borrowerId\": \"79196790544107\",\n  \"assets\": [\n    {\n      \"cnabOurNumber\": \"9953276\",\n      \"assetDataType\": \"CommercialNote\",\n      \"commercialNote\": {\n        \"issuanceNumber\": \"20\",\n        \"issuanceLocation\": \"Torres\",\n        \"issuanceDate\": \"2025-06-16\",\n        \"paymentLocation\": \"São Paulo\",\n        \"acquisitionAmount\": \"900.00\",\n        \"formattedMonthlyFinancingRate\": \"3.0\",\n        \"registrarCd\": \"laqus\",\n        \"creditorName\": \"Nome do Credor\",\n        \"creditorTaxpayerIdentificationNumber\": \"84237340487402\",\n        \"payerName\": \"Nome do Sacado\",\n        \"payerTaxid\": \"84237340487402\"\n      },\n      \"installments\": [{\n        \"amount\": \"1100.00\",\n        \"dueDate\": \"2025-07-16\",\n        \"cnabOurNumber\": \"abc\"\n      }]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","loan_batches"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[{"id":"3fd13bd2-d48b-4a51-88b0-d60ac54baf32","name":"Com erro de validação","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"borrowerId\": \"ade85974-8a5c-4f2c-a12a-ef6f31baad8f\",\n  \"assets\": [\n    {\n      \"cnabOurNumber\": \"9953276\",\n      \"assetDataType\": \"CommercialNote\",\n      \"commercialNote\": {\n        \"issuanceNumber\": \"20\",\n        \"issuanceLocation\": \"Torres\",\n        \"issuanceDate\": \"2025-06-16\",\n        \"paymentLocation\": \"São Paulo\",\n        \"acquisitionAmount\": \"1000.00\",\n        \"formattedMonthlyFinancingRate\": \"3.0\",\n        \"registrarCd\": \"laqus\",\n        \"creditorName\": \"Nome do Credor\",\n        \"creditorTaxpayerIdentificationNumber\": \"11111111111111\",\n        \"payerName\": \"Nome do Sacado\",\n        \"payerTaxid\": \"11111111111111\"\n      },\n      \"installments\": [{\n        \"amount\": \"1100.00\",\n        \"due_date\": \"2024-12-18\"\n      }]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"f82d8a73-c68c-46c3-8532-1171e03af0e9"},{"key":"X-Runtime","value":"0.583171"},{"key":"Server-Timing","value":"sql.active_record;dur=55.67, cache_write.active_support;dur=0.03, start_processing.action_controller;dur=0.00, instantiation.active_record;dur=42.26, start_transaction.active_record;dur=0.01, transaction.active_record;dur=54.56, process_action.action_controller;dur=423.22"},{"key":"vary","value":"Origin"},{"key":"Content-Length","value":"119"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"errors\": [\n            {\n                \"field\": \"borrower\",\n                \"messages\": [\n                    \"é obrigatório(a)\"\n                ],\n                \"details\": {\n                    \"blank\": {\n                        \"message\": \"required\"\n                    }\n                }\n            }\n        ]\n    }\n}"},{"id":"464d147a-88d5-4769-8911-11f87139b8e1","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"borrowerId\": \"79196790544107\",\n  \"assets\": [\n    {\n      \"cnabOurNumber\": \"9953276\",\n      \"assetDataType\": \"CommercialNote\",\n      \"commercialNote\": {\n        \"issuanceNumber\": \"20\",\n        \"issuanceLocation\": \"Torres\",\n        \"issuanceDate\": \"2025-06-16\",\n        \"paymentLocation\": \"São Paulo\",\n        \"acquisitionAmount\": \"900.00\",\n        \"formattedMonthlyFinancingRate\": \"3.0\",\n        \"registrarCd\": \"laqus\",\n        \"creditorName\": \"Nome do Credor\",\n        \"creditorTaxpayerIdentificationNumber\": \"84237340487402\",\n        \"payerName\": \"Nome do Sacado\",\n        \"payerTaxid\": \"84237340487402\"\n      },\n      \"installments\": [{\n        \"amount\": \"1100.00\",\n        \"due_date\": \"2025-07-16\"\n      }]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"46bcb40363df25fe142d2fe9c5fa2ea6\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"006eb735-dab3-4ec8-960c-dfcc59d2cc73"},{"key":"X-Runtime","value":"0.871518"},{"key":"Server-Timing","value":"cache_write.active_support;dur=0.04, start_processing.action_controller;dur=0.00, sql.active_record;dur=94.58, instantiation.active_record;dur=5.30, start_transaction.active_record;dur=0.09, transaction.active_record;dur=209.77, enqueue_at.active_job;dur=0.34, process_action.action_controller;dur=850.20"},{"key":"vary","value":"Origin"},{"key":"Content-Length","value":"581"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"5f40684a-b494-4a21-87c1-e48deea18bd2\",\n        \"type\": \"loanBatch\",\n        \"attributes\": {\n            \"borrowerId\": \"6a3360c8-d41f-4df7-9394-8b12bf957bb9\",\n            \"lendingId\": \"f3689ceb-3850-430b-8eed-9f44a667d0a2\",\n            \"status\": \"approved\",\n            \"acquisitionAmount\": \"900.0\",\n            \"loanRequests\": {\n                \"data\": [\n                    {\n                        \"id\": \"bc830d5c-4743-45a1-837e-c366f2ba302a\",\n                        \"type\": \"loanRequest\",\n                        \"attributes\": {\n                            \"cnabOurNumber\": null,\n                            \"loanBatchId\": \"5f40684a-b494-4a21-87c1-e48deea18bd2\",\n                            \"startDate\": \"2025-06-17\",\n                            \"status\": \"pending\",\n                            \"monthlyInterestRatePercent\": \"23.07 %\",\n                            \"acquisitionAmount\": \"900.0\",\n                            \"nominalAmount\": \"1100.0\",\n                            \"dueDate\": \"2025-07-16\"\n                        }\n                    }\n                ]\n            }\n        }\n    }\n}"}],"_postman_id":"73dfdf47-b792-47fe-8d33-525cde5e709f"},{"name":"Criar tomador pessoa jurídica","id":"12b8c149-b3db-4764-844e-faaa47ef3aba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"borrowerAttributes\": {\n        \"address\": {\n            \"city\": \"São Paulo\",\n            \"complement\": \"100\",\n            \"number\": \"Num\",\n            \"state\": \"SP\",\n            \"street\": \"Nome da Rua\",\n            \"zipCode\": \"01234000\"\n        },\n        \"bankAccount\": {\n            \"account\": \"12309-1\",\n            \"branchNumber\": \"0001\",\n            \"bankCode\": \"001\"\n        },\n        \"legalEntity\": {\n            \"contactEmail\": \"legal_entity@test.com\",\n            \"corporateName\": \"Legal Entity LTDA\",\n            \"countryOfIncorporation\": \"brazil\",\n            \"taxpayerIdentificationNumber\": \"47482611532944\",\n            \"partners\": [\n                {\n                    \"name\": \"Joker do Grêmio\",\n                    \"taxpayerIdentificationNumber\": \"16207546067\"\n                }\n            ]\n        }\n    },\n    \"assets\": [\n        {\n            \"cnabOurNumber\": \"9953276\",\n            \"assetDataType\": \"CommercialNote\",\n            \"commercialNote\": {\n                \"issuanceNumber\": \"20\",\n                \"issuanceLocation\": \"Torres\",\n                \"issuanceDate\": \"2025-06-16\",\n                \"paymentLocation\": \"São Paulo\",\n                \"acquisitionAmount\": \"900.00\",\n                \"formattedMonthlyFinancingRate\": \"3.0\",\n                \"registrarCd\": \"laqus\",\n                \"creditorName\": \"Nome do Credor\",\n                \"creditorTaxpayerIdentificationNumber\": \"84237340487402\",\n                \"payerName\": \"Nome do Sacado\",\n                \"payerTaxid\": \"84237340487402\"\n            },\n            \"installments\": [\n                {\n                    \"amount\": \"1100.00\",\n                    \"dueDate\": \"2025-07-16\",\n                    \"cnabOurNumber\": \"abc2\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","loan_batches"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[{"id":"ad012c79-3a28-4f05-aaf0-b351b0393173","name":"Com erro de validação","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"borrowerId\": \"ade85974-8a5c-4f2c-a12a-ef6f31baad8f\",\n  \"assets\": [\n    {\n      \"cnabOurNumber\": \"9953276\",\n      \"assetDataType\": \"CommercialNote\",\n      \"commercialNote\": {\n        \"issuanceNumber\": \"20\",\n        \"issuanceLocation\": \"Torres\",\n        \"issuanceDate\": \"2025-06-16\",\n        \"paymentLocation\": \"São Paulo\",\n        \"acquisitionAmount\": \"1000.00\",\n        \"formattedMonthlyFinancingRate\": \"3.0\",\n        \"registrarCd\": \"laqus\",\n        \"creditorName\": \"Nome do Credor\",\n        \"creditorTaxpayerIdentificationNumber\": \"11111111111111\",\n        \"payerName\": \"Nome do Sacado\",\n        \"payerTaxid\": \"11111111111111\"\n      },\n      \"installments\": [{\n        \"amount\": \"1100.00\",\n        \"due_date\": \"2024-12-18\"\n      }]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"f82d8a73-c68c-46c3-8532-1171e03af0e9"},{"key":"X-Runtime","value":"0.583171"},{"key":"Server-Timing","value":"sql.active_record;dur=55.67, cache_write.active_support;dur=0.03, start_processing.action_controller;dur=0.00, instantiation.active_record;dur=42.26, start_transaction.active_record;dur=0.01, transaction.active_record;dur=54.56, process_action.action_controller;dur=423.22"},{"key":"vary","value":"Origin"},{"key":"Content-Length","value":"119"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"errors\": [\n            {\n                \"field\": \"borrower\",\n                \"messages\": [\n                    \"é obrigatório(a)\"\n                ],\n                \"details\": {\n                    \"blank\": {\n                        \"message\": \"required\"\n                    }\n                }\n            }\n        ]\n    }\n}"},{"id":"3b659bdd-89c2-43ff-a1bf-f7f1e477e9d5","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"borrowerId\": \"79196790544107\",\n  \"assets\": [\n    {\n      \"cnabOurNumber\": \"9953276\",\n      \"assetDataType\": \"CommercialNote\",\n      \"commercialNote\": {\n        \"issuanceNumber\": \"20\",\n        \"issuanceLocation\": \"Torres\",\n        \"issuanceDate\": \"2025-06-16\",\n        \"paymentLocation\": \"São Paulo\",\n        \"acquisitionAmount\": \"900.00\",\n        \"formattedMonthlyFinancingRate\": \"3.0\",\n        \"registrarCd\": \"laqus\",\n        \"creditorName\": \"Nome do Credor\",\n        \"creditorTaxpayerIdentificationNumber\": \"84237340487402\",\n        \"payerName\": \"Nome do Sacado\",\n        \"payerTaxid\": \"84237340487402\"\n      },\n      \"installments\": [{\n        \"amount\": \"1100.00\",\n        \"due_date\": \"2025-07-16\"\n      }]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"46bcb40363df25fe142d2fe9c5fa2ea6\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"006eb735-dab3-4ec8-960c-dfcc59d2cc73"},{"key":"X-Runtime","value":"0.871518"},{"key":"Server-Timing","value":"cache_write.active_support;dur=0.04, start_processing.action_controller;dur=0.00, sql.active_record;dur=94.58, instantiation.active_record;dur=5.30, start_transaction.active_record;dur=0.09, transaction.active_record;dur=209.77, enqueue_at.active_job;dur=0.34, process_action.action_controller;dur=850.20"},{"key":"vary","value":"Origin"},{"key":"Content-Length","value":"581"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"5f40684a-b494-4a21-87c1-e48deea18bd2\",\n        \"type\": \"loanBatch\",\n        \"attributes\": {\n            \"borrowerId\": \"6a3360c8-d41f-4df7-9394-8b12bf957bb9\",\n            \"lendingId\": \"f3689ceb-3850-430b-8eed-9f44a667d0a2\",\n            \"status\": \"approved\",\n            \"acquisitionAmount\": \"900.0\",\n            \"loanRequests\": {\n                \"data\": [\n                    {\n                        \"id\": \"bc830d5c-4743-45a1-837e-c366f2ba302a\",\n                        \"type\": \"loanRequest\",\n                        \"attributes\": {\n                            \"cnabOurNumber\": null,\n                            \"loanBatchId\": \"5f40684a-b494-4a21-87c1-e48deea18bd2\",\n                            \"startDate\": \"2025-06-17\",\n                            \"status\": \"pending\",\n                            \"monthlyInterestRatePercent\": \"23.07 %\",\n                            \"acquisitionAmount\": \"900.0\",\n                            \"nominalAmount\": \"1100.0\",\n                            \"dueDate\": \"2025-07-16\"\n                        }\n                    }\n                ]\n            }\n        }\n    }\n}"}],"_postman_id":"12b8c149-b3db-4764-844e-faaa47ef3aba"},{"name":"Criar tomador pessoa física","id":"1c13cbe8-beaf-438b-bac2-15ab898f28c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"borrowerAttributes\": {\n        \"address\": {\n            \"city\": \"São Paulo\",\n            \"complement\": \"100\",\n            \"number\": \"Num\",\n            \"state\": \"SP\",\n            \"street\": \"Nome da Rua\",\n            \"zipCode\": \"01234000\"\n        },\n        \"bankAccount\": {\n            \"account\": \"12309-1\",\n            \"branchNumber\": \"0001\",\n            \"bankCode\": \"001\"\n        },\n        \"individualPerson\": {\n            \"dateOfBirth\": \"1970-01-10\",\n            \"taxpayerIdentificationNumber\": \"49280091000\",\n            \"email\": \"beltrano@gmail.com\",\n            \"lastName\": \"Beltrano\",\n            \"name\": \"Fernando\",\n            \"maritalStatus\": \"single\",\n            \"nationality\": \"Brasileiro\",\n            \"profession\": \"Artista de JS\"\n        }\n    },\n    \"assets\": [\n        {\n            \"cnabOurNumber\": \"9953276\",\n            \"assetDataType\": \"CommercialNote\",\n            \"commercialNote\": {\n                \"issuanceNumber\": \"20\",\n                \"issuanceLocation\": \"Torres\",\n                \"issuanceDate\": \"2025-06-16\",\n                \"paymentLocation\": \"São Paulo\",\n                \"acquisitionAmount\": \"900.00\",\n                \"formattedMonthlyFinancingRate\": \"3.0\",\n                \"registrarCd\": \"laqus\",\n                \"creditorName\": \"Nome do Credor\",\n                \"creditorTaxpayerIdentificationNumber\": \"84237340487402\",\n                \"payerName\": \"Nome do Sacado\",\n                \"payerTaxid\": \"84237340487402\"\n            },\n            \"installments\": [\n                {\n                    \"amount\": \"1100.00\",\n                    \"dueDate\": \"2025-07-16\",\n                    \"cnabOurNumber\": \"abc2\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","loan_batches"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[{"id":"bc8f26e3-618d-418b-b911-543758204a8c","name":"Com erro de validação","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"borrowerId\": \"ade85974-8a5c-4f2c-a12a-ef6f31baad8f\",\n  \"assets\": [\n    {\n      \"cnabOurNumber\": \"9953276\",\n      \"assetDataType\": \"CommercialNote\",\n      \"commercialNote\": {\n        \"issuanceNumber\": \"20\",\n        \"issuanceLocation\": \"Torres\",\n        \"issuanceDate\": \"2025-06-16\",\n        \"paymentLocation\": \"São Paulo\",\n        \"acquisitionAmount\": \"1000.00\",\n        \"formattedMonthlyFinancingRate\": \"3.0\",\n        \"registrarCd\": \"laqus\",\n        \"creditorName\": \"Nome do Credor\",\n        \"creditorTaxpayerIdentificationNumber\": \"11111111111111\",\n        \"payerName\": \"Nome do Sacado\",\n        \"payerTaxid\": \"11111111111111\"\n      },\n      \"installments\": [{\n        \"amount\": \"1100.00\",\n        \"due_date\": \"2024-12-18\"\n      }]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"f82d8a73-c68c-46c3-8532-1171e03af0e9"},{"key":"X-Runtime","value":"0.583171"},{"key":"Server-Timing","value":"sql.active_record;dur=55.67, cache_write.active_support;dur=0.03, start_processing.action_controller;dur=0.00, instantiation.active_record;dur=42.26, start_transaction.active_record;dur=0.01, transaction.active_record;dur=54.56, process_action.action_controller;dur=423.22"},{"key":"vary","value":"Origin"},{"key":"Content-Length","value":"119"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"errors\": [\n            {\n                \"field\": \"borrower\",\n                \"messages\": [\n                    \"é obrigatório(a)\"\n                ],\n                \"details\": {\n                    \"blank\": {\n                        \"message\": \"required\"\n                    }\n                }\n            }\n        ]\n    }\n}"},{"id":"9c383f1a-8329-4fd6-9d99-5c176107d5e0","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"borrowerId\": \"79196790544107\",\n  \"assets\": [\n    {\n      \"cnabOurNumber\": \"9953276\",\n      \"assetDataType\": \"CommercialNote\",\n      \"commercialNote\": {\n        \"issuanceNumber\": \"20\",\n        \"issuanceLocation\": \"Torres\",\n        \"issuanceDate\": \"2025-06-16\",\n        \"paymentLocation\": \"São Paulo\",\n        \"acquisitionAmount\": \"900.00\",\n        \"formattedMonthlyFinancingRate\": \"3.0\",\n        \"registrarCd\": \"laqus\",\n        \"creditorName\": \"Nome do Credor\",\n        \"creditorTaxpayerIdentificationNumber\": \"84237340487402\",\n        \"payerName\": \"Nome do Sacado\",\n        \"payerTaxid\": \"84237340487402\"\n      },\n      \"installments\": [{\n        \"amount\": \"1100.00\",\n        \"due_date\": \"2025-07-16\"\n      }]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"46bcb40363df25fe142d2fe9c5fa2ea6\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"006eb735-dab3-4ec8-960c-dfcc59d2cc73"},{"key":"X-Runtime","value":"0.871518"},{"key":"Server-Timing","value":"cache_write.active_support;dur=0.04, start_processing.action_controller;dur=0.00, sql.active_record;dur=94.58, instantiation.active_record;dur=5.30, start_transaction.active_record;dur=0.09, transaction.active_record;dur=209.77, enqueue_at.active_job;dur=0.34, process_action.action_controller;dur=850.20"},{"key":"vary","value":"Origin"},{"key":"Content-Length","value":"581"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"5f40684a-b494-4a21-87c1-e48deea18bd2\",\n        \"type\": \"loanBatch\",\n        \"attributes\": {\n            \"borrowerId\": \"6a3360c8-d41f-4df7-9394-8b12bf957bb9\",\n            \"lendingId\": \"f3689ceb-3850-430b-8eed-9f44a667d0a2\",\n            \"status\": \"approved\",\n            \"acquisitionAmount\": \"900.0\",\n            \"loanRequests\": {\n                \"data\": [\n                    {\n                        \"id\": \"bc830d5c-4743-45a1-837e-c366f2ba302a\",\n                        \"type\": \"loanRequest\",\n                        \"attributes\": {\n                            \"cnabOurNumber\": null,\n                            \"loanBatchId\": \"5f40684a-b494-4a21-87c1-e48deea18bd2\",\n                            \"startDate\": \"2025-06-17\",\n                            \"status\": \"pending\",\n                            \"monthlyInterestRatePercent\": \"23.07 %\",\n                            \"acquisitionAmount\": \"900.0\",\n                            \"nominalAmount\": \"1100.0\",\n                            \"dueDate\": \"2025-07-16\"\n                        }\n                    }\n                ]\n            }\n        }\n    }\n}"}],"_postman_id":"1c13cbe8-beaf-438b-bac2-15ab898f28c6"}],"id":"c373c6fc-4779-4eb2-89a4-6c2fe5fc8f91","description":"<p>issuanceNumber: Número de Emissão</p>\n<p>issuanceLocation: Local de emissão<br />issuanceDate: Data de emissão</p>\n<p>paymentLocation: Local de Pagamento<br />acquisitionAmount: Valor de aquisição</p>\n<p>formattedMonthlyFinancingRate: Juros Remuneratórios</p>\n<p>registrarCd: Escriturador [Enum] Pode ser: laqus, limine, vortx</p>\n<p>creditorName: Nome do Credor</p>\n<p>creditorTaxpayerIdentificationNumber: CPF/CNPJ do Credor<br />payerName: Nome do sacado<br />payerTaxid: CPF/CNPJ do Sacado</p>\n","_postman_id":"c373c6fc-4779-4eb2-89a4-6c2fe5fc8f91","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}}},{"name":"Listar Remessas","event":[{"listen":"test","script":{"id":"df7fd21d-4439-4c4c-a77a-fadc1734a7dc","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","// Validate that the response is json object","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","",""],"type":"text/javascript","packages":{}}}],"id":"e2f7cf95-3a72-4657-9fc1-18e08fd1d6fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8"}],"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches?per_page=1","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","loan_batches"],"host":["https://api.amfi.link"],"query":[{"description":{"content":"<p>Quantidade de Registros por página</p>\n","type":"text/plain"},"key":"per_page","value":"1"}],"variable":[]}},"response":[{"id":"995ffb85-ec59-4227-af9a-0d5280a2431b","name":"Listar Remessas","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"url":{"raw":"https://api.amfi.link/v2/lendings/:lendingId/loan_batches?per_page=1","host":["https://api.amfi.link"],"path":["v2","lendings",":lendingId","loan_batches"],"query":[{"key":"per_page","value":"1","description":"Quantidade de Registros por página"}],"variable":[{"key":"lendingId","value":"88092475-2fd2-4b2f-ad4c-6633e48909c4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 14 Mar 2024 23:56:34 GMT"},{"key":"Server","value":"-"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"ETag","value":"W/\"b785b8abc7ba6975bfc77a889c5e0e72\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"d38e0e1e-e29d-4b09-85fa-4328eb89cc2e"},{"key":"X-Runtime","value":"0.844980"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 427271f19372c1be0d143a1d4c76a128.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD89-C2"},{"key":"X-Amz-Cf-Id","value":"2_KDdiiwY7xXazJ0gOARNA1NFMpg8WL_nsW8ykYOd9A13_6uLO3KSw=="},{"key":"Content-Security-Policy","value":"frame-ancestors 'none'; default-src 'self' https://amfi-stg-api-permanent-storage.s3.amazonaws.com https://maxcdn.bootstrapcdn.com/; connect-src 'self' https://bam.nr-data.net; style-src 'unsafe-inline' 'self' https://maxcdn.bootstrapcdn.com/; script-src 'unsafe-eval' 'unsafe-inline' 'self' https://js-agent.newrelic.com https://bam.nr-data.net"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"c4661d4a-922d-4bad-94d7-af91b2e19f41\",\n            \"type\": \"loanBatch\",\n            \"attributes\": {\n                \"borrowerId\": \"a7fac972-321d-4ae4-9afa-b1d64d8efc3d\",\n                \"lendingId\": \"c844da5a-d642-45f8-abf5-d51d6cd3d120\",\n                \"status\": \"pending\",\n                \"acquisitionAmount\": \"1000.0\",\n                \"loanRequests\": {\n                    \"data\": [\n                        {\n                            \"id\": \"602e39ba-4012-43b6-823c-bae3982bae2c\",\n                            \"type\": \"loanRequest\",\n                            \"attributes\": {\n                                \"startDate\": \"2024-03-14\",\n                                \"cnabOurNumber\": \"bjc-221\"\n                                \"status\": \"pending\",\n                                \"loanBatchId\": \"c4661d4a-922d-4bad-94d7-af91b2e19f41\",\n                                \"monthlyInterestRatePercent\": \"9.35 %\",\n                                \"acquisitionAmount\": \"1000.0\",\n                                \"nominalAmount\": \"1100.0\",\n                                \"dueDate\": \"2024-04-15\"\n                            }\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"id\": \"508caa68-8bac-4bed-9e5a-57c6c3a94523\",\n            \"type\": \"loanBatch\",\n            \"attributes\": {\n                \"borrowerId\": \"a7fac972-321d-4ae4-9afa-b1d64d8efc3d\",\n                \"lendingId\": \"c844da5a-d642-45f8-abf5-d51d6cd3d120\",\n                \"status\": \"pending\",\n                \"acquisitionAmount\": \"1000.0\",\n                \"loanRequests\": {\n                    \"data\": [\n                        {\n                            \"id\": \"7bceb7a6-7e6c-433b-92f3-e9c882658ab7\",\n                            \"type\": \"loanRequest\",\n                            \"attributes\": {\n                                \"startDate\": \"2024-03-14\",\n                                \"cnabOurNumber\": \"bjc-221\"\n                                \"status\": \"pending\",\n                                \"loanBatchId\": \"508caa68-8bac-4bed-9e5a-57c6c3a94523\",\n                                \"monthlyInterestRatePercent\": \"9.35 %\",\n                                \"acquisitionAmount\": \"1000.0\",\n                                \"nominalAmount\": \"1100.0\",\n                                \"dueDate\": \"2024-04-15\"\n                            }\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"id\": \"9c28695f-ff31-4ae8-a386-bae613e6f228\",\n            \"type\": \"loanBatch\",\n            \"attributes\": {\n                \"borrowerId\": \"a7fac972-321d-4ae4-9afa-b1d64d8efc3d\",\n                \"lendingId\": \"c844da5a-d642-45f8-abf5-d51d6cd3d120\",\n                \"status\": \"pending\",\n                \"acquisitionAmount\": \"10000.0\",\n                \"loanRequests\": {\n                    \"data\": [\n                        {\n                            \"id\": \"411fa906-86fe-4eaa-a74d-cde884b17894\",\n                            \"type\": \"loanRequest\",\n                            \"attributes\": {\n                                \"startDate\": \"2024-03-14\",\n                                \"cnabOurNumber\": \"bjc-221\"\n                                \"status\": \"pending\",\n                                \"loanBatchId\": \"9c28695f-ff31-4ae8-a386-bae613e6f228\",\n                                \"monthlyInterestRatePercent\": \"9.35 %\",\n                                \"acquisitionAmount\": \"10000.0\",\n                                \"nominalAmount\": \"11000.0\",\n                                \"dueDate\": \"2024-04-15\"\n                            }\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"id\": \"56aca0c5-c56a-4d5e-88b0-ccbf5e44e7c8\",\n            \"type\": \"loanBatch\",\n            \"attributes\": {\n                \"borrowerId\": \"b4593fd8-f748-4753-9bea-ffa79e36f0b4\",\n                \"lendingId\": \"c844da5a-d642-45f8-abf5-d51d6cd3d120\",\n                \"status\": \"submitted_to_chain\",\n                \"acquisitionAmount\": \"1960.0\",\n                \"loanRequests\": {\n                    \"data\": [\n                        {\n                            \"id\": \"55dd6be7-4b9d-4ecb-874c-58feb84c209f\",\n                            \"type\": \"loanRequest\",\n                            \"attributes\": {\n                                \"startDate\": \"2024-03-12\",\n                                \"cnabOurNumber\": \"bjc-221\"\n                                \"status\": \"submitted_to_chain\",\n                                \"loanBatchId\": \"56aca0c5-c56a-4d5e-88b0-ccbf5e44e7c8\",\n                                \"monthlyInterestRatePercent\": \"3.63 %\",\n                                \"acquisitionAmount\": \"1960.0\",\n                                \"nominalAmount\": \"2000.0\",\n                                \"dueDate\": \"2024-03-29\"\n                            }\n                        }\n                    ]\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"currentPage\": 1,\n            \"previousPage\": null,\n            \"nextPage\": null,\n            \"perPage\": 25,\n            \"totalPages\": 1,\n            \"totalCount\": 4\n        }\n    }\n}"}],"_postman_id":"e2f7cf95-3a72-4657-9fc1-18e08fd1d6fd"},{"name":"Aprovar Remessa","id":"eecb8ad3-460f-46c5-9089-a7f43d6461c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"agreementFile\": {\n        \"filename\": \"Nome do arquivo.pdf\",\n        \"base64File\": \"arquivo encodado em base64\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches/{{loanBatchId}}/approve","description":"<p>o <code>agreementFile</code> só ne cessário para quando a lending não possui assinatura eletrônica. Com isso, é possível enviar o termo de cessão via API.</p>\n","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","loan_batches","{{loanBatchId}}","approve"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[{"id":"265d6cff-2ab3-4a2f-8047-b3929e06a4ab","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches/{{loanBatchId}}/approve"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"0c4a82ceb6eda8546b30e595be1efc5c\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"16b507b9-0746-4993-82f6-ad6b441b730f"},{"key":"X-Runtime","value":"1.216413"},{"key":"Server-Timing","value":"cache_write.active_support;dur=0.03, start_processing.action_controller;dur=0.07, sql.active_record;dur=88.35, instantiation.active_record;dur=67.37, render_template.action_view;dur=37.96, render_layout.action_view;dur=38.25, service_upload.active_storage;dur=0.30, process_action.action_controller;dur=1194.82"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"606"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"36f399a1-ac38-4707-807f-d92ce3436c21\",\n        \"type\": \"loanBatch\",\n        \"attributes\": {\n            \"borrowerId\": \"cf8605e8-49bf-4dc8-a99b-8b35c88e7d44\",\n            \"lendingId\": \"4e73619b-6e67-4560-803a-a9687937f0ae\",\n            \"status\": \"approved_by_agent\",\n            \"acquisitionAmount\": \"10000.0\",\n            \"loanRequests\": {\n                \"data\": [\n                    {\n                        \"id\": \"4c243db0-43c1-4ffb-a6d0-e86cbd9adb7f\",\n                        \"type\": \"loanRequest\",\n                        \"attributes\": {\n                            \"startDate\": \"2024-11-07\",\n                            \"status\": \"pending\",\n                            \"cnabOurNumber\": \"32019039210312\",\n                            \"loanBatchId\": \"36f399a1-ac38-4707-807f-d92ce3436c21\",\n                            \"monthlyInterestRatePercent\": \"8.03 %\",\n                            \"acquisitionAmount\": \"10000.0\",\n                            \"nominalAmount\": \"11000.0\",\n                            \"dueDate\": \"2024-12-14\"\n                        }\n                    }\n                ]\n            }\n        }\n    }\n}"},{"id":"da51beef-29c4-4386-8514-8bc63b713954","name":"Remessa não encontrada ou em status inválido para aprovação","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/loan_batches/{{loanBatchId}}/approve"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Set-Cookie","value":"_session_id=lBPRfnpTQpia4rO4DmgctfmwQD%2BJ%2B6u9b5A5I0lRgDzPT0FnBZ5DYJhWU2YqfAESdIQOwt1lnlsMUEhlohfjg%2Bn2yi%2BPwaQx1rzyuFtVWogodrWaajpedbj2Rs5hZShqcCwAhodD5HG%2FfElyXu4Qq5IN0eyOaapenJRshu2D5%2BazNFU%3D--vUsh1fLyHtKKuM98--IJ09dONaYxQKmaUtrV0jRA%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"_session_id=lBPRfnpTQpia4rO4DmgctfmwQD%2BJ%2B6u9b5A5I0lRgDzPT0FnBZ5DYJhWU2YqfAESdIQOwt1lnlsMUEhlohfjg%2Bn2yi%2BPwaQx1rzyuFtVWogodrWaajpedbj2Rs5hZShqcCwAhodD5HG%2FfElyXu4Qq5IN0eyOaapenJRshu2D5%2BazNFU%3D--vUsh1fLyHtKKuM98--IJ09dONaYxQKmaUtrV0jRA%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Set-Cookie","value":"_nest-api=i%2Fle4c9wdkfzGYdp7rMjNjCuaHWM7xlaVMYzoM%2B2xlEVmHg09Zbjlt9oySEjbI06fVrr22XAjQNvdlWaEACNmdOk6aCH3yYoFhCadyG0KYd7%2Bwu0CxFWoUq62INd5n8tSK8ec1RJJKYMTCgv1SPqpF0i1OZcSspZSbit3b5AJngA--5RAMc%2FREh27K1y7U--jtVsPbJrPZu1Vn73%2FuqlAw%3D%3D; path=/; HttpOnly; SameSite=Lax"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"6372e207-d36e-444d-828e-b63e17687d3d"},{"key":"X-Runtime","value":"0.169099"},{"key":"Server-Timing","value":"cache_write.active_support;dur=0.03, start_processing.action_controller;dur=0.06, sql.active_record;dur=7.75, instantiation.active_record;dur=0.52, process_action.action_controller;dur=154.52"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"null"}],"_postman_id":"eecb8ad3-460f-46c5-9089-a7f43d6461c4"}],"id":"f22f163a-2bfe-4ef2-b43e-00f70a0feb95","description":"<p>Uma remessa agrupa um conjunto de ativos que devem ser adquiridos pelo Pool.</p>\n<p>O tomador apontado pelo <code>borrowerId</code> é quem está cedendo todos os ativos dentro da remessa, e é quem recebe o desembolso do crédito. Todos os ativos de uma remessa devem estar sendo cedidos por um único tomador.</p>\n<p><code>lendingId</code> é o ID do pool que fará a aquisição da remessa. Ele é fornecido pela AmFi na etapa de estruturação.</p>\n","_postman_id":"f22f163a-2bfe-4ef2-b43e-00f70a0feb95","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}}},{"name":"Clientes / Tomadores","item":[{"name":"Visualizar Detalhe Cliente","event":[{"listen":"test","script":{"id":"04785203-2b2b-4341-8ad9-97f91b772505","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","pm.test(\"Verifica se o response traz alguns valores\", function () {","    const responseJson = pm.response.json();","    pm.expect(responseJson.data.id).to.be.a(\"string\");","    pm.expect(responseJson.data.type).to.eql(\"borrower\");","    pm.expect(responseJson.data.attributes.infoType).to.eql('LegalEntity');","    pm.expect(responseJson.data.attributes.name).to.eql('CLIENTE PJ');","","});",""],"type":"text/javascript","packages":{}}}],"id":"e045677c-8c56-428b-8a83-23904f1df2a0","protocolProfileBehavior":{"disableCookies":true,"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"url":"https://api.amfi.link/v2/borrowers/ade85974-8a5c-4f2c-a12a-ef6f31baad8f","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","borrowers","ade85974-8a5c-4f2c-a12a-ef6f31baad8f"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[],"_postman_id":"e045677c-8c56-428b-8a83-23904f1df2a0"},{"name":"Listar clientes ","event":[{"listen":"test","script":{"id":"b5219560-34c9-47ed-b0d2-d4fd0baaa935","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","// Validate that the response is json object","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","pm.test(\"Verifica se o response traz alguns valores\", function () {","    const responseJson = pm.response.json();","    pm.expect(responseJson.data[0].id).to.be.a(\"string\");","    pm.expect(responseJson.data[0].type).to.eql(\"borrower\");","});",""],"type":"text/javascript","packages":{}}}],"id":"4038db4d-a292-4abf-8235-6cc69bd24daf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"url":"https://api.amfi.link/v2/borrowers","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","borrowers"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[],"_postman_id":"4038db4d-a292-4abf-8235-6cc69bd24daf"},{"name":"Cadastrar cliente","event":[{"listen":"test","script":{"id":"326303a4-6260-4d24-b00a-7d0e73993925","exec":["// Validate that the response code should be 200","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(201);","});","","// Validate that the response is json object","pm.test(\"Response is a json object\", function () {","    pm.expect(pm.response.json()).to.be.an('object');","});","","pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","pm.test(\"Verifica se o response traz alguns valores\", function () {","    const responseJson = pm.response.json();","    pm.expect(responseJson.data.id).to.be.a(\"string\");","    pm.expect(responseJson.data.type).to.eql(\"borrower\");","    pm.expect(responseJson.data.attributes.infoType).to.eql(\"IndividualPerson\");","    pm.expect(responseJson.data.attributes.loanStatus).to.eql(\"no_active_loans\");","});",""],"type":"text/javascript","packages":{}}}],"id":"07a60bcc-fb4a-4e2d-8841-6705b44899b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"address\": {\n        \"city\": \"São Paulo\",\n        \"complement\": \"100\",\n        \"number\": \"Num\",\n        \"state\": \"SP\",\n        \"street\": \"Nome da Rua\",\n        \"zip_code\": \"01234000\"\n    },\n    \"bank_account\": {\n        \"account\": \"12309-1\",\n        \"branch_number\": \"0001\",\n        \"bank_code\": \"001\"\n    },\n    \"individual_person\": {\n        \"date_of_birth\": \"1970-01-10\",\n        \"taxpayer_identification_number\": \"80028592000\",\n        \"email\": \"beltrano@gmail.com\",\n        \"last_name\": \"Beltrano tre\",\n        \"name\": \"Fulanoo\",\n        \"marital_status\": \"single\",\n        \"nationality\": \"Brasileiro\",\n        \"profession\": \"Artista de JS\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.amfi.link/v2/borrowers","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","borrowers"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[],"_postman_id":"07a60bcc-fb4a-4e2d-8841-6705b44899b9"}],"id":"97a1c55d-54a1-4a1c-bfe0-0b48d67b9e8a","description":"<p>Este endpoint permite gerenciar os tomadores de crédito, isto é, aqueles que recebem o desembolso frente à aquisição do ativo.</p>\n<p>É necessário cadastrar o tomador antes de cadastrar uma remessa envolvendo este tomador.</p>\n","_postman_id":"97a1c55d-54a1-4a1c-bfe0-0b48d67b9e8a","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}}},{"name":"Relatórios","item":[{"name":"Baixar ultimo relatório por tipo","id":"2804d22a-efd4-4b66-bf1c-ad0a76381cb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"url":"https://api.amfi.link/v2/latest_report?kind=wallet_statements&lendingId=88092475-2fd2-4b2f-ad4c-6633e48909c4","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","latest_report"],"host":["https://api.amfi.link"],"query":[{"key":"kind","value":"wallet_statements"},{"key":"lendingId","value":"88092475-2fd2-4b2f-ad4c-6633e48909c4"}],"variable":[]}},"response":[{"id":"43fdf3ea-045e-44b2-9744-747825167eac","name":"Sucesso","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"url":{"raw":"https://api.amfi.link/v2/latest_report?kind=wallet_statements&lendingId=88092475-2fd2-4b2f-ad4c-6633e48909c4","host":["https://api.amfi.link"],"path":["v2","latest_report"],"query":[{"key":"kind","value":"wallet_statements"},{"key":"lendingId","value":"88092475-2fd2-4b2f-ad4c-6633e48909c4"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"ccba595773796ef295750dfcce1a7351\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"e82d608f-3bf7-40a0-a269-aa9420e6f8ce"},{"key":"X-Runtime","value":"1.034246"},{"key":"Server-Timing","value":"sql.active_record;dur=23.35, cache_read.active_support;dur=0.20, cache_write.active_support;dur=0.08, start_processing.action_controller;dur=0.01, instantiation.active_record;dur=28.40, service_url.active_storage;dur=0.31, process_action.action_controller;dur=295.91"},{"key":"vary","value":"Origin"},{"key":"Content-Length","value":"1078"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"5f6877b5-1b78-4cc9-a0a5-bcd1ddd9b9b4\",\n        \"type\": \"report\",\n        \"attributes\": {\n            \"createdAt\": \"2025-11-14T14:37:43.706-03:00\",\n            \"id\": \"5f6877b5-1b78-4cc9-a0a5-bcd1ddd9b9b4\",\n            \"kindCd\": \"xlsx\",\n            \"referenceDate\": null,\n            \"resourceCd\": \"wallet_statements\",\n            \"statusCd\": \"done\",\n            \"fileUrl\": \"http://localhost:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhNV0owWmpCclltVnFOVEl4TXpjellqQmlkV0V6YW10emNHVTFiZ1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpQVk1aGRIUmhZMmh0Wlc1ME95Qm1hV3hsYm1GdFpUMGlSWGgwY21GMGJ5Qm9ZVzVsTFdkeVpXVnVabVZzWkdWeUlESXdNalV0TVRFdE1UUWdNVFF6TnpRNExuaHNjM2dpT3lCbWFXeGxibUZ0WlNvOVZWUkdMVGduSjBWNGRISmhkRzhsTWpCb1lXNWxMV2R5WldWdVptVnNaR1Z5SlRJd01qQXlOUzB4TVMweE5DVXlNREUwTXpjME9DNTRiSE40QmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NKR1lYQndiR2xqWVhScGIyNHZkbTVrTG05d1pXNTRiV3htYjNKdFlYUnpMVzltWm1salpXUnZZM1Z0Wlc1MExuTndjbVZoWkhOb1pXVjBiV3d1YzJobFpYUUdPd1pVT2hGelpYSjJhV05sWDI1aGJXVTZDbXh2WTJGcyIsImV4cCI6IjIwMjUtMTEtMTRUMTc6NDU6MjguMDQ4WiIsInB1ciI6ImJsb2Jfa2V5In19--cf6090037e083a98ecc3addf8076d1cb8b26adae/Extrato%20hane-greenfelder%202025-11-14%20143748.xlsx\"\n        }\n    }\n}"}],"_postman_id":"2804d22a-efd4-4b66-bf1c-ad0a76381cb3"},{"name":"Listar Eventos de Monitoramento do Pool","id":"f9a82c2b-7cdc-8268-479a-3fa639d26fa6","request":{"method":"GET","header":[{"value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","key":"Authorization"}],"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/monitoring_events","description":"<p>Lista todos os eventos de monitoramento de um pool.</p>\n<p>Cada evento representa uma avaliação das regras de elegibilidade do pool em uma data de referência específica. A resposta inclui:</p>\n<ul>\n<li><code>updatedAt</code>: data/hora da última atualização do evento</li>\n<li><code>result</code>: objeto com o resultado de cada regra avaliada, contendo <code>value</code> (valor apurado), <code>status</code> (<code>success</code>, <code>warning</code> ou <code>danger</code>), <code>label</code> (tradução em português da regra) e opcionalmente <code>details</code></li>\n</ul>\n<p><strong>Autenticação:</strong> Header <code>Authorization</code> com o Access Token fornecido pela AmFi.</p>\n<p><strong>Paginação:</strong> Suporta parâmetros <code>p[page]</code> e <code>p[per_page]</code> (máximo 100 por página).</p>\n","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","monitoring_events"],"host":["https://api.amfi.link"],"query":[{"disabled":true,"description":{"content":"<p>Número da página</p>\n","type":"text/plain"},"key":"p[page]","value":"1"},{"disabled":true,"description":{"content":"<p>Resultados por página (máximo 100)</p>\n","type":"text/plain"},"key":"p[per_page]","value":"25"}],"variable":[]}},"response":[],"_postman_id":"f9a82c2b-7cdc-8268-479a-3fa639d26fa6"}],"id":"920e809e-770a-45c9-af71-15ca701a0175","_postman_id":"920e809e-770a-45c9-af71-15ca701a0175","description":"","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}}}],"id":"5349e4c4-2f74-4906-82e0-2bb6ab5fef11","_postman_id":"5349e4c4-2f74-4906-82e0-2bb6ab5fef11","description":"","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}}},{"name":"Endpoints para Investidores","item":[{"name":"Listar Ativos","id":"dd1dd619-8105-4721-be49-3fbe713a286f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"},{"key":"lendingId","value":"88092475-2fd2-4b2f-ad4c-6633e48909c4","type":"text"}],"url":"https://api.amfi.link/v2/loans?p[page]=1","description":"<p>Esta API tem como objetivo retornar a carteira do produto selecionado.</p>\n<p>Headers:</p>\n<p>lendingId: id do produto a ser consultado.</p>\n<p>Retorno:</p>\n<p><strong>id</strong>: ID Interno do Ativo</p>\n<p><strong>presentValue</strong>: Valor Presente</p>\n<p><strong>lendingId</strong>: id do pool</p>\n<p><strong>loanBatchId:</strong> id da remessa</p>\n<p><strong>collaterals:</strong> Colaterais da Operação</p>\n<p><strong>pddValue</strong>: Valor de provisionamento do PDD</p>\n<p><strong>lendingName</strong>: Nome do Produto (oferta)</p>\n<p><strong>assetType</strong>: Tipo de ativo, podendo ser: [\"Asset::Ccb\", \"Asset::Invoice\", \"Asset::Judicial\", \"Asset::CommercialNote\", \"Asset::CardReceivable\", \"Asset::Cpr\"]</p>\n<p><strong>assetIdentification</strong>: Identificador do ativo</p>\n<p><strong>coObligation</strong>: co-obrigação</p>\n<p><strong>acquisitionDate</strong>: Data de Aquisição</p>\n<p><strong>acquisitionAmount</strong>: Valor de Aquisição</p>\n<p><strong>monthlyInterestRate</strong>: % da taxa de juros mensal</p>\n<p><strong>assignorTaxid</strong>: CNPJ do Cedente</p>\n<p><strong>assignorName</strong>: Nome do Cedente</p>\n<p><strong>assignorState</strong>: Estado do Cedente</p>\n<p><strong>payerName</strong>: Nome do Sacado</p>\n<p><strong>payerTaxid</strong>: CNPJ do Sacado</p>\n<p><strong>nominalAmount</strong>: Valor Nominal</p>\n<p><strong>dueDate</strong>: Data de Vencimento</p>\n<p><strong>status:</strong> Status do ativo, podendo ser: [\"active\", \"late\"]</p>\n<p>Para consultar a data de referência, olhe dentro de meta -&gt; referenceDate.</p>\n<p>O header <code>lendingId</code> é opcional. Caso não passado, irá retorna de todos os pools.</p>\n<p>É possível também passar o header <code>agentId</code> para filtrar pelos pools de um só originador.</p>\n","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","loans"],"host":["https://api.amfi.link"],"query":[{"key":"p[page]","value":"1"}],"variable":[]}},"response":[{"id":"0dfaf722-0577-4079-a582-9a7a820a2ad4","name":"Exemplo de consulta","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"},{"key":"lendingId","value":"88092475-2fd2-4b2f-ad4c-6633e48909c4","type":"text"}],"url":"https://api.amfi.link/v2/loans"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"b3ba7cecfd405b18c47665fcc2c38f4a\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"111ed81d-5f0e-4c1f-8d98-3c1dadbf277f"},{"key":"X-Runtime","value":"0.511089"},{"key":"Server-Timing","value":"cache_write.active_support;dur=0.15, start_processing.action_controller;dur=0.14, sql.active_record;dur=37.74, instantiation.active_record;dur=4.61, unpermitted_parameters.action_controller;dur=0.15, process_action.action_controller;dur=455.59"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"6786"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"2fc79e58-a830-4667-9875-3ab13d3bcdeb\",\n            \"type\": \"institucionalLoan\",\n            \"attributes\": {\n                \"id\": \"2fc79e58-a830-4667-9875-3ab13d3bcdeb\",\n                \"presentValue\": \"600.0\",\n                \"pddValue\": \"600.0\",\n                \"status\": \"active\",\n                \"lendingName\": \"Nome do Produto\",\n                \"assetType\": \"Asset::Invoice\",\n                \"assetIdentification\": \"1234\",\n                \"coObligation\": true,\n                \"acquisitionDate\": \"2024-08-01\",\n                \"acquisitionAmount\": \"1000.0\",\n                \"monthlyInterestRate\": \"31.45 %\",\n                \"assignorTaxid\": \"94578507858\",\n                \"assignorName\": \"Nome do Cedente\",\n                \"assignorState\": \"RS\",\n                \"payerName\": \"Nome do Sacado\",\n                \"payerTaxid\": \"03481929080\",\n                \"nominalAmount\": \"1200.0\",\n                \"dueDate\": \"2024-08-29\"\n            }\n        },\n        {\n            \"id\": \"5c6665da-0bc2-4c18-bbbb-97fd4a0ac01a\",\n            \"type\": \"institucionalLoan\",\n            \"attributes\": {\n                \"id\": \"5c6665da-0bc2-4c18-bbbb-97fd4a0ac01a\",\n                \"presentValue\": \"0.0\",\n                \"pddValue\": \"0.0\",\n                \"status\": \"late\",\n                \"lendingName\": \"Nome do Produto\",\n                \"assetType\": \"Asset::Invoice\",\n                \"assetIdentification\": \"12341234123412341234123412341234123412341234\",\n                \"coObligation\": true,\n                \"acquisitionDate\": \"2024-07-19\",\n                \"acquisitionAmount\": \"2000.0\",\n                \"monthlyInterestRate\": \"30.0 %\",\n                \"assignorTaxid\": \"94578507858\",\n                \"assignorName\": \"Nome do Cedente\",\n                \"assignorState\": \"RS\",\n                \"payerName\": \"Nome do Sacado\",\n                \"payerTaxid\": \"88962362809280\",\n                \"nominalAmount\": \"2600.0\",\n                \"dueDate\": \"2024-09-07\"\n            }\n        },\n        {\n            \"id\": \"4104e637-7067-4dcb-b5f1-59310f74a29e\",\n            \"type\": \"institucionalLoan\",\n            \"attributes\": {\n                \"id\": \"4104e637-7067-4dcb-b5f1-59310f74a29e\",\n                \"presentValue\": \"0.0\",\n                \"pddValue\": \"0.0\",\n                \"status\": \"late\",\n                \"lendingName\": \"Nome do Produto\",\n                \"assetType\": \"Asset::Invoice\",\n                \"assetIdentification\": \"12341234123412341234123412341234123412341234\",\n                \"coObligation\": true,\n                \"acquisitionDate\": \"2024-07-19\",\n                \"acquisitionAmount\": \"3000.0\",\n                \"monthlyInterestRate\": \"30.0 %\",\n                \"assignorTaxid\": \"94578507858\",\n                \"assignorName\": \"Nome do Cedente\",\n                \"assignorState\": \"RS\",\n                \"payerName\": \"Nome do Sacado\",\n                \"payerTaxid\": \"62197059639811\",\n                \"nominalAmount\": \"3900.0\",\n                \"dueDate\": \"2024-09-07\"\n            }\n        },\n        {\n            \"id\": \"d8a7fb9f-6bc1-45ac-935a-8dfae08d1966\",\n            \"type\": \"institucionalLoan\",\n            \"attributes\": {\n                \"id\": \"d8a7fb9f-6bc1-45ac-935a-8dfae08d1966\",\n                \"presentValue\": \"0.0\",\n                \"pddValue\": \"0.0\",\n                \"status\": \"late\",\n                \"lendingName\": \"Nome do Produto\",\n                \"assetType\": \"Asset::Judicial\",\n                \"assetIdentification\": \"6147413679\",\n                \"coObligation\": true,\n                \"acquisitionDate\": \"2024-08-07\",\n                \"acquisitionAmount\": \"5000.0\",\n                \"monthlyInterestRate\": \"30.0 %\",\n                \"assignorTaxid\": \"94578507858\",\n                \"assignorName\": \"Nome do Cedente\",\n                \"assignorState\": \"RS\",\n                \"payerName\": \"Menopauso\",\n                \"payerTaxid\": \"22050386121563\",\n                \"nominalAmount\": \"6500.0\",\n                \"dueDate\": \"2024-09-07\"\n            }\n        },\n        {\n            \"id\": \"cf7f8372-d283-448a-862d-fae9a91b1157\",\n            \"type\": \"institucionalLoan\",\n            \"attributes\": {\n                \"id\": \"cf7f8372-d283-448a-862d-fae9a91b1157\",\n                \"presentValue\": \"0.0\",\n                \"pddValue\": \"0.0\",\n                \"status\": \"active\",\n                \"lendingName\": \"Nome do Produto\",\n                \"assetType\": \"Asset::Invoice\",\n                \"assetIdentification\": \"12341234123412341234123412341234123412341234\",\n                \"coObligation\": true,\n                \"acquisitionDate\": \"2024-07-19\",\n                \"acquisitionAmount\": \"2000.0\",\n                \"monthlyInterestRate\": \"30.0 %\",\n                \"assignorTaxid\": \"94578507858\",\n                \"assignorName\": \"Nome do Cedente\",\n                \"assignorState\": \"RS\",\n                \"payerName\": \"Nome do Sacado\",\n                \"payerTaxid\": \"06386345818350\",\n                \"nominalAmount\": \"2600.0\",\n                \"dueDate\": \"2024-09-07\"\n            }\n        },\n        {\n            \"id\": \"179d1ac9-b8a5-42d4-babe-8e7baa0c4655\",\n            \"type\": \"institucionalLoan\",\n            \"attributes\": {\n                \"id\": \"179d1ac9-b8a5-42d4-babe-8e7baa0c4655\",\n                \"presentValue\": \"0.0\",\n                \"pddValue\": \"0.0\",\n                \"status\": \"active\",\n                \"lendingName\": \"Nome do Produto\",\n                \"assetType\": \"Asset::CardReceivable\",\n                \"assetIdentification\": \"f4a9dcef-0eb1-4b71-aff9-623398a6350a\",\n                \"coObligation\": true,\n                \"acquisitionDate\": \"2024-08-08\",\n                \"acquisitionAmount\": \"4000.0\",\n                \"monthlyInterestRate\": \"30.0 %\",\n                \"assignorTaxid\": \"94578507858\",\n                \"assignorName\": \"Nome do Cedente\",\n                \"assignorState\": \"RS\",\n                \"payerName\": null,\n                \"payerTaxid\": null,\n                \"nominalAmount\": \"5200.0\",\n                \"dueDate\": \"2024-09-07\"\n            }\n        },\n        {\n            \"id\": \"d3c8f57a-77b3-4a9e-9640-55d07ee4ad0c\",\n            \"type\": \"institucionalLoan\",\n            \"attributes\": {\n                \"id\": \"d3c8f57a-77b3-4a9e-9640-55d07ee4ad0c\",\n                \"presentValue\": \"0.0\",\n                \"pddValue\": \"0.0\",\n                \"status\": \"active\",\n                \"lendingName\": \"Nome do Produto\",\n                \"assetType\": \"Asset::Ccb\",\n                \"assetIdentification\": \"27B\",\n                \"coObligation\": true,\n                \"acquisitionDate\": \"2024-08-08\",\n                \"acquisitionAmount\": \"2000.0\",\n                \"monthlyInterestRate\": \"30.0 %\",\n                \"assignorTaxid\": \"94578507858\",\n                \"assignorName\": \"Nome do Cedente\",\n                \"assignorState\": \"RS\",\n                \"payerName\": \"Nome do Cedente\",\n                \"payerTaxid\": \"94578507858\",\n                \"nominalAmount\": \"2600.0\",\n                \"dueDate\": \"2024-09-07\"\n            }\n        },\n        {\n            \"id\": \"b85adb20-cfe7-4b66-8f30-7bb9e800efeb\",\n            \"type\": \"institucionalLoan\",\n            \"attributes\": {\n                \"id\": \"b85adb20-cfe7-4b66-8f30-7bb9e800efeb\",\n                \"presentValue\": \"0.0\",\n                \"pddValue\": \"0.0\",\n                \"status\": \"active\",\n                \"lendingName\": \"Nome do Produto\",\n                \"assetType\": \"Asset::Ccb\",\n                \"assetIdentification\": \"27B\",\n                \"coObligation\": true,\n                \"acquisitionDate\": \"2024-08-08\",\n                \"acquisitionAmount\": \"4000.0\",\n                \"monthlyInterestRate\": \"30.0 %\",\n                \"assignorTaxid\": \"94578507858\",\n                \"assignorName\": \"Nome do Cedente\",\n                \"assignorState\": \"RS\",\n                \"payerName\": \"Nome do Cedente\",\n                \"payerTaxid\": \"94578507858\",\n                \"nominalAmount\": \"5200.0\",\n                \"dueDate\": \"2024-09-07\"\n            }\n        },\n        {\n            \"id\": \"ba27fe2e-6408-4305-bee1-1df67701781c\",\n            \"type\": \"institucionalLoan\",\n            \"attributes\": {\n                \"id\": \"ba27fe2e-6408-4305-bee1-1df67701781c\",\n                \"presentValue\": \"0.0\",\n                \"pddValue\": \"0.0\",\n                \"status\": \"active\",\n                \"lendingName\": \"Nome do Produto\",\n                \"assetType\": \"Asset::Invoice\",\n                \"assetIdentification\": \"12341234123412341234123412341234123412341234\",\n                \"coObligation\": true,\n                \"acquisitionDate\": \"2024-07-19\",\n                \"acquisitionAmount\": \"5000.0\",\n                \"monthlyInterestRate\": \"30.0 %\",\n                \"assignorTaxid\": \"94578507858\",\n                \"assignorName\": \"Nome do Cedente\",\n                \"assignorState\": \"RS\",\n                \"payerName\": \"Nome do Sacado\",\n                \"payerTaxid\": \"11496376667257\",\n                \"nominalAmount\": \"6500.0\",\n                \"dueDate\": \"2024-09-07\"\n            }\n        },\n        {\n            \"id\": \"88bfea64-1a36-4576-9087-1e19b3f6290b\",\n            \"type\": \"institucionalLoan\",\n            \"attributes\": {\n                \"id\": \"88bfea64-1a36-4576-9087-1e19b3f6290b\",\n                \"presentValue\": \"0.0\",\n                \"pddValue\": \"0.0\",\n                \"status\": \"active\",\n                \"lendingName\": \"Nome do Produto\",\n                \"assetType\": \"Asset::Invoice\",\n                \"assetIdentification\": \"12341234123412341234123412341234123412341234\",\n                \"coObligation\": true,\n                \"acquisitionDate\": \"2024-07-19\",\n                \"acquisitionAmount\": \"3000.0\",\n                \"monthlyInterestRate\": \"30.0 %\",\n                \"assignorTaxid\": \"94578507858\",\n                \"assignorName\": \"Nome do Cedente\",\n                \"assignorState\": \"RS\",\n                \"payerName\": \"Nome do Sacado\",\n                \"payerTaxid\": \"37774777117576\",\n                \"nominalAmount\": \"3900.0\",\n                \"dueDate\": \"2024-09-07\"\n            }\n        },\n        {\n            \"id\": \"56f031c0-87eb-47a0-8186-ee673fafd46d\",\n            \"type\": \"institucionalLoan\",\n            \"attributes\": {\n                \"id\": \"56f031c0-87eb-47a0-8186-ee673fafd46d\",\n                \"presentValue\": \"0.0\",\n                \"pddValue\": \"0.0\",\n                \"status\": \"active\",\n                \"lendingName\": \"Nome do Produto\",\n                \"assetType\": \"Asset::Invoice\",\n                \"assetIdentification\": \"12341234123412341234123412341234123412341234\",\n                \"coObligation\": true,\n                \"acquisitionDate\": \"2024-07-19\",\n                \"acquisitionAmount\": \"2000.0\",\n                \"monthlyInterestRate\": \"30.0 %\",\n                \"assignorTaxid\": \"94578507858\",\n                \"assignorName\": \"Nome do Cedente\",\n                \"assignorState\": \"RS\",\n                \"payerName\": \"Nome do Sacado\",\n                \"payerTaxid\": \"77313497845505\",\n                \"nominalAmount\": \"2600.0\",\n                \"dueDate\": \"2024-09-07\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"referenceDate\": \"2024-01-01\",\n        \"pagination\": {\n            \"currentPage\": 1,\n            \"previousPage\": null,\n            \"nextPage\": null,\n            \"perPage\": 25,\n            \"totalPages\": 1,\n            \"totalCount\": 11\n        }\n    }\n}"}],"_postman_id":"dd1dd619-8105-4721-be49-3fbe713a286f"},{"name":"Informações do Produto","id":"412bff69-d0a4-4be0-a787-a86acc0fc86e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"url":"https://api.amfi.link/v2/lending_infos/88092475-2fd2-4b2f-ad4c-6633e48909c4","description":"<p>Endpoint para retornar informações gerais da carteira.</p>\n<p>name: Nome do produto.</p>\n<p>total_balance: Total em Reais dentro do produto.</p>\n<p>reserve_balance: Valor no fundo de reserva do produto.</p>\n<p>tranches: Tranches do produto.</p>\n<p>para cada tranche:</p>\n<p>kind: Tipo de tranche: [junior, middle, senior]</p>\n<p>current_price: Preço Unitário (PU) da tranche</p>\n<p>total_tokens: Quantidade de tokens/cotas emitidas.</p>\n<p>paid_in_tokens: Quantidade de tokens/cotas compradas.</p>\n<p>referenceDate: Data de referência</p>\n","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lending_infos","88092475-2fd2-4b2f-ad4c-6633e48909c4"],"host":["https://api.amfi.link"],"query":[],"variable":[]}},"response":[{"id":"fd106638-6429-441f-9ca2-03985e385b4c","name":"Exemplo Sucesso","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"text"}],"url":"https://api.amfi.link/v2/lending_infos/88092475-2fd2-4b2f-ad4c-6633e48909c4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"b49a67c8020cbc838b6605048f0a2760\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"b2b00b44-8f21-4834-bd00-219fddb5835a"},{"key":"X-Runtime","value":"1.705176"},{"key":"Server-Timing","value":"cache_write.active_support;dur=0.03, start_processing.action_controller;dur=0.09, sql.active_record;dur=54.19, instantiation.active_record;dur=63.92, process_action.action_controller;dur=586.81"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"383"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Nome do Produto\",\n    \"tranches\": [\n        {\n            \"kind\": \"senior\",\n            \"current_price\": \"1.0\",\n            \"total_tokens\": \"1000000.0\",\n            \"paid_in_tokens\": \"0.0\"\n        },\n        {\n            \"kind\": \"middle\",\n            \"current_price\": \"1.0\",\n            \"total_tokens\": \"1000000.0\",\n            \"paid_in_tokens\": \"0.0\"\n        },\n        {\n            \"kind\": \"junior\",\n            \"current_price\": \"1.0\",\n            \"total_tokens\": \"1000000.0\",\n            \"paid_in_tokens\": \"0.0\"\n        }\n    ],\n    \"total_balance\": \"2030529.99999999999999996\",\n    \"reserve_balance\": \"100.0\",\n    \"referenceDate\": \"2024-01-01\"\n}"}],"_postman_id":"412bff69-d0a4-4be0-a787-a86acc0fc86e"},{"name":"Histórico de PL do Pool","id":"d06a92df-dcb3-9f61-fdf5-8fa4c527ec24","request":{"method":"GET","header":[{"value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","key":"Authorization"}],"url":"https://api.amfi.link/v2/lending_infos/88092475-2fd2-4b2f-ad4c-6633e48909c4/historic","description":"<p>Retorna o histórico diário de valorização de um pool (Patrimônio Líquido e suas componentes).</p>\n<p>Limitado a <strong>370 registros</strong> por chamada, ordenados do mais recente ao mais antigo.</p>\n<p><strong>Query params opcionais:</strong></p>\n<ul>\n<li><code>start_date</code> — data inicial no formato <code>YYYY-MM-DD</code></li>\n<li><code>end_date</code> — data final no formato <code>YYYY-MM-DD</code></li>\n</ul>\n<p><strong>Campos retornados por registro:</strong></p>\n<ul>\n<li><code>date</code> — data de referência</li>\n<li><code>net_total_value</code> — Patrimônio Líquido total (string decimal)</li>\n<li><code>liquidity</code> — Caixa disponível</li>\n<li><code>present_value</code> — Valor presente da carteira</li>\n<li><code>cdb_balance</code> — Saldo em aplicações</li>\n<li><code>loan_debt</code> — Saldo pendente de conciliação</li>\n<li><code>pdd_value</code> — Valor de PDD</li>\n<li><code>expense_provisioning</code> — Mapa de provisões de despesas por tipo</li>\n<li><code>total_swap</code> — Total em swap</li>\n<li><code>total_fund_shares</code> — Total em cotas de fundo</li>\n<li><code>tranches</code> — Lista de tranches com <code>name</code>, <code>kind</code>, <code>price</code>, <code>readjusted_price</code>, <code>value</code> e <code>supply</code></li>\n</ul>\n","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lending_infos","88092475-2fd2-4b2f-ad4c-6633e48909c4","historic"],"host":["https://api.amfi.link"],"query":[{"disabled":true,"description":{"content":"<p>Data inicial do filtro (YYYY-MM-DD)</p>\n","type":"text/plain"},"key":"start_date","value":"2024-01-01"},{"disabled":true,"description":{"content":"<p>Data final do filtro (YYYY-MM-DD)</p>\n","type":"text/plain"},"key":"end_date","value":"2024-12-31"}],"variable":[]}},"response":[{"id":"26699c7f-8517-26c5-d32f-bd2f9351d23d","name":"200 OK","originalRequest":{"method":"GET","header":[{"value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","key":"Authorization"}],"url":{"raw":"https://api.amfi.link/v2/lending_infos/88092475-2fd2-4b2f-ad4c-6633e48909c4/historic","host":["https://api.amfi.link"],"path":["v2","lending_infos","88092475-2fd2-4b2f-ad4c-6633e48909c4","historic"],"query":[{"value":"2024-01-01","description":"Data inicial do filtro (YYYY-MM-DD)","key":"start_date","disabled":true},{"value":"2024-12-31","description":"Data final do filtro (YYYY-MM-DD)","key":"end_date","disabled":true}]},"description":"Retorna o histórico diário de valorização de um pool (Patrimônio Líquido e suas componentes).\n\nLimitado a **370 registros** por chamada, ordenados do mais recente ao mais antigo.\n\n**Query params opcionais:**\n- `start_date` — data inicial no formato `YYYY-MM-DD`\n- `end_date` — data final no formato `YYYY-MM-DD`\n\n**Campos retornados por registro:**\n- `date` — data de referência\n- `net_total_value` — Patrimônio Líquido total (string decimal)\n- `liquidity` — Caixa disponível\n- `present_value` — Valor presente da carteira\n- `cdb_balance` — Saldo em aplicações\n- `loan_debt` — Saldo pendente de conciliação\n- `pdd_value` — Valor de PDD\n- `expense_provisioning` — Mapa de provisões de despesas por tipo\n- `total_swap` — Total em swap\n- `total_fund_shares` — Total em cotas de fundo\n- `tranches` — Lista de tranches com `name`, `kind`, `price`, `readjusted_price`, `value` e `supply`"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"date\": \"2024-06-15\",\n      \"net_total_value\": \"10523847.23\",\n      \"liquidity\": \"523847.23\",\n      \"present_value\": \"9800000.00\",\n      \"cdb_balance\": \"200000.00\",\n      \"loan_debt\": \"0.00\",\n      \"pdd_value\": \"15000.00\",\n      \"expense_provisioning\": {\n        \"amfi_maintenance_fee\": \"1200.50\",\n        \"administration_fee\": \"800.00\"\n      },\n      \"total_swap\": \"0.00\",\n      \"total_fund_shares\": \"0.00\",\n      \"tranches\": [\n        {\n          \"tranche_id\": \"7a2efa02-7b82-4b9d-a510-76b02d985234\",\n          \"name\": \"Senior A\",\n          \"kind\": \"senior\",\n          \"price\": \"1.0523\",\n          \"readjusted_price\": \"1.0510\",\n          \"value\": \"8000000.00\",\n          \"supply\": \"7602281.38\"\n        },\n        {\n          \"tranche_id\": \"b3c1d4e5-1234-5678-abcd-ef0123456789\",\n          \"name\": \"Junior\",\n          \"kind\": \"junior\",\n          \"price\": \"1.1200\",\n          \"readjusted_price\": \"1.1150\",\n          \"value\": \"2523847.23\",\n          \"supply\": \"2253435.03\"\n        }\n      ]\n    },\n    {\n      \"date\": \"2024-06-14\",\n      \"net_total_value\": \"10510000.00\",\n      \"liquidity\": \"510000.00\",\n      \"present_value\": \"9800000.00\",\n      \"cdb_balance\": \"200000.00\",\n      \"loan_debt\": \"0.00\",\n      \"pdd_value\": \"15000.00\",\n      \"expense_provisioning\": {\n        \"amfi_maintenance_fee\": \"1199.00\",\n        \"administration_fee\": \"799.00\"\n      },\n      \"total_swap\": \"0.00\",\n      \"total_fund_shares\": \"0.00\",\n      \"tranches\": [\n        {\n          \"tranche_id\": \"7a2efa02-7b82-4b9d-a510-76b02d985234\",\n          \"name\": \"Senior A\",\n          \"kind\": \"senior\",\n          \"price\": \"1.0510\",\n          \"readjusted_price\": \"1.0497\",\n          \"value\": \"7990000.00\",\n          \"supply\": \"7602281.38\"\n        },\n        {\n          \"tranche_id\": \"b3c1d4e5-1234-5678-abcd-ef0123456789\",\n          \"name\": \"Junior\",\n          \"kind\": \"junior\",\n          \"price\": \"1.1150\",\n          \"readjusted_price\": \"1.1100\",\n          \"value\": \"2520000.00\",\n          \"supply\": \"2253435.03\"\n        }\n      ]\n    }\n  ]\n}"}],"_postman_id":"d06a92df-dcb3-9f61-fdf5-8fa4c527ec24"}],"id":"e5e71a85-4ef1-4d62-b57d-eca751710358","_postman_id":"e5e71a85-4ef1-4d62-b57d-eca751710358","description":"","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}}},{"name":"Endpoints de Relatórios","item":[{"name":"Listar Relatórios","id":"2fdcf71c-41fc-0f7f-0bee-489bea7d5445","request":{"method":"GET","header":[{"key":"Authorization","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8"}],"url":"https://api.amfi.link/v2/reports","description":"<p>Lista todos os Relatórios do usuário autenticado.</p>\n<h2 id=\"campos-retornados\">Campos retornados</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>kindCd</code></td>\n<td>Formato do arquivo (<code>xlsx</code>, <code>pdf</code>, <code>csv</code>, <code>zip</code>, <code>txt</code>)</td>\n</tr>\n<tr>\n<td><code>referenceDate</code></td>\n<td>Data de referência do relatório (quando aplicável)</td>\n</tr>\n<tr>\n<td><code>statusCd</code></td>\n<td>Status da geração (<code>pending</code>, <code>processing</code>, <code>done</code>, <code>failed</code>)</td>\n</tr>\n<tr>\n<td><code>resource</code></td>\n<td>Nome do tipo de relatório (ex: \"Operações\", \"Extratos de Carteira\")</td>\n</tr>\n<tr>\n<td><code>lendingName</code></td>\n<td>Nome do Pool ao qual o relatório se refere</td>\n</tr>\n<tr>\n<td><code>fileUrl</code></td>\n<td>URL para download do arquivo gerado</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"autorização\">Autorização</h2>\n<p>Retorna apenas os relatórios do usuário autenticado.</p>\n","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","reports"],"host":["https://api.amfi.link"],"query":[{"disabled":true,"description":{"content":"<p>Filtra por formato do arquivo. Valores possíveis: xlsx, pdf, csv, zip, txt</p>\n","type":"text/plain"},"key":"q[kind_cd_eq]","value":""},{"disabled":true,"description":{"content":"<p>Filtra por Pool (ID do Pool)</p>\n","type":"text/plain"},"key":"q[lending_id_eq]","value":"88092475-2fd2-4b2f-ad4c-6633e48909c4"}],"variable":[]}},"response":[{"id":"09701917-42cd-b912-8d43-02e5088deb7e","name":"200 OK","originalRequest":{"header":[]},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"a1b2c3d4-0000-0000-0000-111111111111\",\n      \"type\": \"report\",\n      \"attributes\": {\n        \"kindCd\": \"xlsx\",\n        \"referenceDate\": null,\n        \"statusCd\": \"done\",\n        \"resource\": \"Operações\",\n        \"lendingName\": \"AmFi Pool #1\",\n        \"fileUrl\": \"https:...\"\n      }\n    },\n    {\n      \"id\": \"a1b2c3d4-0000-0000-0000-222222222222\",\n      \"type\": \"report\",\n      \"attributes\": {\n        \"kindCd\": \"xlsx\",\n        \"referenceDate\": \"2026-01-31\",\n        \"statusCd\": \"done\",\n        \"resource\": \"Extratos de Carteira\",\n        \"lendingName\": \"AmFi Pool #1\",\n        \"fileUrl\": \"https:...\"\n      }\n    },\n    {\n      \"id\": \"a1b2c3d4-0000-0000-0000-333333333333\",\n      \"type\": \"report\",\n      \"attributes\": {\n        \"kindCd\": \"pdf\",\n        \"referenceDate\": \"2026-01-31\",\n        \"statusCd\": \"processing\",\n        \"resource\": \"Posição e Movimento\",\n        \"lendingName\": \"AmFi Pool #2\",\n        \"fileUrl\": null\n      }\n    }\n  ],\n  \"meta\": {\n    \"search\": {},\n    \"pagination\": {\n      \"currentPage\": 1,\n      \"previousPage\": null,\n      \"nextPage\": null,\n      \"perPage\": 25,\n      \"totalPages\": 1,\n      \"totalCount\": 3\n    }\n  }\n}"}],"_postman_id":"2fdcf71c-41fc-0f7f-0bee-489bea7d5445"},{"name":"Ver Relatório","id":"1ec37929-00b1-20cc-2e40-1e7cef5f0536","request":{"method":"GET","header":[{"value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","key":"Authorization"}],"url":"https://api.amfi.link/v2/reports/:id","description":"<p>Retorna os detalhes de um Relatório específico pelo seu ID.</p>\n<h2 id=\"parâmetros-de-rota\">Parâmetros de rota</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parâmetro</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>ID do Relatório (UUID)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"campos-retornados\">Campos retornados</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>kindCd</code></td>\n<td>Formato do arquivo (<code>xlsx</code>, <code>pdf</code>, <code>csv</code>, <code>zip</code>, <code>txt</code>)</td>\n</tr>\n<tr>\n<td><code>referenceDate</code></td>\n<td>Data de referência do relatório (quando aplicável)</td>\n</tr>\n<tr>\n<td><code>statusCd</code></td>\n<td>Status da geração (<code>pending</code>, <code>processing</code>, <code>done</code>, <code>failed</code>)</td>\n</tr>\n<tr>\n<td><code>resource</code></td>\n<td>Nome do tipo de relatório (ex: \"Operações\", \"Extratos de Carteira\")</td>\n</tr>\n<tr>\n<td><code>lendingName</code></td>\n<td>Nome do Pool ao qual o relatório se refere</td>\n</tr>\n<tr>\n<td><code>fileUrl</code></td>\n<td>URL para download do arquivo gerado</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"autorização\">Autorização</h2>\n<p>Retorna apenas se o relatório pertencer ao usuário autenticado. Caso contrário, retorna <code>404</code>.</p>\n","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","reports",":id"],"host":["https://api.amfi.link"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[{"id":"64922206-204f-2d81-9d7b-d0598b97788d","name":"200 OK","originalRequest":{"header":[]},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"id\": \"a1b2c3d4-0000-0000-0000-111111111111\",\n    \"type\": \"report\",\n    \"attributes\": {\n      \"kindCd\": \"xlsx\",\n      \"referenceDate\": \"2026-01-31\",\n      \"statusCd\": \"done\",\n      \"resource\": \"Extratos de Carteira\",\n      \"lendingName\": \"AmFi Pool #1\",\n      \"fileUrl\": \"https:...\"\n    }\n  }\n}"}],"_postman_id":"1ec37929-00b1-20cc-2e40-1e7cef5f0536"},{"name":"Listar Eventos de Monitoramento do Pool","id":"20f69593-edbb-384f-7442-60048d900781","request":{"method":"GET","header":[{"value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","key":"Authorization"}],"url":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/monitoring_events","description":"<p>Lista todos os eventos de monitoramento de um pool.</p>\n<p>Cada evento representa uma avaliação das regras de elegibilidade do pool em uma data de referência específica. A resposta inclui:</p>\n<ul>\n<li><code>updatedAt</code>: data/hora da última atualização do evento</li>\n<li><code>result</code>: objeto com o resultado de cada regra avaliada, contendo <code>value</code> (valor apurado), <code>status</code> (<code>success</code>, <code>warning</code> ou <code>danger</code>), <code>label</code> (tradução em português da regra) e opcionalmente <code>details</code></li>\n</ul>\n<p><strong>Autenticação:</strong> Header <code>Authorization</code> com o Access Token fornecido pela AmFi.</p>\n<p><strong>Paginação:</strong> Suporta parâmetros <code>p[page]</code> e <code>p[per_page]</code> (máximo 100 por página).</p>\n","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}},"urlObject":{"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","monitoring_events"],"host":["https://api.amfi.link"],"query":[{"disabled":true,"description":{"content":"<p>Número da página</p>\n","type":"text/plain"},"key":"p[page]","value":"1"},{"disabled":true,"description":{"content":"<p>Resultados por página (máximo 100)</p>\n","type":"text/plain"},"key":"p[per_page]","value":"25"}],"variable":[]}},"response":[{"id":"8c1c578c-2428-5c0a-f711-f592e189ff0b","name":"200 OK","originalRequest":{"method":"GET","header":[{"value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","key":"Authorization"}],"url":{"raw":"https://api.amfi.link/v2/lendings/88092475-2fd2-4b2f-ad4c-6633e48909c4/monitoring_events","host":["https://api.amfi.link"],"path":["v2","lendings","88092475-2fd2-4b2f-ad4c-6633e48909c4","monitoring_events"],"query":[{"value":"1","key":"p[page]","description":"Número da página","disabled":true},{"value":"25","key":"p[per_page]","description":"Resultados por página (máximo 100)","disabled":true}]},"description":"Lista todos os eventos de monitoramento de um pool.\n\nCada evento representa uma avaliação das regras de elegibilidade do pool em uma data de referência específica. A resposta inclui:\n- `updatedAt`: data/hora da última atualização do evento\n- `result`: objeto com o resultado de cada regra avaliada, contendo `value` (valor apurado), `status` (`success`, `warning` ou `danger`), `label` (tradução em português da regra) e opcionalmente `details`\n\n**Autenticação:** Header `Authorization` com o Access Token fornecido pela AmFi.\n\n**Paginação:** Suporta parâmetros `p[page]` e `p[per_page]` (máximo 100 por página)."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"d4e1f2a3-b5c6-7d8e-9f0a-1b2c3d4e5f6a\",\n      \"type\": \"monitoring_event\",\n      \"attributes\": {\n        \"updatedAt\": \"2026-03-19T18:00:00.000Z\",\n        \"result\": {\n          \"max_due_days\": {\n            \"value\": 2913,\n            \"status\": \"success\",\n            \"label\": \"Prazo máximo por ativo (dias)\"\n          },\n          \"max_amount_per_loan\": {\n            \"value\": \"15828.88\",\n            \"status\": \"success\",\n            \"label\": \"Ticket máx por operação\"\n          },\n          \"max_average_duration\": {\n            \"value\": \"669.77\",\n            \"status\": \"success\",\n            \"label\": \"Prazo médio máximo ponderado (dias)\"\n          },\n          \"max_payer_concentration\": {\n            \"value\": \"0.06\",\n            \"status\": \"success\",\n            \"details\": \"67416776000168\",\n            \"label\": \"Concentração máx por sacado\"\n          },\n          \"max_borrower_concentration\": {\n            \"value\": \"101.8\",\n            \"status\": \"warning\",\n            \"details\": \"34337707000100\",\n            \"label\": \"Concentração máx por cedente em percentual\"\n          },\n          \"max_defaulting_value_percentage\": {\n            \"value\": \"0.35\",\n            \"status\": \"success\",\n            \"label\": \"Inadimplência percentual máxima da carteira\"\n          },\n          \"max_late_over_90_days_percentage\": {\n            \"value\": \"0.09\",\n            \"status\": \"success\",\n            \"label\": \"Inadimplência percentual máxima acima de 90 dias\"\n          },\n          \"min_senior_subordination_ratio_percent\": {\n            \"value\": \"100.0\",\n            \"status\": \"success\",\n            \"label\": \"Nível crítico de Subordinação da tranche Sênior\"\n          }\n        }\n      }\n    }\n  ],\n  \"meta\": {\n    \"pagination\": {\n      \"currentPage\": 1,\n      \"previousPage\": null,\n      \"nextPage\": null,\n      \"perPage\": 25,\n      \"totalPages\": 1,\n      \"totalCount\": 1\n    }\n  }\n}"}],"_postman_id":"20f69593-edbb-384f-7442-60048d900781"}],"id":"96dbfea6-da15-7403-09b8-48681bdccf0a","description":"<h2 id=\"relatórios\">Relatórios</h2>\n<p>Os Relatórios são arquivos gerados pela plataforma AmFi (em formatos como Excel, PDF, CSV, etc.) contendo dados operacionais e financeiros da carteira.</p>\n<p>Eles podem ser:</p>\n<ul>\n<li><p><strong>Gerados manualmente</strong> pelo usuário através da plataforma AmFi</p>\n</li>\n<li><p><strong>Gerados automaticamente</strong> mediante configuração — solicite ao time da AmFi para configurar a geração automática de relatórios periódicos para a sua operação</p>\n</li>\n</ul>\n","_postman_id":"96dbfea6-da15-7403-09b8-48681bdccf0a","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","id":"59afb496-b2a8-4cd5-99ce-e51adfd05ed7","name":"APIs AmFi","type":"collection"}}}],"auth":{"type":"inherit","inherit":{"basicConfig":[]}},"event":[{"listen":"prerequest","script":{"id":"8a5dcce9-20db-41a3-a10f-40417c7d0897","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"06e629e6-4d64-4618-98a9-8d4ed4e9abf3","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.amfi.link","type":"string"},{"key":"apiKey","value":"9bf30c4a-6711-483f-a15a-032af2c199a1.73c9542496e24f63a44e638fc95e54b8","type":"string"},{"key":"lendingId","value":"88092475-2fd2-4b2f-ad4c-6633e48909c4","type":"string"},{"key":"borrowerId","value":"ade85974-8a5c-4f2c-a12a-ef6f31baad8f","type":"string"},{"key":"trancheId","value":"1"},{"key":"trancheid","value":"7a2efa02-7b82-4b9d-a510-76b02d985234"}]}