Afterpay is a payment processor, not a credit card company. Therefore, it does not affect your credit score.