getReport

fun getReport(transactionId: String, reportId: String, format: ReportFormat = ReportFormat.JSON, locale: ReportLocale = ReportLocale.EN): Any

Download a Report

Return

Map<String, Any?>

Parameters

transactionId

ID of the transaction to be retrieved.

reportId

ID of the report to be retrieved.

format

The format parameter is optional. The report is available in the following formats: html, pdf and json. This call defaults to html if the format parameter is omitted. (optional)

locale

Locale in which the report will be rendered. This has no effect when using json format. (optional)