Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xendit-node

Package Overview
Dependencies
Maintainers
0
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xendit-node

OpenAPI client for xendit-node

  • 6.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.6K
decreased by-23.16%
Maintainers
0
Weekly downloads
 
Created
Source

Xendit Node SDK

Xendit Node SDK

The official Xendit Node SDK provides a simple and convenient way to call Xendit's REST API in applications written in Node.

  • Package version: 6.0.0

Getting Started

Installation

Requirements

Node 18.0 and later.

Install with npm

npm install xendit-node@latest --save

TypeScript support is included in this package.

Authorization

The SDK needs to be instantiated using your secret API key obtained from the Xendit Dashboard. You can sign up for a free Dashboard account here.

import { Xendit } from 'xendit-node';

const xenditClient = new Xendit({
  secretKey: SECRET_API_KEY,
})

Custom Xendit URL

By default, the SDK will use the Xendit production URL (https://api.xendit.co) to make API requests.
If you need to override the default Xendit URL, you can pass in a custom URL to the Xendit constructor.

const xenditClient = new Xendit({
  secretKey: SECRET_API_KEY,
  xenditURL: 'https://mock-server.localhost:3000',
})

Documentation

Find detailed API information and examples for each of our product’s by clicking the links below,

Further Reading

FAQs

Package last updated on 15 Aug 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc