What finalization does
When you callpayout.finalize(signer), the SDK:
- Computes the payout hash from its funding token, timing rules, and rail.
- Builds a Merkle tree over the exact payments, so each recipient’s claim is provable against the signed root.
- Signs the result with your signer and stores the signature, hashes, and per-recipient proofs with the payout.
The funding link
OpenfundingUrl to fund the finalized payout in the dashboard (for example https://sandbox.pvium.com/batch/0x…). The page shows the signed payout details. Share the link with the person responsible for your treasury wallet so they can review the payout and authorize funding under your organization’s approval process.
Create and finalize in one call
For scheduled payouts, callpvium.payout.createFinalized to create and sign the payout in one call:
Finalize options
Signers
Use your organization’s signing key to sign the payout finalization. To create or register this key, open your organization settings in the dashboard and go to the Signing Keys tab. See Signing keys for setup instructions.createSignerFromPrivateKey(key)creates an EVM signer from a private key held in backend configuration.- Pass a custom signing function when your key lives elsewhere, such as an HSM or KMS.
Payout keys
To let an automated service pay from a funded pool, authorize a payout key for that pool. Set a maximum amount per transaction, a maximum total amount, and an expiration. The service uses the payout key to make payments within those limits without access to your organization’s signing key.Signing keys
The funding signer, payout keys, and how to authorize them from the dashboard or SDK.

