The bank has been working on software that would allow it to plug into Amazon’s existing loan platform. Small and medium businesses account for more than half of everything sold in Amazon's stores.