Page Loader
Summarize
Unable to track refund status on PhonePe? Try these steps
Refer to this guide

Unable to track refund status on PhonePe? Try these steps

Feb 04, 2025
09:17 pm

What's the story

When you have a refund pending on PhonePe, being able to track its status can save you a lot of stress. Whether you're a merchant wanting to keep your customers happy or a customer waiting for your money back, knowing how to check the refund status is key. This guide makes it easy for Android users, detailing each step so you can confidently navigate and utilize PhonePe's refund status feature.

Getting started

Step-by-step guide to check refund status

To start tracking your refund status on PhonePe, make sure you have the following details ready. You need the Merchant Refund ID. This ID is unique for each transaction that needs a refund. Also, get your Authorization Token. You need this token to authenticate your request. Choose the right API Host URL based on your environment (production or sandbox). For production, use https://api.phonepe.com/apis/pg/payments/v2/refund/{merchantRefundId}/status.

Request setup

Making the request

Once you have collected all the necessary parameters, ensure that you configure your request headers properly. Your headers should include "Content-Type" set to "application/json" and "Authorization" with your merchant authorization token prefixed by "O-Bearer." Building your API request correctly is key; issue a GET request to the API host URL with the merchant refund ID included in the path.

Understanding results

Analyzing and interpreting response

Once you have submitted your request, it's important to analyze the JSON response you receive from PhonePe's API. Specifically, check for "refundId," "amount," and "state" to confirm the status of the refund, whether FAILED or SUCCESS. If it's a failure, error codes will tell you what went wrong and how to proceed. This analysis is vital for both merchants and customers to effectively monitor the refund process.