Payment Flow
- Cashier punches the order and selects the PhonePe as MOP in the terminal
- Cashier presents the PhonePe QR to the customer and shares the amount for which customer has to make the payment

- Customer scans the QR via any UPI app and completes the transaction
- Once the transaction is completed, the customer shares the last 4-digits of the transaction id

- Cashier enters the last 4 digits of the transaction and clicks on the verify payment button against PhonePe MOP in POS

- Merchant POS calls the merchant server
- Merchant Server calls the PhonePe transaction list API with parameters as amount, last 4 digits of the transaction, store id, terminal id of the store
- PhonePe verifies the request and responds with the transaction details like PhonePe providerReferenceId, transaction status, etc.
- Merchant server checks for the duplication of transactions. On successful verification, the merchant server passes the response to Merchant POS
- Cashier closes the transaction and generates the bill

System Flow

Updated over 1 year ago