
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
chargehound
Advanced tools
npm install chargehound
Every resource is accessed via the chargehound instance:
var chargehound = require('chargehound')('{ YOUR_API_KEY }');
Every resource method accepts an optional callback as the last argument:
chargehound.Disputes.submit('dp_xxx', {fields: {customer_name: 'Susie'}},
function (err, dispute) {
err; // null if no error occurred
dispute; // the submitted dispute object
}
);
Additionally, every resource method returns a promise, so you don't have to use the regular callback. E.g.
chargehound.Disputes.submit('dp_xxx', {fields: {customer_name: 'Susie'}})
.then(function (dispute) {
// Success
.catch(function (err) {
// Deal with an error
});
Responses from the API are automatically parsed from JSON and returned as JavaScript objects.
Responses also include the HTTP status code on the response object as the status field.
chargehound.Disputes.retrieve('dp_xxx').then(dispute => {
console.log(dispute.state)
// 'needs_response'
console.log(dispute.response.status)
// 200
});
To build and install from the latest source:
$ git clone git@github.com:chargehound/chargehound-node.git
$ npm install
The source code is written in ES6. For development you will need Node.js >= v4.4.3.
Run the tests using npm:
$ npm test
To deploy a new version of the SDK, perform the following steps:
package.jsonnpm publishFAQs
Automatically fight disputes
The npm package chargehound receives a total of 22 weekly downloads. As such, chargehound popularity was classified as not popular.
We found that chargehound demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.