Skip to main content

Store Iframe

Introduction

The specific edpoint allows you to create an Iframe that allows you to embedd ticket sales to you platform

Endpoint

https://api.paydexp.com/v1/iframe

Authorization

Users need to include basic authentication credentials in the request headers.

Below are code examples in different programming languages demonstrating how to create an iframe for ticket sales.

curl --location --request POST 'https://api.paydexp.com/api/v1/iframe' \
--header 'Authorization: ••••••'

Example of a Successful Response

{
"success": true,
"data": {
"code": "abc123",
"embed_url": "https://api.paydexp.com/v1/iframe/abc123",
"embed_code": "<iframe src=\"https://api.paydexp.com/v1/iframe/abc123\" width=\"100%\" height=\"600\" frameborder=\"0\"></iframe>"
},
"message": "Iframe created successfully."
}

Conclusion

The Store Iframe API allows you to create customizable iframes for embedding ticket sales directly on your website. You can set options such as theme and primary color to match your brand and provide a seamless checkout experience for customers.