Check Subscription Status


This API is used to check the current status of a subscription after it has been set up. It helps determine whether the subscription is Active (successfully set up and ongoing), Cancelled (manually cancelled by the user), or Revoked(withdrawn by the user).

EnvironmentHTTP MethodAPI
SandboxGEThttps://api-preprod.phonepe.com/apis/pg-sandbox/subscriptions/v2/{merchantSubscriptionId}/status
ProductionGEThttps://api.phonepe.com/apis/pg/subscriptions/v2/{merchantSubscriptionId}/status
Request Headers
Header NameHeader Value
Content-Typeapplication/json
AuthorizationO-Bearer <merchant-auth-token>
Path Parameters
Parameter NameDescription
merchantSubscriptionIdThe unique merchant subscription ID provided by the merchant when creating the subscription
Sample Response
{
    "merchantSubscriptionId": "OMO123",
    "subscriptionId": "OMS2602061522174978"
    "state": "ACTIVE",
    "productType": "ENACH_MANDATE",
    "authWorkflowType": "ZERO",
    "authInstrumentType": "NET_BANKING | DEBIT_CARD",
    "amountType": "VARIABLE",
    "maxAmount": 20000000,
    "frequency": "MONTHLY",
    "expireAt": 1708779903873,
    "pauseStartDate": null,
    "pauseEndDate": null
}
Response Parameters
Parameter NameData TypeMandatoryDescription
merchantSubscriptionIdStringYesMerchant’s unique ID for the subscription
subscriptionIdStringYesThe subscription ID generated by PhonePe.
stateStringYesCurrent state (e.g., ACTIVE, FAILED)
productTypeStringYesInstrument category (e.g., ENACH_MANDATE)
authWorkflowTypeStringYesValidation workflow used
authInstrumentTypeStringYesMethod used (e.g., NET_BANKING | DEBIT_CARD)
amountTypeStringYesBilling type (Fixed/Variable)
maxAmountLongYesRecurring debit cap in paisa
frequencyStringYesRecurrence interval (e.g., MONTHLY)
expireAtLongYesExpiry timestamp in epoch

Is this article helpful?