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\ acls7xmqoriqexuwkchi get all loans by loan type post /selling/api/loans/purchase docid\ scuwxdvkgmk0wtoc74toj purchase loans post/selling/api/purchase/total docid\ lmg v pdpsry6 tnb2unx calculate the expected total purchase amount before executing the purchase post/selling/api/loans/endseasoning docid 4b70vplfujuceip95oqez transition lthfs loans from inseasoning status to readyforpurchase status, making them immediately available for purchase get /selling/api/sofr docid\ abrff5sje3z0qj vvbhfc retrieve the most recent soft (secured overnight financing rate) value used for interest rate calculations get /selling/api/loans/{id}/info docid\ ahb0ajpxgcw4kmr arbmg retrieve detailed information for a specific loan by its id get /selling/api/loans/{id}/purchase details docid 6zdzz wbf0juldluafixv retrieve sale details for a loan including statuses, dates, amounts, and fee collection information get /selling/api/loans/{id}/total docid 6ee5tchad98vi2v8pholk calculate the total amount for a specific loan, including adjusted loan amount plus accrued interest get /selling/api/loans/aggregation docid\ gw q12 5et5mupyzahh8 retrieve aggregated loan counts and amounts grouped by loan type and sale status for a specific mpl get /selling/api/loans/receipt/{purchaseid} docid\ c6hyxlptqsva1ffop msz retrieve the purchase receipt (invoice) for a completed purchase batch by its purchase batch id post /selling/api/loans/purchase/balance docid 1ksf6yxedmp6mpzqcsxvj 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\ nifw54ln g7hsf2v9zauv get the purchase accounts and their balances for loans matching the given purchase parameters get /selling/api/loans/purchase/accounts docid\ q3vc3 8hvxxhkoioj0g3m retrieve all purchase accounts that can be used for purchasing loans with the specified parameters get /selling/api/loans/purchase/purchaseallowed docid\ kei4aclgwid0kt9dtmeta 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 url for sandbox https //lendingappsandbox crbcos com/loans/selling base url for production https //lending crbcos com/preapproval/v1 api scope for sandbox is coslending\ selling\ stg api scope for production is coslending\ selling\ prd