Store additional information on Smartpay objects

Updateable objects—such as Orders, Payments, Refunds, Coupons , and Promotion codes—have a metadata parameter. You can use this parameter to attach key-value data to these objects. You can specify up to 20 items with key names of up to 40 characters and values of up to 200 characters long.

Metadata is useful for storing additional, structured information on an object. As an example, you could store your user's full name and corresponding unique identifier from your system on a Smartpay Customer object. Metadata is not used by Smartpay—not for authorising orders, processing payments, or anything else—and Smartpay will never show this to your shoppers.

Never store sensitive information—card data, bank account information, MyNumber details, etcetera—as metadata on any of the objects.