Wednesday, April 22, 2015

Alliance Data's web services have different inbound parameters for zip codes and Canadian postal codes.

If 00130 is handed in for the zip, that seems to be a flag to tell Alliance Data to make sense of the otherwise optional and ignored postal code setting. I surmise this allows them an easier time of running regular expressions or whatever against what is handed to them to figure out if the given thing is legit and what it was for to begin with. K1A 0B1 is after all very different from 78759, and this particular datum is something vital in the credit card space. Interesting API. Puts some figure-it-out work on the user's back.

No comments:

Post a Comment