{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Tyro Health playground","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":2,"id":"tyro-health-playground","__idx":0},"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."," ","Once you have inserted your API Key and APP ID click on the refreash token button."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"sample-transactions","__idx":1},"children":["Sample transactions"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"sample-transaction-1-eftpos-payment","__idx":2},"children":["Sample transaction 1: EFTPOS Payment"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://playground.medipass.io/?query=%7B%22platform%22%3A%22virtual-terminal%22%2C%22providerNumber%22%3A%222159081W%22%2C%22chargeAmount%22%3A%22%2445%22%2C%22paymentMethod%22%3A%22terminal%22%2C%22patient%22%3A%7B%22mobile%22%3A%220472637746%22%7D%7D&config=%7B%22env%22%3A%22stg%22%2C%22apiKey%22%3A%22%22%2C%22appId%22%3A%22%22%7D","target":"_blank"},"children":[" Try EFTPOS Payment via Playground "]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"js","header":{"controls":{"copy":{}}},"source":"medipassTransactionSDK.renderCreateTransaction({\n    platform: “virtual-terminal”,\n    chargeAmount: “$45”,\n    paymentMethod: “terminal”,\n   \n    patient: {\n       firstName: “Emma”,\n       lastName: “Blazer”,\n       dob: “1958-06-10”,\n       mobile: “+61484354679”,\n       refId: “66704”\n    },\n    \n{\n  onSuccess: function (transaction) { /* ... */ },\n  onError: function (error) { /* ... */ },\n  onCancel: function () { /* ... */ }\n})\n\n","lang":"js"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"sample-transactions-2-healthpoint-claim","__idx":3},"children":["Sample transactions 2: HealthPoint claim"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://playground.medipass.io/?query=%7B%22funder%22%3A%22phi%22%2C%22platform%22%3A%22funder%22%2C%22providerNumber%22%3A%222159081W%22%2C%22funderData%22%3A%7B%22phi%22%3A%7B%22isQuote%22%3A%22false%22%7D%7D%2C%22memberStatus%22%3A%22new%22%2C%22patient%22%3A%7B%22refId%22%3A%2266704%22%2C%22firstName%22%3A%22Emma%22%2C%22lastName%22%3A%22Blazer%22%2C%22dob%22%3A%221958-06-10%22%2C%22mobile%22%3A%22%2B61484354679%22%2C%22reference%22%3A%2201%22%7D%2C%22claimableItems%22%3A%5B%7B%22serviceDateString%22%3A%222022-01-20%22%2C%22price%22%3A%22%24201%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":[" Try HealthPoint Payment via Playground "]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"js","header":{"controls":{"copy":{}}},"source":"{\n    funder: “phi”,\n    platform: “funder”,\n    invoiceReference: “INV1234”,\n    providerNumber: “0034503W”,\n    patient: {\n      firstName: “Emma”,\n      lastName: “Blazer”,\n      dob: “1958-06-10”,\n      reference: “01”,\n      mobile: “+61484354679”,\n      refId: “66704”\n    },\n\n    funderData: {\n      phi: {\n         isRebateEstimate: false\n           }\n    },\n\n    claimableItems: [\n      {\n        itemCode: “501”,\n        price: “$201”,\n        serviceDate: “2022-01-20”\n       \n      }\n    ]\n  }\n\n","lang":"js"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"sample-transactions-3-healthpoint-rebate-estimate","__idx":4},"children":["Sample transactions 3: HealthPoint rebate estimate"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://playground.medipass.io/?query=%7B%22funder%22%3A%22phi%22%2C%22platform%22%3A%22funder%22%2C%22providerNumber%22%3A%222159081W%22%2C%22funderData%22%3A%7B%22phi%22%3A%7B%22isQuote%22%3A%22false%22%7D%7D%2C%22memberStatus%22%3A%22new%22%2C%22patient%22%3A%7B%22refId%22%3A%2266704%22%2C%22firstName%22%3A%22Emma%22%2C%22lastName%22%3A%22Blazer%22%2C%22dob%22%3A%221958-06-10%22%2C%22mobile%22%3A%22%2B61484354679%22%2C%22reference%22%3A%2201%22%7D%2C%22claimableItems%22%3A%5B%7B%22serviceDateString%22%3A%222022-01-20%22%2C%22price%22%3A%22%24201%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":[" Try HealthPoint rebate estimate via Playground "]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"js","header":{"controls":{"copy":{}}},"source":"{\n\n  {\n    funder: “phi”,\n    platform: “funder”,\n    invoiceReference: “INV1234”,\n    providerNumber: “0034503W”,\n    patient: {\n      firstName: “Emma”,\n      lastName: “Blazer”,\n      dob: “1958-06-10”,\n      reference: “01”,\n      mobile: “+61484354679”,\n      refId: “66704”\n    },\n\n    funderData: {\n      phi: {\n         isRebateEstimate: true\n           }\n    },\n\n    claimableItems: [\n      {\n        itemCode: “501”,\n        price: “$201”,\n       serviceDate: “2022-01-20”\n       \n      }\n    ]\n  }\n\n","lang":"js"},"children":[]}]},"headings":[{"value":"Tyro Health playground","id":"tyro-health-playground","depth":2},{"value":"Sample transactions","id":"sample-transactions","depth":3},{"value":"Sample transaction 1: EFTPOS Payment","id":"sample-transaction-1-eftpos-payment","depth":4},{"value":"Sample transactions 2: HealthPoint claim","id":"sample-transactions-2-healthpoint-claim","depth":4},{"value":"Sample transactions 3: HealthPoint rebate estimate","id":"sample-transactions-3-healthpoint-rebate-estimate","depth":4}],"frontmatter":{"title":"Playground and Sample Transactions ","seo":{"title":"Tyro Health playground"}},"lastModified":"2024-09-11T23:37:50.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/developer-portal/eftpos-and-healthpoint/playground-and-sample-transactions","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}