{
"success": true,
"message": "Login successful",
"data": {
"user": {
"id": "2419",
"user_id": "fcf0a252-3ed2-461e-bd04-0e787e3f026c",
"business_id": "2290",
"first_name": "Abdul",
"last_name": "gumi",
"phone": "587445",
"email": "abdullah@mycantant.com",
"gender": "male",
"avatar": null,
"dial_code": "+234",
"role": "MANAGER",
"timezone": "Africa/Lagos",
"is_subscribed": true,
"email_verified": true,
"created_at": "2024-06-07T12:07:01.036+01:00",
"updated_at": "2025-01-14T13:59:05.598+01:00",
"has_opened_desktop": true,
"last_login": "2025-01-14T13:59:05.595+01:00",
"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": "Abdul gumi",
"defaultBusinessStaffs": [
{
"id": "2400",
"email": "adeleke1402@gmail.com",
"first_name": "Aa",
"last_name": "Mm",
"user_id": "71a1e24c-e5ad-4aef-95af-7dbcb74e2988",
"role": "OWNER",
"business_id": "2290",
"is_active": true,
"created_at": "2024-05-29T23:58:33.461Z"
},
{
"id": "2402",
"email": "d2402__abdullah@mycantant.com",
"first_name": "Abdul",
"last_name": "Gumi",
"user_id": "935b5f87-d599-444b-b1cf-ec0e045f4114",
"role": "PARTNER",
"business_id": "2290",
"is_active": true,
"created_at": "2024-05-30T17:50:53.748Z"
},
{
"id": "2404",
"email": "d2404__abdullah@mycantant.com",
"first_name": "Abdullah",
"last_name": "Gumi",
"user_id": "60c69141-b6ad-4b79-9a8a-96024c984ea2",
"role": "PARTNER",
"business_id": "2290",
"is_active": true,
"created_at": "2024-06-04T17:17:27.492Z"
},
{
"id": "2405",
"email": "d2405__abdullah@mycantant.com",
"first_name": "Gumi",
"last_name": "Abdul",
"user_id": "3c81c29d-a9af-4516-be23-a0e068d7639a",
"role": "STAFF",
"business_id": "2290",
"is_active": true,
"created_at": "2024-06-04T17:39:09.954Z"
},
{
"id": "2406",
"email": "d2406__abdullah@mycantant.com",
"first_name": "Gumi",
"last_name": "Abdul",
"user_id": "420a1ec5-87ab-4533-93ee-cd9c177230a0",
"role": "STAFF",
"business_id": "2290",
"is_active": true,
"created_at": "2024-06-04T17:43:09.237Z"
},
{
"id": "2407",
"email": "d2407__abdullah@mycantant.com",
"first_name": "Gummi",
"last_name": "Abdul",
"user_id": "f1f124f8-0826-47bb-9070-61498e5ccb61",
"role": "PARTNER",
"business_id": "2290",
"is_active": true,
"created_at": "2024-06-04T17:46:28.118Z"
},
{
"id": "2412",
"email": "d2412__cathedralmessiah98@gmail.com",
"first_name": "Cat",
"last_name": "Me",
"user_id": "a43f01a1-66c4-4f2b-9417-7f5b8c8b34ea",
"role": "PARTNER",
"business_id": "2290",
"is_active": true,
"created_at": "2024-06-05T08:23:29.208Z"
},
{
"id": "2413",
"email": "d2413__adebowale1402@gmail.com",
"first_name": "Car",
"last_name": "Read",
"user_id": "294fd8bb-074b-4cf7-80eb-b2d0ae838ba6",
"role": "STAFF",
"business_id": "2290",
"is_active": true,
"created_at": "2024-06-05T08:36:47.238Z"
},
{
"id": "2419",
"email": "abdullah@mycantant.com",
"first_name": "Abdul",
"last_name": "gumi",
"user_id": "fcf0a252-3ed2-461e-bd04-0e787e3f026c",
"role": "MANAGER",
"business_id": "2290",
"is_active": true,
"created_at": "2024-06-07T11:07:01.042Z"
},
{
"id": "2426",
"email": "cathedralmessiah98@gmail.com",
"first_name": "Ade",
"last_name": "Ola",
"user_id": "1578ec90-b5d6-4b57-9ca3-343aa0ddf26a",
"role": "PARTNER",
"business_id": "2290",
"is_active": true,
"created_at": "2024-06-24T05:17:40.892Z"
},
{
"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"
},
{
"id": "3893",
"email": "itunuoluwa1402+testing196@gmail.com",
"first_name": "Lol",
"last_name": "Kpi",
"user_id": "9ae44578-f659-4a12-98a5-23be9e78c6d0",
"role": "STAFF",
"business_id": "2290",
"is_active": true,
"created_at": "2025-02-02T19:20:15.314Z"
}
],
"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": "2400",
"email": "adeleke1402@gmail.com",
"first_name": "Aa",
"last_name": "Mm",
"user_id": "71a1e24c-e5ad-4aef-95af-7dbcb74e2988",
"role": "OWNER",
"business_id": "2290",
"is_active": true,
"created_at": "2024-05-29T23:58:33.461Z"
},
{
"id": "2402",
"email": "d2402__abdullah@mycantant.com",
"first_name": "Abdul",
"last_name": "Gumi",
"user_id": "935b5f87-d599-444b-b1cf-ec0e045f4114",
"role": "PARTNER",
"business_id": "2290",
"is_active": true,
"created_at": "2024-05-30T17:50:53.748Z"
},
{
"id": "2404",
"email": "d2404__abdullah@mycantant.com",
"first_name": "Abdullah",
"last_name": "Gumi",
"user_id": "60c69141-b6ad-4b79-9a8a-96024c984ea2",
"role": "PARTNER",
"business_id": "2290",
"is_active": true,
"created_at": "2024-06-04T17:17:27.492Z"
},
{
"id": "2405",
"email": "d2405__abdullah@mycantant.com",
"first_name": "Gumi",
"last_name": "Abdul",
"user_id": "3c81c29d-a9af-4516-be23-a0e068d7639a",
"role": "STAFF",
"business_id": "2290",
"is_active": true,
"created_at": "2024-06-04T17:39:09.954Z"
},
{
"id": "2406",
"email": "d2406__abdullah@mycantant.com",
"first_name": "Gumi",
"last_name": "Abdul",
"user_id": "420a1ec5-87ab-4533-93ee-cd9c177230a0",
"role": "STAFF",
"business_id": "2290",
"is_active": true,
"created_at": "2024-06-04T17:43:09.237Z"
},
{
"id": "2407",
"email": "d2407__abdullah@mycantant.com",
"first_name": "Gummi",
"last_name": "Abdul",
"user_id": "f1f124f8-0826-47bb-9070-61498e5ccb61",
"role": "PARTNER",
"business_id": "2290",
"is_active": true,
"created_at": "2024-06-04T17:46:28.118Z"
},
{
"id": "2412",
"email": "d2412__cathedralmessiah98@gmail.com",
"first_name": "Cat",
"last_name": "Me",
"user_id": "a43f01a1-66c4-4f2b-9417-7f5b8c8b34ea",
"role": "PARTNER",
"business_id": "2290",
"is_active": true,
"created_at": "2024-06-05T08:23:29.208Z"
},
{
"id": "2413",
"email": "d2413__adebowale1402@gmail.com",
"first_name": "Car",
"last_name": "Read",
"user_id": "294fd8bb-074b-4cf7-80eb-b2d0ae838ba6",
"role": "STAFF",
"business_id": "2290",
"is_active": true,
"created_at": "2024-06-05T08:36:47.238Z"
},
{
"id": "2419",
"email": "abdullah@mycantant.com",
"first_name": "Abdul",
"last_name": "gumi",
"user_id": "fcf0a252-3ed2-461e-bd04-0e787e3f026c",
"role": "MANAGER",
"business_id": "2290",
"is_active": true,
"created_at": "2024-06-07T11:07:01.042Z"
},
{
"id": "2426",
"email": "cathedralmessiah98@gmail.com",
"first_name": "Ade",
"last_name": "Ola",
"user_id": "1578ec90-b5d6-4b57-9ca3-343aa0ddf26a",
"role": "PARTNER",
"business_id": "2290",
"is_active": true,
"created_at": "2024-06-24T05:17:40.892Z"
},
{
"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"
},
{
"id": "3893",
"email": "itunuoluwa1402+testing196@gmail.com",
"first_name": "Lol",
"last_name": "Kpi",
"user_id": "9ae44578-f659-4a12-98a5-23be9e78c6d0",
"role": "STAFF",
"business_id": "2290",
"is_active": true,
"created_at": "2025-02-02T19:20:15.314Z"
}
],
"role": "MANAGER"
},
"staffs": [
{
"id": "2405",
"user_id": "2419",
"business_id": "2290",
"role": "MANAGER",
"is_active": true,
"deleted_at": null,
"created_at": "2024-06-07T12:07:01.042+01:00",
"updated_at": "2024-06-07T12:07:01.042+01:00"
}
],
"staff_permission": [
{
"id": "2405",
"user_id": "2419",
"business_id": "2290",
"role": "MANAGER",
"is_active": true,
"deleted_at": null,
"created_at": "2024-06-07T12:07:01.042+01:00",
"updated_at": "2024-06-07T12:07:01.042+01:00",
"rolePermission": [
{
"id": "3",
"role": "MANAGER",
"permission_id": "3",
"created_at": "2024-02-16T19:57:25.653Z",
"updated_at": "2024-02-16T19:57:25.653Z",
"code": "CREATE_PRODUCT",
"resource": null
},
{
"id": "4",
"role": "MANAGER",
"permission_id": "4",
"created_at": "2024-02-16T19:57:26.089Z",
"updated_at": "2024-02-16T19:57:26.089Z",
"code": "READ_PRODUCT",
"resource": null
},
{
"id": "5",
"role": "MANAGER",
"permission_id": "5",
"created_at": "2024-02-16T19:57:26.528Z",
"updated_at": "2024-02-16T19:57:26.528Z",
"code": "MANAGE_PRODUCT",
"resource": null
},
{
"id": "7",
"role": "MANAGER",
"permission_id": "7",
"created_at": "2024-02-16T19:57:27.388Z",
"updated_at": "2024-02-16T19:57:27.388Z",
"code": "CREATE_TRANSACTION",
"resource": null
},
{
"id": "9",
"role": "MANAGER",
"permission_id": "9",
"created_at": "2024-02-16T19:57:28.677Z",
"updated_at": "2024-02-16T19:57:28.677Z",
"code": "MANAGE_TRANSACTION",
"resource": null
},
{
"id": "24",
"role": "MANAGER",
"permission_id": "24",
"created_at": "2024-02-16T19:57:35.100Z",
"updated_at": "2024-02-16T19:57:35.100Z",
"code": "READ_BUSINESS",
"resource": null
}
]
}
],
"type": "bearer",
"token": "MTE5MDI.yDTGvhTScx4qi8aikPjT8GO9T70B5lH3PxoMG5Rul98EWPKSY5bVmH7KNnQh"
}
}