You're probably already aware of this, but there are 3rd party[0] libraries, including one for Lua[1]
[0]: https://stripe.com/docs/libraries#third-party [1]: https://github.com/wsummerlin/stripe-lua