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

ImportedPaymentMethodResource

panstring
Example:
"12345678XXXX1234"
expireMonthstring
Example:
"07"
expireYearstring

The year the card expires in.

Example:
"35"
parstring
Nullable
Example:
"8F1B7C2QX4Z9N3V6M2R0K8YD5LJTPH"
Issuerstring
Nullable

The name of the card issuer (Bank)

Example:
"Danske Bank"
Schemestring
Nullable
Example:
"Visa"
Countrystring
Nullable
Example:
"DK"
Segmentstring
Nullable
Possible values:
"consumer""business""payouts"
Example:
"consumer"
Fundingstring
Nullable
Possible values:
"debit""credit""prepaid"
Example:
"debit"

Details about an imported payment method.

idstring
Required

Unique identifier of the imported payment method.

Example:
"01929a94-5fce-7ccc-a7e4-7e9249133b38"
paymentMethodIdstring
Required

ID of the associated payment method.

Example:
"01924756-d1f6-738d-8040-90d76cedf01f"
referencestring
Required

External reference used when importing the payment method.

Example:
"reference-1"
createdAtstring
Required

Timestamp when the imported payment method was created.

Format:
date-time
Example:
"2024-10-17T15:07:03.290909169+02:00"
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"
ImportedPaymentMethodResource
{  "card": {    "pan": "12345678XXXX1234",    "expireMonth": "07",    "expireYear": "35",    "par": "8F1B7C2QX4Z9N3V6M2R0K8YD5LJTPH",    "Issuer": "Danske Bank",    "Scheme": "Visa",    "Country": "DK",    "Segment": "consumer",    "Funding": "debit"  },  "importedPaymentMethod": {    "id": "01929a94-5fce-7ccc-a7e4-7e9249133b38",    "paymentMethodId": "01924756-d1f6-738d-8040-90d76cedf01f",    "reference": "reference-1",    "createdAt": "2024-10-17T15:07:03.290909169+02:00"  },  "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"  }}