---
title: "Withdrawal status"
description: "Reconcile an existing payout and explain a pending result without submitting another withdrawal."
category: "Guides"
---

Track an existing payout until its provider outcome is known. You need a stable withdrawal/provider reference and application services that own player verification and risk decisions. This pattern does not initiate payments, implement identity checks or decide risk policy.

## Separate checks from confirmation

Define stages that validate the reference, read completed player verification, apply your risk decision, reconcile the existing payout and notify the player. Register them using the [.NET](https://pipelogiq.com/docs-next/net/workflows/) or [Java](https://pipelogiq.com/docs-next/java/workflows/) recipes.

Return a specific outcome and correlation reference from each stage. A terminal business rejection stops or enters your explicit rejection path; it must not enter an automatic retry loop. “OK” is not enough to establish that money moved.

## Reconcile an existing payout

The confirmation handler always queries the existing payout reference. Classify its result before deciding what to do next:

| Provider outcome | Handler action | Evidence to keep |
| --- | --- | --- |
| Confirmed | Record confirmation and allow notification | Confirmed reference and time |
| Definitively rejected | Stop or follow the rejection path | Support-safe reason |
| Pending | Return a classified transient condition; use bounded retries | Last check and next planned check |
| Timeout or lost connection | Query again with the same reference | Unknown outcome, not a claim of failure |
| Missing/inconsistent reference | Escalate for reconciliation | The discrepancy; do not create a replacement payout |

Use retry delays for bounded status polling. There is no general delayed-stage timer. For checks that must continue outside this run's retry window, implement periodic reconciliation through a [schedule](https://pipelogiq.com/docs-next/schedules/) and a durable business backlog.

## Keep the customer answer specific

Expose which checks completed, when the provider was last queried and whether another check is planned. A pending confirmation is distinct from a failed request. Do not describe an integration timeout as proof that funds were lost.

## Confirmations and cancellation

Provider polling and human approval are different mechanisms. A status check executes a handler again; a WaitingForApproval stage remains parked until your application submits an authorized API decision. Use the [approval contract](https://pipelogiq.com/docs-next/reliability/), not an approval wait as an implicit provider-event subscription.

Cancelling a pipeline stops further orchestration and fences unfinished attempts. It does not reverse an external payout. Model any reversal as a separate authorized business operation with its own reconciliation rules.

## Implement and verify

Test confirmed, rejected, pending, timeout and inconsistent-reference outcomes against a provider fake. For every retry, assert that the external payout reference stays the same and that no new payout is submitted. Also test exhaustion of the retry limit: it must leave a visible unresolved operation for the reconciliation/escalation path, not silently report confirmation.

Then repeat a pending-to-confirmed scenario through a local server and inspect attempts, logs and the final notification. A green stage or a successful unit test alone does not prove provider confirmation.
