Get subscription interface returns all details about defined subscription through HTTP Get method. The response body is same as that of defined subscription interface.
HTTP Method: GET
Path: {base_url}/api/sub/v1/merchant/subscriptions/{subscriptionId}
Request parameters
Header
Parameter | Description |
---|---|
X-PayU-_ _Subscription- Signature mandatory | SHA512 Signature generated by encrypting request parameters in body by Merchant Key, Merchant Salt and Subscription Id. |
merchantId mandatory | Merchant Key received during onboarding. Example: YQeVda |
Sample request
https://subscription.citruspay.com/api/sub/v1/merchant/subscriptions/5c972a35652d405> ed9834f52