1.0.0 • Published 5 years ago

biwse v1.0.0

Weekly downloads
7
License
-
Repository
github
Last release
5 years ago

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

ClassMethodHTTP requestDescription
biwse.AppApicreateAddressPOST /app/{appId}/{coin}/addressCreate new address
biwse.AppApicreateInvoicePOST /app/{appId}/invoiceCreate invoice
biwse.AppApicreateWalletInvoicePOST /app/{appId}/{coin}/invoiceCreate wallet invoice
biwse.AppApigetBalanceGET /app/{appId}/{coin}/balanceRetrieve wallet balance
biwse.AppApigetInvoiceGET /app/{appId}/invoice/{invoiceId}Retreive invoice info
biwse.AppApisendOnePaymentPOST /app/{appId}/{coin}/sendSend one payment
biwse.AppApisendPaymentsPOST /app/{appId}/{coin}/multi_sendSend payments