Binance Connector JS
    Preparing search index...

    Api - interface Api

    interface ApiInterface {
        deposit(
            requestParameters: DepositRequest,
        ): Promise<RestApiResponse<DepositResponse>>;
        fiatWithdraw(
            requestParameters: FiatWithdrawRequest,
        ): Promise<RestApiResponse<FiatWithdrawResponse>>;
        getFiatDepositWithdrawHistory(
            requestParameters: GetFiatDepositWithdrawHistoryRequest,
        ): Promise<RestApiResponse<GetFiatDepositWithdrawHistoryResponse>>;
        getFiatPaymentsHistory(
            requestParameters: GetFiatPaymentsHistoryRequest,
        ): Promise<RestApiResponse<GetFiatPaymentsHistoryResponse>>;
        getOrderDetail(
            requestParameters: GetOrderDetailRequest,
        ): Promise<RestApiResponse<GetOrderDetailResponse>>;
    }

    Implemented by

    Index

    Methods

    • Submit deposit request, in this version, we only support BRL deposit via pix.

      For BRL deposit via pix, you need to place an order before making a transfer from your bank.

      Before calling this api, please make sure you have already completed your KYC or KYB, and already activated your fiat service on our website.

      Weight(UID): 45000

      Security Type: TRADE

      Notes:

      • timestamp, signature and recvWindow are sent as query-string parameters, while the business fields (currency, apiPaymentMethod, amount, ext) are sent in the JSON request body with Content-Type: application/json.

      Parameters

      Returns Promise<RestApiResponse<DepositResponse>>

      ApiInterface

    • Submit withdraw request, in this version, we support BRL,ARS,MXN withdrawal via bank_transfer.

      You need to call this api first, and call query order detail api in a loop to get the status of the order until this order is successful.

      Before calling this api, please make sure you have already completed your KYC or KYB, and already activated your fiat service on our website.

      Weight(UID): 45000

      Security Type: TRADE

      Parameters

      Returns Promise<RestApiResponse<FiatWithdrawResponse>>

      ApiInterface