Notification API is required for merchants to notify users. Sends a notification to the customer before the mandate transaction is exercised. A notification has to be sent to the user 24 hours before the execution of the mandate. This API is called using the mandate_id generated while creation of mandate.
Note:
Length upto 25 and alphanumberic characters are only accepted.
Response Parameters:
Parameter | Type | Description |
---|---|---|
id | String | Unique identifier provided by Juspay |
source_object | String | Source object for notification. i.e. “Mandate” |
object_reference_id | String | Unique Identifier passed in the request. |
provider_name | String | Name of the provider. Gateway name in this case |
notification_type | String | Type of notification. |
source_info | Json | Json block of source info provided in the request |
provider_response | Json | Json block of response from gateway |
description | String | Reason for debit passed in the request |
status | String | Status of Notification |
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 request |
Source_info JSON block:
Parameter | Type | Description |
---|---|---|
amount | String | Amount passed in the request. |
txn_date | String | txn_date passed in the request. |
mandate.display_invoice_number | String | The display invoice number that is passed in the request. |
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. |