### Configure Apple Pay Redirects Source: https://turneo.stoplight.io/docs/turneo-experiences-api/tjq8an4ten1vf-enabling-apple-pay-on-your-elements Examples for setting up the required 301 redirect across various web server and framework configurations. ```nginx location = /.well-known/apple-developer-merchantid-domain-association { return 301 https://stripe.turneo.com/.well-known/apple-developer-merchantid-domain-association; } ``` ```javascript async redirects() { return [ { source: '/.well-known/apple-developer-merchantid-domain-association', destination: 'https://stripe.turneo.com/.well-known/apple-developer-merchantid-domain-association', permanent: true, }, ]; } ``` ```apache Redirect 301 /.well-known/apple-developer-merchantid-domain-association https://stripe.turneo.com/.well-known/apple-developer-merchantid-domain-association ``` ```text /.well-known/apple-developer-merchantid-domain-association https://stripe.turneo.com/.well-known/apple-developer-merchantid-domain-association 301 ``` -------------------------------- ### Embed Demo Turneo Element Source: https://turneo.stoplight.io/docs/turneo-experiences-api/9p12z271j5li7-adding-turneo-elements-to-your-hotel-website Use this snippet to test the Turneo element integration before configuring custom styles in the Turneo system. ```html ``` -------------------------------- ### Retrieve experience rates Source: https://turneo.stoplight.io/docs/turneo-experiences-api/bmnf53wld2cdf-getting-started-with-experiences Use this cURL request to fetch active rates for a specific experience. Ensure the experienceId, from, and until parameters are correctly defined. ```bash curl -X GET "https://api.pro.turneo.co/experiences/{experienceId}/rates?from=2024-10-11&until2024-10-17" \ -H "Accept: application/json" \ -H "x-api-key: 123" ``` -------------------------------- ### Search experiences by date range Source: https://turneo.stoplight.io/docs/turneo-experiences-api/bmnf53wld2cdf-getting-started-with-experiences Filters results to show only bookable experiences within a specific ISO 8601 date range. ```curl curl -X GET "https://api.pro.turneo.co/experiences?country=Barbados&from=2024-10-11&until2024-10-17" \ -H "Accept: application/json" \ -H "x-api-key: 123" ``` -------------------------------- ### DNS CNAME record configuration format Source: https://turneo.stoplight.io/docs/turneo-experiences-api/tloxz7qisp4rg-configuring-custom-email-sender The required structure for the three CNAME records that must be added to your DNS settings to verify the custom domain. ```json { "host": "xxxxx.jadebeachresort.com", "value": "xxxxx.yyyyy.sendgrid.net" }, { "host": "s1._domainkey.jadebeachresort.com", "value": "s1.domainkey.xxxxx.yyyyy.sendgrid.net" }, { "host": "s2._domainkey.jadebeachresort.com", "value": "s2.domainkey.xxxxx.yyyyy.sendgrid.net" } ``` -------------------------------- ### Search experiences by destination Source: https://turneo.stoplight.io/docs/turneo-experiences-api/bmnf53wld2cdf-getting-started-with-experiences Retrieves experiences available within a specific country or city. ```curl curl -X GET "https://api.pro.turneo.co/experiences?country=Barbados" \ -H "Accept: application/json" \ -H "x-api-key: 123" ``` -------------------------------- ### Confirm an Order via cURL Source: https://turneo.stoplight.io/docs/turneo-experiences-api/bmnf53wld2cdf-getting-started-with-experiences Finalize a purchase by confirming an order that is currently on hold. Requires a valid order ID and API key. ```bash curl -X POST "https://api.pro.turneo.co/orders/{orderId}/confirm" \ -H "Accept: application/json" \ -H "x-api-key: 123" ``` -------------------------------- ### Search experiences by store ID Source: https://turneo.stoplight.io/docs/turneo-experiences-api/bmnf53wld2cdf-getting-started-with-experiences Filters experiences based on a specific store ID configured in Turneo Hub. ```curl curl -X GET "https://api.pro.turneo.co/experiences?storeId=123456789" \ -H "Accept: application/json" \ -H "x-api-key: 123" ``` -------------------------------- ### Embedding a Turneo Element with Language Override Source: https://turneo.stoplight.io/docs/turneo-experiences-api/9p12z271j5li7-adding-turneo-elements-to-your-hotel-website Use this HTML tag to embed a specific Turneo element. The language attribute allows overriding the default English display. ```html ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.