Paytm Payment Gateway icon

Paytm Payment Gateway

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

Actions13

Refund → Create

AI-generated

Summary

Initiates a full or partial refund for a Paytm transaction using the supplied order, transaction, and merchant refund reference IDs. Sends the refund request to Paytm and returns its response body.

Inputs

  • Order ID (required) — Order ID for the transaction to refund.
  • Transaction ID (required) — Paytm transaction ID.
  • Refund Reference ID (required) — Merchant-generated unique reference ID for this refund.
  • Transaction Type (required) — Refund is the only supported value; it defaults to REFUND.
  • Refund Amount (required) — Amount to refund, formatted to two decimal places when sent. Paytm expects it not to exceed the order amount.
  • Additional Fields — Optionally set refund comments, disable merchant debit retry, agent details (email, employee ID, name, phone), and refund items. Each refund item must include both Item ID and Product ID; an item refund amount can also be included. Empty optional values are omitted.

Output shape

A single response object from Paytm, normally the response body.

The request uses the configured Paytm credentials and test or production environment. Invalid required values or malformed refund-item rows raise an error; with Continue On Fail enabled, the node emits an error object for the input item.

Links

Discussion