Rejected Transactions Report
GET
https://api.mpay.com.au/receivables/v2/rejectedTransactions/{date}
datestring<p>The start date and time of the report, in <code>yyyyMMddHHmmss</code> format. This becomes the start date of the report if the report is being fetched for a date range. Where <code>endDate</code> is not supplied, the report returns the rejected transactions for the day specified.</p>
endDatestring<p><strong>Optional</strong>. The end date and time of the report, in <code>yyyyMMddHHmmss</code> format. Use this to fetch the report for a date range that starts at <code>date</code>. If not supplied, the report returns the rejected transactions for the day specified in <code>date</code>.</p>
transactionTypestring<p><strong>Optional</strong>. Filters the report by transaction type. Possible values: <code>DE</code> (Direct Entry) or <code>NPP</code>. If not supplied, both Direct Entry and NPP rejected transactions are returned.</p>
pageNumberstring<p><strong>Optional</strong>. The page of the report to return. If not provided, it is defaulted to 1.</p>
pageSizestring<p><strong>Optional</strong>. The number of rejected transactions to return per page. If not provided, the page size is defaulted to 50. The maximum allowed is 200.</p>
acceptstringGenerated from available response content types
200<p>Successful validation. The rejected transactions report was generated and is returned as comma-separated values (CSV): a header row followed by one row per rejected transaction. The schema below describes each column, in the order the columns appear.</p>
400<p>Bad request. One or more parameters failed validation, for example a <code>date</code> or <code>endDate</code> that is not in <code>yyyyMMddHHmmss</code> format.</p>
401<p>Unauthorised. The API key supplied as the basic authentication username is missing or invalid. In the live environment, the Sign-In Account is locked for one hour after five failed authentication attempts.</p>
500Internal server error. An unexpected error prevented the Platform from generating the report. Retry the request and contact Monoova support if the error persists.
curl --request GET \
--url 'https://api.mpay.com.au/receivables/v2/rejectedTransactions/{date}?endDate=20200918235959&transactionType=NPP&pageNumber=1&pageSize=50' \
--header 'accept: text/csv'