abowire
Version:
This is the official **Abowire Javascript SDK**, which makes it easy to connect to the Abowire **GraphQL API** and includes all the required dependencies you need.
19 lines (18 loc) • 548 B
TypeScript
import { Currency } from '@abowire/platform-schema';
type CheckoutContainerProps = {
product?: string;
currency?: Currency;
isModal?: boolean;
clientId?: string;
accountId?: string;
redirectUrl?: string;
steps?: string[];
locale?: string;
session?: string;
country?: string;
onSuccess?: (data: any) => void;
onClose?: () => void;
};
export declare const createCheckoutContainer: (props: CheckoutContainerProps) => Promise<any>;
export declare const destroyContainers: () => Promise<void>;
export {};