PageSourceSearch

https://docs.monei.com/assets/js/89405450.4d181093.js

js monei.com collected 2026-09-24 08:31:33 UTC 6,219 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmonei_docs=self.webpackChunkmonei_docs||[]).push([["20435"],{38721(e,r,n){n.r(r),n.d(r,{metadata:()=>t,default:()=>g,toc:()=>p,Badge:()=>u,Bullet:()=>a,assets:()=>l,frontMatter:()=>c,SpecifiedBy:()=>i,contentTitle:()=>d});var t=JSON.parse('{"id":"apis/graphql/types/objects/countries","title":"Countries","description":"Country reference data plus geolocation of the current caller.","source":"@site/docs/apis/graphql/types/objects/countries.mdx","sourceDirName":"apis/graphql/types/objects","slug":"/apis/graphql/types/objects/countries","permalink":"/apis/graphql/types/objects/countries","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedAt":1790004115000,"frontMatter":{"id":"countries","title":"Countries"},"sidebar":"graphql","previous":{"title":"ContactDetails","permalink":"/apis/graphql/types/objects/contact-details"},"next":{"title":"CountryStore","permalink":"/apis/graphql/types/objects/country-store"}}'),s=n(91987),o=n(39844);let c={id:"countries",title:"Countries"},d,l={},a=()=>(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("span",{style:{fontWeight:"normal",fontSize:".5em",color:"var(--ifm-color-secondary-darkest)"},children:"\xa0\u25CF\xa0"})}),i=e=>(0,s.jsxs)(s.Fragment,{children:["Specification",(0,s.jsx)("a",{className:"link",style:{fontSize:"1.5em",paddingLeft:"4px"},target:"_blank",href:e.url,title:"Specified by "+e.url,children:"\u2398"})]}),u=e=>(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("span",{className:e.class,children:e.text})}),p=[{value:"Fields",id:"fields",level:3},{value:'<code>Countries.<b>supportedCountries</b></code><Bullet></Bullet><code><b>[Country!]!</b></code> <Badge class="badge badge--secondary badge--non_null"></Badge> <Badge class="badge badge--secondary "></Badge>',id:"supported-countries",level:4},{value:'<code>Countries.<b>currentCountry</b></code><Bullet></Bullet><code><b>Country</b></code> <Badge class="badge badge--secondary "></Badge>',id:"current-country",level:4},{value:'<code>Countries.<b>currentCountryCode</b></code><Bullet></Bullet><code><b>String</b></code> <Badge class="badge badge--secondary "></Badge>',id:"current-country-code",level:4},{value:'<code>Countries.<b>isSupported</b></code><Bullet></Bullet><code><b>Boolean!</b></code> <Badge class="badge badge--secondary badge--non_null"></Badge> <Badge class="badge badge--secondary "></Badge>',id:"is-supported",level:4},{value:"Returned By",id:"returned-by",level:3}];function h(e){let r={a:"a",code:"code",h3:"h3",h4:"h4",p:"p",pre:"pre",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.p,{children:"Country reference data plus geolocation of the current caller."}),"\n",(0,s.jsx)(r.pre,{children:(0,s.jsx)(r.code,{className:"language-graphql",children:"type Countries {\n  supportedCountries: [Country!]!\n  currentCountry: Country\n  currentCountryCode: String\n  isSupported: Boolean!\n}\n"})}),"\n",(0,s.jsx)(r.h3,{id:"fields",children:"Fields"}),"\n",(0,s.jsxs)(r.h4,{id:"supported-countries",children:[(0,s.jsx)(r.a,{href:"#supported-countries",children:(0,s.jsxs)("code",{style:{fontWeight:"normal"},children:["Countries.",(0,s.jsx)("b",{children:"supportedCountries"})]})}),(0,s.jsx)(a,{}),(0,s.jsx)(r.a,{href:"/apis/graphql/types/objects/country",children:(0,s.jsx)("code",{style:{fontWeight:"normal"},children:(0,s.jsx)("b",{children:"[Country!]!"})})})," ",(0,s.jsx)(u,{class:"badge badge--secondary badge--non_null",text:"non-null"})," ",(0,s.jsx)(u,{class:"badge badge--secondary ",text:"object"})]}),"\n",(0,s.jsx)(r.p,{children:"Countries supported by MONEI for merchant onboarding."}),"\n",(0,s.jsxs)(r.h4,{id:"current-country",children:[(0,s.jsx)(r.a,{href:"#current-country",children:(0,s.jsxs)("code",{style:{fontWeight:"normal"},children:["Countries.",(0,s.jsx)("b",{children:"currentCountry"})]})}),(0,s.jsx)(a,{}),(0,s.jsx)(r.a,{href:"/apis/graphql/types/objects/country",children:(0,s.jsx)("code",{style:{fontWeight:"normal"},children:(0,s.jsx)("b",{children:"Country"})})})," ",(0,s.jsx)(u,{class:"badge badge--secondary ",text:"object"})]}),"\n",(0,s.jsx)(r.p,{children:"Country detected from the caller's IP."}),"\n",(0,s.jsxs)(r.h4,{id:"current-country-code",children:[(0,s.jsx)(r.a,{href:"#current-country-code",children:(0,s.jsxs)("code",{style:{fontWeight:"normal"},children:["Countries.",(0,s.jsx)("b",{children:"currentCountryCode"})]})}),(0,s.jsx)(a,{}),(0,s.jsx)(r.a,{href:"/apis/graphql/types/scalars/string",children:(0,s.jsx)("code",{style:{fontWeight:"normal"},children:(0,s.jsx)("b",{children:"String"})})})," ",(0,s.jsx)(u,{class:"badge badge--secondary ",text:"scalar"})]}),"\n",(0,s.jsx)(r.p,{children:"ISO 3166-1 alpha-2 code detected from the caller's IP."}),"\n",(0,s.jsxs)(r.h4,{id:"is-supported",children:[(0,s.jsx)(r.a,{href:"#is-supported",children:(0,s.jsxs)("code",{style:{fontWeight:"normal"},children:["Countries.",(0,s.jsx)("b",{children:"isSupported"})]})}),(0,s.jsx)(a,{}),(0,s.jsx)(r.a,{href:"/apis/graphql/types/scalars/boolean",children:(0,s.jsx)("code",{style:{fontWeight:"normal"},children:(0,s.jsx)("b",{children:"Boolean!"})})})," ",(0,s.jsx)(u,{class:"badge badge--secondary badge--non_null",text:"non-null"})," ",(0,s.jsx)(u,{class:"badge badge--secondary ",text:"scalar"})]}),"\n",(0,s.jsxs)(r.p,{children:["Whether ",(0,s.jsx)(r.code,{children:"currentCountry"}
1)," is in ",(0,s.jsx)(r.code,{children:"supportedCountries"}),"."]}),"\n",(0,s.jsx)(r.h3,{id:"returned-by",children:"Returned By"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/apis/graphql/operations/queries/countries",children:(0,s.jsx)(r.code,{children:"countries"})}),"  ",(0,s.jsx)(u,{class:"badge badge--secondary badge--relation",text:"query"})]})]})}function g(e={}){let{wrapper:r}={...(0,o.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},39844(e,r,n){n.d(r,{R:()=>c,x:()=>d});var t=n(71763);let s={},o=t.createContext(s);function c(e){let r=t.useContext(o);return t.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function d(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),t.createElement(o.Provider,{value:r},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.