Webhooks
Lending
5min
h ooks is a notification system, used by arix, to update you on the status of your loan hooks report to your system with real time notifications when an event happens on arix you have to register to receive hooks for each relevant event type by configuring the destination and delivery method, most commonly webhooks when that event occurs, a hook is triggered and reports the updates to your system via the chosen delivery method for example, if a rail status changes to returned , a railupdated hook event would be triggered, and reported to the partner notifying them of the event this notification will only be sent out, if you have previously registered to receive this type of event ( railupdated ), and the registration is active important to access the links below you must have the following ip addresses allowlisted sandbox 66 206 202 39 , 66 206 202 12 production 66 206 202 62 , 66 206 202 15 swagger https //lendingsandbox crbcos com/hooks/swagger/index html base url for sandbox https //lendingsandbox crbcos com/ sandbox ui https //lendingappsandbox crbcos com/hooks/registrations production ui https //lendingapp crbcos com/hooks/registrations api scope coslending\ hooks\ stg for sandbox coslending\ hooks\ prd for production by default, a webhook that fails will retry 3 times with a delay interval of 5 minutes different intervals can be configured for a registration by the cr support team events can also be sent out again manually, if necessary, via an api request sample events loanstatusupdate this event is reported every time the status of a loan is changed { "id" 0, "loanid" "3f07773b 5ba5 43e6 bf30 aea200361dad", "status" 104, "timestamp" "2022 05 30t03 17 43 6233616+00 00", "dateinserted" "0001 01 01t00 00 00+00 00" } complianceloanfailed this event is reported every time the loan fails to pass all compliance checks { "mplid" "xxx", "loanid" " guid ", "createdate" "date", "failedrulesreasons" \[ { "rulename" "rule name", "rule" "some string", "data" "some string", "result" true, "failedcomplianceid" 67 } ] } railupdated this event is reported when there is a status update to a rail that was requested { "id" 0, "railid" "…id of rail that is received when rail created…", "loanid" "fd331267 6ac2 4818 9d0f ab2f00747b61", "railtype" 8, "amountfunded" 8500 0, "railtransactionid" "…railid from cos…", "fundresult" int(this is enum railresulttype), "message" "description of rail created if no error returned", "processedat" "2019 12 26t07 05 09z", "transactiongroupid" "9dde776d 0c04 4bc8 9c9c e0ad9a83c447" }