
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
아임포트는 특정 서비스와 국내 PG사와의 연동을 간편하게 연결해주는 서비스입니다. 이 모듈은 아임포트에서 제공하는 REST API를 Node.js®로 구현한 클라이언트입니다. 아임포트의 자세한 내용은 여기를 참고하시기 바랍니다.
$ npm install --save iamport
var Iamport = require('iamport');
var iamport = new Iamport({
impKey: 'your API key',
impSecret: 'your API Secret key'
});
// 아임포트 고유 아이디로 결제 정보를 조회
iamport.payment.getByImpUid({
imp_uid: 'your imp_uid'
}).then(function(result){
// To do
}).catch(function(error){
// handle error
});
// 상점 고유 아이디로 결제 정보를 조회
iamport.payment.getByMerchant({
merchant_uid: 'your merchant_uid'
})
// 상태별 결제 정보 조회
iamport.payment.getByStatus({
payment_status: 'your payment_status'
})
Where you see params
it is a plain JavaScript object
getByImpUid(params)
getByMerchant(params)
getByStatus(params)
cancel(params)
prepare(params)
getPrepare(params)
FAQs
REST API client for I'amport;
The npm package iamport receives a total of 894 weekly downloads. As such, iamport popularity was classified as not popular.
We found that iamport demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.