Transactions
As the name suggests, transactions are a core part of Lydian — the very reason Lydian exists is so you can have secure transactions with your merchants. On this page, we'll dive into the different transaction properties you can use to manage transactions programmatically.
The Create Transaction model
The Create Transaction model contains all the information about your transactions, such as their identifier, qr data, and asset amount when a transaction is created.
Properties
- Name
transactionID- Type
- string
- Description
Unique identifier for the transaction.
- Name
qrData- Type
- string
- Description
The data to generate QR code that can be scanned using mobile devices.
- Name
assetAmount- Type
- number
- Description
Asset amount for the transaction.
The Get Transaction model
The Get Transaction model contains all the information about your transactions, such as their status, and expiration when a transaction is retrieved.
- Name
expiration- Type
- string
- Description
Expiration of the transaction.
- Name
status- Type
- number
- Description
Status of the transaction. Status as 0 means the transaction is pending, 1 means the transaction is success.
