Error messageExpiry date: missing or invalid format
DescriptionThe card’s expiry date information provided for the card registration is either invalid or missing.
Categories
Card registration

Causes

This error may occur when the end user:

  • Doesn’t provide the expiry date of the card
  • Provides the wrong expiry date for the card
  • Provides an invalid expiry date format for the card

What to do

In such cases, end users need to check their card information and retry.

Example

In the example below, the end user tried to register a card with an invalid expiry date (“12227” (12/227) instead of “1222” (12/22)).

API Response
{
    "Id": "155862985",
    "Tag": null,
    "CreationDate": 1668096071,
    "UserId": "114347725",
    "AccessKey": "1X0m87dmM2LiwFgxPLBJ",
    "PreregistrationData": "3HqPlFutoDFNG4POzHjI-NUrDk_m1fDSz_OHFgKFW7H8XRUUrjwetHKpaABejfse2ddFLVXdicolcUIkv_kKEA",
    "RegistrationData": "errorCode=02626",
    "CardId": null,
    "CardType": "CB_VISA_MASTERCARD",
    "CardRegistrationURL": "https://pci.sandbox.mangopay.com/api/mangopay/vault/tokenize/eyJjbGllbnQiOiJjbGllbnRJZCIsInRva2VuIjoidW5xaXVlVG9rZW4ifQ==",
    "ResultCode": "105203",
    "ResultMessage": "Expiry date: missing or invalid format",
    "Currency": "EUR",
    "Status": "ERROR"
}