1"use strict";(self.webpackChunkmonei_docs=self.webpackChunkmonei_docs||[]).push([["16590"],{17352(e,t,a){a.r(t),a.d(t,{metadata:()=>r,default:()=>u,toc:()=>h,Badge:()=>d,Bullet:()=>l,assets:()=>s,frontMatter:()=>p,SpecifiedBy:()=>o,contentTitle:()=>c});var r=JSON.parse('{"id":"apis/graphql/operations/mutations/create-apple-pay-cert","title":"createApplePayCert","description":"Creates a new Apple Pay certificate by generating a Certificate Signing Request (CSR). Use the returned csr to create an Apple Pay Payment Processing Certificate in the Apple Developer Portal, then call activateApplePayCert with the signed .cer. The private key is securely generated and stored by MONEI. CSRs are short-lived and can only be used once; create a new certificate if the CSR has expired.","source":"@site/docs/apis/graphql/operations/mutations/create-apple-pay-cert.mdx","sourceDirName":"apis/graphql/operations/mutations","slug":"/apis/graphql/operations/mutations/create-apple-pay-cert","permalink":"/apis/graphql/operations/mutations/create-apple-pay-cert","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedAt":1790004115000,"frontMatter":{"id":"create-apple-pay-cert","title":"createApplePayCert","explorer_query":"mutation CreateApplePayCert { createApplePayCert { id accountId expireAt active cert csr createdAt updatedAt } }","explorer_operation_name":"CreateApplePayCert"},"sidebar":"graphql","previous":{"title":"connectShopifyShop","permalink":"/apis/graphql/operations/mutations/connect-shopify-shop"},"next":{"title":"createAuthorizedUser","permalink":"/apis/graphql/operations/mutations/create-authorized-user"}}'),i=a(91987),n=a(39844);let p={id:"create-apple-pay-cert",title:"createApplePayCert",explorer_query:"mutation CreateApplePayCert { createApplePayCert { id accountId expireAt active cert csr createdAt updatedAt } }",explorer_operation_name:"CreateApplePayCert"},c,s={},l=()=>(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("span",{style:{fontWeight:"normal",fontSize:".5em",color:"var(--ifm-color-secondary-darkest)"},children:"\xa0\u25CF\xa0"})}),o=e=>(0,i.jsxs)(i.Fragment,{children:["Specification",(0,i.jsx)("a",{className:"link",style:{fontSize:"1.5em",paddingLeft:"4px"},target:"_blank",href:e.url,title:"Specified by "+e.url,children:"\u2398"})]}),d=e=>(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("span",{className:e.class,children:e.text})}),h=[{value:"Type",id:"type",level:3},{value:'<code><b>ApplePayCertificate</b></code> <Badge class="badge badge--secondary "></Badge>',id:"applepaycertificate-",level:4}];function y(e){let t={a:"a",code:"code",h3:"h3",h4:"h4",p:"p",pre:"pre",...(0,n.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(t.p,{children:["Creates a new Apple Pay certificate by generating a Certificate Signing Request (CSR). Use the returned ",(0,i.jsx)(t.code,{children:"csr"})," to create an Apple Pay Payment Processing Certificate in the Apple Developer Portal, then call ",(0,i.jsx)(t.code,{children:"activateApplePayCert"})," with the signed ",(0,i.jsx)(t.code,{children:".cer"}),". The private key is securely generated and stored by MONEI. CSRs are short-lived and can only be used once; create a new certificate if the CSR has expired."]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-graphql",children:"createApplePayCert: ApplePayCertificate!\n"})}),"\n",(0,i.jsx)(t.h3,{id:"type",children:"Type"}),"\n",(0,i.jsxs)(t.h4,{id:"applepaycertificate-",children:[(0,i.jsx)(t.a,{href:"/apis/graphql/types/objects/apple-pay-certificate",children:(0,i.jsx)("code",{style:{fontWeight:"normal"},children:(0,i.jsx)("b",{children:"ApplePayCertificate"})})})," ",(0,i.jsx)(d,{class:"badge badge--secondary ",text:"object"})]}),"\n",(0,i.jsx)(t.p,{children:"An Apple Pay certificate for iOS app integration."})]})}function u(e={}){let{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(y,{...e})}):y(e)}},39844(e,t,a){a.d(t,{R:()=>p,x:()=>c});var r=a(71763);let i={},n=r.createContext(i);function p(e){let t=r.useContext(n);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:p(e.components),r.createElement(n.Provider,{value:t},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.