The Gift Card Transaction Object

Transaction

id string

Unique ID for the transaction.

retailerId string optional

The unique ID for the retailer that performed this transaction. You can only see this field if this transaction was performed by yourself. Thus, if present, this is always your own retailerId.

confirmedAt string optional

The date at which this transaction was confirmed. If this date is missing then this is a pending transaction reflecting a transaction intent. Pending transactions affect the available balance of a gift card, but DO NOT have any effect on the balance of a gift card until they are confirmed.

Dates are strings in ISO-8601 format yyyyMMdd'T'hhmmss'Z' and are always in UTC.

amount int

The (money) amount of this transaction. This is a positive or negative integer describing the effect of this transaction in the gift card's balances.

statementDescriptor string

A statement descriptor for this transaction. This is mostly information intended for the gift card customer/owner that you can pass on in case it's helpful. Depending on how you were involved in this transaction, this statement description might have more or less detailed information.

metadata object optional

The metadata that was attached to this transaction. You can only see this field if this transaction was performed by yourself. Also, this field is only available on confirmed transactions.

Last updated