Skip to content

CORE COMPONENT (Mojaloop):Service to expose the Mojaloop settlements API

License

Notifications You must be signed in to change notification settings

tcbuzor/central-settlement

 
 

Repository files navigation

central-settlements

The Central Settlements service is part of the Mojaloop project and deployment.

The central settlements service exposes Settlement API to manage the settlements between FSPs and the Central Hub. The service manages Settlement Windows and Settlements Event Triggers and provides information about FSPs accounts and settlements.

Contents:

Deployment

TBA

Configuration

Currently the only configuration, necessary is kept here Example values are as follows:

{
  "PORT": 3007,
  "HOSTNAME": "http://central-settlements.local",
  "DATABASE_URI" : "mysql://central_ledger:password@localhost:3306/central_ledger"
}

Environmental variables

Currently all is set into the config.

API

The Markdown version of API is available here The actual Swagger API documentation can be found here

Logging

Logs are sent to standard output by default.

Tests

Includes unit tests at the moment. Functional and integration are outstanding.

Running the tests:

npm run test:all

Tests include code coverage via istanbul. See the test/ folder for testing scripts.

About

CORE COMPONENT (Mojaloop):Service to expose the Mojaloop settlements API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 79.6%
  • Shell 20.3%
  • Dockerfile 0.1%