# ucloud-pay The pay module for the ucloud ## Getting started ``` pipenv shell pipenv install ETCD_HOST=127.0.0.1 ETCD_PORT=2379 python ucloud-pay.py ``` Currently handles very basic features, such as: 1. Adding of products ``` curl http://ucloud-pay-server:5000/product/add -XPOST --data '-name mravi --realm test --seed testseed --product-name "IPV6 VPN" --product-description="YEARLY IPV6 subscription" --product-type=recurring --product-recurring-duration=31536000 --product-price=12000' ``` 2. Listing of products ``` curl http://ucloud-pay-server:5000/product/list ```