AccountCredit - Liquid Object Reference

This article requires advanced skills to implement.
Liquid

Description

The AccountCredit object contains information about various credits associated with an Account.

ℹ️ Note

This object supports custom data via the data attribute.

Attributes

Attribute Type Description
account Account Returns the Account that the AccountCredit belongs to
created_at Timestamp Returns the timestamp for when this AccountCredit was created
current_balance Number Returns the current balance of this AccountCredit
expires_at Timestamp Returns the timestamp for when this AccountCredit expired
id String Returns the unique id of the AccountCredit
name String Returns the name of the AccountCredit
opening_balance Number Returns the opening balance of this AccountCredit
path String Returns the url path for this AccountCredit
transactions List[AccountCreditTransaction] Returns a list of AccountCreditTransactions for this AccountCredit
type String Returns this AccountCredit's type
url String Returns the complete url for this Order
usable? Boolean Returns true if this AccountCredit can be used, ie it's not expired or out of balance