
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
checkout-js-library
Advanced tools
```javascript const api = new ApiClient({ secretKey: 'secret', privatKey: 'privat', env: 'LIVE', // 'SANDBOX' // optional debugMode: true, // optional })
const api = new ApiClient({
secretKey: 'secret',
privatKey: 'privat',
env: 'LIVE', // 'SANDBOX' // optional
debugMode: true, // optional
})
// all following request return promise
api.tokenService.createPaymentToken(payload);
api.tokenService.createVisaCheckoutToken(payload);
api.tokenService.updatePaymentToken(payload);
api.chargeService.verifyCharge(paymentToken);
api.chargeService.chargeWithCard(payload);
api.chargeService.chargeWithCardId(payload);
api.chargeService.chargeWithCardToken(payload);
api.chargeService.chargeWithDefaultCustomerCard(payload);
api.chargeService.getCharge(chargeId);
api.chargeService.updateCharge(chargeId, payload);
api.chargeService.voidCharge(chargeId, payload);
api.chargeService.captureCharge(chargeId, payload);
api.chargeService.refundRequest(chargeId, payload);
api.chargeService.getChargeHistory(chargeId);
api.customerService.createCustomer(payload);
api.customerService.updateCustomer(customerId, payload);
api.customerService.getCustomer(customerId);
api.customerService.getCustomerList(payload);
api.customerService.deleteCustomer(customerId);
api.cardService.createCard(customerId, payload);
api.cardService.updateCard(customerId, cardId, payload);
api.cardService.getCard(customerId, cardId);
api.cardService.getCardList(customerId);
api.cardService.deleteCard(customerId, cardId);
api.reportingService.queryTransaction(payload);
api.reportingService.queryChargeback(payload);
api.lookupsService.binLookup(bin);
api.lookupsService.binLookupWithCardToken(token);
api.payoutsService.createPayout(payload);
FAQs
```javascript const api = new ApiClient({ secretKey: 'secret', privatKey: 'privat', env: 'LIVE', // 'SANDBOX' // optional debugMode: true, // optional })
The npm package checkout-js-library receives a total of 1 weekly downloads. As such, checkout-js-library popularity was classified as not popular.
We found that checkout-js-library demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.