How to categorize Shopify Capital Financing?

Shopify offers capital to folks who sell via their web site platform. They financed us $1000, and we pay it back which each sale. (We give 13% back to shopify with each sale made via our web site.) How do I categorize the initial $1000 that came from Shopify Capital? And how do I categorize the bit of each sale I make that goes back to Shopify to pay back the initial balance of the financing they provided our small business?