Skip to main content

GET /afps/payment-notices

Summary

List Payment Notices

URL Parameters

  • None

Query Parameters

NameTypeRequiredDescription
companystringNoFilter by company id(s). Pass a single id or comma-separated ids. If omitted, data for all companies linked to the API key is returned.
pageintegerNoPage number (default 1)
limitintegerNoRecords per page (default 50, max 200)
statusenum(pending, processed, cancelled)NoFilter by payment notice status
querystringNoCase-insensitive search against payment notice reference, AfP reference, and notice comments
afpstringNoFilter by AfP id
dateFieldenum(createdAt, processedDate)NoDate field that from/to apply to. Default: createdAt.
fromstringNoDate filter start (YYYY-MM-DD); applies to dateField
tostringNoDate filter end (YYYY-MM-DD); applies to dateField
sortByenum(createdAt, updatedAt, paymentNoticeRef, processedDate)NoSort field
sortOrderenum(asc, desc)NoSort direction
fieldsstringNoComma-separated list of response fields or dot-path nested fields to return

Request Example

curl -X GET 'https://api.requidex.com/api/open/v1/afps/payment-notices?status=pending' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Accept: application/json'

Response Fields

FieldTypeDescription
afpobjectLinked AfP with id and reference
agencyobject
Show child attributes
  • id string - Agency id
  • name string - Agency name
approvedAmountnumberAmount approved by the notice
cancellationCommentsstringCancellation comments when the notice was cancelled
commentsstringFree-text comments recorded on the notice
companyobject
Show child attributes
  • id string - Company id
  • name string - Company name
createdAtstringCreation timestamp
disputeobjectReturned when dispute details exist.
Show child attributes
  • comments string - Notice-level dispute comments
  • disputedItems array - Disputed items with timesheet, expenseId, amount, and reason
disputedAmountnumberAmount disputed by the notice
idstringPayment notice id
processedDatestringTimestamp when the notice was marked processed
processedFileobjectReturned when a processed file is attached.
Show child attributes
  • fileName string - Processed notice file name
  • url string - Processed notice file URL when available
  • created string - Timestamp when the processed file was attached
referencestringPayment notice reference
statusstringPayment notice status
updatedAtstringLast update timestamp

Response Example (200)

{
"success": true,
"data": [
{
"id": "67bc36db80a1616ec3f4d001",
"reference": "RDX-NLD-P1044",
"status": "pending",
"afp": {
"id": "67bc36db80a1616ec3f4b101",
"reference": "AFP-1044"
},
"company": {
"id": "67bc36db80a1616ec3f47001",
"name": "Requidex Construction Ltd"
},
"agency": {
"id": "67bc36db80a1616ec3f47101",
"name": "Northline Labour Desk"
},
"approvedAmount": 1225,
"disputedAmount": 125,
"comments": "Please see disputed item breakdown.",
"dispute": {
"comments": "One timesheet line is disputed pending review.",
"disputedItems": [
{
"timesheet": {
"id": "67bc36db80a1616ec3f4a001",
"reference": "TS-1044"
},
"expenseId": null,
"amount": 125,
"reason": "Hours exceed authorised shift"
}
]
},
"processedDate": null,
"processedFile": null,
"cancellationComments": null,
"createdAt": "2026-03-20T09:15:00.000Z",
"updatedAt": "2026-03-20T09:15:00.000Z"
}
],
"meta": {
"page": 1,
"limit": 50,
"total": 1
}
}

Errors

HTTP StatusMeaning
401Missing, invalid, revoked, or expired API key
403Forbidden due to scope or IP restrictions
405Method not allowed on Open API routes
429Rate limit exceeded
500Unexpected internal error