{"templateId":"api_docs","sharedDataIds":{"apiDocsStore":"api-docs-apis/public-api.yaml","sidebar":"sidebar-sidebars.yaml"},"props":{"definitionId":"apis/public-api.yaml","settings":{"baseUrlPath":"/apis/public-api"},"disableAutoScroll":true,"seo":{"title":"Create a loan","llmstxt":{"hide":true},"description":"Start a loan, as a banker does with Start new loan. Send the product, the use-of-proceeds lines, the borrower and the primary contact. The bank derives the loan amount from the lines, the closing costs and the deposit, and starts the loan in the first Prequalify stage with the terms of the product. A borrower or contact is an existing business or person (businessId, personId) or a new one, with the same fields as POST /loans/{id}/businesses and POST /loans/{id}/people. A new party needs the write:businesses or write:people scope. Every other field of the loan is written with PATCH /loans/{id}. Only the built-in use-of-proceeds categories can start a loan."},"dynamicMarkdocComponents":[],"metadata":{"subType":"openapi-operation"},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"docs.pioneerft.com","port":4000,"ipAddress":"216.73.216.165"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"main"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/apis/public-api/loans/createloan","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}