UNPKG

anypay-ts

Version:

TypeScript библиотека для работы с платёжной системой AnyPay

9 lines (8 loc) 400 B
import { CreatePaymentParams, CreatePaymentResponse, GetPaymentsParams, GetPaymentsResponse } from '../types/payment'; export declare class PaymentService { private apiId; private apiKey; constructor(apiId: string, apiKey: string); createPayment(params: CreatePaymentParams): Promise<CreatePaymentResponse>; getPayments(params: GetPaymentsParams): Promise<GetPaymentsResponse>; }