Format of expirationDate on Merchant Token Event

I am working on implementing merchant token notifications. When calling this endpoint https://developer.apple.com/documentation/merchanttokennotificationservices/merchant-token-event-retrieval, the result contains a CardMetadata object with an expirationDate field (see https://developer.apple.com/documentation/merchanttokennotificationservices/cardmetadata). What is the format of this field? The spec only mentions that it has a maximum length of 8 characters.

Answered by DTS Engineer in 893961022

Hi @Ratoone, @Alan_Zhang,

You wrote:

[...] What is the format of this field? The spec only mentions that it has a maximum length of 8 characters.

CardMetadata.expirationDate can be MMYYYY or DDMMYYYY. I've filed an internal ticket to get the documentation updated to mention this (r. 179750035).

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Hi Ratoone, have you got the expirationDate format? I have the same problem. Could you please share it with me?

I don't have any concrete information, but... Judging by the length, it could be YYYYMMDD.

Hi @Ratoone, @Alan_Zhang,

You wrote:

[...] What is the format of this field? The spec only mentions that it has a maximum length of 8 characters.

CardMetadata.expirationDate can be MMYYYY or DDMMYYYY. I've filed an internal ticket to get the documentation updated to mention this (r. 179750035).

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Format of expirationDate on Merchant Token Event
 
 
Q