Server Setup
Create a payment using S2S Call
To create a payment intent, send a request to either our sandbox or production endpoint. For detailed information, refer to the API Reference documentation. Upon successful creation, you will receive aclient_secret, which must be provided to the SDK to render it properly.
In case your integrating the ExpressCheckout (mentioned later below), instead of creating multiple paymentIntents for the same customer session, you can also use paymentsUpdate API for better analytics.