-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path518d78a8.65febafa.js
1 lines (1 loc) · 11.2 KB
/
518d78a8.65febafa.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[53],{154:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return c})),n.d(t,"metadata",(function(){return r})),n.d(t,"rightToc",(function(){return s})),n.d(t,"default",(function(){return b}));var a=n(2),i=n(6),o=(n(0),n(250)),c=(n(257),n(258),{id:"Introduction",title:"Introduction",hide_title:!0,sidebar_label:"Introduction"}),r={id:"openFinance/Introduction",isDocsHomePage:!1,title:"Introduction",description:"Introduction",source:"@site/docs\\openFinance\\Introduction.md",permalink:"/documentation/docs/openFinance/Introduction",sidebar_label:"Introduction",sidebar:"someSidebar",previous:{title:"Endpoints",permalink:"/documentation/docs/AberturadeContas/endpoints"},next:{title:"Credentials, Certificate and Authorization",permalink:"/documentation/docs/openFinance/credenciais"}},s=[{value:"Open Finance API",id:"open-finance-api",children:[]},{value:"Open Finance API changes",id:"open-finance-api-changes",children:[]},{value:"Postman Open Finance API collection",id:"postman-open-finance-api-collection",children:[]}],l={rightToc:s};function b(e){var t=e.components,n=Object(i.a)(e,["components"]);return Object(o.b)("wrapper",Object(a.a)({},l,n,{components:t,mdxType:"MDXLayout"}),Object(o.b)("h1",{className:"titulo"},"Introduction"),Object(o.b)("div",{className:"subtitulo"},Object(o.b)("p",null,"This page contains a brief introduction to the Open Finance API and information on how to set up an environment for its use. "),Object(o.b)("h3",{id:"open-finance-api"},"Open Finance API"),Object(o.b)("p",null,"The Open Finance API provides the communication with the initiator Gerencianet (authorized participant) and recipient (e-commerce or m-commerce non-participant). With our API it is possible to start the open finance process in a practical way and make the payment of the end customer way easier."),Object(o.b)("h3",{id:"open-finance-api-changes"},"Open Finance API changes"),Object(o.b)("p",null,"The following changes can happen, but they are backwards-compatibility. That is, they will be compatible with previous versions of the API and will not impact your integrations:"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},"Added new features in the Open Finance API."),Object(o.b)("li",{parentName:"ul"},"Added new optional parameters."),Object(o.b)("li",{parentName:"ul"},"Adding new fields in Open Finance API responses"),Object(o.b)("li",{parentName:"ul"},"Changing the order of fields."),Object(o.b)("li",{parentName:"ul"},"Adding new elements to enumerations.")),Object(o.b)("div",{className:"admonition admonition-caution alert alert--warning"},Object(o.b)("div",Object(a.a)({parentName:"div"},{className:"admonition-heading"}),Object(o.b)("h5",{parentName:"div"},Object(o.b)("span",Object(a.a)({parentName:"h5"},{className:"admonition-icon"}),Object(o.b)("svg",Object(a.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}),Object(o.b)("path",Object(a.a)({parentName:"svg"},{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})))),"caution")),Object(o.b)("div",Object(a.a)({parentName:"div"},{className:"admonition-content"}),Object(o.b)("p",{parentName:"div"},"A new version of the Open Finance API will be generated whenever there are incompatible changes. But don't worry, our team will let you know in advance, on our official channels, about how you should proceed."))),Object(o.b)("p",null,"Any questions, you can talk to our Technical and Commercial teams on the Discord Platform. Click on the image below to access the server."),Object(o.b)("p",null,Object(o.b)("a",Object(a.a)({parentName:"p"},{href:"https://gerencianet.github.io/gn-comunidade-discord/"}),Object(o.b)("img",Object(a.a)({parentName:"a"},{src:"https://gnetbr.com/BJx0f1k4_F",alt:"Foo"})))),Object(o.b)("h3",{id:"postman-open-finance-api-collection"},"Postman Open Finance API collection"),Object(o.b)("p",null,"This is the ",Object(o.b)("a",{href:"https://documenter.getpostman.com/view/13574984/Uz5Dobw1"},"link")," to our Collection that we will keep updated with the Open Finance API endpoints"),Object(o.b)("a",{href:"https://documenter.getpostman.com/view/13574984/Uz5Dobw1",target:"_blank",alt:"QUERO SER CLIENTE GERENCIANET"},Object(o.b)("button",{type:"button",className:"buttonCTA buttonorange"},"Run in Postman")),Object(o.b)("br",null),Object(o.b)("br",null),Object(o.b)("br",null),Object(o.b)("div",{className:"admonition admonition-caution alert alert--warning"},Object(o.b)("div",Object(a.a)({parentName:"div"},{className:"admonition-heading"}),Object(o.b)("h5",{parentName:"div"},Object(o.b)("span",Object(a.a)({parentName:"h5"},{className:"admonition-icon"}),Object(o.b)("svg",Object(a.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}),Object(o.b)("path",Object(a.a)({parentName:"svg"},{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})))),"Caution")),Object(o.b)("div",Object(a.a)({parentName:"div"},{className:"admonition-content"}),Object(o.b)("p",{parentName:"div"},"To enable the Open Finance API scopes, simply ",Object(o.b)("a",{href:"https://gerencianet.com.br/fale-conosco/"},"open a ticket"),"informing the account number and Client_Id of the desired application.\nIt is also possible to request the release through our ",Object(o.b)("a",{href:"https://discord.com/invite/ptGHMtczcV"},"server on Discord"),"."))),Object(o.b)("div",{className:"admonition admonition-danger alert alert--danger"},Object(o.b)("div",Object(a.a)({parentName:"div"},{className:"admonition-heading"}),Object(o.b)("h5",{parentName:"div"},Object(o.b)("span",Object(a.a)({parentName:"h5"},{className:"admonition-icon"}),Object(o.b)("svg",Object(a.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"}),Object(o.b)("path",Object(a.a)({parentName:"svg"},{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})))),"Open Finance API")),Object(o.b)("div",Object(a.a)({parentName:"div"},{className:"admonition-content"}),Object(o.b)("p",{parentName:"div"},'In cases of using the Open Finance API, we recommend that the "receberSemChave" (receive without key) attribute, from the API-Pix, be set to ',Object(o.b)("em",{parentName:"p"},"true"),", as the divergence in the configuration will impact the transactions. The link to the endpoint can be found ",Object(o.b)("a",{href:"https://dev.gerencianet.com.br/docs/api-pix-endpoints#section-criar-modificar-configura-es-da-conta"},"here"),".")))))}b.isMDXComponent=!0},250:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var a=n(0),i=n.n(a);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n,a,i={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var l=i.a.createContext({}),b=function(e){var t=i.a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):r(r({},t),e)),n},p=function(e){var t=b(e.components);return i.a.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return i.a.createElement(i.a.Fragment,{},t)}},d=i.a.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),p=b(n),d=a,m=p["".concat(c,".").concat(d)]||p[d]||u[d]||o;return n?i.a.createElement(m,r(r({ref:t},l),{},{components:n})):i.a.createElement(m,r({ref:t},l))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,c=new Array(o);c[0]=d;var r={};for(var s in t)hasOwnProperty.call(t,s)&&(r[s]=t[s]);r.originalType=e,r.mdxType="string"==typeof e?e:a,c[1]=r;for(var l=2;l<o;l++)c[l]=n[l];return i.a.createElement.apply(null,c)}return i.a.createElement.apply(null,n)}d.displayName="MDXCreateElement"},254:function(e,t,n){"use strict";function a(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=a(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}t.a=function(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=a(e))&&(i&&(i+=" "),i+=t);return i}},255:function(e,t,n){"use strict";var a=n(0);const i=Object(a.createContext)({tabGroupChoices:{},setTabGroupChoices:()=>{},isAnnouncementBarClosed:!1,closeAnnouncementBar:()=>{}});t.a=i},256:function(e,t,n){"use strict";var a=n(0),i=n(255);t.a=function(){return Object(a.useContext)(i.a)}},257:function(e,t,n){"use strict";var a=n(0),i=n.n(a),o=n(256),c=n(254),r=n(92),s=n.n(r);const l=37,b=39;t.a=function(e){const{block:t,children:n,defaultValue:r,values:p,groupId:u}=e,{tabGroupChoices:d,setTabGroupChoices:m}=Object(o.a)(),[h,O]=Object(a.useState)(r);if(null!=u){const e=d[u];null!=e&&e!==h&&p.some(t=>t.value===e)&&O(e)}const f=e=>{O(e),null!=u&&m(u,e)},v=[];return i.a.createElement("div",null,i.a.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:Object(c.a)("tabs",{"tabs--block":t})},p.map(({value:e,label:t})=>i.a.createElement("li",{role:"tab",tabIndex:"0","aria-selected":h===e,className:Object(c.a)("tabs__item",s.a.tabItem,{"tabs__item--active":h===e}),key:e,ref:e=>v.push(e),onKeyDown:e=>((e,t,n)=>{switch(n.keyCode){case b:((e,t)=>{const n=e.indexOf(t)+1;e[n]?e[n].focus():e[0].focus()})(e,t);break;case l:((e,t)=>{const n=e.indexOf(t)-1;e[n]?e[n].focus():e[e.length-1].focus()})(e,t)}})(v,e.target,e),onFocus:()=>f(e),onClick:()=>f(e)},t))),i.a.createElement("div",{role:"tabpanel",className:"margin-vert--md"},a.Children.toArray(n).filter(e=>e.props.value===h)[0]))}},258:function(e,t,n){"use strict";var a=n(0),i=n.n(a);t.a=function(e){return i.a.createElement("div",null,e.children)}}}]);