-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path7c437ce1.695371c6.js
1 lines (1 loc) · 16.5 KB
/
7c437ce1.695371c6.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[75],{175:function(t,e,a){"use strict";a.r(e),a.d(e,"frontMatter",(function(){return c})),a.d(e,"metadata",(function(){return l})),a.d(e,"rightToc",(function(){return i})),a.d(e,"default",(function(){return O}));var n=a(2),b=a(6),r=(a(0),a(250)),c={id:"LimitesConsumo",title:"Limites de Consumo",hide_title:!0,sidebar_label:"Consumption Limits"},l={id:"VisaoGeral/LimitesConsumo",isDocsHomePage:!1,title:"Limites de Consumo",description:"Consumption Limits",source:"@site/docs\\VisaoGeral\\LimitesConsumo.md",permalink:"/documentation/docs/VisaoGeral/LimitesConsumo",sidebar_label:"Consumption Limits",sidebar:"someSidebar",previous:{title:"Interpretando Erros na API",permalink:"/documentation/docs/VisaoGeral/InterpretandoErros"},next:{title:"Introdu\xe7\xe3o ao Playground",permalink:"/documentation/docs/AmbienteTestes/IntroducaoPlayground"}},i=[{value:"Consumption Limits",id:"consumption-limits",children:[]},{value:"Transactions",id:"transactions",children:[]},{value:"Carn\xeas",id:"carn\xeas",children:[]},{value:"Notifications",id:"notifications",children:[]},{value:"Subscriptions",id:"subscriptions",children:[]},{value:"Others",id:"others",children:[]}],o={rightToc:i};function O(t){var e=t.components,a=Object(b.a)(t,["components"]);return Object(r.b)("wrapper",Object(n.a)({},o,a,{components:e,mdxType:"MDXLayout"}),Object(r.b)("h1",{className:"titulo"},"Consumption Limits"),Object(r.b)("div",{className:"subtitulo"},"On this page we will deal with the usage limits of the Gerencianet API, so that you can use our services in the best possible way.",Object(r.b)("br",null),Object(r.b)("br",null),Object(r.b)("h2",{id:"consumption-limits"},"Consumption Limits"),Object(r.b)("p",null,"Consumption limits refer to the consumption of API routes (",Object(r.b)("em",{parentName:"p"},"endpoints"),"), such limits apply to each application individually, that is, if you have an account with 2 applications, each one will have its independent limits, which will be reset ( reset) daily (24 hour interval).\nIt is important to remember that a warning is triggered when 80% of consumption of an ",Object(r.b)("em",{parentName:"p"},"endpoint")," limit is reached for the ",Object(r.b)("em",{parentName:"p"},"email")," registered in your Gestoret account profile.\nIn cases where the maximum number of requests for an ",Object(r.b)("em",{parentName:"p"},"endpoint")," is reached, a blocking notice will be sent to the ",Object(r.b)("em",{parentName:"p"},"email")," registered in your Gest\xe3onet account profile, and such ",Object(r.b)("em",{parentName:"p"},"endpoint")," will only be released for use after automatic unblocking.\nBelow we will describe all the ",Object(r.b)("em",{parentName:"p"},"endpoints")," available for consumption and their respective limits."),Object(r.b)("br",null),Object(r.b)("h2",{id:"transactions"},"Transactions"),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Endpoint (Base Route)"),Object(r.b)("th",Object(n.a)({parentName:"tr"},{align:"center"}),"Requisition limit"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"POST ")," ",Object(r.b)("code",null,"/v1/charge")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"GET ")," ",Object(r.b)("code",null,"/v1/charge/:id")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"PUT ")," ",Object(r.b)("code",null,"/v1/charge/:id/metadata")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"PUT ")," ",Object(r.b)("code",null,"/v1/charge/:id/billet")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"PUT ")," ",Object(r.b)("code",null,"/v1/charge/:id/cancel")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"POST ")," ",Object(r.b)("code",null,"/v1/charge/:id/pay")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"POST ")," ",Object(r.b)("code",null,"/v1/charge/:id/billet/resend")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"POST ")," ",Object(r.b)("code",null,"/v1/charge/:id/history")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"POST ")," ",Object(r.b)("code",null,"/v1/charge/:id/link")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"PUT ")," ",Object(r.b)("code",null,"/v1/charge/:id/link")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"POST ")," ",Object(r.b)("code",null,"/v1/charge/:id/balance-sheet")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"PUT ")," ",Object(r.b)("code",null,"/v1/charge/:id/settle")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")))),Object(r.b)("br",null),Object(r.b)("h2",{id:"carn\xeas"},"Carn\xeas"),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Endpoint (Base Route)"),Object(r.b)("th",Object(n.a)({parentName:"tr"},{align:"center"}),"Requisition limit"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"POST")," ",Object(r.b)("code",null,"/v1/carnet")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"GET")," ",Object(r.b)("code",null,"/v1/carnet/:id/")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"PUT")," ",Object(r.b)("code",null,"/v1/carnet/:id/metadata")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"PUT")," ",Object(r.b)("code",null,"/v1/carnet/:id/parcel/:parcel")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"PUT")," ",Object(r.b)("code",null,"/v1/carnet/:id/cancel")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"PUT")," ",Object(r.b)("code",null,"/v1/carnet/:id/parcel/:parcel/cancel")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"POST")," ",Object(r.b)("code",null,"/v1/carnet/:id/resend")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"POST")," ",Object(r.b)("code",null,"/v1/carnet/:id/parcel/:parcel/resend")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"POST")," ",Object(r.b)("code",null,"/v1/carnet/:id/history")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"PUT")," ",Object(r.b)("code",null,"/v1/carnet/:id/parcel/:parcel/settle")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"PUT")," ",Object(r.b)("code",null,"/v1/carnet/:id/settle")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")))),Object(r.b)("br",null),Object(r.b)("h2",{id:"notifications"},"Notifications"),Object(r.b)("p",null,"This ",Object(r.b)("em",{parentName:"p"},"endpoint")," is for the exclusive use of the Gerencianet API and is used to communicate with the integrated system to update the status of transactions."),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Endpoint (Base Route)"),Object(r.b)("th",Object(n.a)({parentName:"tr"},{align:"center"}),"Requisition limit"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"GET")," ",Object(r.b)("code",null,"/v1/notification/:token")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"30.000")))),Object(r.b)("br",null),Object(r.b)("h2",{id:"subscriptions"},"Subscriptions"),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Endpoint (Base Route)"),Object(r.b)("th",Object(n.a)({parentName:"tr"},{align:"center"}),"Requisition limit"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"POST")," ",Object(r.b)("code",null,"/v1/plan")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"GET")," ",Object(r.b)("code",null,"/v1/plans")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"PUT")," ",Object(r.b)("code",null,"/v1/plan/:id")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"DELETE")," ",Object(r.b)("code",null,"/v1/plan/:id")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"POST")," ",Object(r.b)("code",null,"/v1/plan/:id/subscription")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"GET")," ",Object(r.b)("code",null,"/v1/subscription/:id")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"PUT")," ",Object(r.b)("code",null,"/v1/subscription/:id/cancel")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"PUT")," ",Object(r.b)("code",null,"/v1/subscription/:id/metadata")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"POST")," ",Object(r.b)("code",null,"/v1/subscription/:id/pay")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"POST")," ",Object(r.b)("code",null,"/v1/subscription/:id/history")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000")))),Object(r.b)("br",null),Object(r.b)("h2",{id:"others"},"Others"),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Endpoint (Base Route)"),Object(r.b)("th",Object(n.a)({parentName:"tr"},{align:"center"}),"Requisition limit"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(r.b)("strong",{parentName:"td"},"GET")," ",Object(r.b)("code",null,"/v1/installments")),Object(r.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"15.000"))))))}O.isMDXComponent=!0},250:function(t,e,a){"use strict";a.d(e,"a",(function(){return j})),a.d(e,"b",(function(){return m}));var n=a(0),b=a.n(n);function r(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function c(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function l(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?c(Object(a),!0).forEach((function(e){r(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function i(t,e){if(null==t)return{};var a,n,b=function(t,e){if(null==t)return{};var a,n,b={},r=Object.keys(t);for(n=0;n<r.length;n++)a=r[n],e.indexOf(a)>=0||(b[a]=t[a]);return b}(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(n=0;n<r.length;n++)a=r[n],e.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(t,a)&&(b[a]=t[a])}return b}var o=b.a.createContext({}),O=function(t){var e=b.a.useContext(o),a=e;return t&&(a="function"==typeof t?t(e):l(l({},e),t)),a},j=function(t){var e=O(t.components);return b.a.createElement(o.Provider,{value:e},t.children)},d={inlineCode:"code",wrapper:function(t){var e=t.children;return b.a.createElement(b.a.Fragment,{},e)}},p=b.a.forwardRef((function(t,e){var a=t.components,n=t.mdxType,r=t.originalType,c=t.parentName,o=i(t,["components","mdxType","originalType","parentName"]),j=O(a),p=n,m=j["".concat(c,".").concat(p)]||j[p]||d[p]||r;return a?b.a.createElement(m,l(l({ref:e},o),{},{components:a})):b.a.createElement(m,l({ref:e},o))}));function m(t,e){var a=arguments,n=e&&e.mdxType;if("string"==typeof t||n){var r=a.length,c=new Array(r);c[0]=p;var l={};for(var i in e)hasOwnProperty.call(e,i)&&(l[i]=e[i]);l.originalType=t,l.mdxType="string"==typeof t?t:n,c[1]=l;for(var o=2;o<r;o++)c[o]=a[o];return b.a.createElement.apply(null,c)}return b.a.createElement.apply(null,a)}p.displayName="MDXCreateElement"}}]);