https://github.com/josephgodwinkimani/jenga-api-generate-signature-nodejs
https://github.com/josephgodwinkimani/jenga-api-generate-signature-nodejs
jenga-api jenga-apiv3 nodejs sha-256
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/josephgodwinkimani/jenga-api-generate-signature-nodejs
- Owner: josephgodwinkimani
- Created: 2022-06-08T10:18:43.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-27T17:45:00.000Z (4 months ago)
- Last Synced: 2025-05-12T19:22:11.596Z (8 days ago)
- Topics: jenga-api, jenga-apiv3, nodejs, sha-256
- Language: JavaScript
- Homepage: https://developer.jengaapi.io/v3/docs/generating-signatures
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
### Generate Signature using NodeJS
To generate the signature, you will need create a key pair of private key and public key. You will share the public key with Finserve and use the private key to generate the signature.
### Why Signature?
To ensure the security of your transactions or requests, Finserve have implemented security controls that ensure that transactions can only be initiated by you and no one else.
### Get Started
If you don't have a key pair run `node index.js` and open your browser at `http://127.0.0.1:1337`:
1. To generate your key pair - Public and Private key,
2. Save your keys separately in current directory,
3. Build a String of concatenated values of the request fields with the following order: e.g. `countryCode`, `accountId` for *Account balance*,
4. Sign the result with previously created Private Key and Base64 encodedIf you have a key pair run `node gensignature.js` and open your browser at `http://127.0.0.1:1337`:
1. Build a String of concatenated values of the request fields with the following order: e.g. `countryCode`, `accountId` for *Account balance*,
2. Sign the result with previously created Private Key and Base64 encoded