The errors array within the web-hook payload plays critical role in identifying issues that arise during an event, associated with a Payable. In certain scenarios, the errors array may capture multiple errors related to a single event.
Each error listed within the array gives detailed info on the specific issue, covering:
{
"message": "Party with partyReferenceId 1f25c80d-881b-4a96-a024-afd275263740 has not been created.",
"statusId": 4,
"eventReferenceId": "1f25c80d-881b-4a96-a024-afd275263740",
"eventTimeStamp": "2024-03-28T06:36:10.641711-04:00",
"correlationId": "",
"errorsAndNotices": {
"errorFound": true,
"errors": [
{
"message": "Party with partyReferenceId 1f25c80d-881b-4a96-a024-afd275263740 has not been created. Business name is required if party type is business.",
"propertyName": "businessName",
"reasonCode": "RVFE0001",
"reason": "Cannot be null, empty, or zero"
}
],
"notices": []
}
}