Fixed

FPSL loan and interest amounts documented as decimal strings

Broker API

The FPSL spec now documents loan and interest amounts as decimal strings, matching what the API already returns. The JSON on the wire is unchanged, but clients generated from the spec will see these fields change from a float to a string.

  • market_value and collateral on the FPSL loan schema are now string with format: decimal (e.g. "1138.25", "1161.015").
  • customer and partner on the FPSL interest schema are now string with format: decimal (e.g. "1.23", "1.65").
  • interest on the FPSL loans analytics response is now required and described as accumulated totals across all loans in the requested date range, with its own example.
  • The shared interest description is now generic, with per-context descriptions on the loan and analytics responses, and the loans list response gains a full example.

Affected Endpoints

  • GET /v1/fpsl/loans
  • GET /v1/fpsl/analytics/{account_id}/loans