Send a verified mobile number and we create the buyer's account and layouts under it. Upload layouts, track plot sales and take layout payments, with the same prices and rules as this app.
Before you start
API key
The app owner adds a secret named PARTNER_API_KEY and shares it with you privately. Send it on every request.
Server only
Call the API from your website's server, never from the visitor's browser, so the key stays secret. Only send mobile numbers you have verified by OTP.
Base address
https://energetic-egret-33.convex.site/partner/v1
Header on every request
Authorization: Bearer YOUR_KEY
Typical flow
1The buyer verifies their mobile number on your website (OTP).
2Call POST /users with that number.
3Call POST /layouts with the picture, location and acres. Note the layout id and billing.
4If billing is "due", call POST /pay and send the buyer to checkoutUrl. Save orderId.
5When the buyer returns, call GET /payment. "paid" means the layout is unlocked.
6Update plot sales any time with POST /plots/status.
7Optional: call POST /link so the buyer can open their layouts in this app.
No mobile number? The buyer simply signs up on this app with the normal Sign In button.
Endpoints
POST/users
Create or find a buyer's account
Send a mobile number your website has verified by OTP. The same number always finds the same account.
mobile10-digit Indian mobile number (+91, 0 or spaces are fine)