canMakePayment

suspend fun canMakePayment(): Boolean(source)

The PaymentRequest method canMakePayment() determines whether or not the request is configured in a way that is compatible with at least one payment method supported by the user agent.

MDN Reference