Docs

PayUIOptions

type PayUIOptions = {
buyWithCrypto?:
| false
| {
prefillSource?: {
allowEdits?: { chain: boolean; token: boolean };
chain: Chain;
token?: {
address: string;
icon?: string;
name: string;
symbol: string;
};
};
};
buyWithFiat?: { testMode?: boolean } | false;
prefillBuy?: {
allowEdits?: { amount: boolean; chain: boolean; token: boolean };
amount?: string;
chain: Chain;
token?: {
address: string;
icon?: string;
name: string;
symbol: string;
};
};
};