Interface CoinbaseCdpTokenRequestInput.Builder

  • Method Details

    • requestMethod

      CoinbaseCdpTokenRequestInput.Builder requestMethod(String requestMethod)

      The HTTP method for the payment API request.

      Parameters:
      requestMethod - The HTTP method for the payment API request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestMethod

      The HTTP method for the payment API request.

      Parameters:
      requestMethod - The HTTP method for the payment API request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestHost

      CoinbaseCdpTokenRequestInput.Builder requestHost(String requestHost)

      The host for the payment API request. Defaults to "api.cdp.coinbase.com".

      Parameters:
      requestHost - The host for the payment API request. Defaults to "api.cdp.coinbase.com".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestPath

      CoinbaseCdpTokenRequestInput.Builder requestPath(String requestPath)

      The path of the payment API request.

      Parameters:
      requestPath - The path of the payment API request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includeWalletAuthToken

      CoinbaseCdpTokenRequestInput.Builder includeWalletAuthToken(Boolean includeWalletAuthToken)

      Set to true for wallet write operations (requires walletSecret configured).

      Parameters:
      includeWalletAuthToken - Set to true for wallet write operations (requires walletSecret configured).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestBody

      CoinbaseCdpTokenRequestInput.Builder requestBody(String requestBody)

      Request body JSON — used to generate wallet auth JWT.

      Parameters:
      requestBody - Request body JSON — used to generate wallet auth JWT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.