Create payment transactions and understand defaults and payload structure.
Transactions in rinne-js represent the checkout amount and context used by wallet elements during authorization.Create a new transaction whenever totals change so wallet sheets and backend charge requests stay aligned.
Create a Transaction
Use rinne.transaction.create() before mounting Apple Pay or Google Pay.