Skip to main content
Anchor to shopPayPaymentRequestSessionCreate

shopPayPaymentRequestSessionCreate

mutation

Creates a Shop Pay payment request session for processing payments. The session includes a checkout URL where customers complete their purchase and a token for subsequent operations like submitting the payment.

The sourceIdentifier must be unique across all orders to ensure accurate reconciliation.

For a complete integration guide including the JavaScript SDK setup and checkout flow, refer to the Shop Component API documentation. For implementation steps, see the development journey guide. For common error scenarios, see the troubleshooting guide.

•ShopPayPaymentRequestInput!
required

A payment request object.

•String!
required

A unique identifier for the payment request session.


Was this section helpful?

Anchor to ShopPayPaymentRequestSessionCreatePayload returnsShopPayPaymentRequestSessionCreatePayload returns

Anchor to shopPayPaymentRequestSessionshopPayPaymentRequestSession
•ShopPayPaymentRequestSession

The new Shop Pay payment request session object.

•[UserErrorsShopPayPaymentRequestSessionUserErrors!]!
non-null

Error codes for failed Shop Pay payment request session mutations.


Was this section helpful?