-
Notifications
You must be signed in to change notification settings - Fork 0
/
5ff56bc1.a3d05fc0.js
1 lines (1 loc) · 7.65 KB
/
5ff56bc1.a3d05fc0.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[62],{163:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return i})),n.d(t,"metadata",(function(){return c})),n.d(t,"rightToc",(function(){return l})),n.d(t,"default",(function(){return u}));var r=n(2),a=n(6),o=(n(0),n(250)),i=(n(257),n(258),{id:"Glossary",title:"Glossary",hide_title:!0,sidebar_label:"Glossary"}),c={id:"PIX/Glossary",isDocsHomePage:!1,title:"Glossary",description:"Glossary",source:"@site/docs\\PIX\\glossary.md",permalink:"/documentation/docs/PIX/Glossary",sidebar_label:"Glossary",sidebar:"someSidebar",previous:{title:"Endpoints",permalink:"/documentation/docs/PIX/Endpoints"},next:{title:"Flowcharts",permalink:"/documentation/docs/PIX/Flowcharts"}},l=[{value:"location",id:"location",children:[]},{value:"payload",id:"payload",children:[]},{value:"revis\xe3o",id:"revis\xe3o",children:[]},{value:"txid",id:"txid",children:[]},{value:"webhook",id:"webhook",children:[]}],s={rightToc:l};function u(e){var t=e.components,n=Object(a.a)(e,["components"]);return Object(o.b)("wrapper",Object(r.a)({},s,n,{components:t,mdxType:"MDXLayout"}),Object(o.b)("h1",{className:"titulo"},"Glossary"),Object(o.b)("div",{className:"subtitulo"},Object(o.b)("p",null,"This page is intended to align the understanding of terms related to the Pix API."),Object(o.b)("h2",{id:"location"},"location"),Object(o.b)("hr",null),Object(o.b)("p",null,"A location is a URL of the ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://www.w3.org/TR/capability-urls/"}),Object(o.b)("strong",{parentName:"a"},"capability URL"))," type that serves as ",Object(o.b)("strong",{parentName:"p"},"address for a charge"),". In other words, it is through a location that it is possible to retrieve information related to a charge and, thus, carry out the transactions."),Object(o.b)("br",null),Object(o.b)("h2",{id:"payload"},"payload"),Object(o.b)("hr",null),Object(o.b)("p",null,"Payload is the name given to the second fragment of the JWS object (JSON Web Signature) that contains a JSON with data referring to a charge."),Object(o.b)("br",null),Object(o.b)("h2",{id:"revis\xe3o"},"revis\xe3o"),Object(o.b)("hr",null),Object(o.b)("p",null,'The "revisao" field records the number of changes to a charge. A new charge always starts with revision value 0 (zero) and this value is incremented one unit whenever the charge changes, except when the change is the Location.'),Object(o.b)("br",null),Object(o.b)("h2",{id:"txid"},"txid"),Object(o.b)("hr",null),Object(o.b)("p",null,"Each Pix transaction has a ",Object(o.b)("strong",{parentName:"p"},"Transaction Identifier"),", called ",Object(o.b)("inlineCode",{parentName:"p"},"txid"),", which, in the context of representing a charge, is unique per CPF/CNPJ of the receiving user. A ",Object(o.b)("inlineCode",{parentName:"p"},"txid")," is an ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://pt.wikipedia.org/wiki/Alfanum%C3%A9rico"}),"alphanumeric string")," with a minimum length of 26 and a maximum of 35 characters. A valid ",Object(o.b)("inlineCode",{parentName:"p"},"txid")," therefore, must obey the following regular expression (regex): ",Object(o.b)("inlineCode",{parentName:"p"},"^[a-zA-Z0-9]{26,35}$"),". You can use ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://regex101.com/r/iZ08y4/1"}),"this link to validate ",Object(o.b)("inlineCode",{parentName:"a"},"txid")," strings under the regex"),"."),Object(o.b)("br",null),Object(o.b)("h2",{id:"webhook"},"webhook"),Object(o.b)("hr",null),"Name of the functionality in which it is possible to register a callback URL to receive notifications about updates of transactions involving a certain Dict key."))}u.isMDXComponent=!0},250:function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return h}));var r=n(0),a=n.n(r);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 i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var s=a.a.createContext({}),u=function(e){var t=a.a.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},b=function(e){var t=u(e.components);return a.a.createElement(s.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return a.a.createElement(a.a.Fragment,{},t)}},d=a.a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,i=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),b=u(n),d=r,h=b["".concat(i,".").concat(d)]||b[d]||p[d]||o;return n?a.a.createElement(h,c(c({ref:t},s),{},{components:n})):a.a.createElement(h,c({ref:t},s))}));function h(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,i=new Array(o);i[0]=d;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c.mdxType="string"==typeof e?e:r,i[1]=c;for(var s=2;s<o;s++)i[s]=n[s];return a.a.createElement.apply(null,i)}return a.a.createElement.apply(null,n)}d.displayName="MDXCreateElement"},254:function(e,t,n){"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n);else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}t.a=function(){for(var e,t,n=0,a="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},255:function(e,t,n){"use strict";var r=n(0);const a=Object(r.createContext)({tabGroupChoices:{},setTabGroupChoices:()=>{},isAnnouncementBarClosed:!1,closeAnnouncementBar:()=>{}});t.a=a},256:function(e,t,n){"use strict";var r=n(0),a=n(255);t.a=function(){return Object(r.useContext)(a.a)}},257:function(e,t,n){"use strict";var r=n(0),a=n.n(r),o=n(256),i=n(254),c=n(92),l=n.n(c);const s=37,u=39;t.a=function(e){const{block:t,children:n,defaultValue:c,values:b,groupId:p}=e,{tabGroupChoices:d,setTabGroupChoices:h}=Object(o.a)(),[f,m]=Object(r.useState)(c);if(null!=p){const e=d[p];null!=e&&e!==f&&b.some(t=>t.value===e)&&m(e)}const O=e=>{m(e),null!=p&&h(p,e)},y=[];return a.a.createElement("div",null,a.a.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:Object(i.a)("tabs",{"tabs--block":t})},b.map(({value:e,label:t})=>a.a.createElement("li",{role:"tab",tabIndex:"0","aria-selected":f===e,className:Object(i.a)("tabs__item",l.a.tabItem,{"tabs__item--active":f===e}),key:e,ref:e=>y.push(e),onKeyDown:e=>((e,t,n)=>{switch(n.keyCode){case u:((e,t)=>{const n=e.indexOf(t)+1;e[n]?e[n].focus():e[0].focus()})(e,t);break;case s:((e,t)=>{const n=e.indexOf(t)-1;e[n]?e[n].focus():e[e.length-1].focus()})(e,t)}})(y,e.target,e),onFocus:()=>O(e),onClick:()=>O(e)},t))),a.a.createElement("div",{role:"tabpanel",className:"margin-vert--md"},r.Children.toArray(n).filter(e=>e.props.value===f)[0]))}},258:function(e,t,n){"use strict";var r=n(0),a=n.n(r);t.a=function(e){return a.a.createElement("div",null,e.children)}}}]);