Introduction
A distributor may accept Zastrpay payments using one of the following options:
- Zastrpay POS App (iOS or Android)
- Direct Backend Integration
The sections below give a brief overview of these options.
Note that the customer must generate a QR Code in advance, before visiting the distributor's shop, either in the Zastrpay Redirect Payments app (the customer is redirected to it from a merchant website/app which has integrated Zastrpay payments) or in Zastrpay Customer Portal.
Zastrpay POS App
The easiest and fastest way for a distibutor to start accepting Zastrpay payments is to install on a tablet or mobile phone the Zastrpay POS App, which is downloadable from Apple App Store and Google Play Store.
The diagram below illustrates the basic flow of transaction processing at the Distributor POS, using Zastrpay POS App:
Steps:
- Customer presents a transaction QR Code (generated by the customer in advance) at the Distributor POS
- The Cashier scans the QR Code (using the Zastrpay POS App)
- The Cashier collects the money from the customer (in case of purchase/deposit) and confirms the transaction
- [optional] Zastrpay Backend notifies the Distributor POS System about the executed transaction with a delay of a couple of seconds
Notes:
- Zastrpay POS App communicates internally with Zastrpay Backend to validates the transaction parameters and the general customer eligibility, and to execute the transaction
- The Distributor POS System may be optionally notified about the executed transaction, so that it the transaction can be reflected in other internal distributor systems. This is the only integration point required between the Distributor System and Zastrpay System!
Direct Backend Integration
A distributor may have its own POS software for performing various POS activities, including Zastrpay payments. In such a case the existing Distributor POS System must integrate Zastrpay using the provided Zastrpay API for distributors, which is the topic of this section.
The diagram below illustrates the basic flow of transaction processing at the Distributor POS, using Distributor (non-Zastrpay) POS System:
Steps:
- Customer presents a transaction QR Code (generated by the customer in advance) at the Distributor POS
- The Cashier scans the QR Code (using the Distributor POS software)
- The Distributor POS System gets the details of the transaction intent (= QR Code) - e.g. amount by making an API call to Zastrpay Backend
- The Cashier collects the money from the customer (in case of purchase/deposit) and confirms the transaction
- The Distributor POS System calls Zastrpay API for creating a transaction
- [optional] Zastrpay Backend notifies the Distributor POS System about the executed transaction with a delay of a couple of seconds
Notes:
- Zastrpay Backend validates the transaction attributes including the customer eligibility for making a transaction
- API-wise the process looks the same for both payment for a purchase or deposit cash into customer's wallet at a merchant, and for withdrawal of cash from a customer's wallet at a merchant
- The Distributor POS System may be optionally notified about the executed transaction, so that it the transaction can be reflected in other internal distributor systems. Together with the other 2 API calls required there are in total up to 3 integration points between the Distributor System and Zastrpay System!