Skip to content
Longport Whale
Interest Sharing On Financing

Edit Financing Interest Config

Submitted from the "Create / Edit" drawer on the Interest Sharing On Financing page; create and edit reuse the same interface, differing in action_in and whether an id is carried. This is a write operation involving real billing-configuration data changes.

POSThttps://b-api.longbridge.xyz/ob_file/edit_financing_interest_config

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Request body application/json

idnumber

Config ID. Included only when editing an existing record; not passed on creation.

action_instringrequired

Action Type. Enum values: 1 = create, 2 = edit, 3 = delete; send 2 when a record id is present, otherwise 1.

currencystringrequired

Currency. Enum comes from ref atm_ref_currency_iso; when editing an existing record the front end disables this field (not editable).

standard_financing_ratestringrequired

Standard Financing Rate. A percentage value; the front end validates the range > 0 and ≤ 9999, with at most 10 decimal places.

min_interest_spreadstringrequired

Minimum Interest Spread. A percentage value; validated with the same rules as standard_financing_rate.

year_fee_daysnumberrequired

Annual Fee Rate Days. Enum comes from ref settlement_year_fee_days; submitted as a number.

rounding_methodnumberrequired

Rounding Method. Enum comes from the billing_fee_cutoff_method reference; known values: 0 = round half up, 1 = round up, 2 = round down.

rounding_decimalsnumberrequired

Rounding Decimals. Enum from the ref billing_cutoff_digit; submitted as a number.

begin_monthstringrequired

Begin Month (Effective). Format YYYYMM, generated by splitting the front-end "validity period" month-range picker.

end_monthstringrequired

End Month (Effective). Format YYYYMM, generated by splitting the front-end "validity period" month-range picker.

Responses

HTTP 200No confirmable field definitions are available for the response yet.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs