# VaultPaymentMethodCriteria

Enum · GraphQL API

Defines criteria for vaulting a single-use payment method after transacting with it.

## Values

- `ALWAYS`: Always store the single-use payment method after transacting, regardless of the status of the transaction.
- `ON_SUCCESSFUL_TRANSACTION`: Only store the single-use payment method if it was successfully authorized.

## Used by

- [VaultInStorePaymentMethodAfterTransactingInput](/braintree/graphql/reference/types/vault-in-store-payment-method-after-transacting-input) — Input; when
- [VaultPaymentMethodAfterTransactingInput](/braintree/graphql/reference/types/vault-payment-method-after-transacting-input) — Input; when

## GraphQL definition

```graphql
enum VaultPaymentMethodCriteria {
  ALWAYS
  ON_SUCCESSFUL_TRANSACTION
}
```

---

[View the complete GraphQL schema on GitHub](https://raw.githubusercontent.com/braintree/graphql-api/refs/heads/master/schema.graphql)