completeCheckoutWithTokenV3 top-level constant

String const completeCheckoutWithTokenV3

Mutation to complete a checkout with a tokenized payment

Implementation

const String completeCheckoutWithTokenV3 = r'''
mutation checkoutCompleteWithTokenizedPaymentV3($checkoutId: ID!, $payment: TokenizedPaymentInputV3!),  {
  checkoutCompleteWithTokenizedPaymentV3(checkoutId: $checkoutId, payment: $payment) {
    checkout {
      id
      completedAt
      createdAt
    }
    checkoutUserErrors {
      code
      field
      message
    }
    payment {
      amountV2 {
        amount
        currencyCode
      }
      checkout {
        id
      }
      test
      id
      nextActionUrl
      ready
      errorMessage
    }
  }
}
''';