API Docs
Wallets & Payment
Update Wallet Payment

Update Wallet Payment

Mutation to modify the option for your payments (Threshold, weekly etc...)

⚠️

updateWalletPayment query has rate limitation in place.

Initially, the API allows for a burst of up to 20 requests, and afterward, it gradually restores 1 request every 10 seconds until reaching the maximum allowable limit of 20.

This limitation is imposed to manage and control the rate at which requests can be made to the API, preventing potential misuse or excessive use of resources.

Example

mutation updateWalletPayment {
  updateWalletPayment(
    input: {
      weeklyIntervalPaymentFrequency: TUESDAY
      paymentMode: THRESHOLD
      coinId: BTC
      otp: ""
      uname: "your_username"
    }
  ) {
    wallet {
      paymentMode
      paymentIntervalHours
      paymentThreshold
      remainingFreezingTime
      pendingBalance
      weeklyIntervalPaymentFrequency
    }
  }
}

Response

{
  "data": {
    "updateWalletPayment": {
      "wallet": {
        "paymentMode": "THRESHOLD",
        "paymentIntervalHours": ,
        "paymentThreshold": ,
        "remainingFreezingTime": ,
        "pendingBalance": "0.00",
        "weeklyIntervalPaymentFrequency": "TUESDAY"
      }
    }
  }
}

Arguments

  • weeklyIntervalPaymentFrequency
VALUES: SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
  • paymentMode
VALUES: THRESHOLD, DAILY_INTERVAL, WEEKLY_INTERVAL
  • coinId
  ARRR
  BTC
  DASH
  DCR
  KMD
  LBC
  SC
  SCP
  ZEC
  ZEN
  USD
  TBTC
  ETH
  TETH
  USDT