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 transcations

NIB sample transcations

Copy
Copied
medipassPartnerSDK.renderCreateTransaction({
  funder: "nib",
  platform: "funder",
  providerNumber: "0710446T",
  invoiceReference: "testnib",
  patient: {
    firstName: "Frederick",
    lastName: "Wiza",
    accountNumber: "51143507",
    dob: "1991-06-06"
  },
  claimableItems: [
    {
      serviceDateString: "2024-01-06",
      price: "$90",
      itemCode: "104"
    }
  ]
 },  
   webhooks: [
    {
      url: ’string,
      event: 'healthFundApprovedInvoice,healthFundPaidInvoice,healthFundRejectedInvoice',
      method: 'POST',
      headers: { [Key: string] : your string }
    }],
}, {
  onSuccess: function (transaction) { /* ... */ },
  onError: function (error) { /* ... */ },
  onCancel: function () { /* ... */ }

});
2024 Copyright © Tyro Health and Tyro Payments 2024. All right reserved.