UNPKG

line-pay-core-v4

Version:

Core library for LINE Pay API V4 SDK - Provides shared utilities, base client, TypeScript types, and error handling for building LINE Pay integrations

32 lines (31 loc) 757 B
/** * LINE Pay Client Configuration */ export interface LinePayConfig { /** * Channel ID found in the LINE Pay Merchant Center */ channelId: string; /** * Channel Secret found in the LINE Pay Merchant Center */ channelSecret: string; /** * Environment * - 'production': https://api-pay.line.me * - 'sandbox': https://sandbox-api-pay.line.me * @default 'sandbox' */ env?: 'production' | 'sandbox'; /** * Timeout in milliseconds * @default 20000 */ timeout?: number; /** * Optional custom base URL for testing or custom deployments * If provided, this overrides the URL determined by the `env` setting * @internal */ baseUrl?: string; }