A microservice to create a charge using a stripe token retrieved in a client side checkout process
302
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.
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/
Content type
Image
Digest
Size
25.4 MB
Last updated
almost 9 years ago
docker pull marcbachmann/stripe-create-charge