Skip to main content
This walkthrough shows how to create and sign a payout with the TypeScript, Python, or Go SDK. You then use the returned funding link to fund the payout from your organization’s wallet and check its status.

Before you begin

  • An organization in the sandbox dashboard, with an API key and its client ID
  • A signer key for finalization, kept in backend configuration
To create the API key, open your organization settings in the sandbox dashboard and go to the API Keys tab. To create or register the signer key, go to the Signing Keys tab in the same settings. See Authentication and Signing keys for setup instructions.
1

Install the SDK

2

Initialize

3

Create a payout

Create an instant payout in USDC on Base testnet, paying receivers directly:
Creating a payout saves its details without transferring funds. You can add, edit, or remove payments until you finalize it.
4

Add recipients by identity (optional)

Call addRecipients to add a recipient by a known identity, such as an email address or GitHub username. Pvium looks up the associated account and wallet:
Recipients added this way must already be Pvium users — the identity resolves to their account and wallet, and the result separates added recipients from errors. Use resolveRecipients first to check who resolves. To pay someone who is not on Pvium yet, send them an invite instead. See Identity.
5

Finalize and get the funding link

Finalization signs the payout with your organization’s signer, locking recipients, amounts, and schedule:
For scheduled payouts you can create and finalize in one call with createFinalized.
6

Fund the payout

Open the returned funding URL, or share it with the person responsible for your treasury wallet. Review the signed payout details on the page, then authorize funding from that wallet. Creating and finalizing the payout do not transfer funds. See Finalize a payout.
7

Track it

Poll the payout or list its payments:
For push updates, configure a webhook on your organization.

Next steps

Create a payout

All payout types, chains, currencies, and payment fields.

Webhooks

Verify and handle payout lifecycle events.