Interface PaymentPresentationData

interface PaymentPresentationData {
    amount: number;
    currency: string;
    intents?: ("PAY" | "SUBSCRIBE" | "SIGNUP" | "SIGNIN" | "DONATE")[];
    locale?: string;
}

Properties

amount: number
currency: string
intents?: ("PAY" | "SUBSCRIBE" | "SIGNUP" | "SIGNIN" | "DONATE")[]
locale?: string

Sets the language and region (e.g., en-US).

If you don’t set this, it will automatically use the value chosen when you first set up the Web SDK. If that’s not available, it will use your browser’s settings instead.

en-US