Received Transactions Report
GET
https://api.mpay.com.au/receivables/v6/report/{date}
Path Parameters
- datestringrequiredExampleDescriptionDefault20260824000000Pattern^\d{14}$
Query Parameters
- endDatestringExampleDescriptionDefault20260824235959Pattern^\d{14}$
- skipstringExampleDescriptionDefault0Pattern^\d{1,9}$
- takestringExampleDescriptionDefault1000Pattern^\d{1,5}$
- accountNumberstringExampleDescriptionDefault410000123Pattern^[0-9]{1,34}$
- clientUniqueIdstringExampleDescriptionDefaultCUID-000123Pattern^[A-Za-z0-9_\-\.]{1,50}$
- transactionTypestringExampleDescriptionDefaultNPPPattern^(DE|NPP)$
- transactionCodestringExampleDescriptionDefault50Pattern^(13|50|51|52|53|54|55|56|57)$
- payIdstringExampleDescriptionDefaultPattern^[^@\s]+@[^@\s]+\.[A-Za-z]{2,}$
- payIdNamestringExampleDescriptionDefaultYour Company Pty LtdPattern^[A-Za-z0-9 .,'&\-]{1,140}$
Responses
200
- cuscalReportResponse_V6Description
- ndeFileDetailsstring[]Example
[ "TR12345678,410000123,20260824093000,150.00,Invoice 1001" ]
DescriptionDefaultTR12345678,410000123,20260824093000,150.00,Invoice 1001 - durationMsintegerExampleDescriptionDefault125Pattern^\d{1,9}$
- statusstringExampleDescriptionDefaultOkPattern^[A-Za-z]{2,40}$
- statusDescriptionstringExampleDescriptionDefaultOperation completed successfullyPattern^.{1,500}$
400
- errorResponseDescription
- durationMsintegerExampleDescriptionDefault12Pattern^\d{1,9}$
- statusstringExampleDescriptionDefaultBadRequestPattern^[A-Za-z]{2,40}$
- statusDescriptionstringExampleDescriptionDefaultThe date supplied is not in the required format.Pattern^.{1,500}$
- errorsstring[]Example
[ "date: value must match the format 'yyyy-MM-dd'." ]
DescriptionDefaultdate: value must match the format 'yyyy-MM-dd'.
401
- errorResponseDescription
- durationMsintegerExampleDescriptionDefault12Pattern^\d{1,9}$
- statusstringExampleDescriptionDefaultBadRequestPattern^[A-Za-z]{2,40}$
- statusDescriptionstringExampleDescriptionDefaultThe date supplied is not in the required format.Pattern^.{1,500}$
- errorsstring[]Example
[ "date: value must match the format 'yyyy-MM-dd'." ]
DescriptionDefaultdate: value must match the format 'yyyy-MM-dd'.
500
- errorResponseDescription
- durationMsintegerExampleDescriptionDefault12Pattern^\d{1,9}$
- statusstringExampleDescriptionDefaultBadRequestPattern^[A-Za-z]{2,40}$
- statusDescriptionstringExampleDescriptionDefaultThe date supplied is not in the required format.Pattern^.{1,500}$
- errorsstring[]Example
[ "date: value must match the format 'yyyy-MM-dd'." ]
DescriptionDefaultdate: value must match the format 'yyyy-MM-dd'.
curl
curl --request GET \
--url 'https://api.mpay.com.au/receivables/v6/report/{date}?endDate=20260824235959&skip=0&take=1000&accountNumber=410000123&clientUniqueId=CUID-000123&transactionType=NPP&transactionCode=50&payId=payments%40yourcompany.com.au&payIdName=Your%20Company%20Pty%20Ltd' \
--header 'accept: application/json'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://api.mpay.com.au/receivables/v6/report/{date}?endDate=20260824235959&skip=0&take=1000&accountNumber=410000123&clientUniqueId=CUID-000123&transactionType=NPP&transactionCode=50&[email protected]&payIdName=Your Company Pty Ltd", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("https://api.mpay.com.au/receivables/v6/report/{date}?endDate=20260824235959&skip=0&take=1000&accountNumber=410000123&clientUniqueId=CUID-000123&transactionType=NPP&transactionCode=50&[email protected]&payIdName=Your Company Pty Ltd")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://api.mpay.com.au/receivables/v6/report/{date}?endDate=20260824235959&skip=0&take=1000&accountNumber=410000123&clientUniqueId=CUID-000123&transactionType=NPP&transactionCode=50&[email protected]&payIdName=Your Company Pty Ltd"
payload = {}
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
200
// 200 OK. Successful validation. The report was generated and returned.
{
"ndeFileDetails": [
"TR12345678,410000123,20260824093000,150.00,Invoice 1001"
],
"durationMs": 125,
"status": "Ok",
"statusDescription": "Operation completed successfully"
}400
// 400 Bad Request. The request could not be processed because one or more supplied values are missing or incorrectly formatted, for example a date that does not match the required format.
{
"durationMs": 12,
"status": "BadRequest",
"statusDescription": "The date supplied is not in the required format.",
"errors": [
"date: value must match the format 'yyyy-MM-dd'."
]
}401
// 401 Unauthorized. Authentication failed. The API key passed as the basic authentication username is missing, invalid, or not permitted to access reporting.
{
"durationMs": 12,
"status": "BadRequest",
"statusDescription": "The date supplied is not in the required format.",
"errors": [
"date: value must match the format 'yyyy-MM-dd'."
]
}500
// 500 Internal Server Error. An unexpected error occurred while generating the report. Retry the request; if the error persists contact Monoova support quoting the status description.
{
"durationMs": 12,
"status": "BadRequest",
"statusDescription": "The date supplied is not in the required format.",
"errors": [
"date: value must match the format 'yyyy-MM-dd'."
]
}