get
https://example.com/tnc/checkout/apis/v1/subscriptions
This API is used to get the latest subscription details.If subscriptionUtr is provided in the request params then it will be given the precedence and appUtr will be ignored. If subscriptionUtr is null, then appUtr are required to get the status of the transaction.
HTTP Status and Response Status Matrix
| HTTP Status | Response Status | Response Message |
|---|---|---|
| 200 | ACTIVE, INACTIVE | Success |
| 400 | SUBSCRIPTION_NOT_FOUND | subscriptionUtr is required |
| 404 | SUBSCRIPTION_NOT_FOUND | Subscription UTR provided is not found |
| 400 | ERROR_FROM_PG | This will be populated by PG |
| 502 | ERROR_CONNECTING_PG | Gateway connectivity unavailable |
| 502 | ERROR_CONNECTING_PG | Gateway connectivity unavailable |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…