{
"success": true,
"message": "Login successful",
"data": {
"user": {
"id": "2428",
"user_id": "dedf2cc8-ff4b-40c7-9c3e-da9892a38362",
"business_id": "2290",
"first_name": "A",
"last_name": "B",
"phone": "111111",
"email": "teydeveydo@gufum.com",
"gender": "male",
"avatar": null,
"dial_code": "+234",
"role": "STAFF",
"timezone": "Africa/Lagos",
"is_subscribed": true,
"email_verified": true,
"created_at": "2024-08-30T12:18:35.746+01:00",
"updated_at": "2024-08-30T12:19:26.858+01:00",
"has_opened_desktop": false,
"last_login": null,
"defaultBusiness": {
"id": "2290",
"business_id": "fa8c7ee1-80c1-4935-b4b0-73eabbfaf46f",
"user_id": "2400",
"business_type_id": "15",
"name": "Maman",
"code": null,
"country": "Angola (AGO)",
"state": "",
"address": "lekki face one",
"currency": "VEF",
"logo": "https://res.cloudinary.com/dwfnoynkp/image/upload/v1720098558/dev/logos/business-fa8c7ee1-80c1-4935-b4b0-73eabbfaf46f.jpg",
"is_verified": false,
"is_active": true,
"created_at": "2024-05-30T00:58:33.454+01:00",
"updated_at": "2025-02-05T13:17:13.218+01:00",
"brand_color": "#0898A0"
},
"fullName": "A B",
"defaultBusinessStaffs": [
{
"id": "2428",
"email": "teydeveydo@gufum.com",
"first_name": "A",
"last_name": "B",
"user_id": "dedf2cc8-ff4b-40c7-9c3e-da9892a38362",
"role": "STAFF",
"business_id": "2290",
"is_active": true,
"created_at": "2024-08-30T11:18:35.752Z"
}
],
"subscription": null
},
"businesses": [],
"defaultBusiness": {
"id": "2290",
"business_id": "fa8c7ee1-80c1-4935-b4b0-73eabbfaf46f",
"user_id": "2400",
"business_type_id": "15",
"name": "Maman",
"code": null,
"country": "Angola (AGO)",
"state": "",
"address": "lekki face one",
"currency": "VEF",
"logo": "https://res.cloudinary.com/dwfnoynkp/image/upload/v1720098558/dev/logos/business-fa8c7ee1-80c1-4935-b4b0-73eabbfaf46f.jpg",
"is_verified": false,
"is_active": true,
"created_at": "2024-05-30T00:58:33.454+01:00",
"updated_at": "2025-02-05T13:17:13.218+01:00",
"brand_color": "#0898A0",
"businessType": {
"id": "15",
"title": "Goods Production",
"icon_name": "Beker",
"sort": 11,
"is_visible": true,
"created_at": "2023-09-21T20:32:13.355+01:00",
"updated_at": null
},
"bankDetails": [
{
"id": "318",
"user_id": "2400",
"business_id": "2290",
"bank_name": "Wema",
"account_number": "10107070808",
"account_name": "Ololade",
"created_at": "2024-07-04T14:03:51.302+01:00",
"updated_at": "2024-07-04T14:03:51.302+01:00",
"created_by": null
},
{
"id": "319",
"user_id": "2400",
"business_id": "2290",
"bank_name": "Access",
"account_number": "1488386558",
"account_name": "Adeleke Michael Adebowale",
"created_at": "2024-07-04T14:07:15.806+01:00",
"updated_at": "2024-07-04T14:07:15.806+01:00",
"created_by": null
},
{
"id": "336",
"user_id": "2400",
"business_id": "2290",
"bank_name": "GTB Bank",
"account_number": "0694255043",
"account_name": "Ifeoluwa Alao",
"created_at": "2024-08-14T09:29:47.313+01:00",
"updated_at": "2024-08-14T09:29:47.313+01:00",
"created_by": null
},
{
"id": "335",
"user_id": "2400",
"business_id": "2290",
"bank_name": "GTB Bank",
"account_number": "0694255043",
"account_name": "Ifeoluwa Alao",
"created_at": "2024-08-14T09:28:21.640+01:00",
"updated_at": "2024-08-14T09:28:21.640+01:00",
"created_by": null
},
{
"id": "334",
"user_id": "2400",
"business_id": "2290",
"bank_name": "GTB Bank",
"account_number": "0694255043",
"account_name": "Ifeoluwa Alao",
"created_at": "2024-08-14T09:26:56.990+01:00",
"updated_at": "2024-08-14T09:26:56.990+01:00",
"created_by": null
},
{
"id": "339",
"user_id": "2400",
"business_id": "2290",
"bank_name": "GTB Bank",
"account_number": "0694255043",
"account_name": "Ifeoluwa Alao",
"created_at": "2024-08-15T09:18:34.018+01:00",
"updated_at": "2024-08-15T09:18:34.018+01:00",
"created_by": "2400"
},
{
"id": "322",
"user_id": "2400",
"business_id": "2290",
"bank_name": "GTB Bank",
"account_number": "0694255043",
"account_name": "Ifeoluwa Alao",
"created_at": "2024-07-25T23:58:34.616+01:00",
"updated_at": "2024-07-25T23:58:34.616+01:00",
"created_by": null
},
{
"id": "321",
"user_id": "2400",
"business_id": "2290",
"bank_name": "GTB Bank",
"account_number": "0694255043",
"account_name": "Ifeoluwa Alao",
"created_at": "2024-07-25T23:57:10.388+01:00",
"updated_at": "2024-07-25T23:57:10.388+01:00",
"created_by": null
},
{
"id": "337",
"user_id": "2400",
"business_id": "2290",
"bank_name": "GTB Bank",
"account_number": "0694255043",
"account_name": "Ifeoluwa Alao",
"created_at": "2024-08-14T09:34:28.729+01:00",
"updated_at": "2024-08-14T09:34:28.730+01:00",
"created_by": null
}
],
"tax": {
"id": "2151",
"user_id": "2400",
"business_id": "2290",
"tax": 5,
"created_at": "2024-07-04T14:07:31.217+01:00",
"updated_at": "2024-08-15T09:18:35.665+01:00"
},
"paymentNote": {
"id": "34",
"user_id": "2426",
"business_id": "2290",
"name": "Default",
"description": "Please ensure to view your products to ensure they are in good condition. No return after purchase",
"created_at": "2024-07-04T14:11:02.076+01:00",
"updated_at": "2024-09-20T20:12:41.477+01:00",
"created_by": "2400"
},
"staffs": [
{
"id": "2428",
"email": "teydeveydo@gufum.com",
"first_name": "A",
"last_name": "B",
"user_id": "dedf2cc8-ff4b-40c7-9c3e-da9892a38362",
"role": "STAFF",
"business_id": "2290",
"is_active": true,
"created_at": "2024-08-30T11:18:35.752Z"
}
],
"role": "STAFF"
},
"staffs": [
{
"id": "2431",
"user_id": "2428",
"business_id": "2290",
"role": "STAFF",
"is_active": true,
"deleted_at": null,
"created_at": "2024-08-30T12:18:35.752+01:00",
"updated_at": "2024-11-05T17:15:46.911+01:00"
}
],
"staff_permission": [
{
"id": "2431",
"user_id": "2428",
"business_id": "2290",
"role": "STAFF",
"is_active": true,
"deleted_at": null,
"created_at": "2024-08-30T12:18:35.752+01:00",
"updated_at": "2024-11-05T17:15:46.911+01:00",
"rolePermission": [
{
"id": "7",
"role": "STAFF",
"permission_id": "7",
"created_at": "2024-02-16T19:57:27.388Z",
"updated_at": "2024-02-16T19:57:27.388Z",
"code": "CREATE_TRANSACTION",
"resource": null
}
]
}
],
"type": "bearer",
"token": "MTE2ODc.66uv3xLMRXqrTU5SmdeoULPdbI2c8Vhr0RsAkdrjsCIgYCKJfaH-loPX7Xt7"
}
}