Intergration with a Point Of Sale

"I’ve developed a Point-of-Sale (POS) application that enables the acceptance of Bitcoin or Litecoin, seamlessly integrated with the Electrum API.

The workflow is as follows:

  1. The cashier initiates a customer account creation, verifying the client’s identity through ID documentation (Passport or Driving License).
  2. Products are scanned at the checkout.
  3. The cashier selects either LTC or BTC in the tender menu.
  4. A standard QR code is generated and displayed on the Customer Display Screen.
  5. On the POS, the cashier confirms the payment made (Y/N). If confirmed (Yes), the payment proceeds as “Pay to account” for the time being.
  6. A background task runs every 10 minutes to verify the completion of the payment. If successful, the amount is processed as a customer payment.
  7. If the payment has not gone through, the customer still owes this amount, and will be presented on any statement sent out to the client.
  8. In case of an overpayment, a balance is left on the customer’s account, which can be utilised or credited during the next visit.

Additionally, it would be beneficial to incorporate a return address. This allows for the possibility of refunding overpayments or amounts to the client. It’s important to note that the address used for sending crypto may differ from the one used for receiving.

Alternatively, considering the Lightning Network exclusively is an option. However, it’s essential to address whether the payment address would be the same as the refund address in cases where the client requires a refund.

I’m open to hearing your thoughts and suggestions on these considerations.