Get Subscription Details
The "Get Subscription Details" API retrieves comprehensive information about a subscription based on its unique subscription reference ID. By supplying the subscription reference ID as input, this API returns a detailed overview of the subscription, including its plan name, maximum cycles, type, maximum amount, currency, customer details (such as name, email, and phone number), payment mode, status, expiry date, and other relevant information. This API facilitates easy access to subscription details, enabling efficient management and tracking of subscription services within a system or application.
This API employs API Keys for request authentication. It's crucial to safeguard your API Keys, as they grant various privileges. To obtain the Access Key, kindly reach out to our Support/CSM team. Once obtained, please utilize this access key in the Authorization header.
Authentication for the API is executed through the Authorization header.
Feel free to replace 'YOUR_ACCESS_KEY_HERE' with the actual Access Key provided by our Support/CSM team.
The details of the API can be found here.
Here's a table outlining the key parameters, descriptions, whether they are mandatory or optional, and their data types.
Key | Description | M/O | Type |
subReferenceId | A unique ID which was generated when the subscription was created | Mandatory | String |
Key | Description | Type |
result | Result object | Object |
result.status | Status of the result | String |
result.message | Message of the result | String |
result.subscription | Subscription details | Object |
subscription.subReferenceId | Subscription reference ID | Integer |
subscription.planName | Name of the plan | String |
subscription.maxCycles | Maximum cycles allowed | Integer |
subscription.type | Type of subscription | String |
subscription.maxAmount | Maximum amount | Integer |
subscription.currency | Currency of amount | String |
subscription.customerName | Name of the customer | String |
subscription.customerEmail | Email of the customer | String |
subscription.customerPhone | Phone of the customer | String |
subscription.mode | Mode of subscription | String |
subscription.cardNumber | Card number | String |
subscription.status | Status of subscription | String |
subscription.firstChargeDate | Date of first charge | String |
subscription.expiryDate | Expiry date of subscription | String |
subscription.addedOn | Date added | String |
subscription.scheduledOn | Scheduled date | String |
subscription.currentCycle | Current cycle | Integer |
subscription.authLink | Authentication link | String |
subscription.upiId | UPI ID | String |
subscription.umn | UMN | String |
subscription.authFlow | Authentication flow | String |
subscription.tpvEnabled | TPV enabled | Boolean |
subscription.payerAccountDetails | Payer account details | Object |
Key | Description | Type |
error | Main error object | Object |
error.name | Error name | String |
error.message | Error message | String |
error.status | Error status code | String |
error.reason | Error reason | String |
error.type | Type of error | String |
error.statusCode | HTTP status code | String |
Error Code | Error Message | Explanation |
400 | Bad Request | Input parameter has a missing required parameter or invalid inputs |
401 | Authorization Failed | Authorization token is invalid |
404 | Not Found | The eneterd Sub Reference ID is not found |
500 | Internal Server Error | Internal error at Signzy, Please reach out to [email protected] |