Authentication
Authenticating a user's account and retrieving a wallet access token grants you, the developer, privileges to perform certain transactions like Phone Transfers, Bank Transfer, and purchasing VTU(s).
To obtain a wallet access token (X-App-Wallet-Access-Token
), you have to validate the account is a valid Eyowo account, send an OTP, and finally, verify the OTP.
Validate User
POST
https://api.console.eyowo.com/v1/users/auth/validate
Request Body: { "mobile" : "2348000000" }
Headers
Request Body
Send OTP
POST
https://api.console.eyowo.com/v1/users/auth
Request Body: { "mobile" : "23480000000000" , "factor" : "sms" }
Headers
Request Body
Verify OTP
POST
https://api.console.eyowo.com/v1/users/auth
Request Body : { "mobile" : "234809999999", "factor": "sms", "passcode": "1234" }
Headers
Request Body
Refresh Access Wallet Token
POST
https://api.console.eyowo.com/v1/users/accessToken
Request Body : { "refreshToken": "5d1a....." }
Headers
Request Body
GET
{{BASE_URL}}/v1/users/accounts
Headers
Last updated