Skip to content
Last updated

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.
  • The provider number, item code and other details may may need to be updated depending on which provider you have onbored in your test business.

Sample transcation

medipassPartnerSDK.renderCreateTransaction({
  funder: "qbe",
  platform: "funder",
  providerNumber: "4266176H",
  invoiceReference: "testQBE",
  patient: {
    accountNumber: "8888880",
    dob: "1970-01-01",
    firstName: "Tanya",
    lastName: "test"
  },
  claimableItems: [
    {
      itemCode: "AA525",
      serviceDateString: "2025-01-08",
      price: "60"
    }
  ]
 },  
   webhooks: [
    {
      url: ’string,
      event: 'invoiceCancelled,healthFundApprovedInvoice,healthFundRejectedInvoice',
      method: 'POST',
      headers: { [Key: string] : your string }
    }],
}, {
  onSuccess: function (transaction) { /* ... */ },
  onError: function (error) { /* ... */ },
  onCancel: function () { /* ... */ }

});