class

Stripe::Client

Inherits Reference < Object

Constructors

new(api_key : String = ENV["STRIPE_API_KEY"], base_uri : URI = URI.parse("https://api.stripe.com"), max_idle_pool_size : Int32 = 10, max_pool_size : Int32 = 10)
Source

Instance methods

checkout
Source
customers
Source
delete(path : String, *, params : NamedTuple | Nil = nil, as type : T.class) forall T
Source
delete(path : String, *, form : NamedTuple, as type : T.class) forall T
Source
get(path : String, *, params : NamedTuple | Nil = nil, as type : T.class) forall T
Source
get(path : String, *, form : NamedTuple, as type : T.class) forall T
Source
patch(path : String, *, params : NamedTuple | Nil = nil, as type : T.class) forall T
Source
patch(path : String, *, form : NamedTuple, as type : T.class) forall T
Source
payment_intents
Source
payment_methods
Source
post(path : String, *, params : NamedTuple | Nil = nil, as type : T.class) forall T
Source
post(path : String, *, form : NamedTuple, as type : T.class) forall T
Source
prices
Source
products
Source
setup_intents
Source
subscriptions
Source