Skip to main content

Top up via Remainder

Overview

When you receive remainder from a cash payment in a Store, you can use the money received to top up the User's Wallet Balance.

Like all other transactions, Remainder Deposit is composed by two steps: Initialization and Confirmation/Cancellation. During the initialization phase, fees are calculated and a pending transaction is kept on the user's Wallet; finally, an asynchronous TransactionInitialized event is raised.

After that, the User can choose whether to confirm or cancel the transaction; if the transaction is cancelled, the User's pending transaction is also removed and an asynchronous TransactionCancelled event is generated. Otherwise, if the transaction is confirmed, the User's wallet balance is updated and an asynchronous TransactionConfirmed event is generated.

Sequence Diagram

We provide a detailed workflow for the remainder deposit using the following Sequence Diagram, more details