Vendor retrieval

Info about Vendors

STAGING_URL: https://switch-api-staging.herokuapp.com
LIVE_URL: https://switchapi.azurewebsites.net

Get Vendors

GET https://switch-api-staging.herokuapp.com/vendor

This endpoint allows you to get the list of vendors.

Headers

Name
Type
Description

auth_token

string

The format for auth_token is Bearer token_string

{
    "message": "Vendor retrieved successfully",
    "data": {
        "id": 7,
        "email": "example@gmail.com",
        "name": "TinCan",
        "category": "loan",
        "is_verified": true
    }
}

Vendor categories

GET https://switch-api-staging.herokuapp.com/vendor/categories

This endpoint returns the list of vendor categories

Headers

Name
Type
Description

auth_token

string

The format for auth_token is Bearer token_string

Get Vendor List

GET https://switch-api-staging.herokuapp.com/vendor/list

Headers

Name
Type
Description

auth_token

string

The format for auth_token is Bearer token_string

Last updated

Was this helpful?