it is the nominal value of the sale at the merchant: customer pays 100 for a shirt = 100$ ‘underlying sales’. Afterpay take their percentage from that amount (4% seems to be the rate most quoted, which gives them $4 (ish) revenue from underlying sales of $100).