Text Generator
Text Generator > Use Cases >Natural language to Stripe API

Natural language to Stripe API

Create code to call the Stripe API using natural language.

Example input

  • """ Util exposes the following: util.stripe() -> authenticates & returns the stripe module; usable as stripe.Charge.create etc """ import util """ Create a Stripe token using the users credit card: 5555-4444-3333-2222, expiration date 12 / 28, cvc 521 """

Example real generated results

  • star

    def _pay_with_credit_card(context):

  • star

    def valid_credit_card(card) :

  • star

    def _token(user):

  • star

    class App(object) :

try it yourself: Text Generator Playground - Natural language to Stripe API