Afterpay (and the other Buy Now Pay Later competitors like Klarna) are potential financial arrangement facilitators for their customers.
Sure the BNPL model uses effectively invoice factoring with high interest penalties but they do have a financial relationship with both vendors and buyers.
There's a lot to leverage there. It's Paypal with lending attached.