Looking for ePay classic docs? Go to docs.epay.dk
ePay documentationDocsePay documentation

PaymentMethod

idstring

The ID of the payment method

Format:
uuid
Example:
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
typePaymentMethodType

The type of the payment method.

Possible values:
"CARD""VIPPS_MOBILEPAY""MOBILEPAY_ONLINE""APPLE_PAY""GOOGLE_PAY""SWISH""VIABILL""ANYDAY""KLARNA"
Example:
"CARD"
subTypestring
Nullable
Possible values:
"Visa""Mastercard""Maestro""Dankort""VisaDankort""Discover""UnionPay""Electron""Amex""JCB"
Example:
"Visa"
customerIdstring
Nullable

The merchant customer id that created the payment method.

Example:
"User159"
expirystring
Nullable
Format:
date
Example:
"2024-07-29"
createdAtstring

The time of creation

Format:
date-time
Example:
"2024-07-29T15:51:28.071Z"
displayTextstring
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"}