Skip to main content

Cancel NPS Mandate

Overview​

CancelNpsMandateCommand cancels an active outward NPS mandate by sending a pain.011 cancellation request via the BankLingo Nibss API. On success, the local MandateSetup record is updated to Cancelled.

Outward mandates only

Only mandates we originated (destinationInstitutionCode ≠ our bank code) can be cancelled. Inward mandates (where we are the debtor bank) must be rejected or stopped through the NPS network flow.

Command Details​

  • Command: CancelNpsMandateCommand
  • Type: Command

API Endpoint​

POST /api/bpm/cmd

Request Structure​

FieldTypeRequiredDescription
mandateReferenceNumberstringYesNPS mandate reference number to cancel
reasonstringNoCancellation reason (default: "Cancelled by administrator")

Try It Out​

POST/api/bpm/cmdCancelNpsMandateCommand
Request Body

Response Structure​

{
"isSuccessful": true,
"statusCode": "00",
"message": "NPS mandate cancellation submitted successfully.",
"data": {
"id": 101,
"mandateReferenceNumber": "MND0000000001",
"mandateStatus": "Cancelled",
"lastUpdated": "2026-07-05T09:00:00Z",
"nibssApiResponse": "{\"responseCode\":\"00\",\"responseDescription\":\"Successful\"}"
}
}

Error Responses​

ConditionMessage
Mandate not found"NPS mandate 'MND...' not found."
Already cancelled"Mandate is already cancelled."
Nibss API rejected"Nibss API rejected (HTTP 400)." with nibssApiResponse detail