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

Describes the customer to create. More...

#include <Client.h>

Public Attributes

std::string email
 Customer email address.
std::string name
 Customer display name, as it should appear in the Stripe dashboard.
std::unordered_map< std::string, std::string > metadata
 Free-form key/value pairs to store on the customer.

Detailed Description

Describes the customer to create.

See also
https://docs.stripe.com/api/customers/create

Definition at line 36 of file Client.h.

Member Data Documentation

◆ email

std::string stripekit::CreateCustomerRequest::email

Customer email address.

Stripe uses it for receipts and invoices.

Definition at line 38 of file Client.h.

◆ name

std::string stripekit::CreateCustomerRequest::name

Customer display name, as it should appear in the Stripe dashboard.

Definition at line 41 of file Client.h.

◆ metadata

std::unordered_map<std::string, std::string> stripekit::CreateCustomerRequest::metadata

Free-form key/value pairs to store on the customer.

Stripe echoes metadata back on related webhook events, so this is a good place to record the application's own user id.

Definition at line 49 of file Client.h.


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