npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

mobile_money_api

v1.0.0

Published

Mobile api

Downloads

3

Readme

mobile_money_api

MobileMoneyApi - JavaScript client for mobile_money_api This document defines the RESTful endpoints provided by the GSMA Mobile Money API This SDK is automatically generated by the Swagger Codegen project:

  • API version: 0.14
  • Package version: 0.14
  • Build package: io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install mobile_money_api --save

git

If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/mobile_money_api then install it via:

    npm install YOUR_USERNAME/mobile_money_api --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Getting Started

Please follow the installation instruction and execute the following JS code:

var MobileMoneyApi = require('mobile_money_api');

var api = new MobileMoneyApi.DefaultApi()

var _date = "_date_example"; // {String} Header parameter to indicate the date and time that the message was originated

var accountId = "accountId_example"; // {String} Path variable to uniquely identify an account


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.accountsAccountIdAccountnameGet(_date, accountId, , callback);

Documentation for API Endpoints

All URIs are relative to https://https://api-2445581837643.staging.apicast.io:443/

Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- MobileMoneyApi.DefaultApi | accountsAccountIdAccountnameGet | GET /accounts/{accountId}/accountname | View Account Name MobileMoneyApi.DefaultApi | accountsAccountIdBalanceGet | GET /accounts/{accountId}/balance | View Account Balance MobileMoneyApi.DefaultApi | accountsAccountIdBillsBillReferencePaymentsPost | POST /accounts/{accountId}/bills/{billReference}/payments | Create A Bill Payment MobileMoneyApi.DefaultApi | accountsAccountIdBillsGet | GET /accounts/{accountId}/bills | View Account Bills MobileMoneyApi.DefaultApi | accountsAccountIdDebitmandatesDebitMandateReferenceGet | GET /accounts/{accountId}/debitmandates/{debitMandateReference} | View A Debit Mandate MobileMoneyApi.DefaultApi | accountsAccountIdDebitmandatesDebitMandateReferencePatch | PATCH /accounts/{accountId}/debitmandates/{debitMandateReference} | Update A Debit Mandate MobileMoneyApi.DefaultApi | accountsAccountIdDebitmandatesPost | POST /accounts/{accountId}/debitmandates | Create A Debit Mandate MobileMoneyApi.DefaultApi | accountsAccountIdLinksLinkReferenceGet | GET /accounts/{accountId}/links/{linkReference} | View A Link MobileMoneyApi.DefaultApi | accountsAccountIdLinksLinkReferencePatch | PATCH /accounts/{accountId}/links/{linkReference} | Update A Link MobileMoneyApi.DefaultApi | accountsAccountIdLinksPost | POST /accounts/{accountId}/links | Create A Link MobileMoneyApi.DefaultApi | accountsAccountIdStatemententriesGet | GET /accounts/{accountId}/statemententries | View Account Statements MobileMoneyApi.DefaultApi | accountsAccountIdStatusGet | GET /accounts/{accountId}/status | View Account Status MobileMoneyApi.DefaultApi | accountsAccountIdTransactionsGet | GET /accounts/{accountId}/transactions | View Account Specific Transaction MobileMoneyApi.DefaultApi | accountsMsisdnMsisdnAccountnameGet | GET /accounts/msisdn/{msisdn}/accountname | View Account Name MobileMoneyApi.DefaultApi | accountsMsisdnMsisdnBalanceGet | GET /accounts/msisdn/{msisdn}/balance | View Account Balance MobileMoneyApi.DefaultApi | accountsMsisdnMsisdnBillsBillReferencePaymentsPost | POST /accounts/msisdn/{msisdn}/bills/{billReference}/payments | Create A Bill Payment MobileMoneyApi.DefaultApi | accountsMsisdnMsisdnBillsGet | GET /accounts/msisdn/{msisdn}/bills | View Account Bills MobileMoneyApi.DefaultApi | accountsMsisdnMsisdnDebitmandatesDebitMandateReferenceGet | GET /accounts/msisdn/{msisdn}/debitmandates/{debitMandateReference} | View A Debit Mandate MobileMoneyApi.DefaultApi | accountsMsisdnMsisdnDebitmandatesDebitMandateReferencePatch | PATCH /accounts/msisdn/{msisdn}/debitmandates/{debitMandateReference} | Update A Debit Mandate MobileMoneyApi.DefaultApi | accountsMsisdnMsisdnDebitmandatesPost | POST /accounts/msisdn/{msisdn}/debitmandates | Create A Debit Mandate MobileMoneyApi.DefaultApi | accountsMsisdnMsisdnLinksLinkReferenceGet | GET /accounts/msisdn/{msisdn}/links/{linkReference} | View A Link MobileMoneyApi.DefaultApi | accountsMsisdnMsisdnLinksLinkReferencePatch | PATCH /accounts/msisdn/{msisdn}/links/{linkReference} | Update A Link MobileMoneyApi.DefaultApi | accountsMsisdnMsisdnLinksPost | POST /accounts/msisdn/{msisdn}/links | Create A Link MobileMoneyApi.DefaultApi | accountsMsisdnMsisdnStatemententriesGet | GET /accounts/msisdn/{msisdn}/statemententries | View Account Statements MobileMoneyApi.DefaultApi | accountsMsisdnMsisdnStatusGet | GET /accounts/msisdn/{msisdn}/status | View Account Status MobileMoneyApi.DefaultApi | accountsMsisdnMsisdnTransactionsGet | GET /accounts/msisdn/{msisdn}/transactions | View Account Specific Transaction MobileMoneyApi.DefaultApi | batchtransactionsBatchIdCompletionsGet | GET /batchtransactions/{batchId}/completions | View Batch Completions MobileMoneyApi.DefaultApi | batchtransactionsBatchIdGet | GET /batchtransactions/{batchId} | View A Transaction Batch MobileMoneyApi.DefaultApi | batchtransactionsBatchIdPatch | PATCH /batchtransactions/{batchId} | Update A Transaction Batch MobileMoneyApi.DefaultApi | batchtransactionsBatchIdRejectionsGet | GET /batchtransactions/{batchId}/rejections | View Batch Rejections MobileMoneyApi.DefaultApi | batchtransactionsPost | POST /batchtransactions | Create A Transaction Batch MobileMoneyApi.DefaultApi | billsBillReferencePaymentsPost | POST /bills/{billReference}/payments | Create A Bill Payment MobileMoneyApi.DefaultApi | heartbeatGet | GET /heartbeat | Check API availability MobileMoneyApi.DefaultApi | quotationsPost | POST /quotations | Create A New Quotation MobileMoneyApi.DefaultApi | quotationsQuotationReferenceGet | GET /quotations/{quotationReference} | View A Quotation MobileMoneyApi.DefaultApi | quotationsQuotationReferencePatch | PATCH /quotations/{quotationReference} | Update A Quotation MobileMoneyApi.DefaultApi | requeststatesServerCorrelationIdGet | GET /requeststates/{serverCorrelationId} | View A Request State MobileMoneyApi.DefaultApi | requeststatesServerCorrelationIdPatch | PATCH /requeststates/{serverCorrelationId} | Update A Request State MobileMoneyApi.DefaultApi | responsesClientCorrelationIdGet | GET /responses/{clientCorrelationId} | View A Response MobileMoneyApi.DefaultApi | statemententriesTransactionReferenceGet | GET /statemententries/{transactionReference} | View Specific Statement MobileMoneyApi.DefaultApi | transactionsPost | POST /transactions | Create A Transaction MobileMoneyApi.DefaultApi | transactionsTransactionReferenceGet | GET /transactions/{transactionReference} | View A Transaction MobileMoneyApi.DefaultApi | transactionsTransactionReferenceReversalsPost | POST /transactions/{transactionReference}/reversals | Create A Reversal

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.