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

#include <kalshi/models.hpp>

Public Attributes

std::string name
 Name for the API key.
 
std::string public_key
 RSA or Ed25519 public key in PEM format (-----BEGIN PUBLIC KEY-----).
 
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::CreateApiKeyRequest::name

Name for the API key.

◆ public_key

std::string kalshi::CreateApiKeyRequest::public_key

RSA or Ed25519 public key in PEM format (-----BEGIN PUBLIC KEY-----).

◆ scopes

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

List of scopes to grant to the API key.

◆ subaccount

std::optional<std::int64_t> kalshi::CreateApiKeyRequest::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::CreateApiKeyRequest::fcm_subtrader_id

FCM members only.


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