Sign inSign up

marcbachmann/stripe-create-charge

By marcbachmann

Updated almost 9 years ago

A microservice to create a charge using a stripe token retrieved in a client side checkout process

Image
0

302

marcbachmann/stripe-create-charge repository overview

stripe-create-charge

A microservice to charge a credit card using a stripe token retrieved in a client side checkout process. See https://stripe.com/docs/checkout/tutorial for more details.

Run

docker run -it --rm -e STRIPE_SECRET=sk_your_secret -p 8080:8080 marcbachmann/stripe-create-charge
curl -XPOST -d '{"amount": 1000, "currency": "usd", "description": "some description", "token": "tokenretrievedfromstripe"}' http://localhost:8080/

Tag summary

Content type

Image

Digest

Size

25.4 MB

Last updated

almost 9 years ago

docker pull marcbachmann/stripe-create-charge