![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
This module will no longer be supported since Stripe
has an
official Node.js module.
npm install stripe
It's been fun! :beer:
node.js wrapper for the Stripe API.
npm install stripe-api
var stripe = require('stripe-api')(<your_stripe_api_key>);
stripe.<api_group>.<api_group_command>([arguments,] callback);
http://emiliote.github.io/node-stripe-api/
The data
argument is a javascript object ({}
) with key/value pairs that match what's expected by the Stripe API.
create(data, cb)
retrieve(charge_id, cb)
refund(charge_id, [data,] cb)
capture(charge_id, [data,] cb)
list([data,] cb)
create(data, cb)
retrieve(customer_id, cb)
update(customer_id, data, cb)
del(customer_id, cb)
list([data,] cb)
create(customer_id, data, cb)
retrieve(customer_id, card_id, cb)
update(customer_id, card_id, data, cb)
del(customer_id, card_id, cb)
list(customer_id, [data,] cb)
update(customer_id, data, cb)
cancel(customer_id, [data,] cb)
create(data, cb)
retrieve(plan_id, cb)
update(plan_id, data, cb)
del(plan_id, cb)
list([data,] cb)
create(data, cb)
retrieve(coupon_id, cb)
del(coupon_id, cb)
list([data,] cb)
del(customer_id, cb)
retrieve(invoice_id, cb)
retrieveLineItems(invoice_id, [data,] cb)
create(customer_id, cb)
pay(invoice_id, cb)
update(invoice_id, data, cb)
list([data,] cb)
retrieveUpcoming(customer_id, cb)
create(data, cb)
retrieve(invoiceItem_id, cb)
update(invoiceItem_id, data, cb)
del(invoiceItem_id, cb)
list([data,] cb)
update(charge_id, data, cb)
create(data, cb)
retrieve(transfer_id, cb)
cancel(transfer_id, cb)
list([data,] cb)
create(data, cb)
retrieve(recipient_id, cb)
update(recipient_id, data, cb)
del(recipient_id, cb)
list([data,] cb)
retrieve(cb)
retrieve(cb)
list([data,] cb)
retrieve(event_id, cb)
list([data,] cb)
create(data, cb)
retrieve(token_id, cb)
Install the development modules.
npm install
Open ./tests/run.js
and paste in your Test Secret Key.
Run the tests.
mocha
FAQs
The Stripe.com API
The npm package stripe-api receives a total of 21 weekly downloads. As such, stripe-api popularity was classified as not popular.
We found that stripe-api 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.