Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

stripe-elixir

a Stripe wrapper for Elixir

Usage

Add the following to your dependencies in your mix file:

{ :stripe, github: "slogsdon/stripe-elixir" }
Note

stripe-elixir requires the STRIPE_SECRET_KEY environment variable set to a valid API key associated with your Stripe account.

iex> Stripe.start
:ok
iex> Stripe.InvoiceItems.list
[Stripe.InvoiceItem[id: "ii_103lSZ2eZvKYlo2C6Zz1aFHv", object: "invoiceitem",
  livemode: false, amount: 1000, currency: "usd",
  customer: "cus_3lPWbj9wX1KqP6", date: {{2014, 3, 30}, {3, 0, 11}},
  proration: false, description: "One-time setup fee", invoice: nil,
  metadata: [{}], subscription: nil],
 Stripe.InvoiceItem[id: "ii_103kXf2eZvKYlo2CkRlaXEN6", object: "invoiceitem",
  livemode: false, amount: 350, currency: "usd", customer: "cus_3kXfWSyHPMZOan",
  date: {{2014, 3, 27}, {16, 11, 35}}, proration: false, description: nil,
  invoice: "in_103kXf2eZvKYlo2CgUV8Vctw", metadata: [{}], subscription: nil],
  ...]

Reference

See Stripe's API docs.

Dependencies

License

See LICENSE

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published

Languages