--- title: paymentSessionConfirm - Payments Apps API description: >- Initiates the confirmation process of the given payment_session. Shopify will start confirming the payment. According to its business logic, Shopify determines if the payment can be authorized and sends a POST request to the payments app, delivering the confirmation result. api_version: 2025-07 api_name: payments-apps type: mutation api_type: graphql source_url: html: >- https://shopify.dev/docs/api/payments-apps/2025-07/mutations/paymentSessionConfirm md: >- https://shopify.dev/docs/api/payments-apps/2025-07/mutations/paymentSessionConfirm.md --- # payment​Session​Confirm mutation Requires `write_payment_sessions` access scope. Initiates the confirmation process of the given payment\_session. Shopify will start confirming the payment. According to its business logic, Shopify determines if the payment can be authorized and sends a POST request to the payments app, delivering the confirmation result. ## Arguments * id [ID!](https://shopify.dev/docs/api/payments-apps/2025-07/scalars/ID) required The payment session ID. *** ## Payment​Session​Confirm​Payload returns * payment​Session [Payment​Session](https://shopify.dev/docs/api/payments-apps/2025-07/objects/PaymentSession) The updated payment session. * user​Errors [\[Payment​Session​Confirm​User​Error!\]!](https://shopify.dev/docs/api/payments-apps/2025-07/objects/PaymentSessionConfirmUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### paymentSessionConfirm reference ## Mutation Reference ```graphql mutation paymentSessionConfirm($id: ID!) { paymentSessionConfirm(id: $id) { paymentSession { # PaymentSession fields } userErrors { field message } } } ``` ## Input ##### Variables ```json { "id": "gid://shopify//10079785100" } ```