Create App

You can programmatically create developer app using the resource below.

Auth Developer

POST https://api.console.eyowo.com/v1/resource/auth

The email and password to authenticate the application resource is the same as your login credentials you created when setting your developer account.

Request Body

NameTypeDescription

email

string

valid email address

password

string

valid password

{
    "success": true,
    "data": {
        "user": {
            "deleted": false,
            "_id": "5cefae5e4....",
            "sandboxMobile": "235555555555",
            "createdAt": "2020-06-17T08:19:49.586Z",
            "email": "developeraccount@softcom.ng",
            "lastLogin": "2020-09-03T17:58:40.495Z",
            "updatedAt": "2020-09-03T17:58:40.496Z"
        },
        "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9......"
}

Create Developer App

POST https://api.console.eyowo.com/v1/resource/app

Headers

NameTypeDescription

x-auth-token

string

the token generated when authenticating developer resource.

Request Body

NameTypeDescription

name

string

a preferred app name.

{
    "success": true,
    "data": {
        "app": {
            "disabled": false,
            "settings": {
                "developerMode": "test",
                "_id": "5f512e2e..."
            },
            "_id": "5f512e2ea66b7...",
            "deleted": false,
            "developerID": "5cefae5e4885..."
            "name": "App Test create",
            "key": "pk_live_7930768....",
            "sandboxKey": "sk_test_09e6fab308....",
            "wallets": [],
            "createdAt": "2020-09-03T17:55:58.544Z",
            "updatedAt": "2020-09-03T17:55:58.544Z",
            "__v": 0
        }
    }
}

Last updated