stripe-server
v1.0.2
Published
http microservice for handling payments for stripe
Downloads
10
Maintainers
Readme
stripe-server
Microservice that handles stripe payments. Right now, only works with the 'charge' option.
API
GET /
PING for health of the service.
POST /charge
Create a charge for a given card.
Request:
{
"amount": 2000,
"currency": "usd",
"source": //obtained with stripe.js/checkout,
"description": "Charge for a particular person",
}
Response:
See https://stripe.com/docs/api/node#charge_object