Create facilityAsk AIpost https://api.atlar.com/financial-data/v2beta/facilitiesCreate a credit facility.Body ParamslenderENTITYTHIRD_PARTYrequiredThe lender of the facility.EntityRef objectborrowersarray of objectsrequiredlength ≥ 1The borrowers under this facility.borrowers* objectENTITYTHIRD_PARTYtypestringenumrequiredENTITYAllowed:ENTITYidstringrequiredID of the entity.ADD EntityRef | ThirdPartyRefaliasstringlength ≤ 255An alias for the facility.commitmentAmountobjectrequiredThe total committed amount of the facility.commitmentAmount objecttermsarray of objectsrequiredLoan terms applicable to drawdowns from this facility.terms*ADD objectfeeTermsobjectFee terms for the facility.feeTerms objectfeeSettlementobjectSettlement schedule for fee payments.feeSettlement objectexpiryDatedateThe expiry date of the facility.timezonestringrequiredThe timezone of the date and time. This is a standard timezone identifier, such as "Europe/Stockholm", "America/Los_Angeles", or "Europe/London". Ie. this is not an offset from UTC.documentsarrayDocuments associated with the facility.documentsexternalIdstringExternal ID is optional to use, but if used, the Atlar platform will persist it, index it, as well as require it to be unique across all resources. It is possible to retrieve a resource using the external ID using the prefix external:.drawdownAccountIdstringID of the internal account from which drawdowns are funded. Only applicable when the lender is an internal entity.allowRolloverbooleanWhether loans under this facility can be rolled over at maturity.truefalseResponses 201The created facility. 400Bad request. 409A facility with the same external ID already exists.Updated about 3 hours ago