Pahunch Operating Network APIs
Initiate OTP authentication. Sends a 6-digit verification code to the customer or runner.
Verify OTP and Bind Device. Returns a Bearer JWT, locking session to a hardware fingerprint.
Retrieve merchant catalog. Returns full item inventory available for consumer ordering.
Toggle item stock availability. Allows merchants to temporarily flag items out-of-stock.
Create Custom Errand Task. Creates an open errand task with instructions and budget caps.
Place Catalog Order. Creates a structured food/grocery order from a merchant catalog.
Generate Terrain-Aware Quote. Computes estimates incorporating dynamic hill slope and weather modifiers.
Match Nearby Runners. Queries closest active eligible runners using PostGIS coordinates.
Upload Delivery Proof. Uploads verified photos or OTP codes to Cloudflare R2 bucket.
Create B2C Payment Intent. Initiates a payment hold via Razorpay covering estimate + buffer.
Post General Ledger Transaction. Maker-Checker protected double-entry balanced posting.
B2B Credit check. Verifies active available credit limits prior to B2B dispatch.