biwse
v1.0.0
Published
This API client generated from OpenAPI specification.
Downloads
4
Maintainers
Readme
Biwse Node.js Library
This API client generated from OpenAPI specification.
Installation
npm install --save biwse
Example
const biwse = require('biwse');
const defaultClient = biwse.ApiClient.instance;
// Configure Bearer access token for authorization: bearerAuth
const bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"
const api = new biwse.AppApi()
const appId = "YOUR APP ID"; // {String} The application identidier
const coin = "btc"; // {String} The wallet identidier
api.createAddress(appId, coin).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Documentation for API Endpoints
All URIs are relative to https://api.biwse.com/v1
Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- biwse.AppApi | createAddress | POST /app/{appId}/{coin}/address | Create new address biwse.AppApi | createInvoice | POST /app/{appId}/invoice | Create invoice biwse.AppApi | createWalletInvoice | POST /app/{appId}/{coin}/invoice | Create wallet invoice biwse.AppApi | getBalance | GET /app/{appId}/{coin}/balance | Retrieve wallet balance biwse.AppApi | getInvoice | GET /app/{appId}/invoice/{invoiceId} | Retreive invoice info biwse.AppApi | sendOnePayment | POST /app/{appId}/{coin}/send | Send one payment biwse.AppApi | sendPayments | POST /app/{appId}/{coin}/multi_send | Send payments