Getting all details of a particular business of a client or merchant using the business unique identifier

Request:

FieldTypeDescription
idIntegerUnique identifier of business

Example request

curl --location 'https://api.vendy.money/business/930' \
--header 'Authorization: Bearer <token>'

Response:

FieldTypeDescription
statusBooleanStates if request was successfully executed or not
codeIntegerInternal code, success if 200
dataBusinessNewly created business details

Example response

{
    "status": true,
    "code": 200,
    "msg": "Business",
    "data": {
        "id": 899,
        "uid": 1008,
        "name": "Joyce Stores",
        "currency": "ngn",
        "bvn": null,
        "type": "corporate",
        "streetaddress": null,
        "phonenumber": "2349090264861",
        "country": null,
        "state": null,
        "city": null,
        "postcode": null,
        "status": "pending",
        "activationCode": null,
        "activatedon": null,
        "deactivatedon": null,
        "reasondeactivated": null,
        "acceptTerms": true,
        "verified": false,
        "verifiedon": null,
        "email": "[email protected]",
        "clientId": "9f600deb-8754-4837-bb76-012dcb7e8b0f",
        "meta": {
            "notification": {
                "transaction": {
                    "push": true,
                    "email": true
                }
            }
        },
				"code": "1232",
        "hasWebhook": false,
        "fee": 0.015,
        "commission": 0.001,
        "createdAt": "2023-04-04T15:23:04.000Z",
        "updatedAt": "2023-04-04T15:23:04.000Z",
        "deletedAt": null,
        "wallets": [
            {
                "id": 1687,
                "ownerid": 899,
                "uid": 1008,
                "businessId": 899,
                "balance": 0,
                "lockedBalance": 0,
                "meta": null,
                "pendingInflow": 0,
                "pendingWithdrawal": 0,
                "availableBalance": 0,
                "status": "active",
                "type": "balance",
                "currency": "ngn",
                "fee": 0.015,
                "createdAt": "2023-04-04T15:23:04.000Z",
                "updatedAt": "2023-04-04T15:23:04.000Z",
                "deletedAt": null
            },
            {
                "id": 1688,
                "ownerid": 899,
                "uid": 1008,
                "businessId": 899,
                "balance": 0,
                "lockedBalance": 0,
                "meta": null,
                "pendingInflow": 0,
                "pendingWithdrawal": 0,
                "availableBalance": 0,
                "status": "active",
                "type": "commission",
                "currency": "ngn",
                "fee": 0.001,
                "createdAt": "2023-04-04T15:23:04.000Z",
                "updatedAt": "2023-04-04T15:23:04.000Z",
                "deletedAt": null
            }
        ]
    }
}
Language
Authorization
Header
Click Try It! to start a request and see the response here!