Redemption Order Status


This API provides the status of an Execute Redemption request. It returns whether the request was successful, failed, or still pending, along with relevant payment details.

EnvironmentHTTP MethodAPI
SandboxGEThttps://api-preprod.phonepe.com/apis/pg-sandbox/checkout/v2/order/{merchantOrderId}/status
ProductionGEThttps://api.phonepe.com/apis/pg/checkout/v2/order/{merchantOrderId}/status
Request Headers
Header NameHeader Value
Content-Typeapplication/json
AuthorizationO-Bearer <merchant-auth-token>
Path Parameters
Parameter NameDescription
merchantOrderIdMerchant-generated order ID that was shared during the Redemption Notify API call.
Sample Response
{
    "merchantId": "Merchant1",
    "merchantOrderId": "Tx1234",
    "orderId": "OMO2602271707486703053678W",
    "state": "COMPLETED",
    "currency": "INR",
    "amount": 100,
    "expireAt": 1772537868652,
    "paymentFlow": {
        "type": "SUBSCRIPTION_REDEMPTION",
        "merchantSubscriptionId": "Sub123",
        "redemptionRetryStrategy": "STANDARD",
        "autoDebit": false,
        "validAfter": 1772278669000,
        "validUpto": 1772537868000,
        "notifiedAt": 1772192269095
    },
    "paymentDetails": [
        {
            "transactionId": "OM2603021020514773080857W",
            "paymentMode": "UPI_AUTO_PAY",
            "timestamp": 1772427051478,
            "currency": "INR",
            "amount": 100,
            "payableCurrency": "INR",
            "payableAmount": 100,
            "feeCurrency": "INR",
            "feeAmount": 0,
            "state": "COMPLETED",
            "instrument": {
                "type": "ACCOUNT",
                "accountType": "SAVINGS",
                "bankId": "SBIN"
            },
            "rail": {
                "type": "UPI",
                "utr": "606132842672",
                "umn": "d3aee1762f19469799bcc03e534c1e08@axl"
            },
            "splitInstruments": [
                {
                    "instrument": {
                        "type": "ACCOUNT",
                        "accountType": "SAVINGS",
                        "bankId": "SBIN"
                    },
                    "rail": {
                        "type": "UPI",
                        "utr": "606132842672",
                        "umn": "d3aee1762f19469799bcc03e534c1e08@axl"
                    },
                    "currency": "INR",
                    "amount": 100
                }
            ]
        }
    ],
    "metaInfo": {
        "udf1": "some meta info of max length 256",
        "udf2": "some meta info of max length 256",
        "udf3": "some meta info of max length 256",
        "udf4": "some meta info of max length 256",
        "udf5": "some meta info of max length 256",
        "udf6": "some meta info of max length 256",
        "udf7": "some meta info of max length 256",
        "udf8": "some meta info of max length 256",
        "udf10": "some meta info of max length 256",
        "udf11": "some meta info of max length 50",
        "udf12": "some meta info of max length 50",
        "udf13": "some meta info of max length 50",
        "udf14": "some meta info of max length 50",
        "udf15": "some meta info of max length 50"
    }
}
Response Parameters
Parameter NameData TypeDescription
merchantIdStringA unique ID assigned to the merchant by the PhonePe system during the onboarding process.
merchantOrderIdStringA unique orderId provided by the merchant when creating the order.
orderIdStringAn orderId generated by PhonePe.
stateStringPossible value:
• COMPLETED
• FAILED
• PENDING
amountLongTransaction amount in paise.
expireAtDateTimeExpiry time represented as an epoch timestamp (milliseconds).
paymentFlowArrayContains details of the subscription and redemption configuration.
paymentFlow.typeStringSpecifies the payment flow type for redemption actions. The type should be “SUBSCRIPTION_REDEMPTION“ for redemption-related actions.
paymentFlow.merchantSubscriptionIdStringA unique subscriptionId provided by the merchant to identify and manage the subscription request.
paymentFlow.redemptionRetryStrategyStringDetermines if PhonePe (Standard) handles failed debit retries automatically or if the merchant (Custom) manually manages up to 3 retries at 1.5-hour intervals within 48 hours.
paymentFlow.autoDebitBooleanIf set to true, Indicates whether the redemption is processed automatically.
paymentFlow.validAfterDateTimeStart time (in milliseconds) of the redemption window.
paymentFlow.validUptoDateTimeEnd time (in milliseconds) of the redemption window.
paymentFlow.notifiedAtDateTimeTimestamp (in milliseconds) when the customer was notified about the redemption.
errorcodeStringError code returned if the transaction fails.
detailedErrorCodeStringDetailed error information provided when the transaction fails.
paymentDetails.amountLongTransaction amount in paise.
paymentDetails.paymentModeStringMode used to process the payment.
paymentDetails.transactionIdStringUnique ID of the transaction generated by PhonePe.
paymentDetails.stateStringCurrent status of the debit attempt.
paymentDetails.railArrayDetails of the payment instrument used and UMRN associated with the transaction.
paymentDetails.instrumentArrayDetails of the customer’s payment instrument (e.g., bank account).
paymentDetails.errorCodeStringError code returned for a failed payment attempt.
paymentDetails.detailedErrorCodeStringDetailed error information for the failed attempt.
MetaInfoArrayAdditional metadata passed during order creation.
Is this article helpful?