# CustomerPaymentMethod

Card and account numbers are never returned. `paymentMethod` carries only the display details, such as the brand and the last four digits.

```
type CustomerPaymentMethod {

  id: ID!

  type: String!

  paymentMethod: PaymentMethod

  expireAt: AWSTimestamp

  createdAt: AWSDateTime

  sequence: Boolean!

}
```

### Fields[​](#fields "Enlace directo al Fields")

#### [`CustomerPaymentMethod.id`](#id) ● [`ID!`](https://docs.monei.com/es/apis/graphql/types/scalars/id.md) non-null scalar[​](#id "Enlace directo al id")

Payment method ID. Pass to `deleteCustomerPaymentMethod`, or set as the customer's default.

#### [`CustomerPaymentMethod.type`](#type) ● [`String!`](https://docs.monei.com/es/apis/graphql/types/scalars/string.md) non-null scalar[​](#type "Enlace directo al type")

Type of the saved payment method.

#### [`CustomerPaymentMethod.paymentMethod`](#payment-method) ● [`PaymentMethod`](https://docs.monei.com/es/apis/graphql/types/objects/payment-method.md) object[​](#payment-method "Enlace directo al payment-method")

Payment method details.

#### [`CustomerPaymentMethod.expireAt`](#expire-at) ● [`AWSTimestamp`](https://docs.monei.com/es/apis/graphql/types/scalars/awstimestamp.md) scalar[​](#expire-at "Enlace directo al expire-at")

Expiry (unix seconds). `null` when the method does not expire.

#### [`CustomerPaymentMethod.createdAt`](#created-at) ● [`AWSDateTime`](https://docs.monei.com/es/apis/graphql/types/scalars/awsdate-time.md) scalar[​](#created-at "Enlace directo al created-at")

When the payment method was saved.

#### [`CustomerPaymentMethod.sequence`](#sequence) ● [`Boolean!`](https://docs.monei.com/es/apis/graphql/types/scalars/boolean.md) non-null scalar[​](#sequence "Enlace directo al sequence")

Whether this is a sequence payment method, saved for merchant-initiated charges such as subscription renewals, rather than one the buyer picks at checkout.

### Returned By[​](#returned-by "Enlace directo al Returned By")

[`customerPaymentMethods`](https://docs.monei.com/es/apis/graphql/operations/queries/customer-payment-methods.md) query
