UNPKG

shipy-sdk-js

Version:

Shipy Payment Gateway SDK for JavaScript/TypeScript

10 lines (9 loc) 311 B
export interface IHttpClient { /** * Make a POST request * @param endpoint The URL to send the request to * @param data The data to send in the request body * @returns Promise resolving to the response data */ post<T>(endpoint: string, data: Record<string, any>): Promise<T>; }