Skip to main content
Anchor to ShopPayPaymentRequestReceipt

ShopPayPaymentRequestReceipt

object

Represents a receipt for a Shop Pay payment request.

•ShopPayPaymentRequest!
non-null

The payment request object.

Anchor to processingStatusTypeprocessingStatusType
•String!
non-null

The processing status.

•String!
non-null

The token of the receipt.


Was this section helpful?

•mutation

Finalizes a Shop Pay payment request session. Call this mutation after creating a session with shopPayPaymentRequestSessionCreate.

The idempotencyKey argument ensures the payment transaction occurs only once, preventing duplicate charges. On success, returns a ShopPayPaymentRequestReceipt 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

•String!
required

A token representing a payment session request.

•ShopPayPaymentRequestInput!
required

The final payment request object.

•String!
required

The idempotency key is used to guarantee an idempotent result.

•String

The order name to be used for the order created from the payment request.



Was this section helpful?