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
| Parameter | Type |
|---|---|
|
| |
|
|
|
Returns
Promise<WalletPaymentOutcome>
Last updated on