## Tyro Health playground Tyro Health has a playground to allow you to test SDK transactions. You can access Playground by clicking on the below link: https://playground.medipass.io/ - You will need a API Key and APP ID to use Playground. - 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. ### Sample transactions #### Sample transaction 1: EFTPOS Payment Try EFTPOS Payment via Playground ```js medipassTransactionSDK.renderCreateTransaction({ platform: “virtual-terminal”, chargeAmount: “$45”, paymentMethod: “terminal”, patient: { firstName: “Emma”, lastName: “Blazer”, dob: “1958-06-10”, mobile: “+61484354679”, refId: “66704” }, { onSuccess: function (transaction) { /* ... */ }, onError: function (error) { /* ... */ }, onCancel: function () { /* ... */ } }) ``` #### Sample transactions 2: HealthPoint claim Try HealthPoint Payment via Playground ```js { funder: “phi”, platform: “funder”, invoiceReference: “INV1234”, providerNumber: “0034503W”, patient: { firstName: “Emma”, lastName: “Blazer”, dob: “1958-06-10”, reference: “01”, mobile: “+61484354679”, refId: “66704” }, funderData: { phi: { isRebateEstimate: false } }, claimableItems: [ { itemCode: “501”, price: “$201”, serviceDate: “2022-01-20” } ] } ``` #### Sample transactions 3: HealthPoint rebate estimate Try HealthPoint rebate estimate via Playground ```js { { funder: “phi”, platform: “funder”, invoiceReference: “INV1234”, providerNumber: “0034503W”, patient: { firstName: “Emma”, lastName: “Blazer”, dob: “1958-06-10”, reference: “01”, mobile: “+61484354679”, refId: “66704” }, funderData: { phi: { isRebateEstimate: true } }, claimableItems: [ { itemCode: “501”, price: “$201”, serviceDate: “2022-01-20” } ] } ```