Object
| required
Get transaction details for a business.
{
// Required (if no invoiceReference specified)
transactionId: string,
// Required (if no transactionId specified)
invoiceReference: string,
// Optional override Business ID - by default, it uses business attached to API Key.
businessId: string
}
medipassTransactionSDK.transactions.getBusinessTransaction({ transactionId: '123' });
Object
| required
Downloads the transaction summary in PDF format. When this method is invoked, it will automatically download the PDF on the client.
Note: this method is only supported for Medicare/DVA transactions and downloads the Medicare/DVA statement.
{
// Required
transactionId: string,
// Optional override Business ID - by default, it uses business attached to API Key.
businessId: string
}
medipassTransactionSDK.transactions.downloadPDF({ transactionId: '123' });
Object
| required
Fetches the payment report for a given transaction. Response is in JSON format.
Note: this method is only supported for Medicare/DVA transactions.
{
// Required
transactionId: string,
query: {
// When true, the payment report is retrieved in real time and the cache is updated if successful.
forceRefresh: boolean
},
// Optional override Business ID - by default, it uses business attached to API Key.
businessId: string
}
{
requestedDate: string,
reportResult: number,
sessionId: number,
paymentRunDateString: string,
paymentRunNumber: string,
amountBenefitPaidString: string,
bankAccount: {
accountNumber: string,
bsb: string,
accountName: string
},
payments: [
{
claimId: string,
claimDateString: string,
amountChargedString: string,
amountBenefitPaidString: string,
amountDepositedString: string
}
]
}
medipassTransactionSDK.transactions.getPaymentReport({ transactionId: '123', query: { forceRefresh: true } });
Object
| required
Fetches the processing report for a given transaction. Response is in JSON format.
Note: this method is only supported for Medicare/DVA transactions.
{
// Required
transactionId: string,
query: {
// When true, the processing report is retrieved in real time and the cache is updated if successful.
forceRefresh: boolean
},
// Optional override Business ID - by default, it uses business attached to API Key.
businessId: string
}
{
requestedDate: string,
reportResult: number,
sessionId: number,
amountChargedString: string,
amountBenefitPaidString: string,
providerNumber: string,
claimItems: [
{
serviceDateString: string,
itemCode: string,
claimId: string,
serviceId: string,
amountBenefitString: string,
gatewayCode: string,
gatewayDescription: string,
amountChargedString: string,
healthFundAccount: {
membershipNumber: string,
cardRank: string
},
patient: {
firstName: string,
lastName: string
},
cardFlag: string,
cardFlagDescription: string,
numberOfPatientsSeen: string,
voucherId: string
}
]
}
medipassTransactionSDK.transactions.getProcessingReport({ transactionId: '123', query: { forceRefresh: true } });