payme-sdk
Version:
A Node.js SDK to integrate with PAYME API
20 lines (19 loc) • 761 B
TypeScript
import * as https from 'https';
export declare class ExternalDataService {
url_payment: string | undefined;
url_onboard: string | undefined;
url_billing: string | undefined;
protected token: string;
httpsAgent: https.Agent;
api_billing: import("axios").AxiosInstance;
api_onboarding: import("axios").AxiosInstance;
api_payment: import("axios").AxiosInstance;
constructor();
getToken(): string;
setToken(token: string): void;
getDataFromBilling(path: string): Promise<any>;
postDataFromOnboarding(path: string, body: any): Promise<any>;
getDataFromOnboarding(path: string): Promise<any>;
getDataFromPayment(path: string): Promise<any>;
postDataFromPayment(path: string, body: any): Promise<any>;
}