MarketPe APIs
Voucher

Voucher List

voucher/list

POST /voucher/list

Request

{
  "createdTimeFrom": "2026-01-01T10:00:00+05:30",
  "createdTimeTo": "2026-01-20T10:00:00+05:30"
}

"2026-01-01T10:00:00+05:30" represents 10AM india time.
You can also pass ISO format like "2026-01-01T10:00:00.000Z" but you need to adjust time as this represents 3.30PM india time.

Response

{
  "status": "success",
  "data": [
    {
      "clientPaymentId": "yourid01",
      "payment": ...
    }
  ]
}

To view the full payment object, refer to Payment Object

voucher/list-completed

POST /voucher/list-completed

To get vouchers that were completed between the given time range.

Request

{
  "completedTimeFrom": "2026-01-01T10:00:00+05:30",
  "completedTimeTo": "2026-01-20T10:00:00+05:30"
}

Response

{
  "status": "success",
  "data": [
    {
      "clientPaymentId": "yourid01",
      "payment": ...
    }
  ]
}

Data Sync

If you want to sync completed payments daily, you can schedule a daily job to pass a rolling time range. For example on 4 dec 1am, you can fetch payment/list-completed with

{
    "completedTimeFrom": "2025-12-03T00:00:00.000+0530",
    "completedTimeTo": "2025-12-04T00:00:00.000+0530"
}

Last updated on