Lending
Application Decisioning - Pav2
Attachments by appID
 preapproval api upload supporting files this new preapproval api allows you to upload supporting files associated with an application the identifier of the application set is the application id that is created for each application in the partner's system, and has been sent in to pre approval { "name" "endpoint /v2/applications/{id}/attachments", "method" "post", "url" "https //lendingsandbox crbcos com/preapproval/v2/applications/by app id/{application id}/attachments", "description" "upload a collection of attachments to an application that has been sent into pre approval v2", "tab" "examples", "examples" { "languages" \[ { "id" "l44lybpekpvvxd2s4itgr", "language" "curl", "code" "", "customlabel" "" }, { "id" "2zw9pmcfkgqgvkmpc zz1", "language" "nodejs", "code" "", "customlabel" "" }, { "id" "ytvnprg s9zng3kp9wt4k", "language" "python", "code" "", "customlabel" "" }, { "id" "q9wgw9osncsqcp68udz0n", "language" "ruby", "code" "", "customlabel" "" }, { "id" "uamstop2fdbraiudxn9ci", "language" "go", "code" "", "customlabel" "" } ], "selectedlanguageid" "2zw9pmcfkgqgvkmpc zz1" }, "results" { "languages" \[ { "id" " qq8 titi2nzdm7phxhyr", "language" "200", "customlabel" "", "code" "ok" }, { "id" "qjrefapukavxc3uc1lwa5", "language" "400", "code" "bad request", "customlabel" "" }, { "id" "mnkwosgw 1na1xf4lhqmw", "language" "401", "code" "unauthorized", "customlabel" "" } ], "selectedlanguageid" " qq8 titi2nzdm7phxhyr" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "name" "id", "kind" "required", "type" "string", "description" "the identifier of the application set is the application id that is created for each application in the partner's system, and has been sent in to pre approval ", "" "the identifier of the application set is the application id that is created for each application in the partner's system, and has been sent in to pre approval " } ], "formdataparameters" \[ { "name" "attachment", "kind" "required", "type" "string", "description" "the zip file (see important note below) should include all documents that a client submits with an application and all documents the partner sends back to the client for this application ", "" "required" } ] }, "currentnewparameter" { "label" "form parameter", "value" "formdataparameters" } } important the zip file should contain the complete document package this includes the loan agreement aan credit report relevant documents or responses from vendors used to decision the application according to your credit underwriting policy as well as your bsa aml processes any data point used as input to your model for a list of acceptable attachment naming conventions, please refer to add loan documents the api is available in the latest postman collection and in the swagger documentation