Skip to main content

Get NPS Mandates

Overview​

GetNpsMandatesQuery returns a paginated list of NPS ISO 20022 mandates (MandateSetup records where sourceProvider = "nps"). This covers both outward mandates we initiated and inward mandates received from other banks.

Command Details​

  • Command: GetNpsMandatesQuery
  • Type: Query

API Endpoint​

POST /api/bpm/cmd

Request Structure​

FieldTypeRequiredDescription
pageNumberintNoPage number (default: 1)
pageSizeintNoRecords per page (default: 20)
mandateStatusstringNoFilter by status: Active, Pending, Cancelled, Amended
searchTextstringNoSearch by mandate reference, account number, or account name
startDatestringNoFilter by dateCreated ≥ this date (yyyy-MM-dd)
endDatestringNoFilter by dateCreated ≤ this date (yyyy-MM-dd)
isExportboolNotrue to export all results as Excel

Try It Out​

POST/api/bpm/cmdGetNpsMandatesQuery
Request Body

Response Structure​

{
"isSuccessful": true,
"statusCode": "00",
"message": "5/5 records.",
"count": 5,
"pages": 1,
"size": 5,
"hasNext": false,
"hasPrevious": false,
"data": [
{
"id": 101,
"sessionID": "NPS-20260101-001",
"mandateReferenceNumber": "MND0000000001",
"debitAccountName": "JOHN DOE",
"debitAccountNumber": "0123456789",
"beneficiaryAccountName": "ABC COMPANY",
"beneficiaryAccountNumber": "9876543210",
"destinationInstitutionCode": "000014",
"amount": 50000.00,
"mandateStatus": "Active",
"statusMessage": null,
"sourceProvider": "nps",
"dateCreated": "2026-01-15T10:30:00Z",
"lastUpdated": "2026-01-15T10:35:00Z",
"responseCode": "00"
}
]
}

Response Fields​

FieldTypeDescription
idintInternal mandate record ID
sessionIDstringNPS session identifier
mandateReferenceNumberstringNPS mandate reference number
debitAccountNumberstringAccount being debited
debitAccountNamestringDebtor account name
beneficiaryAccountNumberstringBeneficiary (creditor) account
beneficiaryAccountNamestringBeneficiary account name
destinationInstitutionCodestringCounterpart bank code. Equals our bank code for inward mandates; differs for outward
amountdecimalMandate collection amount
mandateStatusstringCurrent status: Active, Pending, Cancelled, Amended
statusMessagestringStatus detail or cancellation reason
sourceProviderstringAlways "nps" for NPS mandates
dateCreateddatetimeWhen the mandate was created
lastUpdateddatetimeLast status update time
responseCodestringNPS response code