Mandate Status

This API can be used by Merchant for checking the recent status of the mandate / (mandate action).

If merchantRequestId is not passed in the requestBody: Recent status of the mandate is denoted by gatewayResponseStatus field in the response. Based on different scenarios gatewayResponseStatus can have multiple values like SUCCESS, FAILURE, REVOKED, PAUSED, COMPLETED, DECLINED, EXPIRED depending upon the current status of the mandate.

If merchantRequestId is passed in the requestBody: Then gatewayResponseStatus denotes the status of that particular action (UPDATE, REVOKE, PAUSE and UNPAUSE) taken on mandate.

Refer to table below for different value of gatewayResponseCode and gatewayResponseStatus.

Scroll inside to view more
merchantRequestId in reqBody
gatewayResponseCode
gatewayResponseStatus
Description
Present
00
SUCCESS
Mandate is in active state
Present
01
PENDING
Mandate is in pending state
Present
JPMR
REVOKED
Mandate is revoked
Present
JPMP
PAUSE
Mandate is paused
Present
JPMC
COMPLETED
Mandate is completed
Present
JPMD
DECLINED
Mandate is declined by payer
Present
JPMX
EXPIRED
Mandate is expried due to no action by payer
Not Present
01
PENDING
Respective Mandate Action is in pending state
Not Present
00
SUCCESS
Corresponding Message for Mandate Action
Present / Not Present
Else
FAILURE
Any other reason.
API Endpoints
Production Link
POST
{{host}}/api/{{uri}}/merchants/mandates/status
Headers
Body
200 : Success