Top-level input field for vaulting a payment method so it can be used multiple times.
payment Method IdID!RequiredID of an existing single-use payment method to be vaulted.
customer IdIDID of the customer to associate the resulting multi-use payment method with.
risk DataRiskCustomer device information, which is sent directly to supported processors for fraud analysis.
three D Secure Pass ThroughThreeResults of a merchant-performed 3D Secure authentication. You will only need to use these fields if you've performed your own integration with a 3D Secure MPI provider (e.g. Cardinal Centinel). Otherwise, Braintree's SDKs handle this for you in our standard 3D Secure integration.
verificationPaymentInput fields that specify options for verifying the payment method before vaulting. Only applicable if the payment method is of a type that supports verification. For supported types, verification is performed by default. If the verification fails, the payment method will not be vaulted. For additional, payment method-specific verification options, please see other verification mutations such as verifyCreditCard or verifyUsBankAccount.
verification Merchant Account IdIDDeprecatedsince 2019-10-03This field is included for supporting legacy clients. Please use verification.merchantAccountId instead.
ID of the merchant account to use when verifying the payment method.
input VaultPaymentMethodInput {
clientMutationId: String
paymentMethodId: ID!
verificationMerchantAccountId: ID @deprecated(reason: "This field is included for supporting legacy clients. Please use `verification.merchantAccountId` instead.")
verification: PaymentMethodVerificationOptionsInput
customerId: ID
threeDSecurePassThrough: ThreeDSecurePassThroughInput
threeDSecureAuthenticationId: String
riskData: RiskDataInput
makeDefault: Boolean
}