vue3-flutterwave
Version:
Vue3 package for integrating to Flutter Payment Gateway to recieve payments
29 lines (26 loc) • 661 B
TypeScript
declare module "vue3-flutterwave" {
interface ICustomer {
email?: string,
phone_number?: string,
name?: string,
}
interface ICustomizations {
title?: string,
description?: string,
logo?: string,
}
interface IMeta {
[key: string]: string | number | symbol | any
}
export interface IFWOptions {
public_key?: string,
tx_ref?: string,
amount?: number,
currency?: string,
payment_options?: string,
redirect_url?: string,
meta?: IMeta
customer?: ICustomer
customizations?: ICustomizations
}
}