@spot-flow/checkout-inline-js
Version:
This project is an inline library that enables users to make payments seamlessly. It integrates smoothly into your application, providing a streamlined checkout experience.
25 lines (24 loc) • 607 B
TypeScript
export type SpotflowProps = {
rdtCode?: string;
merchantKey: string;
encryptionKey: string;
planId: string;
regionId?: string;
email: string;
phone?: string;
phoneNumber: string;
code: string;
amount?: number;
currency?: string;
onSuccess?: (_val?: any) => void;
onClose?: () => void;
reference?: string;
firstname?: string;
lastname?: string;
onTransferConfirmationPending?: (_val?: any) => void;
callBackUrl?: string;
metadata?: Record<string, unknown>;
localCurrency?: string;
url?: string;
countryCode?: string;
};