linkpay-api
Version:
LinkPay JS/TS API SDK
16 lines (15 loc) • 641 B
TypeScript
import type { FetchAPI } from './rest-client';
/** Configuration for using LinkPay */
export interface Configuration {
/** Provided by LinkPay */
sid: string;
/** Provided by LinkPay. Key assigned by EVO Cloud for signing / verifying. */
signKey: string;
/** LinkPay request base url. If not provided, we use `https://hkg-counter.everonet.com` by default */
baseUrl?: string;
/** Customize your own fetch method, if not provided, we use `isomorphicFetch` by default */
fetch?: FetchAPI;
/** Set your own http headers */
headers?: Record<string, string>;
}
export default Configuration;