retry

suspend fun retry(errorFields: PaymentValidationErrors = definedExternally)(source)

The PaymentResponse interface's retry() method makes it possible to ask the user to retry a payment after an error occurs during processing.

MDN Reference