Razorpay icon

Razorpay

Interact with Razorpay payment gateway API

Actions10

Overview

This node integrates with Razorpay's API to fetch details about a specific settlement. Settlements represent the transfer of funds from Razorpay to the merchant’s bank account, summarizing payments collected over a period.

The "Fetch Settlement" operation retrieves detailed information about one particular settlement using its unique identifier. This is useful for financial reconciliation, auditing, or tracking the status and details of payouts.

Practical examples:

  • Retrieve the status and amount of a recent settlement to confirm successful payout.
  • Fetch settlement details to generate reports on received funds.
  • Use settlement data to cross-check with bank statements or accounting software.

Properties

Name Meaning
Settlement ID Unique identifier of the settlement to be retrieved. Example: setl_DGlQ1Rj8os78Ec

Output

The node outputs a JSON object containing all details of the requested settlement as returned by the Razorpay API. This typically includes fields such as:

  • Settlement ID
  • Status (e.g., pending, paid)
  • Amount settled
  • Currency
  • Created date and time
  • Payment count included in the settlement
  • Other metadata related to the settlement

No binary data output is produced by this operation.

Dependencies

  • Requires an active Razorpay account with API access.
  • The node needs to be configured with valid Razorpay API credentials (an API key and secret).
  • Network connectivity to Razorpay's API endpoints.

Troubleshooting

  • Common issues:

    • Invalid or missing Settlement ID will cause the API call to fail.
    • Incorrect or expired API credentials will result in authentication errors.
    • Network issues may cause timeouts or connection failures.
  • Error messages:

    • "Unknown operation": Indicates the operation parameter was not recognized; ensure "fetchSettlement" is selected.
    • API error responses typically include HTTP status codes and messages like "Settlement not found" if the ID does not exist.
  • Resolutions:

    • Verify the Settlement ID is correct and exists in your Razorpay dashboard.
    • Check that API credentials are correctly set up and have necessary permissions.
    • Ensure stable internet connection and no firewall blocking requests.

Links and References

Discussion