A module containing the routes for dealing e-receipts
- Since:
-
- 01/11/2017
Members
-
<route> processReceipt
-
Route:
processes information from eReceipts and sends the emailMethod Path POST /api/v1/eReceipt Query Parameters:
Name Type Description req.body.ema string email address req.body.mcb integer mailing signup req.body.json string json details req.body.receiptLongNo string receipt number - Since:
-
- 01/11/2017
- See:
-
- [EReceipts]APIInteraction.SendEReceipt.DoRequest
Example
/api/v1/eReceipt{POST} -
<route> receiptLookup
-
Route:
Provides a way of lookup up sales based on the email addressMethod Path GET /api/v1/eReceipt/lookup Query Parameters:
Name Type Description req.query.email string email address - Since:
-
- 18/03/2019
- See:
-
- [EReceipts]APIInteraction.SendEReceipt.DoRequest
Example
/api/v1/eReceipt/lookup?email=
-
<route> sendEmails
-
Route:
creates and sends the emailsMethod Path GET /api/v1/eReceipt - Since:
-
- 08/11/2017
- See:
-
- [PaversAPI]controllers\TaskScheduler\eReceiptTaskSchedule.js
Example
/api/v1/eReceipt
-
<static> sendEmails
-
stored procedures for interacting with eReceipts
- Since:
-
- 08/11/2017
- See:
-
- [PaversAPI]controllers\EReceipts\sendEmails.js
Properties:
Name Type Description fetchUnsentfunction updateEReceiptfunction setEReceiptErrorfunction