@pwngh/economy-lab
    Preparing search index...

    Type Alias PayoutSettledEvent

    PayoutSettledEvent: WebhookBase & {
        kind: "payoutSettled";
        providerAmount?: Amount;
        providerRef: string;
        sagaId: string;
    }

    A verified payout-settled callback: the payout rail reports it disbursed the USD for one of our submitted payouts. It drives the SUBMITTED -> SETTLED saga step via settlePayout; providerRef/providerAmount are audit-trail only — the posted figures are the rate-derived ones settlePayout computes.

    Type Declaration

    • kind: "payoutSettled"
    • OptionalproviderAmount?: Amount

      The USD the provider reported settling, when the callback carries one. Recorded for reconciliation only.

    • providerRef: string

      The rail's own reference for this disbursement, recorded for the audit trail.

    • sagaId: string

      The payout saga (pay_) this settlement clears.