1.1.8 • Published 5 months ago
ari10-sdk v1.1.8
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:
Property | Type | Default value | Description |
---|---|---|---|
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
Property | Type | Required | Description |
---|---|---|---|
depositReferenceId | 'string' | Yes | Enviroment to use. |
'string' | No | User email address | |
phone | 'string' | No | User phone number |
Code snippet:
ari10Sdk.startDeposit(depositReferenceId, email, phone);
License
Copyright © 2023 CG.
1.1.8
5 months ago
1.1.7
9 months ago
1.1.6
9 months ago
1.1.5
10 months ago
1.1.4
10 months ago
1.1.3
10 months ago
1.1.2
10 months ago
1.1.1
10 months ago
1.1.0
10 months ago
1.0.9
10 months ago
1.0.8
10 months ago
1.0.7
10 months ago
1.0.6
10 months ago
1.0.4
10 months ago
1.0.3
10 months ago
1.0.2
10 months ago
1.0.1
10 months ago
1.0.0
10 months ago