19 lines
471 B
Markdown
19 lines
471 B
Markdown
|
# ucloud-pay
|
||
|
|
||
|
The pay module for the ucloud
|
||
|
|
||
|
|
||
|
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
|
||
|
```
|