Skip to main content

PaymentMethod

iduuid

The ID of the payment method

Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
typestring

The type of the payment method.

Possible values: [CARD, VIPPS_MOBILEPAY, APPLE_PAY, GOOGLE_PAY]

Example: CARD
subTypestringnullable

The subtype of the payment method. For card based payments, this will contain the scheme of the card. Such as Visa or Mastercard

Example: Visa
customerIdstringnullable

The merchant customer id that created the payment method.

Example: User159
expirydatenullable

The expiry date of the payment method

Example: 2024-07-29
createdAtdate-time

The time of creation

Example: 2024-07-29T15:51:28.071Z
displayTextstring

A cardholder friendly text to help the customer identify the card. For card based payments, this will contain a masked version of the card number.

Example: 40000000XXXX0003
PaymentMethod
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "CARD",
"subType": "Visa",
"customerId": "User159",
"expiry": "2024-07-29",
"createdAt": "2024-07-29T15:51:28.071Z",
"displayText": "40000000XXXX0003"
}