Check Mandate Status
This api can be used by Merchant for checking the status of the mandate for both Payer and Payee side. Using this API, the recent status of the mandate / (mandate action) can be found. Recent status of the mandate is denoted by gatewayResponseStatus field in the response if upiRequestId is not passed in the requestBody. Based on different scenarios gatewayResponseStatus can have multiple values like SUCCESS, PENDING, FAILURE, REVOKED, PAUSE, COMPLETED, DECLINED, EXPIRED depending upon the current status of the mandate. Refer to table below for different value of gatewayResponseCode and gatewayResponseStatus. If upiRequestId is passed in the requestBody, then gatewayResponseStatus denotes the status of that particular action (UPDATE, REVOKE, PAUSE and UNPAUSE) taken on mandate.
This API hits TSP Server with a timeout of 60 seconds.
application/json
Will be shared while onboarding.
Will be shared while onboarding.
application/json
This is an epoch unix timestamp string. For example, 1496918882000. It can be used by us to invalidate older requests.
gatewayMandateId returned in create mandate
Constraints: 35 character alphanumeric unique id
Defines the role of the customer in the mandate
Values: PAYER | PAYEE
Stringified JSON for udf parameters
gatewayMandateId returned for update, revoke, pause, unpause operations.
Constraints:35 character alphanumeric.
PSP status of the API
Values:SUCCESS, FAILURE
PSP response code for the API
Values:Refer error code section
PSP response code for the API
Values:Refer error code section
Amount for mandate
Values:Numeric String with two decimals. As passed for amount in request.
Rule on Mandate Amount. If amountRule is MAX, then mandate can be executed for amount less than or equal to the passed amount . If amountRule is EXACT, then mandate should always be executed for the same amount.
Values:As passed for amountRule in request.
Unique id for the selected bank account
Values:bankAccountUniqueId in the response of Fetch Accounts api call. As passed for bankAccountUniqueId in request.
Defines whether customer's fund should be blocked or not. For onetime mandate it can be true or false. Default value is false.
Values:String - true, false
Timestamp upto which mandate creation request is valid. It will only be present if mandate is initiated by PAYEE.
Values:Timestamp in YYYY-MM-DDTHH:MM:SS+05:30 format, request timestamp plus expiry minutes passed in request.
UPI request id returned by gateway for the mandate
Values:As passed for upiRequestId in request
Customer reference number (rrn) for the mandate operation.
Response code returned by gateway for the mandate operation.
Values:Refer table below.
Response message returned by gateway for the mandate operation.
Response status returned by gateway
Values:SUCCESS, FAILURE
Describes whether PAYER or PAYEE has initiated the mandate.
Values:As passed for initiatedBy in request.
Defines the type of mandate operation
Values: CREATE, UPDATE, REVOKE, PAUSE, UNPAUSE
Time instant at which create mandate request was approved. Only present if mandate type is create and approved.
Values:YYYY-MM-DDTHH:MM:SS+05:30.
Name of the mandate.
Values:As passed for mandateName in request.
Timestamp of when this request was attempted
Values:YYYY-MM-DDTHH:MM:SS+05:30
Unique id for the merchant channel.
Values:As passed for x-merchant-channel-id in request headers
Merchant generated unique profile id for customer
Values:Alphanumeric string with dot(.). Maximum length is 256. As passed for merchantCustomerId in request.
Unique id for the merchant.
Values:As passed for x-merchant-id in request headers
Merchant generated id for the mandate request.
Values:As passed for merchantRequestId in request body.
upiRequestId of the create request.
Values:As passed for upiRequestId in the request.
Merchant Category Code of the payee merchant.
Name of the Payee involved in mandate.
VPA of payee
Values:As passed for payeeVpa in request
Name of the Payer involved in mandate.
Defines whether mandate is revocable by PAYER or not. For onetime mandate it can be true or false. Default value is true.
Values:String - true, false
VPA of payer
Values:As passed for payerVpa in request
Recurrence Pattern for Mandate
Values:As passed for recurrencePattern in request
Recurrence Rule for Mandate. It will not be present for ONETIME, DAILY and ASPRESENTED recurrence pattern.
Values:As passed for recurrenceRule in request
Recurrence Value for Mandate. It will not be present for ONETIME, DAILY and ASPRESENTED recurrence pattern.
Values:As passed for recurrencValue in request.
Reference url for the mandate. It will be same value if passed in request else it will be a default url.
Any mandate summary. If pssed in request, it will be same in response else a default value is send.
Role of the customer for this mandate.
Values:PAYER, PAYEE
Descibes whether mandate will be shared with payee or not. For onetime mandate it can be true or false. Default value is true.
Values:String - true, false.
Type of Mandate Creation
Values:As passed for transactionType in request.
Unique Mandate Number used for execution of the mandate. Will be sent only if mandate is initiated by Payer.
Date before which mandate can be executed.
Values:As passed for validityEnd in request
Date after which mandate can be executed.
Values:As passed for validityStart in request
Defines the date on which the mandate should unpause. It will only be present if mandateType is PAUSE, UNPAUSE.
Constraint: Date in "YYYY/MM/DD"
Defines the date from which the mandate should pause. It will only be present if mandateType is PAUSE, UNPAUSE.
Constraint: Date in "YYYY/MM/DD"
Remaining blocked amount in the mandate. Only for SBMD
Udf parameters as passed in the request.
Values:As passed for udfParameters in request

