Playground and sample transactions

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.

Sample transcations

Physio claim item

Copy
Copied
medipassPartnerSDK.renderCreateTransaction({
  funder: "icare",
  providerNumber: "2409661B",
  invoiceReference: "MA1567",
  patient: {
    firstName: "Emily",
    lastName: "Harris",
    dob: "1963-04-29",
    accountNumber: "7777777"
    healthFundCode: "IWC"
  },
  claimableItems: [
    {
      itemCode: "PTA002",
      price: "$90",
      serviceDateString: "2022-02-15"
    }
  ]
}, 
  webhooks: [
      {
        url: ’string,
        event: 'invoiceCancelled,healthFundApprovedInvoice,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.