UNPKG

@lexriver/yandex-pay

Version:

A TypeScript client for Yandex Pay API to integrate payment processing in your Node.js applications

22 lines (21 loc) 734 B
import { OperationService } from './services/OperationService.js'; import { OrderService } from './services/OrderService.js'; import { SubscriptionService } from './services/SubscriptionService.js'; import { ApiConfig } from './types/ApiConfig.js'; /** * YandexPayAPI client for making requests to the Yandex Pay API */ export declare class YandexPayAPI { private readonly apiKey; private readonly baseUrl; private readonly isSandbox; readonly orders: OrderService; readonly operations: OperationService; readonly subscriptions: SubscriptionService; /** * Creates a new YandexPayAPI instance * * @param config Configuration for the API client */ constructor(config: ApiConfig); }