UNPKG

@fenil265/fundly-payment-sdk

Version:

Fundly Payment SDK for seamless integration with Fundly Pay systems.

32 lines 778 B
/** * Authentication API Service * All authentication-related API calls */ export interface LoginCredentials { loginType: string; username: string; password: string; } export interface LoginResponse { accessToken: string; } export interface OtpPayload { mobileNumber: string; } /** * Partner login API */ export declare const loginPartner: (credentials: LoginCredentials) => Promise<LoginResponse>; export interface ValidateOtpPayload { mobileNumber: string | null; otp: string; } /** * Trigger OTP API */ export declare const sendOtp: (mobileNumber: string) => Promise<any>; /** * Validate OTP API */ export declare const validateOtp: (payload: ValidateOtpPayload, authToken?: string) => Promise<any>; //# sourceMappingURL=auth.api.d.ts.map