Skip to content

Xendit REST API Client for Node.js - Card, Virtual Account, Invoice, Disbursement, Recurring Payments, Payout, EWallet, Balance, Retail Outlets, QR Codes, Direct Debit

Notifications You must be signed in to change notification settings

francisaguilar21/xendit-node

This branch is 1 commit ahead of, 5 commits behind xendit/xendit-node:master.

Folders and files

NameName
Last commit message
Last commit date
Dec 1, 2023
Apr 1, 2024
Apr 1, 2024
Oct 18, 2023
Apr 1, 2024
Sep 20, 2023
Jul 15, 2024
Apr 1, 2024
Apr 1, 2024
Oct 18, 2023
Feb 13, 2024
Dec 1, 2023
Nov 29, 2023
Sep 20, 2023
Sep 20, 2023
Sep 20, 2023
Apr 1, 2024
Apr 1, 2024
Apr 1, 2024
Apr 1, 2024
Oct 18, 2023

Repository files navigation

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: 5.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

About

Xendit REST API Client for Node.js - Card, Virtual Account, Invoice, Disbursement, Recurring Payments, Payout, EWallet, Balance, Retail Outlets, QR Codes, Direct Debit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%