UNPKG

@paydock/client-sdk

Version:

Paydock client sdk

23 lines 799 B
/** * Base metadata required to configure an OpenWallet button. */ export interface OpenWalletMeta { /** The payment amount as a number (e.g. `19.99`). */ amount: number; /** The ISO 4217 currency code (e.g. `'AUD'`, `'USD'`). */ currency: string; /** The ISO 3166-1 alpha-2 country code (e.g. `'AU'`, `'US'`). */ country: string; /** Optional styling configuration for the wallet button. */ style?: OpenWalletMetaStyles; } /** * Styling options for the wallet button appearance. */ export interface OpenWalletMetaStyles { /** The button type variant (wallet-specific values). */ button_type?: string; /** The button color/style variant (wallet-specific values). */ button_style?: string; } //# sourceMappingURL=open-wallet-meta.interface.d.ts.map