This guide explains how developers can implement the Scan & Pay feature using the available APIs. The workflow enables a patient to scan a facility QR code, share their details, select an open order, view payment details, and complete the payment.Documentation Index
Fetch the complete documentation index at: https://ekacare-mintlify-changelog-1776733918.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Note: Each API response will include a uniquerequest_id— you must supply that samerequest_idin your subsequent GET calls to retrieve the corresponding order or payment information.
Scan & Pay API Workflow
Share Patient Details
Use the relevant API to share the patient’s ABHA profile or identifier with the health facility after scanning the QR code. This step registers or identifies the patient in the facility’s system.
Select Open Order
Retrieve the list of open orders or pending bills for the patient using the facility’s API. Allow the patient to select the order they wish to pay for.
Get Payment Details
Fetch the payment details for the selected order, including the total amount due and a breakdown of charges, using the appropriate API endpoint.

