Schedule Status

Retrieve the current status, configuration, and progress of a recurring UPI Mandate schedule, including its next execution details and latest debit reference.

API Details

FieldValue
MethodPOST
Endpoint/mandate-schedule-status
Base URL{{BASE_URL}}
Content-Typeapplication/json

Authentication

Include the following credentials in the JSON request body:

Parameter / HeaderLocationTypeMandatoryDescription
clientIdJSON bodyStringYesMerchant client ID from the WowPe Dashboard.
secretKeyJSON bodyStringYesMerchant secret key from the WowPe Dashboard. Keep it on your server.
Content-TypeHeaderStringYesapplication/json

Both credential fields must be included in every request.

Request Parameters

The authentication fields above are required in addition to the following parameter:

ParameterTypeMandatoryDescription
orderIdStringYesMerchant mandate reference.

Sample Request

Request Body

{
  "clientId": "YOUR_CLIENT_ID",
  "secretKey": "YOUR_SECRET_KEY",
  "orderId": "ORDSCHEDULE01"
}

cURL Request

curl --request POST '{{BASE_URL}}/mandate-schedule-status' \
  --header 'Content-Type: application/json' \
  --data-binary '@mandate-schedule-status.json'

Sample Response

The supplied integration guide does not include a separate JSON response example for this endpoint. It specifies the same response fields as the Create Schedule API.

Capture the actual response in UAT before publishing a definitive sample response.

Response Parameters

ParameterTypeDescription
statusCodeNumberOperation status: 0 = Failed, 1 = Succeeded, 2 = Pending. Interpret business-status fields separately.
messageStringOperation or plan message. It is not a substitute for the relevant status field.
orderIdStringMerchant mandate reference.
scheduleStatusStringCurrent schedule state: Active, Stopped, or Completed.
amountStringScheduled debit amount, returned as a decimal string.
frequencyStringSaved schedule frequency.
startDateTimeStringFirst scheduled debit time.
endDateStringLast possible scheduled debit date.
notifyBeforeHoursNumberSaved notification lead time in hours.
cyclesDoneNumberReturned cycle count. Whether this counts attempts or successful debits is not specified.
nextExecutionDateTimeStringNext scheduled debit time.
nextNotifyDateTimeStringNext notification time.
lastDebitIdString / NullMost recent cycle debit ID, used for execute-status lookup when available.
lastMessageString / NullLatest schedule message, when available.

Error Handling

ConditionHandling
statusCode: 0Operation failed. Inspect the message and any operation-specific status fields.
statusCode: 2Operation is pending. Use the applicable status endpoint to check the outcome.
Timeout or unknown outcomeCheck the existing operation before submitting another mutation.

The integration guide does not define endpoint-specific HTTP status mappings or a complete error response structure. Confirm these in UAT before documenting them.

Important Notes

  • The scheduleStatus field indicates whether the schedule is Active, Stopped, or Completed.
  • Use lastDebitId, when available, to check the latest payment outcome through the mandate-execute-status API.
  • Stopping a schedule and revoking a mandate are separate operations.
  • Do not assume that stopping a schedule cancels a debit that has already been notified, queued, or is executing. Confirm this behaviour with the API owner and check outstanding debit statuses.

What's Next

  • Use lastDebitId, when available, with the Execute Status API to verify the latest debit outcome.
  • Use the Stop Schedule API when an existing recurring schedule needs to be stopped.