3.0.0-beta.32 • Published 9 months ago

willypt-xen-node v3.0.0-beta.32

Weekly downloads
-
License
-
Repository
github
Last release
9 months ago

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: 3.0.0-beta.10

Getting Started

Installation

Requirements

Node 16.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

3.0.0-beta.32

9 months ago

3.0.0-beta.31

9 months ago

3.0.0-beta.30

9 months ago

3.0.0-beta.29

9 months ago

3.0.0-beta.28

9 months ago

3.0.0-beta.27

9 months ago

3.0.0-beta.26

9 months ago

3.0.0-beta.25

9 months ago

3.0.0-beta.21

9 months ago

3.0.0-beta.20

9 months ago

3.0.0-beta.19

9 months ago

3.0.0-beta.18

9 months ago

3.0.0-beta.17

9 months ago

3.0.0-beta.16

9 months ago

3.0.0-beta.15

9 months ago

3.0.0-beta.14

9 months ago

3.0.0-beta.13

9 months ago

3.0.0-beta.12

9 months ago

3.0.0-beta.11

9 months ago

3.0.0-beta.10

9 months ago

3.0.0-beta.9

9 months ago

3.0.0-beta.6

10 months ago

3.0.0-beta.4

10 months ago

3.0.0-beta.3

10 months ago

3.0.0-beta.2

10 months ago

3.0.0-beta.1

10 months ago