Approvals
A payout above your business’s configured threshold — set in Settings → Payment Methods → payout policy — is held instead of released immediately, and a designated approver is emailed a link.
Approving or rejecting is deliberately not part of this API — it happens by a human clicking the emailed link into the dashboard, authenticated as themselves. An API key can’t approve its own payout.
If you’re the only owner or finance member
A workspace with a single owner or finance member has no second person to approve a held payout. In that case the confirmation email goes to the person who requested it, and approving it requires a fresh one-time code that we email to that account. The hold window, daily payout cap, and release checks still apply. Whenever a second eligible approver exists, the request is routed to them as before.
What your integration can do
Everything short of the actual approve/reject decision is available:
TypeScript
// See where a batch stands
const batch = await vectapay.payouts.getScheduledBatch(batchId);
// { status: 'APPROVAL_PENDING' | 'SCHEDULED' | 'BLOCKED' | 'CANCELLED' | 'RELEASED', ... }
await vectapay.payouts.cancelScheduledBatch(batchId); // withdraw it before release
await vectapay.payouts.resendApproval(batchId); // approver lost the email
await vectapay.payouts.restoreScheduledBatch(batchId); // undo a cancel
await vectapay.payouts.refreshRelease(batchId); // recompute the release time
await vectapay.payouts.executeScheduledBatchNow(batchId, batchId); // second arg confirms; skips the hold windowThe second argument is the confirmation text: it must be the batch ID exactly (BATCH-…), not a
phrase. Immediate execution works only once the batch is SCHEDULED — the approval decision comes
first — and release still re-checks your working balance and daily payout cap. It skips the wait,
not the money controls.
Finding out when it’s decided
Listen for the batch’s status to move to SCHEDULED (approved, waiting to release) or
CANCELLED/BLOCKED (rejected) — poll getScheduledBatch() if you need to reflect this in your
own system, since approval itself has no webhook event of its own today.