# Type Alias: PayAnswer

```ts
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](https://github.com/leifriksheim/minca/blob/main/core/src/session/hosting.ts#L445)

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.
