2020-02-15 08:38:33 +00:00
|
|
|
## How to place a order with penguin pay
|
|
|
|
|
|
|
|
### Requirements
|
|
|
|
|
|
|
|
* An ungleich account - can be registered for free on
|
|
|
|
https://account.ungleich.ch
|
|
|
|
* httpie installed (provides the http command)
|
|
|
|
|
2020-02-20 08:44:30 +00:00
|
|
|
## Get a membership
|
|
|
|
|
|
|
|
|
|
|
|
## Registering a payment method
|
|
|
|
|
|
|
|
To be able to pay for the membership, you will need to register a
|
|
|
|
credit card or apply for payment on bill (TO BE IMPLEMENTED).
|
|
|
|
|
|
|
|
### Register credit card
|
|
|
|
|
|
|
|
```
|
|
|
|
http POST https://api.ungleich.ch/membership \
|
|
|
|
username=nico password=yourpassword \
|
|
|
|
cc_number=.. \
|
|
|
|
cc_
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Request payment via bill
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Create the membership
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
http POST https://api.ungleich.ch/membership username=nico password=yourpassword
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
## List available products
|