Submission
Instalment plan
medipassTransactionSDK.renderCreateTransaction({
platform: 'futures',
futureType: 'instalment-plan',
providerNumber: '2429591L',
chargeAmount: '$11.00',
paymentMethod: 'phone',
numberOfInstalments: '3',
instalmentFrequency: 'month',
patient: {
firstName: 'Dani',
lastName: 'Gatt',
dob: '1984-04-17',
mobile: '+61484354679',
refId: '0008'
}
})
Hold
medipassTransactionSDK.renderCreateTransaction({
platform: 'futures',
futureType: 'hold',
invoiceReference: 'PURCHASE08',
providerNumber: '2429591L',
chargeAmount: '$6.60',
paymentMethod: 'terminal',
terminal: {
terminalId: '1',
merchantId: '99922'
},
patient: {
firstName: 'Dani',
lastName: 'Gatt',
dob: '1984-04-17',
mobile: '+61484354679',
refId: '0008'
}
})
Tyro Health playground samples:
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 transactions
Once you have inserted your API Key and APP ID click on the refresh token button and you will be able to view the the below transactions in playground: