Skip to main content

GET /afps/payment-notices

Summary

List Payment Notices

URL Parameters

  • None

Query Parameters

NameTypeRequiredDescription
companystringNoFilter by company id. 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
fromstringNoCreated date filter start (YYYY-MM-DD)
tostringNoCreated date filter end (YYYY-MM-DD)
sortByenum(createdAt, updatedAt, paymentNoticeRef, processedDate)NoSort field
sortOrderenum(asc, desc)NoSort direction

Request Body Fields

No request body is accepted for this endpoint.

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
idstringPayment notice id
referencestringPayment notice reference
statusstringPayment notice status
afpobjectLinked AfP with id and reference
companyobject
Show child attributes
  • id string - Company id
  • name string - Company name
agencyobject
Show child attributes
  • id string - Agency id
  • name string - Agency name
approvedAmountnumberAmount approved by the notice
disputedAmountnumberAmount disputed by the notice
commentsstringFree-text comments recorded on the notice
disputeobjectReturned when dispute details exist.
Show child attributes
  • comments string - Notice-level dispute comments
  • disputedItems array - Disputed items with timesheet, expenseId, amount, and reason
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
cancellationCommentsstringCancellation comments when the notice was cancelled
createdAtstringCreation timestamp
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