Update README

This commit is contained in:
PCoder 2019-09-14 16:55:24 +05:30
parent 1fbb5974f2
commit e1316bd07c
1 changed files with 15 additions and 0 deletions

View File

@ -29,4 +29,19 @@
--product-recurring-duration=31536000 \
--product-price=12000
```
### Register a payment method (cc for now)
```
(ucloud-cli) [test@ungleich ucloud-cli]$ UCLOUD_PAY_SERVER=http://127.0.0.1:5000 python ucloud.py user register-payment \
--name xxxxxxxxxxxx \
--realm xxxxxxxx \
--seed xxxxxxxxxx \
--cc --number 4242424242424242 \
--cvc 225 \
--expiry-month 08 \
--expiry-year 2022 \
--card-holder-name "The tester" \
--email "monty@python.com"
```