4.17. Tra cứu nợ

GET/erebos/v2/digital/margin-info
Tra cứu thông tin nợ margin của một tiểu khoản.

Header

TênKiểuBắt buộcMô tả
AuthorizationstringBearer <access token>.
Content-Typestringapplication/json.

Request parameter

TênKiểuBắt buộcMô tả
acctnostringSố tiểu khoản.
fromdatestringTừ ngày (YYYY-MM-DD).
toDatestringĐến ngày (YYYY-MM-DD).
pagestringSố trang.
sizestringSố bản ghi mỗi trang.
custodycdstringSố tài khoản lưu ký.
GET /erebos/v2/digital/margin-info?acctno=0001170730&fromdate=2025-01-01&toDate=2025-01-15&page=1&size=25&custodycd=105C209414
curl "https://openapi.tcbs.com.vn/erebos/v2/digital/margin-info?acctno=0001170730&fromdate=2025-01-01&toDate=2025-01-15&page=1&size=25&custodycd=105C209414" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json"

Response

TênKiểuBắt buộcMô tả
response.totalRowint64Số bản ghi.
response.totalPageint64Số trang.
response.data[].releaseDatestringNgày giải ngân.
response.data[].overDueDatestringNgày đáo hạn.
response.data[].releasedAmountnumberGốc giải ngân.
response.data[].printAmountnumberNợ gốc hiện tại.
response.data[].intAmountnumberNợ lãi và phí hiện tại.
response.data[].remainingInterestFeenumberTổng nợ lãi và phí hiện tại.
response.data[].paidInterestFeenumberTổng lãi và phí đã trả.
response.data[].rate2numberLãi suất.
response.data[].releasedDaynumberSố ngày vay.
response.data[].paidFeenumberPhí đã trả.
response.data[].remainingFeenumberPhí còn lại.
{
  "response": {
    "totalRow": 1,
    "totalPage": 6,
    "data": [
      {
        "releaseDate": "2022-07-11",
        "overDueDate": "2022-10-10",
        "releasedAmount": 14444940,
        "printAmount": 0,
        "intAmount": 0,
        "remainingInterestFee": 0,
        "paidInterestFee": 18205,
        "rate2": 11.5,
        "releasedDay": 4,
        "paidFee": 0,
        "remainingFee": 0
      }
    ]
  }
}