Purchasing a loan
lending selling apis overview the cos lending selling api enables marketplace lenders (mpls) and investors to purchase loans through a streamlined api the purchase process includes validation, fund transfers, interest accrual calculations, and automated reporting cross river provides you (or your investor) three options to purchase your loans using the selling system (part of lending) recommended api and webhook integration for full automation and loan level monitoring as the loan moves from "pending" to "in seasoning" to "ready for purchase" to "purchased" low touch log in to the ui, review and click to purchase no touch auto debit your account with cross river regardless of the option, you can configure hooks https //docs crossriver com/apis/digital lending/hook notifications#nxa6z to receive a purchase confirmation via email or slack holdforsale ("hfs") and long term hold for sale ("lthfs") are the loan types managed in selling you can also view loans that cross river retains ("ret") apis api description get/selling/api/loans/{loantype} docid\ hhjpmea46owsrih1maocc get all loans by loan type post /selling/api/loans/purchase docid bbstnm0jxyjk87wbgocc purchase loans post/selling/api/purchase/total docid\ vfmylweqgrzadj6byhhei calculate the expected total purchase amount before executing the purchase post/selling/api/loans/endseasoning docid\ aej9cy51e0oaqnk0pd6k5 transition lthfs loans from inseasoning status to readyforpurchase status, making them immediately available for purchase get /selling/api/sofr docid\ l r64j8fmovhw5oxcbkb5 retrieve the most recent soft (secured overnight financing rate) value used for interest rate calculations get /selling/api/loans/{id}/info docid\ n78btd7ycw1y d30es4sd retrieve detailed information for a specific loan by its id get /selling/api/loans/{id}/purchase details docid 9oqcisb qhwixubq1essb retrieve sale details for a loan including statuses, dates, amounts, and fee collection information get /selling/api/loans/{id}/total docid\ niydplkzjqayftz6ekzn0 calculate the total amount for a specific loan, including adjusted loan amount plus accrued interest get /selling/api/loans/aggregation docid\ ntycxg5z3fahpqdjyx1cw retrieve aggregated loan counts and amounts grouped by loan type and sale status for a specific mpl get /selling/api/loans/receipt/{purchaseid} docid\ mv4c2slzztgvj xrz3hcc retrieve the purchase receipt (invoice) for a completed purchase batch by its purchase batch id post /selling/api/loans/purchase/balance docid\ roc0zw0 mbfjdow3ewwsb get the current balance of the purchase account that would be used for the specified purchase parameters post /selling/api/loans/purchase/accounts balances docid\ wwzzkxxuhisyefewfewv3 get the purchase accounts and their balances for loans matching the given purchase parameters get /selling/api/loans/purchase/accounts docid\ oh9qjxgwfrit7xroi 09z retrieve all purchase accounts that can be used for purchasing loans with the specified parameters get /selling/api/loans/purchase/purchaseallowed docid\ apz1bmy6ybozakyjtr8t8 check if loan purchasing is allowed on a specific date based on system configuration and business rules ui the sandbox ui is https //lendingappsandbox crbcos com/loans/selling https //lendingappsandbox crbcos com/preapproval/applications the production ui is https //lendingapp crbcos com/loans/selling api location swagger https //lendingsandbox crbcos com/selling/swagger/index html https //lendingsandbox crbcos com/selling/swagger/index html \<u> \</u> https //lendingsandbox crbcos com/selling/swagger/index html url for sandbox https //lendingappsandbox crbcos com/loans/selling https //lendingappsandbox crbcos com/loans/selling https //lendingappsandbox crbcos com/loans/selling base url for production https //lendingapp crbcos com/loans/selling https //lendingapp crbcos com/loans/selling https //lending crbcos com/preapproval/v1 api scope for sandbox is coslending\ selling\ stg api scope for production is coslending\ selling\ prd