Skip to main content

Adullam JavaScript SDK Overview

The Adullam JavaScript SDK provides a convenient way to integrate the Adullam platform into your JavaScript applications. This documentation offers an overview of the SDK’s features, installation instructions, and usage examples.

Installation

To install the Adullam JavaScript SDK, use npm or yarn:
npm install adullam_sdk
# or
yarn add adullam_sdk

Features

The Adullam JavaScript SDK includes the following features:
  • API Integration: Simplified methods to interact with the Adullam REST API.
  • Authentication: Built-in support for various authentication methods, including API keys and OAuth.
  • Event Handling: Easy-to-use interfaces for managing webhooks and real-time notifications.
  • Data Models: Predefined data models for common Adullam entities.

Usage

Here is a basic example of how to use the Adullam JavaScript SDK to create a new payment:
import Adullam from 'adullam_sdk';
const adullam = new Adullam({ apiKey: 'your_api_key_here' });

async function createPayment() {
  const payment = await adullam.payments.create({
    amount: 1000,
    currency: 'USD',
    source: 'tok_visa',
  });
  console.log(payment);
}

createPayment();

Support

For assistance with the Adullam JavaScript SDK, please refer to the support documentation or contact our support team at [email protected].