retry

inline suspend fun PaymentResponse.retry(errorFields: PaymentValidationErrors)(source)
inline suspend fun PaymentResponse.retry()(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