Razorpay icon

Razorpay

Interact with Razorpay payment gateway API

Actions10

Payment → Fetch Payment

AI-generated

Summary

Retrieve detailed information about a specific payment by its unique Payment ID, optionally expanding related card, EMI, offer, or UPI details in the response.

Inputs

  • Payment ID (required) — Unique identifier of the payment to be retrieved.
  • Additional Options — Optional flags to expand additional related details in the response, including card details, EMI details, offer details, and UPI details.

Output shape

a single JSON object representing the payment details

Includes expanded sub-objects if expansion options are selected; errors are returned in the node error output or as error objects if continuation on failure is enabled.

Examples

Example 1: Fetch a payment by its unique ID without expansion options

Set Payment ID to the target payment's ID and leave Additional Options empty.

Example 2: Fetch a payment by its unique ID with card and UPI details expanded

Set Payment ID to the target payment's ID and enable Expand Card Details and Expand UPI Details in Additional Options.

Discussion