ApiCoreType aliases
Type Alias: PayAnswer
type PayAnswer =
| {
checkout: string;
}
| {
request: {
amount: string;
evm?: {
chainId: number;
chainName: string;
to: string;
token: string;
units: string;
};
expires: number;
uri: string;
};
};Defined in: packages/core/src/session/hosting.ts:445
What a host answers when asked to take a payment: a page to open, at a payment provider; or a request for a wallet to pay, whose arrival the host sees by itself.