Function Signature
Description
Executes a payout that was previously quoted withgetPayoutQuote. Returns the destination address and the on-chain deposit conditions your transfer must satisfy. The SDK does not send that transfer — do it yourself, for example with sendAsset.
The payout must be authorized by a trigger. If you omit trigger, Portal builds a single trigger from the quote (an EQ amount condition on its cryptoAmountEstimate) using the network, sourceAddress, expiry, and nonce you passed. Pass trigger to use a permanent or quoted trigger, or your own amount conditions.
Completion and failures are reported asynchronously through Noah Transaction webhooks.
Parameters
Deposit source triggers
NoahOnchainDepositSourceTrigger has one nullable field per variant. Set exactly one of them; otherwise the SDK throws a PortalException with code INVALID_PAYOUT_TRIGGER before calling the native SDK. Use the same sourceAddress, expiry, and nonce on the trigger as on the request.
Amount conditions take a
comparisonOperator string — a NoahComparisonOperator value (eq.value, lteq.value, or gteq.value) — and a value.
Returns
NoahInitiatePayoutResponse - An envelope containing:
NoahInitiatePayoutData:
Example
single trigger:
Errors
Related
- Noah virtual accounts and payouts guide
- ramps.noah.getPayoutQuote
- sendAsset — satisfy the returned deposit conditions
- Noah payouts workflow
- Noah webhooks