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

#include <kalshi/models.hpp>

Public Attributes

std::string api_key_id
 Unique identifier for the newly generated API key.
 
std::optional< ApiKeyType > key_type
 
std::string private_key
 Private key in PEM format - PKCS#1 (-----BEGIN RSA PRIVATE KEY-----) for rsa, PKCS#8 (-----BEGIN PRIVATE KEY-----) for ed25519.
 
std::optional< std::string > warning
 Present only when the minted key is bound to an FCM subtrader that is missing a per- subtrader risk control - the initial-margin cap (margin lane) or the event-contract daily cap.
 

Member Data Documentation

◆ api_key_id

std::string kalshi::GenerateApiKeyResponse::api_key_id

Unique identifier for the newly generated API key.

◆ key_type

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

◆ private_key

std::string kalshi::GenerateApiKeyResponse::private_key

Private key in PEM format - PKCS#1 (-----BEGIN RSA PRIVATE KEY-----) for rsa, PKCS#8 (-----BEGIN PRIVATE KEY-----) for ed25519.

◆ warning

std::optional<std::string> kalshi::GenerateApiKeyResponse::warning

Present only when the minted key is bound to an FCM subtrader that is missing a per- subtrader risk control - the initial-margin cap (margin lane) or the event-contract daily cap.


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