# Subscription-PaymentMethod

Details about the payment method at the time of the transaction.

**method**string

Subscription method type.

| Enum Value | Description |
| ---------- | ----------- |
| card       | Card        |
| bizum      | Bizum       |

**Possible values:** \[`card`, `bizum`]

**Example:<!-- -->&#x20;**`card`

**card** <!-- -->object

Details about the card used as payment method at the time of the transaction.

**country**Country

Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).

**Example:<!-- -->&#x20;**`ES`

**brand**string

Card brand.

| Enum Value | Description                        |
| ---------- | ---------------------------------- |
| visa       | Visa credit or debit card          |
| mastercard | Mastercard credit or debit card    |
| diners     | Diners Club credit card            |
| amex       | American Express credit card       |
| jcb        | Japan Credit Bureau card           |
| unionpay   | UnionPay card from China           |
| discover   | Discover                           |
| unknown    | Card brand could not be determined |

**Possible values:** \[`visa`, `mastercard`, `diners`, `amex`, `jcb`, `unionpay`, `discover`, `unknown`]

**Example:<!-- -->&#x20;**`visa`

**type**string

Card type `debit` or `credit`.

**Possible values:** \[`debit`, `credit`]

**Example:<!-- -->&#x20;**`credit`

**threeDSecure**boolean

Whether this transaction used 3D Secure authentication.

**Example:<!-- -->&#x20;**`false`

**threeDSecureVersion**string

The protocol version of the 3DS challenge.

**Example:<!-- -->&#x20;**`2.1.0`

**threeDSecureFlow**string

The flow used for 3DS authentication.

| Enum Value              | Description                                                                                           |
| ----------------------- | ----------------------------------------------------------------------------------------------------- |
| CHALLENGE               | Authentication requiring additional shopper interaction through biometrics, 2FA, or other SCA methods |
| FRICTIONLESS            | Background authentication using device fingerprint without additional shopper interaction             |
| FRICTIONLESS\_CHALLENGE | Complete 3DS flow with additional authentication if initial data collection is insufficient           |
| DIRECT                  | Transaction exempt from SCA due to low risk assessment                                                |

**Possible values:** \[`CHALLENGE`, `FRICTIONLESS`, `FRICTIONLESS_CHALLENGE`, `DIRECT`]

**Example:<!-- -->&#x20;**`CHALLENGE`

**expiration**int64

Time at which the card will expire. Measured in seconds since the Unix epoch.

**Example:<!-- -->&#x20;**`2048544000`

**last4**string

The last four digits of the card.

**Example:<!-- -->&#x20;**`0004`

**fingerprint**string

Unique identifier for the card number. Used to detect duplicate payment methods across customers. Not present for tokenized cards.

**Example:<!-- -->&#x20;**`7f2afde1566286c5fb126bb7e79bef549755cce6033dc429013c46d1365ff0e9`

**tokenizationMethod**string

The digital wallet used to tokenize the card.

**Possible values:** \[`applePay`, `googlePay`, `clickToPay`]

**Example:<!-- -->&#x20;**`applePay`

**cardholderName**string

The name of the cardholder.

**Example:<!-- -->&#x20;**`John Doe`

**cardholderEmail**string

The email of the cardholder.

**Example:<!-- -->&#x20;**`email@example.com`

**bizum** <!-- -->object

Details about the Bizum account used as payment method at the time of the transaction.

**phoneNumber**string

Phone number in E.164 format used to pay with `bizum`.

**Example:<!-- -->&#x20;**`null`

Subscription-PaymentMethod

```
{

  "method": "card",

  "card": {

    "country": "ES",

    "brand": "visa",

    "type": "credit",

    "threeDSecure": false,

    "threeDSecureVersion": "2.1.0",

    "threeDSecureFlow": "CHALLENGE",

    "expiration": 2048544000,

    "last4": "0004",

    "fingerprint": "7f2afde1566286c5fb126bb7e79bef549755cce6033dc429013c46d1365ff0e9",

    "tokenizationMethod": "applePay",

    "cardholderName": "John Doe",

    "cardholderEmail": "email@example.com"

  },

  "bizum": {

    "phoneNumber": null

  }

}
```
