Revenue

Verify Employees and Corporate Revenue in Real-time

The /products/revenue endpoint returns the real-time revenue of a corporate entity connected to your Okra account.

curl -X POST https://api.okra.ng/v2/products/revenue/${route}
-H 'Content-Type: application/json' 
-H 'Authorisation: Bearer <secretKey>'
{
    "company_name": "Name of Company",
    "average_confidence": xxx,
    "last_years_revenue": xxx,
    "current_year_revenue_projection": xxx,
    "last_two_years_to_date_revenue_projection": xxx,
    "last_year_to_date_revenue_projection:: xxx
    "revenue_breakdown": [
        {
            "year": 2020,
            "monthly_breakdowns": [
                "jan": {
                    "revenue": {
                        "naira": xxx,
                        "dollar": xxx,
                        "euros" xxx,
                    },
                    "number_of_employees": 20,
                    "corporate_tax": {
                        "naira": xxx,
                        "dollar": xxx,
                        "euros": xxx
                    }
                }
                "feb": {...}
            ]
            "confidence": xxx
        }
    ]
}

Run in PostmanRun in Postman

Request Payload

Definition of All Payload Items from the Routes Below.

Key

Description

Default

page
Number

Page of list you would like to fetch

1

limit
Number

Number of records you would like to fetch

20

pdf
Boolean

Send back as PDF

false

to
Date

YYYY-MM-DD

from
Date

YYYY-MM-DD

customer
ObjectId

Customer's Okra Unique ID

id
ObjectId

Unique Okra Revenue ID

Retrieve Revenue by Value

Use the baseURL https://api.okra.ng/v2/products/revenue and append with any of the available routes.

Route

Payload

/get

to
from
pdf

/getById

id
to
from
pdf

/getByCustomer

customer
to
from
pdf

/getByDate

to
from
pdf

/getByBank

bank
pdf

/getByCustomerDate

customer
to
from
pdf


Did this page help you?