Pre-debit Notify

This API submits a pre-debit notification for an individual UPI AutoPay debit. The debit is processed automatically at the specified execution date and time.

API Details

ParameterValue
MethodPOST
Endpoint/mandate-notify
Base URL{{BASE_URL}}
Content-Typeapplication/json

Authentication

Include the following credentials in the JSON request body. These credentials are available in the WowPe Dashboard.

ParameterLocationTypeMandatoryDescription
clientIdRequest BodyStringYesMerchant Client ID provided in the WowPe Dashboard.
secretKeyRequest BodyStringYesMerchant Secret Key provided in the WowPe Dashboard.

Request Header

HeaderValue
Content-Typeapplication/json

Request Parameters

The following parameters are required in addition to the authentication credentials.

ParameterTypeMandatoryDescription
orderIdStringYesMerchant reference associated with the approved mandate.
debitIdStringYesUnique merchant reference for the individual debit.
amountNumberYesDebit amount permitted by the mandate's amount rule.
executionDateTimeString (DateTime)YesScheduled debit execution date and time in IST. Must be between 24 and 72 hours from the request.
remarksStringNoAdditional remarks for the debit.

Sample Request

{
  "clientId": "YOUR_CLIENT_ID",
  "secretKey": "YOUR_SECRET_KEY",
  "orderId": "ORDMANUAL01",
  "debitId": "ORDMANUAL01-D1",
  "amount": 99,
  "executionDateTime": "2026-11-05T10:00:00",
  "remarks": "November bill"
}

cURL Request

curl --request POST '{{BASE_URL}}/mandate-notify' \
  --header 'Content-Type: application/json' \
  --data '{
    "clientId": "YOUR_CLIENT_ID",
    "secretKey": "YOUR_SECRET_KEY",
    "orderId": "ORDMANUAL01",
    "debitId": "ORDMANUAL01-D1",
    "amount": 99,
    "executionDateTime": "2026-11-05T10:00:00",
    "remarks": "November bill"
  }'

Replace {{BASE_URL}} with the applicable WowPe API environment URL and use your merchant credentials securely.

Sample Response

Pending Response

{
  "statusCode": 2,
  "message": "Mandate notification request accepted",
  "debitId": "ORDMANUAL01-D1",
  "notifyRef": "MN261104093012345678",
  "notifyStatus": "Pending",
  "executionDateTime": "2026-11-05T10:00:00+05:30"
}

Response Parameters

ParameterTypeDescription
statusCodeNumberIndicates the API operation status. 0 = Failed, 1 = Succeeded, 2 = Pending.
messageStringProvides the response message for the notification request.
debitIdStringDebit reference submitted in the request. Retain this ID for status tracking and reconciliation.
notifyRefStringUnique reference generated for the pre-debit notification.
notifyStatusStringNotification status: NotSent, Pending, Success, or Failed.
executionDateTimeStringScheduled date and time for debit execution.

Error Handling

Status CodeDescriptionAction
0API operation failed.Check the response message and review the request parameters.
2Notification request is pending.Use the Notify Status API to track the notification outcome.

If a request times out or its outcome is unknown, check the existing operation before submitting another notification request.

Documented Validation Messages

Error MessageAction
ExecutionDateTime must be between 24 and 72 hours from now (IST).Provide an execution date and time within the permitted window.
ExecutionDateTime is after mandate validity.Select an execution date and time within the mandate's validity period.

Important Notes

  • The mandate must be approved before submitting a pre-debit notification.
  • The executionDateTime must be between 24 and 72 hours from the request time, in IST.
  • The execution date must fall within the mandate's validity period.
  • Use a unique debitId for each individual debit.
  • A successful or accepted notification request does not confirm that the debit has been completed.
  • The debit is processed automatically at the specified executionDateTime. A separate Execute Debit request is not required for this flow.
  • Use the returned debitId to track the notification and debit status.

What's Next

Use the Notify Status API to check the notification outcome. Then use the Execute Status API to verify whether the debit was successfully completed.