How is income determined for tax purposes?

Hello,

Shopify deducts a certain amount before it pays out. In the tax season what would be the income? The amount that customer purchased or the amount you actually get paid?

Thank you