# 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 ### Playground test transaction for a GP claim item ```js medipassPartnerSDK.renderCreateTransaction({ funder: "comcare", providerNumber: "2409661B", invoiceReference: "MA1567", patient: { firstName: "Emily", lastName: "Harris", dob: "1963-04-29", claimNumber: "7777/77" }, claimableItems: [ { itemCode: "AA020", 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 () { /* ... */ } }); ``` ### Playground test transaction example of Physio ```js medipassPartnerSDK.renderCreateTransaction({ funder: "comcare", providerNumber: "2429581T", invoiceReference: "UI1567", funderData: { comcare: { serviceNotes: "Pain level :7 " } }, patient: { firstName: "Emily ", lastName: "Harris ", dob: "1963-04-29", mobile: "0472637746", claimNumber: "7777/77" }, claimableItems: [ { itemCode: "PY102", serviceDateString: "2022-02-15", price: "$200", } ], }, webhooks: [ { url: ’string, event: 'invoiceCancelled,healthFundApprovedInvoice,healthFundRejectedInvoice', method: 'POST', headers: { [Key: string] : your string } }], }, { onSuccess: function (transaction) { /* ... */ }, onError: function (error) { /* ... */ }, onCancel: function () { /* ... */ } }); ``` ### Playground test transaction link example for a Home Care