It's (essentially) factoring.
> If the factoring transfers the receivable "without recourse", the factor (purchaser of the receivable) must bear the loss if the account debtor does not pay the invoice amount.[1] If the factoring transfers the receivable "with recourse", the factor has the right to collect the unpaid invoice amount from the transferor (seller).
Even in a scenario where the transfer specified "with recourse" there is no guarantee that the seller will still be solvent so there is a risk to the purchaser.