modem-pay
Version:
A TypeScript SDK for integrating with the Modem Pay payment gateway, enabling seamless payment processing and financial services in your applications.
8 lines (7 loc) • 377 B
TypeScript
import { Event } from "../types";
import BaseResource from "./base";
export default class WebhooksResource extends BaseResource {
constructor(apiKey: string, maxRetries: number, timeout: number);
/** Builds and validates an Event signature based on the provided details. */
composeEventDetails(payload: string | object, signature: string, secret: string): Event;
}