UNPKG

@meijering/nestjs-molliepayment

Version:

NestJs Wrapper around Mollie Api

17 lines (16 loc) 372 B
import { Payment } from '@mollie/api-client'; interface IWebhook { id: string; } interface IError { error: any; status: string; metadata?: any; } export declare class WebhookService { private readonly apiKey; constructor(apiKey: string); private readonly mollieClient; checkPayment(order: IWebhook): Promise<Payment | IError>; } export {};