diff --git a/README.md b/README.md index cad5e83d..4b3b924a 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,7 @@ adyen.checkout.version = 50 - payment_methods - payments - payments.details +- payment_links **checkout utility:** - origin_keys diff --git a/docs/checkout.html b/docs/checkout.html index eb7ae450..f0572a2f 100755 --- a/docs/checkout.html +++ b/docs/checkout.html @@ -41,6 +41,8 @@
A successful call to payment_methods will return a list of supported payment methods along with redirect URL's so that you can send your shoppers directly to the issuer's site without losing control of front-end styling / logic.
+ You can also create a link to Adyen's hosted payment form: + +response = adyen.checkout.payment_links('{
+ "amount": {
+ "value": 1500,
+ "currency": "EUR"
+ },
+ "countryCode": "US",
+ "merchantAccount": "YOUR_MERCHANT_ACCOUNT",
+ "reference": "YOUR_REFERENCE"
+}')
+
+ A successful call to payment_links will return a url, which directs a user to Adyen's hosted payment form.
+ +