Setting up API access
The stub Connect API has two environments: production and test. Both environments use the same login details (email and password).
For production access and your appid please reach out to us.
Where to get your API key:
To get your test API key login into https://test.stub.africa/ using the login details you created in the introduction.
Log in to your stub account
Select More in the left side nav bar
Select Apps in the left side nav bar
You can now view and copy your API key

Now test that your API Key works
Now that you have your API key make sure everything is working correctly by making a post request to the test API endpoint below. You can select any App ID that includes your business name.
post
Body
apikeystringRequired
appidstringRequired
Responses
200Success
400Error
401Error
post
POST /api/verify/apikey HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"apikey": "text",
"appid": "text"
}
No content
Winner winner: If you get a 200 OK
you're ready to start using our API.
Last updated