staging and production are as follows:
| Environment | Base Url |
|---|---|
Staging | https://api.staging.pipevest.com/v1 |
Production | https://api.pipevest.com/v1 |
Only the authentication endpoints
leverage these urls directly. The rest of the endpoints require the USSD base
url.
USSD Base Url
After authenticating and receiving an access token, requests to the USSD api can be made at the given urls:| Environment | Base Url |
|---|---|
Staging | https://api.staging.pipevest.com/v1/ussd |
Production | https://api.pipevest.com/v1/ussd |
Using Authenticated Endpoints
All API endpoints are authenticated using OAuth 2.0 standards. AclientId and clientSecret
must be exchanged for a shortlived access token. This access token is then used to authenticate further requests.
Authentication Concepts
Check out the auth mechanisms used to keep the API secure
Authentication Guide
Understand how to create and revoke auth tokens