List gateways
GET
public/payment/gateways
curl -X GET \
-G 'https://api.pph.sh/public/payment/gateways' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
-G 'https://api.pph.sh/public/payment/gateways' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{ "data": [ { "id": "paypal", "cartName": "PayPal", "label": "PayPal" }, { "id": "paysafecard", "cartName": "Paysafecard", "label": "PaySafeCard" }, { "id": "stripe", "cartName": "Stripe", "label": "Stripe (Kreditkarte)" }, { "id": "sofortcom", "cartName": "SofortCom", "label": "Sofort\u00fcberweisung" } ] }
Payment rules
GET
public/payment/rules
curl -X GET \
-G 'https://api.pph.sh/public/payment/rules' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
-G 'https://api.pph.sh/public/payment/rules' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{ "data": { "minimum-transaction": 5, "maximum-credit": 750 } }