An OMG service for Stripe, it allows individuals and businesses to receive payments over the Internet. Stripe provides the technical, fraud prevention, and banking infrastructure required to operate on-line payment systems.
omg validate
omg build
$ omg run create_charge -a amount=<AMOUNT> -a currency=<CURRENCY> -a description=<DESCRIPTION> -a capture=<TRUE/FALSE> -e SECRET_KEY=<SECRET_KEY>
$ omg run capture_charge -a charge=<CHARGE_ID> -e SECRET_KEY=<SECRET_KEY>
$ omg run get_balance -e SECRET_KEY=<SECRET_KEY>
$ omg run create_payment_intent -a amount=<AMOUNT> -a currency=<CURRENCY> -a customer=<CUSTOMER_ID> -a savepaymentmethod=<TRUE/FALSE> -a capturemethod=<AUTOMATIC/MANUAL> -a paymentmethodtypes=<METHOD_LIST> -e SECRET_KEY=<SECRET_KEY>
$ omg run retrieve_payment_intent -a paymentintentid=<PAYMENTINTENT_ID> -e SECRET_KEY=<SECRET_KEY>
$ omg run update_payment_intent -a amount=<AMOUNT> -a paymentintentid=<PAYMENTINTENT_ID> -a shipping=<SHIPPING_OBJECT> -e SECRET_KEY=<SECRET_KEY>
$ omg run capture_payment_intent -a paymentintentid=<PAYMENTINTENT_ID> -a amounttocapture=<AMOUNT_TO_CAPTURE> -e SECRET_KEY=sk_test_gENQu8ecxwwMUsWlgsQeqbgI
$ omg run cancel_payment_intent -a paymentintentid=<PAYMENTINTENT_ID> -e SECRET_KEY=<SECRET_KEY>
omg run list_all_payment_intent -e SECRET_KEY=<SECRET_KEY>
$ omg run create_customer -a description=<DESCRIPTION> -a email=<CUSTOMER_EMAIL> -e SECRET_KEY=<SECRET_KEY>
$ omg run create_card -a source=<SOURCE_DETAILS> -a customer=<CUSTOMER_ID> -a metadata=<METADATA> -a token=<CARD_TOKEN> -e SECRET_KEY=<SECRET_KEY>
$ omg run create_refund -a charge=<CHARGE_ID> -e SECRET_KEY=<SECRET_KEY>
docker build -t microservice-stripe .
docker run -p 3000:3000 microservice-stripe
Content type
Image
Digest
Size
295.4 MB
Last updated
over 7 years ago
docker pull microservices/stripe