The three-year partnership enables Affirm to extend over $20 billion in loans, strengthening its position in the growing fintech and private credit sectors.