Welcome :tada+: fellow Jengi [pronounced dʒɛgaɪ ] to the JengaPGW API explorer documentation.

Use this page to start your journey towards building great payment experiences for your customers.

You can view the various categories of APIs on the area to the left, descriptions of the APIs in this middle section and code examples to the right of this page. You can switch the code examples to your preferred coding language using the tabs and get an indication of how to incorporate any of the APIs to your code.

Happy Jenga-ing! :+1+:

Guides and tutorials

Need more information about any of the APIs detailed here? Get a more detailed (read: simple) description of how to use any of these web services by heading over to our Guides and tutorials.

There's also a handy help button at the bottom right of this site. Tap on it to chat with one of our Code Chefs :ramen+:.

For the latest product updates and let our team know that you're ready to integrate fully, join our Jenga community on Slack.

 
Suggest Edits

Getting Started

 

:rocket+: :rocket+: :rocket+:

To use any of our APIs you will need to create an account on our Jenga Partner Portal. If you haven't, head on over here to create an account.

For a detailed walkthrough on how to register, visit our Guides and tutorials to see how to generate your API keys for test and production environments.

Jenga KYC (Know Your Customer)

You will be required to provide some basic KYC about yourself and your company in order to comply with various policies and legal regulations.

Email us at support@jengapgw.io if you have any questions.

 
Suggest Edits

Get Your JengaPGW Access Token

After you generate you API key :key+: you will use this service to enable your application or service (or organization) access the Jenga resources [smart way of saying 'Jenga services'] you have been granted access to

 
posthttps://api-test.equitybankgroup.com/v1/token

Form Data

merchantCode
string
required

username, obtained after successful on-boarding on JengaHQ

password
string
required

password, obtained after successful on-boarding on JengaHQ

grant_type
string

OAuth 2.0 Grant Type - must be 'password'.

Headers

Authorization
string
required

API Key, obtained after successful on-boarding on JengaHQ

Content-Type
string
required

the content type of the payload

Try out The Auth API Here

HEADERS
Authorization = Basic WDZZMlVvbloyQkdsVTBDSEpHb3FmSHJmVTBzZXo4Ym06R3pocmptWUtqUm4ySFRXeQ==
Content-Type = application/x-www-form-urlencoded


FORM DATA
username = 0582910862
password = v6A26thi0vXmSJhSdhf01C6dhcL0prbk
grant_type = password

200 Success Response Schema

Field Name
Field Type
Field Description

status

string

payment-token

string

notification-secret

string

curl --request POST \
  --url https://api-test.equitybankgroup.com/v1/token \
  --header 'authorization: Authorization' \
  --header 'content-type: Content-Type'
var request = require("request");

var options = { method: 'POST',
  url: 'https://api-test.equitybankgroup.com/v1/token',
  headers: 
   { 'content-type': 'Content-Type',
     authorization: 'Authorization' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api-test.equitybankgroup.com/v1/token")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["authorization"] = 'Authorization'
request["content-type"] = 'Content-Type'

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://api-test.equitybankgroup.com/v1/token");
xhr.setRequestHeader("authorization", "Authorization");
xhr.setRequestHeader("content-type", "Content-Type");

xhr.send(data);
import requests

url = "https://api-test.equitybankgroup.com/v1/token"

headers = {
    'authorization': "Authorization",
    'content-type': "Content-Type"
    }

response = requests.request("POST", url, headers=headers)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results