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": "Sub123",
  "subscriptionId": "OMS2604141037458806131949V",
  "state": "ACTIVE",
  "productType": null,
  "authInstrumentType": null,
  "authWorkflowType": "TRANSACTION",
  "amountType": "FIXED",
  "currency": "INR",
  "maxAmount": 100,
  "frequency": "ON_DEMAND",
  "expireAt": 1779689282000,
  "pauseStartDate": null,
  "pauseEndDate": null
}
Response Parameters
Parameter NameData TypeDescription
merchantSubscriptionIdStringUnique ID for the subscription associated with the payment flow.
subscriptionIdStringA unique subscriptionId provided by the merchant to identify and manage the subscription request.
stateStringCurrent status of the Subscription.
Possible values:
• ACTIVATION_IN_PROGRESS
• ACTIVE
• EXPIRED
• FAILED
 CANCEL_IN_PROGRESS
• CANCELLED
• REVOKE_IN_PROGRESS
• REVOKED
• PAUSE_IN_PROGRESS
 PAUSED
• UNPAUSE_IN_PROGRESS
ProductTypeStringDefines the type of Product used:
UPI_MANDATE
authInstrumentTypeStringDefines the type of Instruments used.
Possible values:
• UPI
• NET_BANKING
• DEBIT_CARD.
authWorkflowTypeStringVerification workflow used for the subscription (e.g., TRANSACTION, PENNY_DROP).
amountTypeStringSpecifies whether the debit amount is FIXED or VARIABLE.
currencyStringCurrency in which the subscription is processed (e.g., INR).
maxAmountLongMaximum amount allowed for the mandate (in paise).
frequencyStringFrequency at which the subscription amount is debited(e.g., DAILY, MONTHLY).
expireAtepochExpiry time of the subscription represented as an epoch timestamp.
pauseStartDateLongThe epoch timestamp indicating when the subscription was paused.
pauseEndDateLongThe epoch timestamp indicating when the subscription transitions from the paused state back to the active state.
Is this article helpful?