mutation checkoutcompletewithtokenizedpaymentv3 example code

Example: mutation checkoutcompletewithtokenizedpaymentv3 example code

# Querymutation checkoutCompleteWithTokenizedPaymentV3($checkoutId: ID!, $payment: TokenizedPaymentInputV3!) {    checkoutCompleteWithTokenizedPaymentV3(checkoutId: $checkoutId, payment: $payment) {         checkout {             id         }         payment {             id             errorMessage             transaction {                statusV2                 kind                 amountV2 {                    amount                }            }         }         checkoutUserErrors {             message             code         }     }}# Variables{    "checkoutId": $CheckoutID,    "payment": {        "billingAddress": {            # Billing address information        },        "idempotencyKey":"123",        "paymentAmount":{            "amount": $TotalAmount,            "currencyCode": $StoreCurrency        },        "paymentData": $StripeToken,        "type":"SHOPIFY_PAY"    }}

Tags:

Misc Example