Files
mock-data/db.json

247 lines
6.5 KiB
JSON
Raw Normal View History

2026-04-06 00:17:17 +07:00
{
"homeData": {
"result": {
"ok": true,
"responseCode": "00",
"message": "Thành công"
},
"accounts": [
{
"accountNumber": "012345678",
"accountName": "NGUYEN VAN A",
"type": "DEFAULT",
"balance": "151,000,000",
"currency": "VND",
"isDefault": true
},
{
"accountNumber": "012345679",
"accountName": "NGUYEN VAN A",
"type": "APPLE_PAY",
"balance": "25,500,000",
"currency": "VND",
"isDefault": false
},
{
"accountNumber": "012345680",
"accountName": "NGUYEN VAN A",
"type": "OVERDRAFT",
"balance": "50,000,000",
"currency": "VND",
"isDefault": false
},
{
"accountNumber": "012345681",
"accountName": "NGUYEN VAN A",
"type": "SALARY",
"balance": "88,200,000",
"currency": "VND",
"isDefault": false
},
{
"accountNumber": "012345682",
"accountName": "NGUYEN VAN A",
"type": "DEFAULT",
"balance": "5,000",
"currency": "USD",
"isDefault": false
},
{
"accountNumber": "012345683",
"accountName": "NGUYEN VAN A",
"type": "DEFAULT",
"balance": "2,800",
"currency": "EUR",
"isDefault": false
}
],
"businessAccounts": [
{
"accountNumber": "198765432",
"accountName": "NGUYEN VAN A",
"businessName": "Cửa hàng Tạp hóa Minh Anh",
"balance": "320,500,000",
"currency": "VND"
},
{
"accountNumber": "198765433",
"accountName": "NGUYEN VAN A",
"businessName": "Quán Cafe Sunrise",
"balance": "85,200,000",
"currency": "VND"
},
{
"accountNumber": "198765434",
"accountName": "NGUYEN VAN A",
"businessName": "Shop Online ABC",
"balance": "12,500",
"currency": "USD"
}
],
"loyaltyPoints": "2,450",
"cashbackAmount": "888,000",
"memberLevel": "GOLD",
"recentTransactions": [
{
"transactionId": "TXN20260325001234",
"amount": "1,000,000",
"status": "SUCCESS",
"executedAt": "2026-03-25T10:30:00Z",
"description": "Nạp tiền tài khoản",
"accountNumber": "012345678"
},
{
"transactionId": "TXN20260325001235",
"amount": "500,000",
"status": "SUCCESS",
"executedAt": "2026-03-24T08:20:00Z",
"description": "Nạp tiền tài khoản",
"accountNumber": "012345678"
},
{
"transactionId": "TXN20260325001236",
"amount": "2,200,000",
"status": "PENDING",
"executedAt": "2026-03-22T12:00:00Z",
"description": "Nạp tiền tài khoản",
"accountNumber": "012345678"
}
]
},
"searchSeed": {
"recentSearches": [
"Chuyển tiền nhanh",
"Nạp điện thoại",
"Thanh toán hóa đơn"
],
"recommendedFeatures": [
{
"code": "MOVE_MONEY",
"name": "Chuyển tiền",
"iconCode": "moveMoney"
},
{
"code": "TOPUP",
"name": "Nạp tiền ĐT",
"iconCode": "topup"
},
{
"code": "DEPOSIT",
"name": "Tiết kiệm",
"iconCode": "deposit"
},
{
"code": "LOAN",
"name": "Vay vốn",
"iconCode": "loan"
}
],
"recommendedChips": [
{
"id": "C1",
"label": "Dán chuyển tiền",
"isNew": true,
"actionCode": "TRANSFER_LABEL"
},
{
"id": "C2",
"label": "Vay tiêu dùng",
"isNew": false,
"actionCode": "CONSUMER_LOAN"
},
{
"id": "C3",
"label": "Nạp điện thoại tự động",
"isNew": true,
"actionCode": "AUTO_TOPUP"
}
],
"suggestions": [
{
"id": "SUG001",
"title": "Chuyển tiền nhanh 24/7",
"description": "Chuyển tiền tức thì đến mọi ngân hàng, không mất phí",
"type": "FEATURE",
"actionCode": "TRANSFER"
},
{
"id": "SUG002",
"title": "Ưu đãi hoàn tiền 10% khi nạp điện thoại",
"description": "Áp dụng từ 01/03 - 31/03/2026 cho thẻ MB",
"type": "PROMOTION",
"actionCode": "TOPUP_PHONE"
},
{
"id": "SUG003",
"title": "Mẹo quản lý chi tiêu thông minh",
"description": "Thiết lập ngân sách theo tuần để tối ưu tiền nhàn rỗi",
"type": "TIP",
"actionCode": "SPENDING_TIP"
},
{
"id": "SUG004",
"title": "Mở sổ tiết kiệm online",
"description": "Lãi suất cao hơn quầy, gửi tiền chỉ 30 giây",
"type": "FEATURE",
"actionCode": "OPEN_DEPOSIT"
}
]
},
"rewardSeed": {
"banners": [
{
"id": "BN001",
"imageUrl": "/images/banners/banner_01.png",
"redirectUrl": "https://www.mbbank.com.vn/promotion/summer-sale"
},
{
"id": "BN002",
"imageUrl": "/images/banners/banner_01.png",
"redirectUrl": "https://www.mbbank.com.vn/promotion/cashback-50"
},
{
"id": "BN003",
"imageUrl": "/images/banners/banner_01.png",
"redirectUrl": "https://www.mbbank.com.vn/promotion/new-year-2026"
}
],
"vouchers": [
{
"id": "V001",
"imageUrl": "/images/vouchers/starbucks.png",
"content": "Giảm 40% tại Starbucks cho đơn từ 100K",
"expiry": "Hạn: 25/06/2026",
"requireCardSpending": false
},
{
"id": "V002",
"imageUrl": "/images/vouchers/kfc.png",
"content": "Giảm 68K cho combo gà rán KFC",
"expiry": "",
"requireCardSpending": true
},
{
"id": "V003",
"imageUrl": "/images/vouchers/bamboo.png",
"content": "Đồng giá 39K",
"expiry": "Hạn: 15/05/2026",
"requireCardSpending": false
},
{
"id": "V004",
"imageUrl": "/images/vouchers/kfc_2.png",
"content": "Giảm 68K",
"expiry": "Hạn: 30/04/2026",
"requireCardSpending": true
},
{
"id": "V005",
"imageUrl": "/images/vouchers/thai_air.png",
"content": "Vé giảm 50%",
"expiry": "Hạn: 30/09/2026",
"requireCardSpending": false
}
]
}
}