Subscription Notification

Use this API to send a pre-debit notification for a given subscription ID.

Environment

Use our UAT environment endpoint for testing and for integration utilize our production endpoint.

EnvironmentEndpoints
User Acceptance Testing [UAT]https://pluraluat.v2.pinepg.in/ps/api/v1/public/subscriptions/notify
Production [PROD]https://api.pluralpay.in/api/ps/v1/public/subscriptions/notify
Body Params
string
required

Unique identifier for the subscription in the Pine Labs database.

  • Maximum length: 50 characters.
Example: v1-sub-4405071524-aa-qlAtAf

string
required

The ISO 8601 UTC Timestamp is the date & time at which the payment is due.

Example: 2022-09-21T17:32:28Z

Note: You should set the due date to 24 hours later, as we’ll also be sending the Pre-debit Notification for the presentation request.

amount
object
required

An object that contains the amount details.

string
required

Unique identifier of the merchant presentation reference.

Example: 1234567890

boolean

Indicates if merchant notifications retry is enabled.

Example: true

Possible values:

  • true: Set this parameter to true only when you want to retry the Notification API after a failed request. A maximum of 3 retries is allowed.
  • false(default): Set this parameter to false only when you don't want to retry the Notification API after a failed request.

Headers
string

The type of content included in the HTTP message body.

Possible value: application/json.

string
required
Defaults to Bearer

The HTTP header where you can include your secret token for authentication.

Example: Bearer <access_token>

Note: Use the access token generated using our Generate Token API.

string

Use ISO 8601 UTC Timestamp, to create a timestamp when the generate token is requested.

Example: 2024-07-09T07:57:08.022Z

string

Use a global unique identifier [GUID] for the request.

  • Minimum: 1 characters.
  • Maximum: 50 characters
Example: c17ce30f-f88e-4f81-ada1-c3b4909ed235

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
Ask AI
Assistant
Order Lifecycle
Refunds
Settlements
Checkout
Dashboard
International Payments
How do I implement webhook notifications for payment status updates, and what's the recommended way to verify webhook authenticity?
How do I integrate Pine Labs payment gateway with my React Native mobile app and what are the required API credentials?
Can I customize the payment UI for card transactions, and what parameters can I pass to modify the checkout experience for my customers?
Assistant