MyNearStoresPartners

Digital receipts

The public receipt link MyNearStores issues for connected POS sales.

Every sale received from Lightspeed gets a receipt token such as RCP-199797BE1DEC4EC7 and a public link:

https://mynearstores.com/receipt/RCP-199797BE1DEC4EC7

When the shopper is a MyNearStores member, the receipt is also added to their account in the app.

Open a receipt

The link needs no login. The same URL serves two formats:

  • Browsers get a formatted receipt page the shopper can view, print or save as PDF.
  • API clients sending Accept: application/json get the receipt data.
curl -H "Accept: application/json" "$MNS_API/receipt/RCP-199797BE1DEC4EC7"
{
  "receipt_token": "RCP-199797BE1DEC4EC7",
  "receipt_url": "https://mynearstores.com/receipt/RCP-199797BE1DEC4EC7",
  "sale_id": "205c3adb-46e8-b492-11f1-a445bc459d39",
  "customer_name": "Farhan Khan",
  "customer_email": "customer@example.com",
  "customer_mobile": "8012162785",
  "total_amount": 49.9,
  "tax_amount": 0,
  "discount_amount": 0,
  "items_count": 1,
  "payment_method": "cash",
  "sale_timestamp": "2026-08-30T13:09:31.000Z",
  "created_at": "2026-08-30T13:09:33.000Z"
}

Amounts are in major currency units (49.9 is $49.90). An unknown token returns 404.

Default Accept headers get HTML

curl and many HTTP clients send Accept: */*, which returns the HTML page. Send Accept: application/json explicitly.

Receipt links contain personal data

Anyone with the link can open the receipt, including the shopper's name, email and phone number. Share it only with the shopper.

On this page