Skip to main content

Get NPS Request-to-Pay Approvals

Overview​

GetNpsRequestToPayApprovalsQuery returns a paginated list of inbound NPS Request-to-Pay approvals — these are pain.013 messages received from another bank asking our customer to approve or reject a payment.

Command Details​

  • Command: GetNpsRequestToPayApprovalsQuery
  • Type: Query

API Endpoint​

POST /api/bpm/cmd

Request Structure​

FieldTypeRequiredDescription
pageNumberintNoPage number (default: 1)
pageSizeintNoRecords per page (default: 20)
statusstringNoFilter by decision status (e.g., "Pending", "Approved", "Rejected")
searchTextstringNoSearch by account number, end-to-end ID, or name
startDatestringNoFilter by requestReceivedAt ≥ this date (yyyy-MM-dd)
endDatestringNoFilter by requestReceivedAt ≤ this date (yyyy-MM-dd)
isExportboolNotrue to export all results as Excel

Try It Out​

POST/api/bpm/cmdGetNpsRequestToPayApprovalsQuery
Request Body

Response Structure​

{
"isSuccessful": true,
"statusCode": "00",
"count": 1,
"data": [
{
"id": 401,
"paymentInformationId": "PMTINF-001",
"endToEndId": "E2E-20260301-001",
"debtorAccountNumber": "0123456789",
"debtorName": "JOHN DOE",
"debtorBankCode": "090114",
"creditorAccountNumber": "9876543210",
"creditorName": "ABC COMPANY",
"creditorBankCode": "000014",
"amount": 25000.00,
"narration": "Invoice payment",
"status": "Pending",
"reasonCode": null,
"expiryDateTime": "2026-03-02T08:00:00Z",
"requestCreDtTm": "2026-03-01T08:00:00Z",
"requestReceivedAt": "2026-03-01T08:00:05Z",
"decisionedAt": null,
"lastPain014SentAt": null,
"lastPain014ResponseStatus": null
}
]
}

Key Fields​

FieldDescription
paymentInformationIdpain.013 PmtInfId
endToEndIdEnd-to-end transaction reference
statusPending → waiting for customer decision; Approved / Rejected → decided
expiryDateTimeWhen the request expires if not actioned
decisionedAtWhen our customer made the decision
lastPain014SentAtWhen the pain.014 response was last sent to the creditor bank
lastPain014ResponseStatusHTTP/NPS status of the last pain.014 transmission