Shop Pay Payment Request Configuration
Requires The app must be approved by Shopify to use the Shop Pay Commerce Component.
The shop's Shop Pay payment request settings.
Anchor to FieldsFields
- allowedOrigins ([URL!]!)
- clientId (String)
- Anchor to allowedOriginsallowed•[URL!]!
Origins non-null The merchant site origins where Shop Pay can run for the shop. Shop Pay can't be embedded on an origin missing from the list. The merchant manages the list in the Shop channel settings.
- Anchor to clientIdclient•String
Id The client ID to pass as
when configuring the Shop Pay JavaScript SDK on the shop's domains. The value is public and doesn't change for the shop. Returnsnullwhen the shop has no Shop Pay client yet, or when Shopify can't look it up right now; retry the query later.
Anchor to QueriesQueries
- shopPayPaymentRequestConfiguration (ShopPayPaymentRequestConfiguration)
- •query
Returns the shop's Shop Pay payment request configuration: the client ID that the Shop Pay JavaScript SDK takes as
, and the origins where Shop Pay can run. Returnsnullwhen the shop isn't set up for the Shop Pay Commerce Component.Show fields