Skip to main content

GET /afps/payment-notices/{id}

Summary

Get Payment Notice

URL Parameters

NameTypeRequiredDescription
idstringYesPayment notice id or nanoid

Query Parameters

  • None

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/{id}' \
-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": "processed",
"afp": {
"id": "67bc36db80a1616ec3f4b101",
"reference": "AFP-1044"
},
"company": {
"id": "67bc36db80a1616ec3f47001",
"name": "Requidex Construction Ltd"
},
"agency": {
"id": "67bc36db80a1616ec3f47101",
"name": "Northline Labour Desk"
},
"approvedAmount": 1350,
"disputedAmount": 0,
"comments": "Accepted in full.",
"processedDate": "2026-03-25T12:00:00.000Z",
"processedFile": {
"fileName": "AFP-1044-payment-notice.pdf",
"url": "https://files.requidex.com/payment-notices/AFP-1044-payment-notice.pdf",
"created": "2026-03-25T12:01:00.000Z"
},
"cancellationComments": null,
"createdAt": "2026-03-20T09:15:00.000Z",
"updatedAt": "2026-03-25T12:01:00.000Z"
}
}

Errors

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