0.0.16 • Published 12 months ago

ngx-jenga-api v0.0.16

Weekly downloads
-
License
-
Repository
-
Last release
12 months ago

ngx-jenga-api

An Angular library that abstracts the complexity of consuming Jenga APIs

Documentation

Before proceeding with the library, ensure you are familiar with Jenga APIs. See below for the docs.

Documentation

Features

  • Get All EazzyPay Merchants
  • Get All Billers
  • Receive Payments - Bill Payments
  • Receive Payments - Merchant Payments

Run in your project

Install the library

npm i ngx-jenga-api

In your app.module.ts or any module where the component or directive would be used like so:

import { NgxJengaApiModule } from 'ngx-jenga-api';

  imports: [
     NgxJengaApiModule.forRoot(
      <merchant code>,
      <consumer secret>,
      <API key>
    )
  ]

Install the dependencies

ng add @angular/material

API Reference

Receive Payments - Merchant Payments

This API Provides Partners the Capability To Make Payments For Goods And Services

  <jenga-merchant-payments></jenga-merchant-payments>
InputTypeValue
tillstringRequired. Undefined
uniqueRefstringRequired. random 12 digit string
amountstringRequired. Undefined
currencystringRequired. KES
bankIdstringRequired. Undefined
mobileNumberstringRequired. Undefined
mobileNumberstringRequired. Undefined

Receive Payments - Bill Payments

This API Provides Partners the Capability To Initiate Utility Bill Payments For Goods And Services

  <jenga-bill-payments></jenga-bill-payments>
InputTypeDescription
billerCodestringRequired. Undefined
countryCodestringRequired. Undefined
referencestringRequired. Undefined
amountstringRequired. Undefined
currencystringRequired. KES
namestringRequired. Undefined
accountstringRequired. Undefined
reference2stringRequired. random 12 digit string
partnerIdstringRequired. Undefined
authorizationstringRequired. Undefined
signaturestringRequired. Undefined
mobileNumberstringRequired. Undefined
remarksstringRequired. Undefined
cardShadowbooleanRequired. false

Get All EazzyPay Merchants

Returns all EazzyPay merchants.

  <jenga-all-merchants></jenga-all-merchants>
InputTypeValue
tableShadowstringRequired. true
showSearchBarstringRequired. true

Get All Billers

Returns a paginated list of all billers

  <jenga-all-merchants></jenga-all-merchants>
InputTypeValue
tableShadowstringRequired. true
showSearchBarstringRequired. true
categoriesstringRequired. utilities

EXAMPLE

To list all merchants:

  <jenga-all-merchants [showSearchBar]="true" [categories]="'services'"></jenga-all-billers>

Tech Stack

Client: Angular, Angular Material, SCSS

Demo

Insert gif or link to demo

0.0.14

12 months ago

0.0.15

12 months ago

0.0.16

12 months ago

0.0.13

1 year ago

0.0.11

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago