Skip to content
Channel Exchange Order

Channel Exchange Order

Queries Channel Exchange Order data. Combine business filters in filters, and use page, page_size, and orderBy to control pagination and sorting.

Response

On success, the API returns the matching records and pagination metadata. See each filter field for its purpose, allowed values, and dynamic value source.

GEThttps://b-api.longbridge.xyz/v1/datasets/atm_forex_channel_orders

This Dataset query is read-only. Use GET by default. If the encoded query parameters are too large, send the same parameters as a JSON body with POST to the same path.

Authorization

Authorizationstringheaderlb_hk_conversion.channelexchangebill_queryRequired

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

Query parameters

filtersobject

Filters. Combines business filters. Omit a filter field to disable that filter.

Child attributes
idstring

Channel Conversion Order No.. Filters results by Channel Conversion Order No..

forex_idstring

Conversion Order No.. Filters results by Conversion Order No..

channel_namestring

Exchange Channel. Filters results by Exchange Channel.

from_currencystring

Debit Currency. Filters results by Debit Currency.

Values are dynamic. Call GET /v1/datasets/refs/tenant_currencies_by_channel to retrieve the current data dictionary, and use the returned entry's key as this parameter's value.

to_currencystring

Credit Currency. Filters results by Credit Currency.

Values are dynamic. Call GET /v1/datasets/refs/tenant_currencies_by_channel to retrieve the current data dictionary, and use the returned entry's key as this parameter's value.

forex_typestring

Exchange Type. Filters results by Exchange Type.

Allowed values: FROM, TO

FROMTO

created_atobject

Created Time. Filters results by Created Time.

Child attributes
gtestring

Greater Than or Equal. Inclusive lower bound of the filter range.

ltestring

Less Than or Equal. Inclusive upper bound of the filter range.

success_timeobject

Exchange Completion Time. Filters results by Exchange Completion Time.

Child attributes
gtestring

Greater Than or Equal. Inclusive lower bound of the filter range.

ltestring

Less Than or Equal. Inclusive upper bound of the filter range.

channel_statusstring

Channel Exchange Status. Filters results by Channel Exchange Status.

Allowed values:

  • SUBMITTED - Submitted
  • PENDING - Pending
  • APPROVED - Approved
  • FAILED - Failed
  • REJECTED - Rejected
  • CANCELED - Canceled

SUBMITTEDPENDINGAPPROVEDFAILEDREJECTEDCANCELED

abnormal_statusstring

Exception Status. Filters results by Exception Status.

Allowed values:

  • UNPROCESSED - Unprocessed
  • WAIT_REVIEW - Pending Review
  • TURN_SUCCESS - Set as Successful
  • TURN_FAILURE - Set as Failed
  • TURN_RETRY - Re Exchange

UNPROCESSEDWAIT_REVIEWTURN_SUCCESSTURN_FAILURETURN_RETRY

pageinteger

Page. Page number to retrieve, starting from 1.

page_sizeinteger

Page Size. Number of records to return per page.

orderByarray<object>

Order By. Array of sorting rules. Each item defines a sort field and direction.

Responses

HTTP 200On success, returns paginated Channel Exchange Order records together with pagination metadata such as the page number, page size, and total record count.
Standard response envelopecodemessagedata
dataobjectdata structure
listarray<object>required

List. Returned value: List of list.

Child attributes
idstring

Channel Conversion Order No.. Returned value: Unique identifier of the current record.

forex_idstring

Conversion Order No.. Returned value: Conversion Order No..

channel_namestring

Exchange Channel. Returned value: Exchange Channel.

serial_nostring

Channel Journal. Returned value: Channel Journal.

forex_typestring

Exchange Type. Returned value: Exchange Type.

from_currencystring

Debit Currency. Returned value: Debit Currency.

from_amountstring

Debit Amount. Returned value: Debit Amount.

to_currencystring

Credit Currency. Returned value: Credit Currency.

to_amountstring

Credit Amount. Returned value: Credit Amount.

channel_ratestring

Channel Exchange Rate. Returned value: Channel Exchange Rate.

created_atstring

Created Time. Returned value: Created Time. The date or time format follows the value returned by the API.

success_timestring

Exchange Completion Time. Returned value: Exchange Completion Time. The date or time format follows the value returned by the API.

channel_statusstring

Channel Exchange Status. Returned value: Channel Exchange Status.

channel_status_valstring

Channel Exchange Status (raw value). Raw value of channel_status. The channel_status field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.

origin_statusstring

Channel Original Status. Returned value: Channel Original Status.

origin_textstring

Channel Return Information. Returned value: Channel Return Information.

abnormal_statusstring

Exception Status. Returned value: Exception Status.

abnormal_status_valstring

Exception Status (raw value). Raw value of abnormal_status. The abnormal_status field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.

abnormal_remarkstring

Manual Remarks. Returned value: Manual Remarks.

totalintegerrequired

Total. Returned value: Total number of matching records, used for pagination.

HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs