1"use strict";(self.webpackChunkmonei_docs=self.webpackChunkmonei_docs||[]).push([["20060"],{40628(e,s,t){t.r(s),t.d(s,{metadata:()=>n,default:()=>p,toc:()=>m,Badge:()=>h,Bullet:()=>c,assets:()=>r,frontMatter:()=>a,SpecifiedBy:()=>l,contentTitle:()=>d});var n=JSON.parse('{"id":"apis/graphql/types/objects/custom-domain-config","title":"CustomDomainConfig","description":"Custom hosted-payment-page domain configuration. Two DNS records must be added in order: first certificateDnsRecord to validate the SSL certificate, then distributionDnsRecord to route traffic.","source":"@site/docs/apis/graphql/types/objects/custom-domain-config.mdx","sourceDirName":"apis/graphql/types/objects","slug":"/apis/graphql/types/objects/custom-domain-config","permalink":"/apis/graphql/types/objects/custom-domain-config","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedAt":1790004115000,"frontMatter":{"id":"custom-domain-config","title":"CustomDomainConfig"},"sidebar":"graphql","previous":{"title":"Country","permalink":"/apis/graphql/types/objects/country"},"next":{"title":"Customer","permalink":"/apis/graphql/types/objects/customer"}}'),o=t(91987),i=t(39844);let a={id:"custom-domain-config",title:"CustomDomainConfig"},d,r={},c=()=>(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("span",{style:{fontWeight:"normal",fontSize:".5em",color:"var(--ifm-color-secondary-darkest)"},children:"\xa0\u25CF\xa0"})}),l=e=>(0,o.jsxs)(o.Fragment,{children:["Specification",(0,o.jsx)("a",{className:"link",style:{fontSize:"1.5em",paddingLeft:"4px"},target:"_blank",href:e.url,title:"Specified by "+e.url,children:"\u2398"})]}),h=e=>(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("span",{className:e.class,children:e.text})}),m=[{value:"Fields",id:"fields",level:3},{value:'<code>CustomDomainConfig.<b>domain</b></code><Bullet></Bullet><code><b>String</b></code> <Badge class="badge badge--secondary "></Badge>',id:"domain",level:4},{value:'<code>CustomDomainConfig.<b>certificateDnsRecord</b></code><Bullet></Bullet><code><b>DnsRecord</b></code> <Badge class="badge badge--secondary "></Badge>',id:"certificate-dns-record",level:4},{value:'<code>CustomDomainConfig.<b>distributionDnsRecord</b></code><Bullet></Bullet><code><b>DnsRecord</b></code> <Badge class="badge badge--secondary "></Badge>',id:"distribution-dns-record",level:4},{value:'<code>CustomDomainConfig.<b>status</b></code><Bullet></Bullet><code><b>CustomDomainStatus</b></code> <Badge class="badge badge--secondary "></Badge>',id:"status",level:4},{value:"Member Of",id:"member-of",level:3}];function u(e){let s={a:"a",code:"code",h3:"h3",h4:"h4",p:"p",pre:"pre",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(s.p,{children:["Custom hosted-payment-page domain configuration. Two DNS records must be added in order: first ",(0,o.jsx)(s.code,{children:"certificateDnsRecord"})," to validate the SSL certificate, then ",(0,o.jsx)(s.code,{children:"distributionDnsRecord"})," to route traffic."]}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-graphql",children:"type CustomDomainConfig {\n domain: String\n certificateDnsRecord: DnsRecord\n distributionDnsRecord: DnsRecord\n status: CustomDomainStatus\n}\n"})}),"\n",(0,o.jsx)(s.h3,{id:"fields",children:"Fields"}),"\n",(0,o.jsxs)(s.h4,{id:"domain",children:[(0,o.jsx)(s.a,{href:"#domain",children:(0,o.jsxs)("code",{style:{fontWeight:"normal"},children:["CustomDomainConfig.",(0,o.jsx)("b",{children:"domain"})]})}),(0,o.jsx)(c,{}),(0,o.jsx)(s.a,{href:"/apis/graphql/types/scalars/string",children:(0,o.jsx)("code",{style:{fontWeight:"normal"},children:(0,o.jsx)("b",{children:"String"})})})," ",(0,o.jsx)(h,{class:"badge badge--secondary ",text:"scalar"})]}),"\n",(0,o.jsxs)(s.p,{children:["Merchant's custom domain (e.g. ",(0,o.jsx)(s.code,{children:"pay.example.com"}),"). Must be a subdomain of the verified business website."]}),"\n",(0,o.jsxs)(s.h4,{id:"certificate-dns-record",children:[(0,o.jsx)(s.a,{href:"#certificate-dns-record",children:(0,o.jsxs)("code",{style:{fontWeight:"normal"},children:["CustomDomainConfig.",(0,o.jsx)("b",{children:"certificateDnsRecord"})]})}),(0,o.jsx)(c,{}),(0,o.jsx)(s.a,{href:"/apis/graphql/types/objects/dns-record",children:(0,o.jsx)("code",{style:{fontWeight:"normal"},children:(0,o.jsx)("b",{children:"DnsRecord"})})})," ",(0,o.jsx)(h,{class:"badge badge--secondary ",text:"object"})]}),"\n",(0,o.jsx)(s.p,{children:"DNS record that proves domain ownership and unlocks SSL issuance. Ap
1pears once the enable flow obtains the validation token."}),"\n",(0,o.jsxs)(s.h4,{id:"distribution-dns-record",children:[(0,o.jsx)(s.a,{href:"#distribution-dns-record",children:(0,o.jsxs)("code",{style:{fontWeight:"normal"},children:["CustomDomainConfig.",(0,o.jsx)("b",{children:"distributionDnsRecord"})]})}),(0,o.jsx)(c,{}),(0,o.jsx)(s.a,{href:"/apis/graphql/types/objects/dns-record",children:(0,o.jsx)("code",{style:{fontWeight:"normal"},children:(0,o.jsx)("b",{children:"DnsRecord"})})})," ",(0,o.jsx)(h,{class:"badge badge--secondary ",text:"object"})]}),"\n",(0,o.jsx)(s.p,{children:"CNAME pointing the custom domain at MONEI's hosted-payment-page edge. Appears only after the SSL certificate is issued."}),"\n",(0,o.jsxs)(s.h4,{id:"status",children:[(0,o.jsx)(s.a,{href:"#status",children:(0,o.jsxs)("code",{style:{fontWeight:"normal"},children:["CustomDomainConfig.",(0,o.jsx)("b",{children:"status"})]})}),(0,o.jsx)(c,{}),(0,o.jsx)(s.a,{href:"/apis/graphql/types/enums/custom-domain-status",children:(0,o.jsx)("code",{style:{fontWeight:"normal"},children:(0,o.jsx)("b",{children:"CustomDomainStatus"})})})," ",(0,o.jsx)(h,{class:"badge badge--secondary ",text:"enum"})]}),"\n",(0,o.jsxs)(s.p,{children:["Current lifecycle state. See ",(0,o.jsx)(s.code,{children:"CustomDomainStatus"}),"."]}),"\n",(0,o.jsx)(s.h3,{id:"member-of",children:"Member Of"}),"\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.a,{href:"/apis/graphql/types/objects/account",children:(0,o.jsx)(s.code,{children:"Account"})})," ",(0,o.jsx)(h,{class:"badge badge--secondary badge--relation",text:"object"})]})]})}function p(e={}){let{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}},39844(e,s,t){t.d(s,{R:()=>a,x:()=>d});var n=t(71763);let o={},i=n.createContext(o);function a(e){let s=n.useContext(i);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function d(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),n.createElement(i.Provider,{value:s},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.