Skip to Content
Anuma SDKReactInternalType AliasesCreateWalletPaymentToolOptions

CreateWalletPaymentToolOptions

CreateWalletPaymentToolOptions = CreateUIToolsOptions & object

Defined in: src/tools/walletPayment.ts:50 

Options for createWalletPaymentTool.

Type Declaration

pay()

pay: (request: WalletPaymentRequest, signal?: AbortSignal) => Promise<WalletPaymentOutcome>

Pays the booking: if signal fires before submitting, stop there; if it fires after submitting, show the user the real outcome, because the tool result will read cancelled.

Parameters

ParameterType

request

WalletPaymentRequest

signal?

AbortSignal

Returns

Promise<WalletPaymentOutcome>

Last updated on