https://api.lbkrs.com/v1/forex/converts/recordsParameters
account_channelstringqueryRequiredBroker channel
pageintegerqueryPage number, starting from 1. Broker App omits it when querying by time range (begin/end)
sizeintegerqueryNumber of records per page. Broker App omits it when querying by time range (begin/end)
statusstringqueryStatus filter. Separate multiple values with commas, such as "0,1". Values are the same as the response state: 0 submitted, 1 processing, 2 exchanged, 3 failed, 4 rejected, 5 cancelled
source_currencysstringquerySource currency filter. Separate multiple values with commas. Available values come from source_currencys of the “Get Exchange Record Filter Currencies” operation
target_currencysstringqueryTarget currency filter. Separate multiple values with commas. Available values come from target_currencys of the “Get Exchange Record Filter Currencies” operation
beginintegerqueryStart time, as a Unix timestamp (in seconds)
endintegerqueryEnd time, as a Unix timestamp (in seconds). Broker App passes 00:00 of the day after the selected end date
Responses
HTTP 200The request succeeded. The response body contains the result of the “Get currency exchange records” operation.codemessagedatadataobjectdata structureList of exchange records
Child attributes
Exchange record id, passed as id when querying the exchange details
Source currency
Target currency
Amount submitted by the user: the source amount when direction=forward, or the target amount when direction=reverse
Exchange order number, passed as order_id when cancelling the exchange
Submission time, as a Unix timestamp (in seconds)
Update time, as a Unix timestamp (in seconds)
Exchange status: 0 submitted, 1 processing, 2 exchanged, 3 failed, 4 rejected, 5 cancelled
012345
Estimated number of business days required for processing, such as "1 ~ 2". Broker App uses it to display the estimated completion time when finish_time is empty
Estimated amount: the estimated target amount when direction=forward, or the estimated source amount when direction=reverse
Completion time, as a Unix timestamp (in seconds). In the submitted and processing states, it is the estimated completion time
Actual executed amount: the actual target amount when direction=forward, or the actual source amount when direction=reverse. It is empty or 0 before execution, in which case Broker App displays the estimate from estimate_amount instead
Back-office remarks
Exchange direction: forward for a forward exchange (submitted by source amount), reverse for a reverse exchange (submitted by target amount)
forwardreverse
Whether the exchange has been settled and taken effect. When state=2 and this field is false, Broker App displays “Exchanged (pending settlement)”
Display time, as a Unix timestamp (in seconds)
Whether the exchange can be cancelled
Display text of the exchange origin (localized). A non-empty value means the exchange was initiated by the system (for example, automatic repayment); it is empty for manual exchanges by the user
Exchange rate
Reverse exchange rate, that is, the source currency amount equivalent to 1 unit of the target currency
Scheduled exchange number
Review status
HTTP 400The service rejected the request because a business rule or input validation failed. Review the business codes and correct the request before retrying.Business status code, 0 indicates success
Human-readable result or error message.