Skip to main content
Secure Payment Links are designed to be embedded within an iframe hosted on a trusted domain. These links are not accessible directly in a browser tab and are ideal for use cases where users need a secure and contained environment, such as saving payment methods.
When secure payment links are enabled:
  • Two URLs are returned:
    • An open link: usable in standard browsers.
    • A secure link: intended for embedding within an iframe.
  • The domain hosting the iframe must match one of the trusted domains configured in your business profile’s allowed_domains list.

🔧 Step 1: Configure allowed_domains in Business Profile

To enable secure payment links, first set up the list of trusted domains (e.g., localhost:5500):

Once the trusted domains are configured, create a payment link using the standard Payments Create API. This response will include both open and secure versions of the link.
Sample Response:

To display the secure link within your app or website, embed it in an <iframe> like so:
Make sure the domain embedding the iframe matches one of the entries in the allowed_domains list. Otherwise, the secure link will not load.