shop Pay Payment Request Session Submit
Finalizes a Shop Pay payment request session. Call this mutation after creating a session with .
The argument ensures the payment transaction occurs only once, preventing duplicate charges. On success, returns a with the processing status and a receipt token.
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.
Arguments
- idempotencyKey (String!)
- orderName (String)
- paymentRequest (ShopPayPaymentRequestInput!)
- token (String!)
- Anchor to idempotencyKeyidempotency•String!
Key required The idempotency key is used to guarantee an idempotent result.
- Anchor to orderNameorder•String
Name The order name to be used for the order created from the payment request.
- Anchor to paymentRequestpayment•Shop
Request Pay Payment Request Input! required The final payment request object.
- Anchor to tokentoken•String!required
A token representing a payment session request.
Anchor to ShopPayPaymentRequestSessionSubmitPayload returnsShop Pay Payment Request Session Submit Payload returns
- paymentRequestReceipt (ShopPayPaymentRequestReceipt)
- userErrors ([UserErrorsShopPayPaymentRequestSessionUserErrors!]!)
- Anchor to paymentRequestReceiptpayment•Shop
Request Receipt Pay Payment Request Receipt The checkout on which the payment was applied.
- Anchor to userErrorsuser•[User
Errors Errors Shop Pay Payment Request Session User Errors!]! non-null Error codes for failed Shop Pay payment request session mutations.