Paytm Payment Gateway icon

Paytm Payment Gateway

Manage payments, subscriptions, refunds, and settlements using Paytm APIs

Actions13

Refund → Fetch All

AI-generated

Summary

Fetches refund records from Paytm for a required start and end date, using the selected page number, page size, and date-sort setting. Sends the dates in India time to Paytm’s refund passbook API and returns the API response for each input item.

Inputs

  • Start Date (required) — Beginning of the refund date range. Sent in India time (UTC+05:30).
  • End Date (required) — End of the refund date range. The UI documents a maximum 30-day range with Start Date; sent in Paytm’s passbook date-time format in India time.
  • Page Number — Page to request; defaults to 1.
  • Page Size — Number of refunds to request per page; defaults to 20.
  • Sort By Date — Whether Paytm should sort results by refund date; defaults to true.

Output shape

A single Paytm API response object per input item, including its response body and status.

The operation checks that the response status is SUCCESS and throws an error otherwise. It returns the full response object rather than extracting its body. Despite the operation name, it requests one page at a time; use Page Number to request other pages.

Links

Discussion