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/checkout/v2/subscriptions/{merchantSubscriptionId}/status
ProductionGEThttps://api.phonepe.com/apis/pg/checkout/v2/subscriptions/{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": "MS597cc71b",
    "subscriptionId": "OMS2602061522174978849048",
    "state": "ACTIVE",
    "productType": null,
    "authInstrumentType": null,
    "authWorkflowType": "TRANSACTION",
    "amountType": "FIXED",
    "currency": "INR",
    "maxAmount": 47900,
    "frequency": "ON_DEMAND",
    "expireAt": 2717056337500,
    "pauseStartDate": null,
    "pauseEndDate": null
}
Response Parameters
Parameter NameData TypeDescription
merchantSubscriptionIdStringmerchant subscription Id
subscriptionIdString
stateStringState of the Subscription
authWorkflowTypeStringTRANSACTION, PENNY_DROP
amountTypeStringFIXED, VARIABLE
currencyStringINR
maxAmountLongmaximum mandate amount
frequencyStringDAILY, MONTHLY
expireAtepoch
headers
url params

After retrieving the subscription status, the next step is to collect the redemption amount according to the selected subscription cycle.

Is this article helpful?