{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"How it works","description":"Tyro Health Docs","keywords":"redocly developer portal, api portal starter, api reference docs","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"how-it-works","__idx":0},"children":["How it works"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Checkout SDK"]}," is a Javascript SDK which allows you to integrate Tyro Health Online'payment and claim options as a modal view within the originating site."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"checkout-sdk","__idx":1},"children":["Checkout SDK"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Initialise the Checkout SDK and pass required invoice details to the SDK"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The SDK will guide your end user through completion of claim and payment"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["At completion, the SDK will fire a callback which can be monitored by your website"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Your website can verify completion of checkout via an API request to the Tyro Health Online invoice status API"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Notes"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["When using the checkout SDK, users will need to pass a callbackOrigin(The URL of the booking website)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["When using the SDK, do not pass through any callbackURLs as the SDK will fire callbacks at completion to your website."]}]}]},"headings":[{"value":"How it works","id":"how-it-works","depth":1},{"value":"Checkout SDK","id":"checkout-sdk","depth":2}],"frontmatter":{"title":"How it works","seo":{"title":"How it works"}},"lastModified":"2024-03-27T23:49:44.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/developer-portal/checkout/how-it-works","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}