Status: Accepted (in force). Reconstructed.

Context

Bank transfers don't complete instantly. A provider accepts a payout request, then confirms success/failure later. PaidHR must reflect the true outcome without blocking.

Decision

Payouts are initiate → pending → confirm: PaymentService initiates, persists a staging item, and the provider calls back via a webhook (FlutterwavePayoutNotification, Paystack notification) that flips the item to success/failed (TransferStatuParams). Reconciliation workers (PaymentSynchronizationService, PaymentAcknowledgementConsumerService) catch late/missing webhooks.

Consequences

Good: accurate final status; non-blocking; a safety net when webhooks are late.

Bad / costs: eventual consistency — a payout can sit "pending"; webhooks can be re-delivered (need idempotency) or lost (need reconciliation); "money left, not arrived" is a real support state.

Alternatives

Related

runbook §2, technical §5.