API ReferenceIntegrationsKnowledge Base

Transactions

Note:
You can automatically capture payments using the Orders API. We highly recommend that you use the Orders API to capture payments.

In case you don't want to or cannot implement the auto-capture on your servers, you can manually capture the payments from our Dashboard or capture the payment using the Capture API. However, this is not recommended.

Following are the four tabs available in the Transactions option and the actions you can perform in each of them:

All four tabs have a search option. The search option is available at the top of the screen. Enter the required details and click search. The below screen print shows the search option for the Payment tab. Similar search options are available on the other tabs as well.

Payments#

The Payment tab allows you to:

  • View details of payments received.
  • Capture payments.
  • Initiate and issue partial or full refunds.

Once a payment is authorized, the payment has to be captured before the amount is credited to your account. You can auto-capture payments using the Orders API or manually capture them from the Payments tab on the Dashboard.

You can also initiate and issue partial or full refunds for payments after you capture them.

On the Dashboard, a payments can have one of four status:

  • Authorized
  • Captured
  • Refunded
  • Failed

Click here to know more about the payment states.

View Details of a Payment#

To view the details of a payment:

  1. Log into your Razorpay Dashboard, click Transactions and click Payments.
  2. Click on the payment ID of a payment.

Manually Capture Payments#

Note:
You can automatically capture payments using the Orders API. We recommend that you use the Orders API feature to capture payments.

To manually capture a payment:

  1. Log into your Razorpay Dashboard, click Transactions and click Payments.
  2. Click on the payment ID of a payment in the Authorized state you wish to capture.
  3. Click Capture Payment.

Refunds#

Razorpay Dashboard enables you to issue refunds for the payments made by the customers on your app or website. You can select the mode in which the refunds should be processed from the Dashboard Settings.

Refunds can be initiated from the Payments tab of the Dashboard. Only additional refunds, if any, for the same payment can be done from the Refunds tab of the Transactions menu.

Only captured payments can be refunded:
Ensure that the payments are in captured state before you refund them.

Issue Refunds from Payments tab#

From the Payment tab you can issue partial, full refunds, both in normal or instant mode.

Issue Full Refund#

  1. Log into your Razorpay Dashboard, click Transactions and click Payments.

  2. Click the payment for which you wish to issue a full refund.

  3. Enter full amount that needs to be refunded along with any text that can be used for any reference, in Add Comments(Optional) section.

  4. Click Issue Full Refund to complete the refund.

Issue Partial Refund#

  1. Select the payment and Click Issue Refund .

  2. In the Refund Payment popup, enter the the amount that you want to refund.

    This should be less than the transaction amount for which the payment was made.

  3. Click Add Comments(Optional), if you want to add any text regarding the refund being made.

  4. Click Issue Partial refund to complete the refund.

  5. Confirm that you are sure about the refund that you are about to make.

Refunds and Transaction Fees#

Refunds work on current balance and hence it is required that you have enough current balance to process the refund. In case of a refund, we do not charge an additional fee. However, the transaction fee and GST levied by Razorpay at the time of payment capture will not be reversed to your account.

For example, in a successful transaction of ₹6,000, transaction fee of ₹120 and GST amount of ₹2.16 is deducted from your current balance. The remaining amount ₹5,858.4(₹6000-₹141.6) is settled to your account as per the settlement cycle. Now, if you want to refund this transaction at any point, ₹141.6 charged earlier will not be refunded.

Issue Instant Refund#

  1. Select the payment and Click Issue Refund .

  2. In the Refund Payment popup, enter the the amount that you want to refund.
    If you enter the full amount, the entire amount will be refunded. Else, enter an amount less than the full amount to create a partial refund.

  3. Click Refund Instantly checkbox and enter text, if any, in the Add Comments text box.

    The fees that will be levied by Razorpay for issuing instant refund will be displayed next to the checkbox.

  4. Depending on the amount entered in the Refund Amount field, either the Issue Full Refund or Issue Partial Refund button will be displayed.

  5. Confirm that you are sure about the refund that you are about to make.


Instant Refunds and Transaction Fees#

There is a small transaction fee levied by Razorpay for every instant refund processed. However, in case the instant refund fails, the fees levied at the time of creation of instant refunds will be reversed to your account. The payment will be refunded to the customer within 5-7 days (normal refund time).

Issue Refunds from Refunds tab#

In the Refunds tab, you can only issue refunds for those payments for which a partial refund has already been made from the Payments tab.

To issue a refund from the Refunds tab:

  1. Log into your Razorpay Dashboard, click Transactions and click Refunds.
  2. Click the payment ID for which you wish to issue a refund.
  3. Click Issue another Refund.

The procedure to initiate refunds is the same as described in the above section.

Verify the Refund Status#

After issuing a refund for a payment, you can check it's status either from the Payments or the Refunds tab of the Transactions menu:

  1. Log into your Razorpay Dashboard, click Transactions and click Refunds.
  2. Click on the refund ID of a payment.



Verify the Refund Status from the Payments tab#

  1. Browse to the Payments tab and locate the payment ID whose payment has been refunded.

  2. Click the payment to view the refund details.

  3. In the payment details form, click the Refund Details drop-down to view the details of the refunded amount.

  4. Click the Refund ID to view the refund details.

  5. In the Refund details form, click the View History drop-down to view the processed speed of the refund.

Transitions in the Processing Speed#

An instant refund request can be processed either via normal or instant speed. The different states in processing the speed of the refund is reflected in the View History details:

Case 1: Processed speed is Instant#

Case 2: Processed speed is Normal#

Orders#

You can automatically capture payments using the Orders API. The Orders API allows you to create a Razorpay order_id each time your customer completes checkout. This unique order_id has a 1:1 mapping with the order created at your end. We recommend that you use the Orders API feature to capture payments for the following reason:

  • It saves you time as you won’t need to make a capture request to capture a payment. Payments that move from Created to Authorized state are immediately captured and moved to the Captured state. Late authorized payments are not auto-captured. Instead, you can choose to either leave it in authorized state or capture the same if a second payment against the order hasn't been made.

  • It prevents multiple payments against a single order. For example, if the customer attempts another payment against the same order and it were to succeed, the failed payment, which would have moved to the authorized state otherwise, is automatically refunded.

  • It allows you to retrieve an order using your order/receipt ID or the Razorpay Order ID.

    The Orders tab allows you to view the details of all orders. Click on the Order ID to view the details of the order.

Refer the Orders API documentation for more information.

Disputes#

A dispute is a situation that arises when your customer or the issuing bank questions the validity of payment. It could arise due to reasons such as unauthorized charges, failure to deliver promised merchandise, excessive charges and so on.

The Dispute tab allows you to view the all disputes raised against a charge and their current status. Click on a dispute ID to view the details of the order.

Refer to the Disputes documentation for more information.