Get Transaction Status By Date
GET
https://api.mpay.com.au/financial/v2/status/{startDate}/{endDate}
Path Parameters
- startDatestringrequiredExampleDescriptionDefault2026-11-02Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}$
- endDatestringrequiredExampleDescriptionDefault2026-11-09Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}$
Responses
200
- gatewayTransactionStatusResponse_v2Example
{ "statuses": [ { "uniqueReference": "a6b29123-77cf-4d7e-bd5e-d3ed6a4845b0", "statusDescription": "Debit Transaction was Successful on the 2026-11-04", "transactionStatus": "Complete", "fundsClearedDate": "2026-11-04" } ], "durationMs": 210, "status": "Ok", "statusDescription": "Operation completed successfully" }Description- statusesgatewayTransactionStatusItem[]Description
- uniqueReferencestringExampleDescriptionDefaulta6b29123-77cf-4d7e-bd5e-d3ed6a4845b0Pattern^[A-Za-z0-9_.-]{1,50}$
- statusDescriptionstringExampleDescriptionDefaultDebit Transaction was Successful on the 2026-11-04Pattern^.{1,500}$
- transactionStatusstringExampleDescriptionDefaultCompletePattern^[A-Za-z ]{1,50}$
- dishonouredDatestringExampleDescriptionDefault2026-11-12Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}([T ][0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,7})?)?$
- waitingOnClearedFundsDatestringExampleDescriptionDefault2026-11-13Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}([T ][0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,7})?)?$
- fundsClearedDatestringExampleDescriptionDefault2026-11-11Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}([T ][0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,7})?)?$
- completedDatestringExampleDescriptionDefault2026-11-11Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}([T ][0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,7})?)?$
- bulkDirectDebitsbulkDirectDebitStatusClass[]Description
- expectedClearanceDateForFundsstringExampleDescriptionDefault2026-11-13Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}([T ][0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,7})?)?$
- indexintegerDescriptionDefault0Pattern^[0-9]{1,4}$
- bsbstringExampleDescriptionDefault032-000Pattern^[0-9]{3}-[0-9]{3}$
- accountNumberstringExampleDescriptionDefault12345678Pattern^[0-9]{5,10}$
- amountnumberExampleDescriptionDefault125.5Pattern^[0-9]{1,13}(\.[0-9]{1,2})?$
- lodgementReferencestringExampleDescriptionDefaultINV000123Pattern^[ -~]{1,18}$
- dishonouredDatestringExampleDescriptionDefault2026-11-12Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}([T ][0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,7})?)?$
- statusstringExampleDescriptionDefaultCompletePattern^[A-Za-z ]{1,50}$
- durationMsintegerExampleDescriptionDefault210Pattern^[0-9]{1,7}$
- statusstringExampleDescriptionDefaultOkPattern^[A-Za-z0-9]{1,50}$
- statusDescriptionstringExampleDescriptionDefaultOperation completed successfullyPattern^.{1,500}$
400
- badRequestResponse_V2Example
{ "durationMs": 12, "status": "Error", "statusDescription": "The startDate supplied is invalid. Provide the date in 'yyyy-MM-dd' format, for example 2026-11-02." }Description- durationMsintegerExampleDescriptionDefault12Pattern^[0-9]{1,7}$
- statusstringExampleDescriptionDefaultUniqueReferenceExistsPattern^[A-Za-z0-9]{1,100}$
- statusDescriptionstringExampleDescriptionDefaultThe uniqueReference has been used before although no Transaction ID could be found. Either the original transaction failed or it could be running now.Pattern^.{1,500}$
401
- unauthorizedResponse_V2Example
{ "durationMs": 4, "status": "Unauthorized", "statusDescription": "Authentication failed. Supply a valid API key as the basic authentication username." }Description- durationMsintegerExampleDescriptionDefault4Pattern^[0-9]{1,7}$
- statusstringExampleDescriptionDefaultUnauthorizedPattern^[A-Za-z0-9]{1,50}$
- statusDescriptionstringExampleDescriptionDefaultAuthentication failed. Supply a valid API key as the basic authentication username.Pattern^.{1,500}$
500
- internalServerErrorResponse_V2Example
{ "durationMs": 1503, "status": "Error", "statusDescription": "An unexpected error occurred while processing the request." }Description- durationMsintegerExampleDescriptionDefault1503Pattern^[0-9]{1,7}$
- statusstringExampleDescriptionDefaultErrorPattern^[A-Za-z0-9]{1,50}$
- statusDescriptionstringExampleDescriptionDefaultAn unexpected error occurred while processing the request.Pattern^.{1,500}$
curl
curl --request GET \
--url https://api.mpay.com.au/financial/v2/status/{startDate}/{endDate} \
--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/financial/v2/status/{startDate}/{endDate}", 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/financial/v2/status/{startDate}/{endDate}")
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/financial/v2/status/{startDate}/{endDate}"
payload = {}
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
200
// Successful validation. The status of each transaction in the date range was returned.
{
"statuses": [
{
"uniqueReference": "a6b29123-77cf-4d7e-bd5e-d3ed6a4845b0",
"statusDescription": "Debit Transaction was Successful on the 2026-11-04",
"transactionStatus": "Complete",
"dishonouredDate": "2026-11-12",
"waitingOnClearedFundsDate": "2026-11-13",
"fundsClearedDate": "2026-11-11",
"completedDate": "2026-11-11",
"bulkDirectDebits": [
{
"expectedClearanceDateForFunds": "2026-11-13",
"index": 0,
"bsb": "032-000",
"accountNumber": "12345678",
"amount": 125.5,
"lodgementReference": "INV000123",
"dishonouredDate": "2026-11-12",
"status": "Complete"
}
]
}
],
"durationMs": 210,
"status": "Ok",
"statusDescription": "Operation completed successfully"
}400
// Bad request. The startDate or endDate supplied is missing or is not in 'yyyy-MM-dd' format. Inspect statusDescription for the reason.
{
"durationMs": 12,
"status": "UniqueReferenceExists",
"statusDescription": "The uniqueReference has been used before although no Transaction ID could be found. Either the original transaction failed or it could be running now."
}401
// Unauthorized. The API key is missing or invalid. Pass your API key as the basic authentication username with no password.
{
"durationMs": 4,
"status": "Unauthorized",
"statusDescription": "Authentication failed. Supply a valid API key as the basic authentication username."
}500
// Internal server error. An unexpected error prevented the Platform from completing the request. The request can be retried.
{
"durationMs": 1503,
"status": "Error",
"statusDescription": "An unexpected error occurred while processing the request."
}