{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Playground and sample transactions","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":"playground-and-sample-transactions","__idx":0},"children":["Playground and sample transactions"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"tyro-health-playground","__idx":1},"children":["Tyro Health playground"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tyro Health has a playground to allow you to test SDK transactions. You can access Playground by  clicking on the below link:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://playground.medipass.io/","target":"_blank"},"children":["https://playground.medipass.io/"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["You will need a API Key and APP ID to use Playground."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["You will receive these credentials from your partnerships manager. If you haven’t yet received these, please contact healthpartnerships@tyro.com."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"sample-transcations","__idx":2},"children":["Sample transcations"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://playground.medipass.io/?query=%7B%22platform%22%3A%22funder%22%2C%22funder%22%3A%22icare%22%2C%22providerNumber%22%3A%222429581T%22%2C%22funderData%22%3A%7B%22icare%22%3A%7B%22serviceNotes%22%3A%22test%22%2C%22scheme%22%3A%22IWC%22%7D%7D%2C%22invoiceReference%22%3A%22MA1567%22%2C%22memberStatus%22%3A%22new%22%2C%22patient%22%3A%7B%22accountNumber%22%3A%227777777%22%2C%22firstName%22%3A%22Emily%22%2C%22lastName%22%3A%22Harris%22%2C%22healthFundCode%22%3Anull%7D%2C%22claimableItems%22%3A%5B%7B%22isGross%22%3A%22true%22%2C%22isExtendedPrice%22%3A%22false%22%2C%22isTaxable%22%3A%22true%22%2C%22itemCode%22%3A%22DEN002%22%2C%22serviceDateString%22%3A%222022-02-15%22%2C%22price%22%3A%22%24201%22%2C%22quantity%22%3A1%2C%22customDescription%22%3A%22AC500%20-%20PROFESSIONAL%20ATTENDANCE%20AT%20CONSULTING%20ROOMS%20OR%20HOS%22%7D%5D%7D&config=%7B%22env%22%3A%22stg%22%2C%22apiKey%22%3A%22%22%2C%22appId%22%3A%22%22%7D","target":"_blank"},"children":[" Physio claim item "]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"js","header":{"controls":{"copy":{}}},"source":"medipassPartnerSDK.renderCreateTransaction({\n  funder: \"icare\",\n  providerNumber: \"2409661B\",\n  invoiceReference: \"MA1567\",\n  patient: {\n    firstName: \"Emily\",\n    lastName: \"Harris\",\n    dob: \"1963-04-29\",\n    accountNumber: \"6666200\"\n    healthFundCode: \"IWC\"\n  },\n  claimableItems: [\n    {\n      itemCode: \"PTA002\",\n      price: \"$90\",\n      serviceDateString: \"2022-02-15\"\n    }\n  ]\n}, \n  webhooks: [\n      {\n        url: ’string,\n        event: 'invoiceCancelled,healthFundApprovedInvoice,healthFundRejectedInvoice',\n        method: 'POST',\n        headers: { [Key: string] : your string }\n      }],\n  }, {\n    onSuccess: function (transaction) { /* ... */ },\n    onError: function (error) { /* ... */ },\n    onCancel: function () { /* ... */ }\n\n});\n\n","lang":"js"},"children":[]}]},"headings":[{"value":"Playground and sample transactions","id":"playground-and-sample-transactions","depth":1},{"value":"Tyro Health playground","id":"tyro-health-playground","depth":2},{"value":"Sample transcations","id":"sample-transcations","depth":3}],"frontmatter":{"title":"Playground and sample transactions","seo":{"title":"Playground and sample transactions"}},"lastModified":"2024-12-08T21:47:33.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/developer-portal/icare/playground-and-sample-transactions","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}