get https://sandbox.juspay.in/notifications/
Merchants can call notification status API to check whether a notification has been sent to a customer or not.
Response Parameters:
Parameter | Type | Description |
---|---|---|
id | String | Unique identifier provided by Juspay |
source_object | String | Source object for notification. i.e. “Mandate” |
source_object_id | String | Source object for notification. Mandate_id in this case |
object_reference_id | String | Unique Identifier passed in the request. I.e. 1234578 |
provider_name | String | Name of the provider. Gateway name in this case I.e. PAYTM_V2 |
notification_type | String | Type of notification. I.e. “SMS” |
source_info | JSON | Json block of source info provided in the request |
provider_response | JSON | Json block of response from gateway, will include response code and message from Gateway |
mandate | JSON | Json block for Mandate ID provided in the request: |
description | String | Reason for debit passed in the request |
status | String | Status of Notification : CREATED/PENDING/SUCCESS/FAILURE CREATED- Created and not yet initiated to gateway PENDING- Initiated to gateway SUCCESS- Success from gateway FAILURE- Failed from gateway |
date_created | String | Date-time of notification created in UNIX EPOCH timestamp (UTC timezone) format |
last_updated | String | Date-time of notification updated in UNIX EPOCH timestamp (UTC timezone) format |
metadata | String | Metadata passed in the request |
Mandate JSON block:
Parameter | Type | Description |
---|---|---|
mandate_id | String | Mandate id provided in the Notification API |
Source_info JSON Block:
Parameter | Type | Description |
---|---|---|
amount | String | Amount passed in the request I.e. 100.00 |
txn_date | String | txn_date passed in the notification request. Format: UNIX EPOCH timestamp (UTC timezone). I.e. 1634057114 |
mandate.display_invoice_number | String | The invoice display number passed during notification API |
Provider_response JSON block:
Parameter | Type | Description |
---|---|---|
provider_ref_id | String | Reference Number provided by downstream gateway |
notification_date | String | Date on which notification has been sent by downstream gateway. Format: UNIX EPOCH timestamp (UTC timezone). I.e. 1634057114 Specific to PAYTM_V2 |
provider_response_code | String | Code of the response provided by the PG |
provider_response_message | String | Response provided by PG for Notification |