Description
The AccountPointsTransaction object represents a transaction against an AccountPoints.
ℹ️ Note
This object supports custom data via the data attribute.
Attributes
| Attribute | Type | Description |
|---|---|---|
account |
Account | Returns the Account that the transaction belongs to |
activated? |
Boolean | Returns true if this transaction has been activated |
amount |
Number | Returns the amount of this transaction |
contact |
Contact | Returns the Contact associated with this transaction |
created_at |
Timestamp | Returns the timestamp for when this transaction was created |
default_rate_used |
Number | Returns the default conversion rate used (if any) for this transaction |
expires_at |
Timestamp | Returns the timestamp for when this transaction expires |
id |
String | Returns a unique id for this transaction |
order_item |
OrderItem | Returns the OrderItem associated with this transaction |
payment |
Payment | Returns the Payment associated with this transaction |
pending? |
Boolean | Returns true if this transaction has not been activated. Only activated credit transactions can be used for purchases |
reason_code |
String | Returns the reason for this transaction |
store |
Store | Returns the Store that the transaction belongs to |
transaction_currency |
String | Returns the currency of this transaction |
transaction_currency_value |
Number | Returns the value of this transaction in the transaction currency |
type |
String | Returns this transaction's entry type: credit or debit |
usage |
String | Returns the usage options of this transaction (when credit): store, store_group, any_store |