Amwal Tech logoDocs

In-Store Checkout (POS) Flow

Create an installment payment link at the physical point of sale, generate a dynamic QR code on the cashier screen, and complete the sale only after Amwal confirms the transaction.


POS Payment Sequence

Rendering diagram...

Key POS Guidelines

  1. Keep POS Sale Pending: Creating a link only initiates the checkout flow. Never mark the sale as paid until a verified status: "success" response is received.
  2. Set singleUse: true: Ensure payment links cannot be paid multiple times.
  3. Short Expiry Duration: For in-store checkout counters, set short expiry timestamps (e.g. 15–30 minutes) via the selectedDate parameter.
  4. Idempotent Webhook Processing: Ensure POS webhook handlers do not duplicate thermal receipts or decrement stock multiple times.

Confirming POS Results

Retrieve the transaction details using the transaction_id received from the webhook or callback:

GET /installment/transaction/{transaction_id}/details
Authorization: your_secret_key_here
Amwal Transaction StatusAction Required on POS
successMark sale as paid, print receipt, and release merchandise to customer.
failDisplay failure reason (e.g. Insufficient funds or 3DS failed) and prompt customer for alternate card.
Any other statusKeep sale in pending state. Do not release goods.

On this page