mutation VaultPaymentMethod($input: VaultPaymentMethodInput!) {
    vaultPaymentMethod(input: $input) {
        paymentMethod {
            id
            legacyId
            usage
            details {
                __typename
                ... on CreditCardDetails {
                    brandCode
                    expirationMonth
                    expirationYear
                    last4
                    cardholderName
                    origin {
                        type
                    }
                }
                ... on PayPalAccountDetails {
                    email
                }
            }
        }
        verification {
            processorResponse{
                legacyCode
                avsPostalCodeResponse
                avsStreetAddressResponse
                message
            }
            gatewayRejectionReason
            status
        }
    }
}
