--- title: paymentSessionResolve - Payments Apps API description: |- Resolves an open payment session. After the `paymentSessionResolve` mutation completes on a given payment session, any `paymentSessionReject` mutation attempts will fail. Subsequent `paymentSessionResolve` mutation attempts will succeed, but the `Details` argument will be ignored. api_version: 2025-10 api_name: payments-apps type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentSessionResolve md: https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentSessionResolve.md --- # payment​Session​Resolve mutation Requires `write_payment_sessions` access scope. Resolves an open payment session. After the `paymentSessionResolve` mutation completes on a given payment session, any `paymentSessionReject` mutation attempts will fail. Subsequent `paymentSessionResolve` mutation attempts will succeed, but the `Details` argument will be ignored. ## Arguments * authentication [Payment​Session​Three​DSecure​Authentication](https://shopify.dev/docs/api/payments-apps/latest/input-objects/PaymentSessionThreeDSecureAuthentication) The 3D Secure authentication data from the partner. Must be present if and only if the Redirect mutation has been called and the payment method is credit card. * authorization​Expires​At [Date​Time](https://shopify.dev/docs/api/payments-apps/latest/scalars/DateTime) The date and time when an authorized payment session expires. * id [ID!](https://shopify.dev/docs/api/payments-apps/latest/scalars/ID) required The payment session ID. * network​Transaction​Id [String](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) The transaction ID issued by the network when processing the payment. * payment​Details [Payment​Session​Payment​Details](https://shopify.dev/docs/api/payments-apps/latest/input-objects/PaymentSessionPaymentDetails) The payment details used to process the transaction. *** ## Payment​Session​Resolve​Payload returns * payment​Session [Payment​Session](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSession) The updated payment session. * user​Errors [\[User​Error!\]!](https://shopify.dev/docs/api/payments-apps/latest/objects/UserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### paymentSessionResolve reference ## Mutation Reference ```graphql mutation paymentSessionResolve($id: ID!, $authorizationExpiresAt: DateTime, $authentication: PaymentSessionThreeDSecureAuthentication, $networkTransactionId: String, $paymentDetails: PaymentSessionPaymentDetails) { paymentSessionResolve(id: $id, authorizationExpiresAt: $authorizationExpiresAt, authentication: $authentication, networkTransactionId: $networkTransactionId, paymentDetails: $paymentDetails) { paymentSession { # PaymentSession fields } userErrors { field message } } } ``` ## Input ```json { "id": "gid://shopify//10079785100", "authorizationExpiresAt": "2019-09-07T15:50:00Z", "authentication": { "authenticationData": { "transStatus": "Y", "transStatusReason": "", "authenticationFlow": "FRICTIONLESS", "version": "V2_3", "chargebackLiability": "MERCHANT", "dsTransactionId": "" }, "partnerError": "PROCESSING_ERROR" }, "networkTransactionId": "", "paymentDetails": { "cardNotPresent": { "cvvResultCode": "M", "avsResultCode": "A" } } } ```