resume

fun resume(transactionId: String): TransactionStep

Recovers an UncommittedTransactionResult for WAITING_FOR_COMMIT or TransactionResult for a settled operation. While the terminal reports IN_PROGRESS, this blocks the calling thread and re-polls the status every 250 ms until it settles into one of the states above. Polling is bounded by TerminalOptions.commitTimeout; if the transaction is still IN_PROGRESS once that budget elapses, or the status is UNKNOWN, this throws IllegalStateException - call resume again to keep waiting. A failed or timed-out status request throws TerminalException; it does not establish the payment outcome. Recovery may be repeated with the same transaction ID. Only data available from the status endpoint is recovered. Missing authorisation data is null.