tests/testthat/test_pay_api.R

# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate

context("Test PayApi")

api.instance <- PayApi$new()

test_that("SapiV1PayTransactionsGet", {
  # tests for SapiV1PayTransactionsGet
  # base path: https://api.binance.com
  # Get Pay Trade History (USER_DATA)
  # - If startTimestamp and endTimestamp are not sent, the recent 90 days&#39; data will be returned. - The max interval between startTimestamp and endTimestamp is 90 days. - Support for querying orders within the last 18 months.  Weight(UID): 3000
  # @param timestamp integer UTC timestamp in ms
  # @param signature character Signature
  # @param start.timestamp integer UTC timestamp in ms (optional)
  # @param end.timestamp integer UTC timestamp in ms (optional)
  # @param limit integer default 100, max 100 (optional)
  # @param recv.window integer The value cannot be greater than 60000 (optional)
  # @return [InlineResponse200120]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})
grahamjwhite/binanceRapi documentation built on Nov. 22, 2022, 9:37 p.m.