Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.
/ iak-api-server-js Public archive

Node.js-based SDK (server-side-only) to easily help integrating IAK API Services with your app.

Notifications You must be signed in to change notification settings

iak-id/iak-api-server-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IAK API Node.js SDK

This is Node.js-based SDK (server-side-only) to easily help you connect your application with our API services.

Note:

  • This library is only meant for usage from server-side.
  • You also have to register yourself first on this link to get the access key for our API service.
  • For Prepaid Services, you can use our Version 2 Prepaid on Core API section on Prepaid services as the reference. To see the difference with the Version 1, you can see this link.

Installation

npm install @iak-id/iak-api-server-js

Getting Started

You can use this snippet code to use our check balance service on prepaid API to get started use our SDK.

const { IAKPrepaid } = require('@iak-id/iak-api-server-js');

const credential = {
  userHp: 'your-username',
  stage: 'sandbox-or-production',
  apiKey: 'your-api-key-depending-on-stage'
};

new IAKPrepaid(credential).checkBalance().then((response) => {
  console.log(response);
}).catch((error) => {
  console.log(error);
});

Documentation

To see more information about how to connect with us, you can visit and see the documentation on this link:


Supported Version

This library is supported by the following Node.js versions

  • Node.js 16.3.0 (latest version (09/06/2021))
  • Node.js 16
  • Node.js 15
  • Node.js 14.15.0 (LTS: Fermium)
  • Node.js 14
  • Node.js 13
  • Node.js 12.13.0 (LTS: Erbium)
  • Node.js 12
  • Node.js 11
  • Node.js 10.24.1 (LTS: Dubnium)
  • Node.js 10

Changelogs

You can check any updates or improvements we have done to this library to make this library more helpful for you on this link.


Contributing

You can contribute on the development of this project by opening an issue or submitting a pull request when you see any bugs or issues, or you have any comments or requests.

About

Node.js-based SDK (server-side-only) to easily help integrating IAK API Services with your app.

Topics

Resources

Stars

Watchers

Forks