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

AccountUpdate

typestring
Required

Result reported by the card account updater.

Value in:
  • "ACCOUNT_UPDATE"
  • "EXPIRY_CHANGED"
  • "CARD_CLOSED"
  • "NON_PARTICIPATING_BIN"
  • "CONTACT_CARDHOLDER"
  • "CARDHOLDER_OPTOUT"
  • "BIN_NO_MATCH"

Original payment method and card details before replacement. The payment method reflects its registration state after processing the update.

Replacement payment method and card for ACCOUNT_UPDATE or EXPIRY_CHANGED; null for other results. Use the returned payment method ID instead of assuming the ID stays the same.

Replacement payment method and card for ACCOUNT_UPDATE or EXPIRY_CHANGED; null for other results. Use the returned payment method ID instead of assuming the ID stays the same.

object | nullobject
Nullable

Replacement payment method and card for ACCOUNT_UPDATE or EXPIRY_CHANGED; null for other results. Use the returned payment method ID instead of assuming the ID stays the same.

Value in:
  • null
AccountUpdate
{  "type": "ACCOUNT_UPDATE",  "current": {    "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",      "accountUpdatesEnabled": false    },    "card": {      "pan": "12345678XXXX1234",      "expireMonth": "07",      "expireYear": "35",      "par": "8F1B7C2QX4Z9N3V6M2R0K8YD5LJTPH",      "Issuer": "Danske Bank",      "Scheme": "Visa",      "Country": "DK",      "Segment": "consumer",      "Funding": "debit"    }  },  "updated": {    "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",      "accountUpdatesEnabled": false    },    "card": {      "pan": "12345678XXXX1234",      "expireMonth": "07",      "expireYear": "35",      "par": "8F1B7C2QX4Z9N3V6M2R0K8YD5LJTPH",      "Issuer": "Danske Bank",      "Scheme": "Visa",      "Country": "DK",      "Segment": "consumer",      "Funding": "debit"    }  }}