Loading...
public final Boolean cancelTransaction(StringrequestId)
Cancel an ongoing financial transaction.
This method attempts to cancel a transaction that is currently being processed. It uses the existing service connection that was created by the financialRequest() call.
true if the cancellation request was sent successfully, false if: - No active transaction found with this requestId - Active transaction has different requestId - Service call failed
Note: This method returns immediately after sending the cancel request to the service. The actual cancellation happens asynchronously on the service side. The original financialRequest() call will receive a response indicating cancellation.
Orchestrator API
| requestId | The ID of the request to cancel (the same ID used in financialRequest) |