Shop Pay Payment Request Receipt
Represents a receipt for a Shop Pay payment request.
Anchor to FieldsFields
- paymentRequest (ShopPayPaymentRequest!)
- processingStatusType (String!)
- token (String!)
- Anchor to paymentRequestpayment•Shop
Request Pay Payment Request! non-null The payment request object.
- Anchor to processingStatusTypeprocessing•String!
Status Type non-null The processing status.
- Anchor to tokentoken•String!non-null
The token of the receipt.
Anchor to MutationsMutations
- shopPayPaymentRequestSessionSubmit (ShopPayPaymentRequestSessionSubmitPayload)
- •mutation
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 awith 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.
- Anchor to tokentoken•String!required
A token representing a payment session request.
- Anchor to paymentRequestpayment•Shop
Request Pay Payment Request Input! required The final payment request object.
- 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.
Arguments