1.1.8 • Published 2 years ago

ari10-sdk v1.1.8

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

NPM version NPM downloads Typing code style: prettier

Table of Contents

Getting Started

Prerequisites

  • Node.js v14 or higher.

Installation

Using your favorite package manager, install ari10-sdk package.

NPM:

npm install --save ari10-sdk

YARN:

yarn add ari10-sdk

Usage

Platform Init

SDK config parameters

To correctly configure the SDK, the init method needs to receive the environment, api key and language:

PropertyTypeDefault valueDescription
environment'sandbox' | 'production' \ 'sandbox'Enviroment to use.
apiKey'string'''
language'en' | 'pl''en'

Code snippet:

import ari10Sdk from  'ari10-sdk';

// SDK Init
ari10Sdk.init("production", "xxx-xxxx-xxxx-xxx", "en");

Method Call

Start Deposit

PropertyTypeRequiredDescription
depositReferenceId'string'YesEnviroment to use.
email'string'NoUser email address
phone'string'NoUser phone number

Code snippet:

ari10Sdk.startDeposit(depositReferenceId, email, phone);

License

Copyright © 2023 CG.

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago