Secure Payment Links
Secure payment links
Secure payment links are those embedded within the iframe of a trusted domain. These links cannot be directly opened in a browser tab and are designed to provide a safe environment for users to view and save their payment methods.
Using secure Payment links
To use secure payment links, you need to configure a list of trusted domains in the business profile under the allowed_domains
field. Once set up, any payment link you create will include two URLs:
An open link for direct browser access.
A secure link intended for embedding in an iframe.
The domain of the parent webpage embedding the secure link must match one of the domains listed in allowed_domains
.
Steps for using secure payment links
1. Configure allowed_domains
in business profile
Set up a trusted domain, such as localhost:5500
, by updating the business profile configuration.
2. Create payment links
Use the following API request to create payment links, which will return both the open and secure links.
The response includes the following fields:
3. Embedding secure payment links in an iframe
To embed a secure payment link, include it in an iframe within your HTML:
Next step:
Last updated