PACKAGE · PAYMENT

@tosspayments/payment-widget-sdk

TossPayments.js Payment Widget SDK.

WEEKLY DOWNLOADS 9.8K
STARS 127
FORKS 11
OPEN ISSUES 1
GZIP SIZE 1.6 kB
UNPACKED SIZE 25.2 kB
DEPENDENCIES 1
LAST UPDATED 6mo ago
DOWNLOAD TRENDS

@tosspayments/payment-widget-sdk downloads · last 12 months

Download trends for @tosspayments/payment-widget-sdk1 download series from Nov 2025 to Oct 2026. Use left and right arrow keys to inspect monthly values.011.5K23.0K34.4K45.9KNov 2025FebMayAugOct 2026
@tosspayments/payment-widget-sdk
ABOUT @TOSSPAYMENTS/PAYMENT-WIDGET-SDK

The @tosspayments/payment-widget-sdk package is TossPayments.js Payment Widget SDK for JavaScript and TypeScript projects. It provides a package entry point for integrating TossPayments’ payment widget into a checkout, addressing the need to connect an application’s payment flow to the widget rather than implementing payment interface behavior from scratch.

Its stated scope is payment-widget integration, so it is aimed at developers building checkout experiences that use TossPayments. The package description does not specify a particular framework or impose a broader application architecture; teams can evaluate it specifically as an SDK for the payment-widget part of their payment flow.

The available package information does not document individual method names, hooks, configuration options, or lifecycle APIs. Treat the SDK as the integration boundary, and consult its published documentation and TypeScript declarations before designing initialization, rendering, payment requests, error handling, or cleanup around assumed API details.

The package is categorized for Payment and tagged for JavaScript, SDK, TossPayments, and TypeScript. That makes it relevant to JavaScript or TypeScript checkout code, but the supplied information does not confirm dedicated framework adapters or compatibility details for any specific framework, build tool, server-rendering mode, or runtime.

Version 0.12.2 is published under the MIT license, with an unpacked size of 25.2 kB and a reported gzip bundle size of 1.6 kB. The package metadata reports 3.6K weekly downloads, 126 GitHub stars, 11 forks, and zero open issues, last updated 2026-10-20; these figures describe the supplied snapshot and do not establish API stability or support guarantees.

The package description does not state which TossPayments account setup, credentials, payment methods, browser requirements, or regional rules are required. Verify those requirements and the SDK’s supported configuration with TossPayments documentation, and avoid treating the small reported bundle size as a substitute for checking the full checkout integration and runtime behavior.

WHEN TO USE
  • When adding a TossPayments payment widget to a JavaScript checkout, use this SDK as the package specifically described for TossPayments.js Payment Widget integration.
  • When implementing a checkout in TypeScript, evaluate the package’s published declarations and documentation to guide types for the widget integration rather than inventing local API assumptions.
  • When separating payment-provider integration from your application’s checkout interface, keep TossPayments widget integration at a clearly defined SDK boundary.
  • When evaluating payment dependencies, compare the supplied version, MIT license, package size, and repository activity figures against your project’s review criteria.
  • When your payment flow explicitly requires TossPayments’ payment widget, use the package description and official SDK documentation to identify the supported integration pattern before implementation.
WHEN NOT TO USE
  • If your checkout does not use TossPayments’ payment widget, this package’s stated purpose does not match; use the payment provider’s documented integration path instead.
  • If you require a documented API contract before choosing a dependency, the supplied package details provide no method names or configuration options; obtain the SDK documentation and declarations first.
  • If you need a confirmed framework adapter, server-rendering behavior, or runtime compatibility guarantee, the provided metadata does not establish one; verify support with TossPayments or use an integration that documents your target environment.
  • If your application requires payment methods or regional capabilities that have not been verified for this SDK, check TossPayments’ current requirements before adopting it and use a documented path for those capabilities.
  • If your checkout must work without browser-side payment-widget integration, this package’s stated widget focus may not fit; use a provider-supported server-side or non-widget flow instead.
  • If you need an API stability or support guarantee based on release maturity, the supplied version and repository statistics do not provide one; confirm the project’s maintenance and compatibility policy before release.

CORRECTIONS

Spot wrong data here?

A short note helps us fix it.

Anonymous · No account · No email back

COMPARISONS 3
@tosspayments/payment-widget-sdk vs @lemonsqueezy/lemonsqueezy.js ★ 540 · 142.4K/wk @tosspayments/payment-widget-sdk vs stripe ★ 4.6K · 34.5M/wk @tosspayments/payment-widget-sdk vs @polar-sh/checkout ★ 10.5K · 97.9K/wk