Loans purchase
post/selling/api/loans/purchase this api executes the purchase of loans based on loan type and purchase date the request body includes key details such as the date, loan type, (1 for hfs, 2 for lthfs), issuing bank, mpl id, and investor id (optional) the date parameter is required but does not impact the purchase process if the investor id is left empty, loans will be purchased without investor allocation for example purchase hfs loans for mpl tst for issuing bank cross river sample request { "date" "2025 01 01", "loantype" 1, "issuingbank" "crb", "mplid" "yourmplid", "investorid" "\[yourinvestorid]", "datefilter" { "datetype" "\[fundeddate], "fromdate" "2026 05 14t06 40 03 854z", "todate" "2026 05 14t06 40 03 854z" }, "purchaseaccountnumber" "2392433617" } attributes description parameter description date purchase date in yyyy mm dd format must be a federal reserve business day (required) loantype loan type 1 = hfs (held for sale), 2 = lthfs (long term held for sale), 3 = ret (retained) (required) issuingbank issuing bank identifier (e g , "crb") (required) mplid your marketplace lender identifier (required) investorid your investor identifier (required) purchaseaccountnumber specific purchase account to use if omitted, the default account for your investor will be used (optional) datefilter date types include fundeddate, purchasedate, originalpurchasedate andseasoningstartdate all date filters use the same yyyy mm dd format both the "from" and "to" dates are optional sample response { "batchid" "550e8400 e29b 41d4 a716 446655440000", "status" "purchaserequested", "loancount" 25 } when the purchase is complete, the user can receive a webhook "batchpurchasecomplete"