Afterpay is no longer listed on the Australian Securities Exchange (ASX) which means you can't directly buy shares in it. But you can buy stock in its parent company Block Inc (previously Square) which is listed on the NYSE and on the ASX as CDIs.