Authentication
Authentication
POST /https://gcpdfa.rahisi.co/api2/api/v1/partner/auth
This Authentication API uses the endpoint to obtain an access token. This token is required for accessing other protected endpoints.
Headers
Name
Value
Content-Type
application/json
Authorization
Basic Base64Encode
ConsumerKey:ConsumerSecret (provide by opentech)
Body
Name
Type
Description
shortCode
number
The short code provided by opentech
Body Request
{
"shortCode": 406441
}Response
{
"accessToken": “dacegrhjtdkghtvnrjks,mdghzbntrjkdm,fxgnvjr tkmdf,xgnvjermd”
}{
"error": "Invalid request"
}Last updated