Adyen / adyen-openapi

OpenAPI specification for the Adyen APIs
MIT License
67 stars 50 forks source link

POST checkout/payments doesn't document paypal #34

Open salah-ghanim opened 1 year ago

salah-ghanim commented 1 year ago

Describe the bug Adyen clearly supports paypal yet the specs are not provided regarding integrating it via the checkout API

To Reproduce Steps to reproduce the behavior:

  1. Go to https://docs.adyen.com/api-explorer/Checkout/69/post/payments
  2. Click on https://docs.adyen.com/api-explorer/Checkout/69/post/payments#examples-request-applepay
  3. Scroll down as much as you like
  4. no Paypal!

Expected behavior What kind of data does Adyen expect for us to call this API, we're trying to tokenize / authorize paypal to a user account and we're getting validation error PaymentDetail not found

Screenshots

Screen Shot 2022-12-08 at 16 53 23

environment doesn't matter this is a REST API call

wboereboom commented 1 year ago

Hi @salah-ghanim , Thank you for raising this issue. The URL you reference to only show a list of the API Examples, and are not en extensive list of any request and response parameters that are available. There is a PayPal paymentMethod object which you can find in our API Explorer. We also have a more extensive guide on how to integrate with PayPal which. can be found in our Paypal Documentation.

I hope this helps to make your integration journey a bit easier. Kind Regards, Wouter Adyen