Skip to main content

Function Signature

Description

Executes a payout that was previously quoted with getPayoutQuote. Returns the destination address and the on-chain deposit conditions your transfer must satisfy. The payout must be authorized by a trigger. Either supply one explicitly through trigger, or rely on a saved payment method attached to the quote via paymentMethodId — when trigger is omitted and the saved method is a single on-chain deposit source, a default trigger is synthesised from the sourceAddress, expiry, and nonce you passed. Completion and failures are reported asynchronously through Noah Transaction webhooks.

Parameters

Deposit source triggers

NoahOnchainDepositSourceTrigger is an enum with three cases. The wire format is discriminated by a Type field, so the enum encodes its wrapped value transparently — no extra nesting is added to the JSON. Each trigger input defaults its type property to the correct discriminator. Trigger inputs serialize their fields in PascalCase (Type, Conditions, SourceAddress, Expiry, Nonce) to match the Noah API wire format.

Returns

NoahInitiatePayoutResponse — an envelope containing: NoahInitiatePayoutData:

Example

With an explicit .single trigger:

Errors