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

@mojaloop/dfsp-admin

v0.17.45

Published

DFSP Admin

Downloads

4

Readme

DFSP-Admin

Summary

This service is used as a main interface for the users with admin role. Admin panel provide to the users a way to set transaction rules, process bulk payments, check queues with action notifications and etc.

Access

The admin panel is accessible only with admin credentials on http://localhost:8020 path where dfsp-admin service is hosted.

Note The are roles associated with the admins in order to upload, verify and process bulk payments. More about bulk payments will follow in this document.

Bulk Payment Initiation

In the admin portal there is an interface available where every user (with certain user rights) of the DFSP can login with user number and PIN and initiate a bulk payment.

When initiating a bulk payment the user is able to select an account from which the bulk payments will be send.

L1P is supporting upload of the bulk file with payments from a web interface. The file format should be .csv. The fields in the file will be:

  • Sequence Number (row)
  • Identifier
  • First Name
  • Last Name
  • Date of birth
  • National id
  • Amount

Maker/Checker

There is a maker/checker concept implemented for bulk payments. Maker and Checker are roles that can be assigned to different users. Maker role is going to upload the file with the bulk payments and checker role is going to initiate the bulk payments.

Note

In order to login in the admin interface with maker role use the following pattern userIdentifier@role Example:

  1. 10121416@maker - for login with maker role
  2. 10121416@checker - for login with checker role

Bulk File Verification

All the fields in the bulk file are mandatory. In case the some of the required fields are not valid the funds will not be disbursed to this user.

Handling Fees

The discriminatory fees should be recorded in the same way as it is done for a regular transaction - different row in the ledger for each payment. There is possibility to configure different fees per different transaction type, so there could be special set of fee configured for the bulk payments. The rational behind having the fees recorded as a separate line for each transaction is:

  • Calculation and record of the discriminatory fees are done within the DFSP and we do not foresee any performance issues to come from that approach.

  • The fees must be recorded as a separate row in the ledger

Re-sending of Funds in Case a Temporary Error is Detected

Upon sending bulk payments the system is detecting temporary errors and retry sending of funds again to those user.

Temporary errors could be technical such as missing connectivity or some service is down or non technical such as not enough funds in the account, tier limit is hit, etc.

When initiating a bulk payment the system allow entering of the start date when the bulk payments will start and the end date after which the bulk report will be finalized and no more retries to recover from temporary errors will be done.