transactionStatus method
Queries the status of a transaction (v2). Useful to recover the result after a connection dropped mid-payment.
When the returned response has TransactionResponse.isInProgress true,
the transaction is still running and should be polled again.
Implementation
Future<TransactionResponse> transactionStatus({
required String transactionId,
}) {
final uri = _uri('api/v2/transactions/$tid/$transactionId', null);
return _sendTransactionUri('GET', uri, null);
}