The wallet transaction object
This object represents a wallet transaction. It is used for topping up or voiding prepaid credits.
Unique identifier assigned to the wallet transaction within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the wallet transaction's record within the Lago system.
Unique identifier assigned to the wallet within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the wallet's record within the Lago system.
The status of the wallet transaction. Possible values are pending
or settled
.
pending
, settled
The transaction status of the wallet transaction. Possible values are purchased
(with pending or settled status), granted
(without invoice_id), voided
or invoiced
.
purchased
, granted
, voided
, invoiced
The type of transaction. Possible values are inbound
(increasing the balance) or outbound
(decreasing the balance).
inbound
, outbound
The amount of credits based on the rate and the currency.
The number of credits used in the wallet transaction.
The date of the wallet transaction creation, represented in ISO 8601 datetime format and expressed in Coordinated Universal Time (UTC).
The source field represents the origin or trigger of the wallet transaction. Possible values are manual
, interval
. threshold
manual
, interval
, threshold
A boolean setting that, when set to true, delays issuing an invoice for a wallet top-up until a successful payment is made; if false, the invoice is issued immediately upon wallet top-up, regardless of the payment status. Default value of false.
This field allows you to store a list of key-value pairs that hold additional information or custom attributes related to the data.
The date when wallet transaction is settled, represented in ISO 8601 datetime format and expressed in Coordinated Universal Time (UTC).
Was this page helpful?