ButtonDynamicPrice
Constructor
new ButtonDynamicPrice(config)
new ButtonDynamicPrice(config)Parameter
Type
Required
Description
interface ButtonDynamicPriceConfig {
price: number; // Payment amount
apiKey: string; // Your KiraPay API key
customOrderId?: string; // Custom order identifier
title?: string; // Button text
className?: string; // CSS class name
style?: object; // Inline styles
loading?: boolean; // Initial loading state
}import { ButtonDynamicPrice } from 'kirapay-merchant-sdk';
const button = new ButtonDynamicPrice(config);Properties
Type
Required
Description
Property
Type
Example
Last updated
Was this helpful?