Node.js SDK for I'amport REST API (v0.4.0, deprecated). This package provides a promise-based client to interact with I'amport payment gateway services, including payment lookup, cancellation, subscription management, and certification. It is the official Node.js SDK but has been deprecated since March 2026. Users are advised to migrate to PortOne V1 REST API or fork the repository. The package ships TypeScript types and supports Node.js >= 0.12.x. Key differentiator: it wraps the full I'amport REST API in a fluent, promise-based interface. However, it is outdated and no longer maintained, with potential security vulnerabilities in dependencies.
npm install iamportNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize the Iamport client with API credentials and retrieve payment details by Iamport unique ID.
Migrate to PortOne V1 REST API (https://developers.portone.io/api/rest-v1?v=v1) or fork this repository.
Consider using a modern HTTP client (e.g., axios, node-fetch) if forking or migrating.
Always pass an object like { imp_uid: '...' }.Check the PortOne API documentation for changes.
Use 'const Iamport = require('iamport').default' in CommonJS, or 'import Iamport from 'iamport'' in ESM.Check network connectivity, firewall settings, and ensure the API endpoint is correct (https://api.iamport.kr).
Verify your I'amport API credentials are correct and set via environment variables IAMPORT_API_KEY and IAMPORT_API_SECRET.