Mandate Details

This API retrieves the details and current status of a UPI AutoPay mandate, including payer information, mandate validity, and automatic debit plan progress.

API Details

ParameterValue
MethodPOST
Endpoint/mandate-details
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 parameter is required in addition to the authentication credentials.

ParameterTypeMandatoryDescription
orderIdStringYesMerchant reference associated with the mandate.

Sample Request

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

cURL Request

curl --request POST '{{BASE_URL}}/mandate-details' \
  --header 'Content-Type: application/json' \
  --data '{
    "clientId": "YOUR_CLIENT_ID",
    "secretKey": "YOUR_SECRET_KEY",
    "orderId": "ORD10001"
  }'

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

Sample Response

Success Response

{
  "statusCode": 1,
  "message": "Success",
  "orderId": "ORD10001",
  "mandateRef": "MD261101101530123456",
  "umn": "722710901d824182a759192d859e8c7e@ptyes",
  "mandateStatus": "Active",
  "amount": "99.00",
  "amountRule": "MAX",
  "payerVPA": "customer@ptyes",
  "payerName": "RAHUL KUMAR",
  "validityStart": "2026-11-01",
  "validityEnd": "2027-10-31",
  "pauseStart": null,
  "pauseEnd": null,
  "plan": {
    "planStatus": "Started",
    "startedOn": "2026-11-01 10:16:00",
    "firstDebitAmount": "1.00",
    "firstDebitId": "ORD10001-FIRST",
    "introAmount": "99.00",
    "introDateTime": "2026-11-02 10:26:00",
    "introDebitId": null,
    "introScheduleStatus": "Active",
    "recurAmount": "99.00",
    "recurFrequency": "MONTHLY",
    "recurStartDateTime": "2026-12-03 10:00:00",
    "recurNextExecutionDateTime": "2026-12-03 10:00:00",
    "recurScheduleStatus": "Active",
    "message": "First debit ORD10001-FIRST 1.00: Success"
  }
}

Response Parameters

ParameterTypeDescription
statusCodeNumberIndicates the API operation status. 0 = Failed, 1 = Succeeded, 2 = Pending.
messageStringProvides the response message or plan-related information.
orderIdStringMerchant reference associated with the mandate.
mandateRefStringUnique mandate reference generated by the API.
umnStringUnique Mandate Number returned by the API.
mandateStatusStringCurrent mandate status: Created, Active, Paused, Revoked, Expired, Completed, or Failed.
amountStringMandate amount, returned as a decimal string.
amountRuleStringApproved amount rule: MAX or EXACT.
payerVPAStringPayer's UPI ID.
payerNameStringPayer's name.
validityStartStringMandate validity start date.
validityEndStringMandate validity end date.
pauseStartString / NullMandate pause start date, when available.
pauseEndString / NullMandate pause end date, when available.
planObject / NullContains automatic debit plan details. Returns null if the mandate was created without a plan.

Plan Object Parameters

The following parameters are returned within the plan object when an automatic debit plan is configured.

ParameterTypeDescription
planStatusStringAutomatic plan status: Waiting, Started, PartlyFailed, or Cancelled.
startedOnStringDate and time when the plan started.
firstDebitAmountStringInitial debit amount.
firstDebitIdStringReference ID of the initial debit.
introAmountStringIntroductory debit amount.
introDateTimeStringScheduled date and time for the introductory debit.
introDebitIdString / NullReference ID of the introductory debit, when assigned.
introScheduleStatusStringStatus of the introductory debit schedule.
recurAmountStringAmount configured for each recurring debit.
recurFrequencyStringConfigured recurring debit frequency.
recurStartDateTimeStringStart date and time of recurring debits.
recurNextExecutionDateTimeStringNext scheduled recurring debit date and time.
recurScheduleStatusStringStatus of the recurring debit schedule.
messageStringAdditional information about the automatic plan or debit operation.

Error Handling

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

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

Important Notes

  • Use the orderId associated with the mandate when retrieving its details.
  • mandateStatus: "Active" indicates that the mandate is active. It does not confirm that a payment has been collected.
  • Use the debit IDs returned in the plan object with the Execute Status API to track individual debit outcomes.
  • A null introDebitId does not indicate a successful introductory payment.
  • The plan object may be null if the mandate was created without an automatic debit plan.
  • Confirm payment success separately using the relevant debit status API.

What's Next

Once the mandate is active, proceed with your selected collection flow. Use the Pre-debit Notify API for individually scheduled debits, or refer to Create Schedule for standalone recurring schedules.