{"info":{"_postman_id":"2635f029-6335-4b65-b7c9-85d45d203d45","name":"API Pagamento de Contas","description":"<html><head></head><body><p>Documentação para a API de consulta e pagamento de boletos</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"13574984","collectionId":"2635f029-6335-4b65-b7c9-85d45d203d45","publishedId":"UyrDCurw","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-04-26T14:12:21.000Z"},"item":[{"name":"OAuth","item":[{"name":"/v1/oauth/token","event":[{"listen":"test","script":{"id":"c1d32d4d-86c0-4d73-8d3b-d729d2c3cc8d","exec":["var jsonData = JSON.parse(responseBody);\r","postman.setEnvironmentVariable(\"Authorization\", pm.response.json().token_type + ' ' + jsonData.access_token);\r","\r","var access_token = pm.response.json().access_token\r","postman.setEnvironmentVariable(\"access_token\", access_token);"],"type":"text/javascript"}}],"id":"270ff0a7-c5f6-4c4a-8fd4-214200307edc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"grant_type\": \"client_credentials\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://pagarcontas.api.efipay.com.br/v1/oauth/token","urlObject":{"protocol":"https","path":["v1","oauth","token"],"host":["pagarcontas","api","efipay","com","br"],"query":[],"variable":[]}},"response":[],"_postman_id":"270ff0a7-c5f6-4c4a-8fd4-214200307edc"}],"id":"fa856e3b-9666-4cbc-904e-16ec55126e47","_postman_id":"fa856e3b-9666-4cbc-904e-16ec55126e47","description":""},{"name":"Pagamentos","item":[{"name":"/v1/codBarras/:codBarras","id":"90f5d9e0-3fc7-4732-bb36-b10d9c6dcd3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"{{Authorization}}"}],"url":"https://pagarcontas.api.efipay.com.br/v1/codBarras/:codBarras","description":"<p>Realiza uma consulta de boleto com os dados necessários para prosseguir com o pagamento.</p>\n","urlObject":{"protocol":"https","path":["v1","codBarras",":codBarras"],"host":["pagarcontas","api","efipay","com","br"],"query":[],"variable":[{"id":"0652d088-94d7-43d5-a50e-cb37c0680d9e","description":{"content":"<p>(Required) Código de barras do boleto de pagamento.</p>\n","type":"text/plain"},"type":"any","value":"fugiat","key":"codBarras"}]}},"response":[],"_postman_id":"90f5d9e0-3fc7-4732-bb36-b10d9c6dcd3b"},{"name":"/v1/codBarras/:codBarras","id":"9bcd4d80-4ad4-47b8-b0b0-0d915d0d30ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"{{Authorization}}"}],"body":{"mode":"raw","raw":"{\n  \"dataPagamento\": \"2022-03-10\",\n  \"valor\": 500,\n  \"descricao\": \"Pagamento de boleto\"\n}","options":{"raw":{"language":"json"}}},"url":"https://pagarcontas.api.efipay.com.br/v1/codBarras/:codBarras","description":"<p>Efetua o pagamento do documento.</p>\n","urlObject":{"protocol":"https","path":["v1","codBarras",":codBarras"],"host":["pagarcontas","api","efipay","com","br"],"query":[],"variable":[{"description":{"content":"<p>(Required) Código de barras do boleto de pagamento.</p>\n","type":"text/plain"},"type":"any","value":"","key":"codBarras"}]}},"response":[],"_postman_id":"9bcd4d80-4ad4-47b8-b0b0-0d915d0d30ca"},{"name":"/v1/:idPagamento","id":"4c258941-d5e3-407c-a359-7edd963210f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"{{Authorization}}"}],"url":"https://pagarcontas.api.efipay.com.br/v1/:idPagamento","description":"<p>Consulta o status da solicitação de pagamento anteriormente efetuada.</p>\n","urlObject":{"protocol":"https","path":["v1",":idPagamento"],"host":["pagarcontas","api","efipay","com","br"],"query":[],"variable":[{"description":{"content":"<p>(Required) id gerado na consulta.</p>\n","type":"text/plain"},"type":"any","value":"","key":"idPagamento"}]}},"response":[],"_postman_id":"4c258941-d5e3-407c-a359-7edd963210f9"},{"name":"/v1/resumo","id":"b74b2f48-ec1b-4d2a-84bd-cff2bc062c13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"{{Authorization}}"}],"url":"https://pagarcontas.api.efipay.com.br/v1/resumo?dataInicio=2022-04-01T00:00:00.000Z&dataFim=2022-04-25T00:00:00.000Z","description":"<p>Informa o resumo das requisições de pagamentos feitas no período informado.</p>\n","urlObject":{"protocol":"https","path":["v1","resumo"],"host":["pagarcontas","api","efipay","com","br"],"query":[{"description":{"content":"<p>(Required) Data inicial para consulta do resumo.</p>\n","type":"text/plain"},"key":"dataInicio","value":"2022-04-01T00:00:00.000Z"},{"description":{"content":"<p>(Required) Data final para consulta do resumo.</p>\n","type":"text/plain"},"key":"dataFim","value":"2022-04-25T00:00:00.000Z"}],"variable":[]}},"response":[],"_postman_id":"b74b2f48-ec1b-4d2a-84bd-cff2bc062c13"}],"id":"8bf00716-6046-486b-a18f-1f587ba57f71","_postman_id":"8bf00716-6046-486b-a18f-1f587ba57f71","description":""},{"name":"Webhooks","item":[{"name":"/v1/webhook","id":"f46b08b6-5080-4850-a970-b2534d2c744e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"url\": \"https://exemplo-pagamento-contas/webhook\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://pagarcontas.api.efipay.com.br/v1/webhook","urlObject":{"protocol":"https","path":["v1","webhook"],"host":["pagarcontas","api","efipay","com","br"],"query":[],"variable":[]}},"response":[],"_postman_id":"f46b08b6-5080-4850-a970-b2534d2c744e"},{"name":"/v1/webhook","id":"aae08d69-ded6-4b61-bee6-ed4800008546","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"{{Authorization}}","type":"text"}],"url":"https://pagarcontas.api.efipay.com.br/v1/webhook/?dataInicio=2024-01-22T16:01:35Z&dataFim=2024-10-23T16:01:35Z","urlObject":{"protocol":"https","path":["v1","webhook",""],"host":["pagarcontas","api","efipay","com","br"],"query":[{"key":"dataInicio","value":"2024-01-22T16:01:35Z"},{"key":"dataFim","value":"2024-10-23T16:01:35Z"}],"variable":[]}},"response":[],"_postman_id":"aae08d69-ded6-4b61-bee6-ed4800008546"},{"name":"/v1/webhook","id":"3aa49e9f-08c1-456c-ae40-6242a04c7d8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"url\": \"https://exemplo-pagamento-contas/webhook\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://pagarcontas.api.efipay.com.br/v1/webhook","urlObject":{"protocol":"https","path":["v1","webhook"],"host":["pagarcontas","api","efipay","com","br"],"query":[],"variable":[]}},"response":[],"_postman_id":"3aa49e9f-08c1-456c-ae40-6242a04c7d8e"}],"id":"dc70aec3-68f5-4f89-b0df-750602bfd67e","_postman_id":"dc70aec3-68f5-4f89-b0df-750602bfd67e","description":""}],"variable":[{"key":"baseUrl","value":"https://apis.gerencianet.com.br","type":"string"}]}