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

GP claim item

Copy
Copied
medipassPartnerSDK.renderCreateTransaction({
  funder: "wsv",
  providerNumber: "0111827Y",
  invoiceReference: "123",
  patient: {
    firstName: "Standardclaim",
    lastName: "Medipass",
    dob: "1980-07-01",
    accountNumber: "12210000492"
  },
  claimableItems: [
    {
      itemCode: "193",
      serviceDateString: "2022-02-15",
      price: "$90",
    }
  ]
 },  
   webhooks: [
    {
      url: ’string,
      event: 'invoiceCancelled,healthFundApprovedInvoice,healthFundRejectedInvoice',
      method: 'POST',
      headers: { [Key: string] : your string }
    }],
}, {
  onSuccess: function (transaction) { /* ... */ },
  onError: function (error) { /* ... */ },
  onCancel: function () { /* ... */ }

});

Physio claim item

Copy
Copied
medipassPartnerSDK.renderCreateTransaction({
  funder: "wsv",
  providerNumber: "0111827Y",
  invoiceReference: "123",
  patient: {
    firstName: "Standardclaim",
    lastName: "Medipass",
    dob: "1980-07-01",
    accountNumber: "12210000492"
  },
  claimableItems: [
    {
      itemCode: "EPB102",
      serviceDateString: "2022-02-15",
      price: "$150",
    }
  ]
 },  
   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.