You can use Pay Checkout as a fully hosted checkout page embedded on your website via an iFrame, or redirect your customers to a separate checkout page.
1. Copy your API key from the Developers section in your Pay Dashboard
The API key will be used to authenticate you to Pay.com backend.
2. Use /checkout endpoint to create a new checkout page and get your<Checkout URL> for this checkout session. Send the URL to the customer.
3. To keep your system up to date with payment statuses, make sure to subscribe to webhooks using the Developers section in your Pay Dashboard. If you prefer to keep the integration clean, then only subscribe to the following webhooks:
Learn how to embed hosted payment fields in your web or mobile applications, The client side and server side code builds a checkout form with the hosted fields to complete a payment using various payment methods.