Interface WithdrawalAPI


@Path("/api/v1/withdrawals")
@Produces("application/json")
public interface WithdrawalAPI
  • Method Details

    • applyWithdraw

      @POST @Consumes("application/json") KucoinResponse<ApplyWithdrawResponse> applyWithdraw​(@HeaderParam("KC-API-KEY") String apiKey, @HeaderParam("KC-API-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("KC-API-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("KC-API-PASSPHRASE") String apiPassphrase, ApplyWithdrawApiRequest req) throws IOException
      Apply withdraw.
      Parameters:
      withdraw - creation request
      Throws:
      IOException
    • getWithdrawalsList

      @GET KucoinResponse<Pagination<WithdrawalResponse>> getWithdrawalsList​(@HeaderParam("KC-API-KEY") String apiKey, @HeaderParam("KC-API-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("KC-API-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("KC-API-PASSPHRASE") String apiPassphrase, @QueryParam("currency") String currency, @QueryParam("status") String status, @QueryParam("startAt") Long startAt, @QueryParam("endAt") Long endAt, @QueryParam("pageSize") Integer pageSize, @QueryParam("currentPage") Integer currentPage) throws IOException
      Get Withdrawals List.
      Parameters:
      currency - string [optional] Currency code
      status - string [optional] Status. Available value: PROCESSING, WALLET_PROCESSING, SUCCESS, and FAILURE
      startAt - long [optional] Start time. Unix timestamp calculated in milliseconds will return only items which were created after the start time.
      endAt - long [optional] End time. Unix timestamp calculated in milliseconds will return only items which were created before the end time.
      pageSize - The page size.
      currentPage - The page to select.
      Returns:
      A page of orders.
      Throws:
      IOException