StripeKit 0.1.1
Stripe integration toolkit for C++
Loading...
Searching...
No Matches
stripekit::drogon::ClientOptions Struct Reference

Settings for make_stripe_client(). More...

#include <Drogon.h>

Public Attributes

std::string api_key
 Stripe secret key, of the form "sk_test_..." or "sk_live_...".
std::string api_base_url = "https://api.stripe.com"
 Stripe API base URL.
EventLoopOptions event_loop
 Which event loop outbound requests run on.

Detailed Description

Settings for make_stripe_client().

Definition at line 84 of file Drogon.h.

Member Data Documentation

◆ api_key

std::string stripekit::drogon::ClientOptions::api_key

Stripe secret key, of the form "sk_test_..." or "sk_live_...".

Read it from configuration or the environment, never from source, and never log it.

Definition at line 91 of file Drogon.h.

◆ api_base_url

std::string stripekit::drogon::ClientOptions::api_base_url = "https://api.stripe.com"

Stripe API base URL.

HTTPS is required except for loopback mock servers.

Definition at line 94 of file Drogon.h.

◆ event_loop

EventLoopOptions stripekit::drogon::ClientOptions::event_loop

Which event loop outbound requests run on.

Definition at line 97 of file Drogon.h.


The documentation for this struct was generated from the following file:
  • src/adapters/drogon/include/StripeKit/Adapters/Drogon.h