Skip to main content
Anchor to ShopPayPaymentRequestConfiguration

ShopPayPaymentRequestConfiguration

object

Requires The app must be approved by Shopify to use the Shop Pay Commerce Component.

The shop's Shop Pay payment request settings.

•[URL!]!
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.

•String

The client ID to pass as clientId when configuring the Shop Pay JavaScript SDK on the shop's domains. The value is public and doesn't change for the shop. Returns null when the shop has no Shop Pay client yet, or when Shopify can't look it up right now; retry the query later.


Was this section helpful?

•query

Returns the shop's Shop Pay payment request configuration: the client ID that the Shop Pay JavaScript SDK takes as clientId, and the origins where Shop Pay can run. Returns null when the shop isn't set up for the Shop Pay Commerce Component.

Show fields

Was this section helpful?