Update README
This commit is contained in:
@@ -427,19 +427,42 @@ Struct: `usecase.LoaListRequest` (`internal/interfaces/usecase/loa.go:186`)
|
|||||||
"id": "<process_id>",
|
"id": "<process_id>",
|
||||||
"desc": "success",
|
"desc": "success",
|
||||||
"data": {
|
"data": {
|
||||||
"account": [
|
"loan": [
|
||||||
{
|
{
|
||||||
"card_number_token": "f104d035a92652987b8c82dd91cb13aa...",
|
"ticket_no": "TKT001",
|
||||||
"card_number_string": "1234 **** **** 5678",
|
"card_no": "2003 **** **** 4302",
|
||||||
"name": "JOHN DOE",
|
"card_name": "Agung Harsono",
|
||||||
"currency": "IDR",
|
"card_product_type": "Easy Card",
|
||||||
"image_name": "jcb_platinum_crop",
|
"card_image_name": "bri_easy_card",
|
||||||
"image_path": "http://asset-host/card/jcb_platinum_crop.png",
|
"card_image_path": "http://asset-host/card/bri_easy_card.png",
|
||||||
"card_block": "00",
|
"account_no": "029012345678901",
|
||||||
"detail_type": "cc",
|
"account_string": "0290 **** **** 112",
|
||||||
"cif": "...",
|
"account_name": "BRItama Bisnis",
|
||||||
"financial_status": 1,
|
"account_image_name": "britama_bisnis",
|
||||||
"is_kkp": false
|
"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>
|
</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
|
### Error Codes
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user