What is the max length of the 'id' field?

What is the maximum length (number of characters) for the id field on the various entities such as:

  • Merchant
  • Transaction
  • Customer

etc…

In addition, are IDs case sensitive?

1 Like

Hi Clement,

My answers are from observation and you may get a better answer from someone else.

All ids appear to be 24 characters in length and uppercase.

Lowercase versions of the ids do not retrieve the objects via the API explorer.

ymmv.

Good luck!

1 Like

With our IDs the absolute max is 255 characters. In practice they are much shorter than that but that is our limit. :slightly_smiling_face:

Thanks.
I also forgot to ask whether they can contain non ASCII characters?

Yes, it can contain ASCII characters. :slightly_smiling_face: