Skip to main content

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 a client_secret, which must be provided to the SDK to render it properly.
To integrate Web SDK, follow Node And React, Node and HTML and Vanilla JS and REST API Integration.
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.
Note: This is full code for reference