kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
Loading...
Searching...
No Matches
kalshi::GenerateApiKeyRequest Struct Reference

#include <kalshi/models.hpp>

Public Attributes

std::string name
 Name for the API key.
 
std::optional< ApiKeyType > key_type
 
std::optional< std::vector< ApiKeyScope > > scopes
 List of scopes to grant to the API key.
 
std::optional< std::int64_t > subaccount
 If set, restricts the API key to a single sub-account (0-63) that you own.
 
std::optional< std::string > fcm_subtrader_id
 FCM members only.
 

Member Data Documentation

◆ name

std::string kalshi::GenerateApiKeyRequest::name

Name for the API key.

◆ key_type

std::optional<ApiKeyType> kalshi::GenerateApiKeyRequest::key_type

◆ scopes

std::optional<std::vector<ApiKeyScope> > kalshi::GenerateApiKeyRequest::scopes

List of scopes to grant to the API key.

◆ subaccount

std::optional<std::int64_t> kalshi::GenerateApiKeyRequest::subaccount

If set, restricts the API key to a single sub-account (0-63) that you own.

◆ fcm_subtrader_id

std::optional<std::string> kalshi::GenerateApiKeyRequest::fcm_subtrader_id

FCM members only.


The documentation for this struct was generated from the following file: