Get Presentations by Subscription ID
/ps/api/v1/public/subscriptions/{subscription_id}/presentationsRetrieves all presentations associated with a specific subscription. Supports pagination.
Bearer token. Get token →Path Parameters
| Name | Type | Description |
|---|---|---|
subscription_id | stringrequired | Unique identifier for the subscription. |
Query Parameters
| Name | Type | Description |
|---|---|---|
size | string | Number of items per page. |
page | string | Page number. |
sort | string | Sort field and direction. |
Response
| Name | Type | Description |
|---|---|---|
links | object | Pagination links for navigation. |
first | objectnull | |
self | objectnull | |
next | objectnull | |
last | objectnull | |
page | object | Page information for paginated responses. |
size | integer | Number of items per page. |
total_elements | integer | Total number of elements. |
total_pages | integer | Total number of pages. |
number | integer | Page number. |
presentations | PresentationDetail[] | List of presentation records. |
subscription_id | string | Unique identifier for the subscription. |
presentation_id | string | Unique identifier for the presentation. |
due_date | string | The ISO 8601 UTC Timestamp when the payment is due. |
amount | object | Monetary amount with currency for subscription-related APIs. |
merchant_presentation_reference | string | Unique identifier of the merchant presentation reference. |
pdn_status | CREATED | INITIATED | NOTIFIED | FAILED | CANCELLED | PAUSED | PDN_FAILED | Pre-debit notification status.
CREATEDINITIATEDNOTIFIEDFAILEDCANCELLEDPAUSEDPDN_FAILED |
status | CREATED | PENDING | COMPLETED | FAILED | CANCELLED | PAUSED | PARTIALLY_REFUNDED | REFUNDED | INITIATED | Presentation status.
CREATEDPENDINGCOMPLETEDFAILEDCANCELLEDPAUSEDPARTIALLY_REFUNDEDREFUNDEDINITIATED |
failure_count | integer | The number of times the requests to execute mandates at banks have failed. |
order_id | string | Unique identifier of the order created for this presentation. |
Status Codes
200 | Presentations retrieved successfully. |
400 |
curl --request GET \
--url https://pluraluat.v2.pinepg.in/ps/api/v1/public/subscriptions/%7Bsubscription_id%7D/presentations \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Run this request
subscription_idsizepagesort{
"links": {
"first": {
"href": "https://api.pluralpay.in/api/v1/public/{resource}/?size=10&page=0&sort=id,asc"
},
"self": {
"href": "https://api.pluralpay.in/api/v1/public/{resource}/?size=10&page=0&sort=id,asc"
},
"next": {
"href": "https://api.pluralpay.in/api/v1/public/{resource}/?size=10&page=0&sort=id,asc"
},
"last": {
"href": "https://api.pluralpay.in/api/v1/public/{resource}/?size=10&page=0&sort=id,asc"
}
},
"page": {
"size": 10,
"total_elements": 50,
"total_pages": 5,
"number": 1
},
"presentations": [
{
"subscription_id": "v1-sub-250911093342-aa-v9YH7S",
"presentation_id": "v1-bil-250911093822-aa-i37gSm",
"due_date": "2025-09-12T18:00:00Z",
"amount": {
"value": 1000,
"currency": "INR"
},
"merchant_presentation_reference": "z1B3pu003",
"pdn_status": "NOTIFIED",
"status": "PENDING",
"failure_count": 0,
"order_id": "v1-260210121553-aa-8Y4x1I"
}
]
}