Update README
This commit is contained in:
@@ -427,19 +427,42 @@ Struct: `usecase.LoaListRequest` (`internal/interfaces/usecase/loa.go:186`)
|
||||
"id": "<process_id>",
|
||||
"desc": "success",
|
||||
"data": {
|
||||
"account": [
|
||||
"loan": [
|
||||
{
|
||||
"card_number_token": "f104d035a92652987b8c82dd91cb13aa...",
|
||||
"card_number_string": "1234 **** **** 5678",
|
||||
"name": "JOHN DOE",
|
||||
"currency": "IDR",
|
||||
"image_name": "jcb_platinum_crop",
|
||||
"image_path": "http://asset-host/card/jcb_platinum_crop.png",
|
||||
"card_block": "00",
|
||||
"detail_type": "cc",
|
||||
"cif": "...",
|
||||
"financial_status": 1,
|
||||
"is_kkp": false
|
||||
"ticket_no": "TKT001",
|
||||
"card_no": "2003 **** **** 4302",
|
||||
"card_name": "Agung Harsono",
|
||||
"card_product_type": "Easy Card",
|
||||
"card_image_name": "bri_easy_card",
|
||||
"card_image_path": "http://asset-host/card/bri_easy_card.png",
|
||||
"account_no": "029012345678901",
|
||||
"account_string": "0290 **** **** 112",
|
||||
"account_name": "BRItama Bisnis",
|
||||
"account_image_name": "britama_bisnis",
|
||||
"account_image_path": "http://asset-host/account/britama_bisnis.png",
|
||||
"request_time": "09 February 2026, 09:41:02 WIB",
|
||||
"amount": "Rp3.200.000",
|
||||
"monthly_payment": "Rp1.015.000",
|
||||
"admin_fee": "Rp200.000",
|
||||
"interest_rate": "0%",
|
||||
"term": "3 Bulan",
|
||||
"sla_note": "Proses pengajuan 1x24 jam kerja. Kamu akan diberi notifikasi saat pencairan disetujui.",
|
||||
"status": "PROCESSING|APPROVED|REJECTED",
|
||||
"status_string": "Pengajuan Diproses|Pengajuan Disetujui|Pengajuan Ditolak",
|
||||
"progress": [
|
||||
{
|
||||
"status_title": "Pengajuan dalam Analisis",
|
||||
"status_time": "09 Feb 2026, 09:41 WIB",
|
||||
"order": 1,
|
||||
"current": true
|
||||
},
|
||||
{
|
||||
"status_title": "Pengajuan Disetujui|Pengajuan Ditolak",
|
||||
"status_time": "",
|
||||
"order": 2,
|
||||
"current": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -448,7 +471,7 @@ Struct: `usecase.LoaListRequest` (`internal/interfaces/usecase/loa.go:186`)
|
||||
|
||||
</details>
|
||||
|
||||
`data` is `usecase.LoaListResponse`. When the user has no eligible cards, `code` is `01` and `account` is an empty array (see `list.go:83-86`).
|
||||
`data` is `usecase.LoaListResponse`. When the user has no eligible cards, `code` is `01` and `loan` is an empty array (see `list.go:83-86`).
|
||||
|
||||
### Error Codes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user