QR code payment
Merchant users have the ability to generate a payment link and QR code for an invoice and send it to the Customer.
The user (currently Merchant) creates an invoice and specifies the invoice recipient. Additionally, the Merchant selects whether to send a payment link to the Customer (notification available only if the email was provided as the recipient contact).
The system on the Back-end generates a QR code which contains the following information:
- Invoice ID (invoice.identifier)
- Amount
- Currency
- Merchant name (company name) – if the company name was not specified in the Merchant profile, the Customer will see all other invoice parameters without the company name.
The generated invoice, link (generated by the Front-end), and QR code are available to the Merchant in their account (link and QR code generated without an expiration date).
The Merchant can copy the link and QR code (download as a picture) (if the option “send a payment link to Customer” was not selected during invoice creation) and provide them to the Customer (outside the System).
The Customer receives the link and follows it (or scans the QR code and follows the link) – the Customer sees the invoice payment page with details (information from the payment link) and the option “Pay invoice.” The link to view invoice details opens for the Customer without authorization in the System.
The Customer selects “Pay invoice”:
- If the Customer is not logged in, they will be redirected to the log-in page to enter their credentials and log into the account (the option to pay the invoice is available only for registered Customers).
- If the Customer is logged in, they will see all invoice details and can confirm the invoice payment.
As a result of invoice payment, the funds will be transferred between the User’s wallets.
The invoice can be issued and sent to a person (contact) who is not registered in the system. In this case, the person will receive an email or SMS with further instructions on how to register in the E-wallet system and pay the invoice.
If POST {{host}}/invoices?sendPaymentLink=true and the Customer provides their contact email, they will receive a notification about invoice creation with the payment link and QR code:
“Dear customer,
An invoice was created for you by [invoice.merchantName] for the amount of [invoice.currency.symbol] [invoice.totalPrice].
To pay, please follow the link [payment link]
or you can scan the QR code
[QR code]”
Validation added:
- If sendPaymentLink = true and payerContact is not an email type, the application throws an exception without creating an invoice.
- If sendPaymentLink = true and payerContact is null, the application throws an exception without creating an invoice.