MarketPe APIs
Payments

Payment List

payment/list

POST /payment/list

Request

{
  "createdTimeFrom": "2025-11-12T10:00:00+05:30",
  "createdTimeTo": "2025-11-13T10:00:00+05:30"
}

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

Response

{
  "status": "success",
  "data": [
    {
      "id": "marketpe1234",
      "clientPaymentId": "yourid01",
      ...
    },
    {
      "id": "marketpe1235",
      "clientPaymentId": null,
      ...
    }
  ]
}

To view the full data object, refer to Payment Object

payment/list-completed

POST /payment/list-completed

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

Request

{
    "completedTimeFrom": "2025-12-01T00:00:00.000+0530",
    "completedTimeTo":  "2025-12-05T00:00:00.000+0530"
}

Response

{
  "status": "success",
  "data": [
    {
      "id": "marketpe1234",
      "clientPaymentId": "yourid01",
      ...
    },
    {
      "id": "marketpe1235",
      "clientPaymentId": null,
      ...
    }
  ]
}

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"
}

If clientPaymentId is null, it means the payment was created directly on marketpe app. For api payments, clientPaymentId is always present.

Last updated on