As per the document I have the payPal button, that will call an endpoint on my back-end. My backend will then call this endpoint: "/v1/payments/payment'".
this (paypal) endpoint will give me an Id that is required by the next step to execute the payment. Now reading the docs, it advises me to use the new "v2/payments" API. I am happy to do this, but I cannot find the endpoint that will setup a payment and will return me paymentId that is required in the next step.
Am I missing something, or should I just keep using the "v1/payements" end point? for setting up a payment that will be authorized later.