mutation VaultCreditCard($input:  VaultCreditCardInput!) {
    vaultCreditCard(input: $input) {
        paymentMethod {
            id
            legacyId
            usage
            createdAt
            customer {
                id
                legacyId
            }
            details {
                __typename
                ... on CreditCardDetails {
                    brandCode
                    expirationMonth
                    expirationYear
                    bin
                    last4
                    cardholderName
                    origin {
                        type
                    }
                    billingAddress {
                        countryCode
                        adminArea1
                        addressLine1
                        addressLine2
                        company
                        fullName
                        adminArea2
                        postalCode
                    }
                }
                ... on PayPalAccountDetails {
                    email

                }
            }
        }
    }
}
