npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@slates-integrations/braintree

v0.2.0-rc.6

Published

Process payments and manage transactions across credit/debit cards, PayPal, Venmo, Apple Pay, Google Pay, and ACH Direct Debit. Create, void, refund, and search transactions. Store customer payment methods securely in the Vault for repeat billing. Manage

Readme

Braintree

Process payments and manage transactions across credit/debit cards, PayPal, Venmo, Apple Pay, Google Pay, and ACH Direct Debit. Create, void, refund, and search transactions. Store customer payment methods securely in the Vault for repeat billing. Manage recurring subscriptions with add-ons and discounts. Handle disputes by adding evidence, accepting, or finalizing. Create and manage customers, addresses, and sub-merchant accounts. Run credit card verifications, generate settlement batch summaries, and forward payment data to third parties. Receive webhook notifications for subscription lifecycle changes, transaction settlements, disbursements, dispute updates, account updater card refreshes, and fraud protection alerts.

Tools

Create Transaction

Creates a payment transaction in Braintree. Supports both sale (immediate capture) and authorization-only flows. Use this to charge a payment method or authorize an amount for later capture. Requires a payment method ID (from the Braintree vault or a single-use nonce) and an amount.

Find Transaction

Retrieves details of a specific Braintree transaction by its ID. Returns full transaction information including status, amount, payment method, customer, and settlement details.

Create Customer

Creates a new customer record in the Braintree vault. Customers can store multiple payment methods and have associated transactions.

Find Dispute

Retrieves details of a specific Braintree dispute by its ID, including status, reason, amount, and deadline information.

Vault Payment Method

Stores a payment method in the Braintree vault for future use. Takes a single-use payment method ID (nonce) and converts it to a reusable vaulted payment method. By default, credit cards are verified before vaulting.

Create Subscription

Creates a new recurring billing subscription in Braintree. Requires a plan ID (configured in the Control Panel) and a payment method token.

Refund Transaction

Refunds or reverses a Braintree transaction. For settled transactions, issues a refund (full or partial). For unsettled transactions, can void/reverse the transaction instead. Use "refund" for settled transactions and "reverse" to automatically void or refund based on status.

Search Transactions

Searches for transactions in Braintree using various filter criteria. Returns a paginated list of matching transactions. Supports filtering by status, amount range, date range, customer, and payment method type.

Submit for Settlement

Submits an authorized Braintree transaction for settlement, optionally adjusting the amount. This captures the funds from a previously authorized transaction. Supports both full and partial settlement.

Settlement Batch Summary

Generates a settlement batch summary report for a given date. Returns aggregated totals for transactions settled on the specified date, optionally grouped by a custom field.

Void Transaction

Voids a Braintree transaction that has not yet settled. Once a transaction is voided, the authorization hold on the customer's payment method is released. Only transactions with status "authorized", "submitted_for_settlement", or "settlement_pending" can be voided.

License

This integration is licensed under the FSL-1.1.