Get subscription details for SBMD enabled subscription
GET
/ps/public/subscriptions/sbmd/{reserve_pay_sub_id}Fetch Reserved Pay details for a customer
Requires
Bearer token. Get token →Path Parameters
| Name | Type | Description |
|---|---|---|
reserve_pay_sub_id | stringrequired | Unique identifier for the subscription. |
Response
| Name | Type | Description |
|---|---|---|
subscription_id | string | Unique identifier for the created subscription |
order_id | string | order_id for the created order |
customer_id | string | customer_id passed |
status | string | Current status of the subscription after creation |
start_date | string | Subscription start timestamp |
end_date | string | Subscription end timestamp |
currency | string | |
total_blocked_amount | integer | Total amount blocked for the subscription (in smallest currency unit, e.g., paise) |
debited_amount | integer | Amount already debited from the subscription (in smallest currency unit, e.g., paise) |
remaining_balance | integer | Amount still available in the subscription (in smallest currency unit, e.g., paise) |
Status Codes
200 | Success |
400 | Bad Request |
500 | Internal Server Error |
Request
curl --request GET \
--url https://pluraluat.v2.pinepg.in/ps/public/subscriptions/sbmd/%7Breserve_pay_sub_id%7D \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Run this request
reserve_pay_sub_id200 OK
{
"subscription_id": "sub_xyz789",
"status": "ACTIVE",
"total_blocked_amount": 1000000,
"debited_amount": 200000,
"remaining_balance": 800000
}