medipassTransactionSDK.renderCreateTransaction({
funder:'icare',
providerNumber: string,
invoiceReference: string,
patient.refId: string,
patient: {
firstName: string,
lastName: string,
mobile: string,
dob: string,
accountNumber: string,
healthFundCode: string,
},
claimableItems: [{
itemCode: string,
serviceDateString: string,
price: string,
}],
webhooks: [{
url: string,
event:
'healthFundPaidInvoice' |
'healthFundApprovedInvoice' |
'healthFundRejectedInvoice',
method: 'GET' | 'PUT' | 'POST' | 'DELETE',
headers: { [key: string]: string }
}],