@lomray/microservice-payment-stripe
Version:
Stripe payment microservice based on NodeJS & inverted json.
18 lines (17 loc) • 590 B
TypeScript
import BusinessType from "../../constants/business-type.js";
import StripeAccountTypes from "../../constants/stripe-account-types.js";
declare class ConnectAccountInput {
userId: string;
email: string;
accountType: StripeAccountTypes;
refreshUrl: string;
returnUrl: string;
businessType?: BusinessType;
}
/**
* Create new connected account
*/
declare const connectAccount: import("@lomray/microservice-helpers/services/endpoint").IReturnWithMeta<never, ConnectAccountInput, Record<string, any>, {
accountLink: string;
}>;
export { connectAccount as default };