Get Transactions by mWallet
POST
https://api.mpay.com.au/mWallet/v1/transactions
Body Parameters
- bodymWalletTransactionRequestDetailsrequiredDescription
- accountNumberstringrequiredExampleDescriptionDefault4211110000000019Pattern^[0-9]{16}$
- pinstringrequiredExampleDescriptionDefault1234Pattern^[0-9]{4}$
- startDatestringExampleDescriptionDefault2026-07-01T00:00:00Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,7})?$
- endDatestringExampleDescriptionDefault2026-07-31T23:59:59Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,7})?$
- skipintegerDescriptionDefault0Pattern^[0-9]{1,7}$
- takeintegerExampleDescriptionDefault50Pattern^[0-9]{1,7}$
- descendingstringExampleDescriptionDefaulttruePattern^(true|false)$
- useTimestringExampleDescriptionDefaultfalsePattern^(true|false)$
Responses
200
- mWalletTransactionsResponse_V1Description
- openingBalancenumberExampleDescriptionDefault250.75Pattern^-?[0-9]{1,10}(\.[0-9]{1,2})?$
- closingBalancenumberExampleDescriptionDefault350.75Pattern^-?[0-9]{1,10}(\.[0-9]{1,2})?$
- totalDebitsnumberDescriptionDefault0Pattern^-?[0-9]{1,10}(\.[0-9]{1,2})?$
- totalCreditsnumberExampleDescriptionDefault100Pattern^-?[0-9]{1,10}(\.[0-9]{1,2})?$
- itemsmWalletTransactionLineItem[]Description
- rowOrderintegerExampleDescriptionDefault1Pattern^[0-9]{1,7}$
- mPaymentsIdintegerExampleDescriptionDefault987654321Pattern^[0-9]{1,12}$
- transactionIdintegerExampleDescriptionDefault123456789Pattern^[0-9]{1,12}$
- dateTimestringExampleDescriptionDefault2026-07-15T11:04:33Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,7})?$
- mAccountNamestringExampleDescriptionDefaultMonoova Retail Pty LtdPattern^.{1,100}$
- transactionTypestringExampleDescriptionDefaultPaymentPattern^[A-Za-z]{1,50}$
- subTransactionTypestringExampleDescriptionDefaultGatewayMWalletCreditPattern^[A-Za-z]{1,50}$
- creditnumberExampleDescriptionDefault100Pattern^-?[0-9]{1,10}(\.[0-9]{1,2})?$
- debitnumberDescriptionDefault0Pattern^-?[0-9]{1,10}(\.[0-9]{1,2})?$
- runningBalancenumberExampleDescriptionDefault350.75Pattern^-?[0-9]{1,10}(\.[0-9]{1,2})?$
- descriptionstringExampleDescriptionDefaultINV-10023 Top upPattern^.{1,255}$
- durationMsintegerExampleDescriptionDefault212Pattern^[0-9]{1,7}$
- statusstringExampleDescriptionDefaultOkPattern^[A-Za-z]{2,30}$
- statusDescriptionstringExampleDescriptionDefaultOperation completed successfullyPattern^.{1,500}$
400
- errorResponseExample
{ "durationMs": 24, "status": "Fail", "statusDescription": "The pin must be exactly 4 numeric digits.", "errorCode": "ValidationError" }Description- durationMsintegerExampleDescriptionDefault24Pattern^[0-9]{1,7}$
- statusstringExampleDescriptionDefaultFailPattern^[A-Za-z]{2,30}$
- statusDescriptionstringExampleDescriptionDefaultThe pin must be exactly 4 numeric digits.Pattern^.{1,500}$
- errorCodestringExampleDescriptionDefaultValidationErrorPattern^[A-Za-z0-9_]{1,50}$
401
- errorResponseExample
{ "durationMs": 8, "status": "Unauthorized", "statusDescription": "Authentication failed. Supply a valid API key as the basic authentication username.", "errorCode": "Unauthorized" }Description- durationMsintegerExampleDescriptionDefault24Pattern^[0-9]{1,7}$
- statusstringExampleDescriptionDefaultFailPattern^[A-Za-z]{2,30}$
- statusDescriptionstringExampleDescriptionDefaultThe pin must be exactly 4 numeric digits.Pattern^.{1,500}$
- errorCodestringExampleDescriptionDefaultValidationErrorPattern^[A-Za-z0-9_]{1,50}$
500
- errorResponseExample
{ "durationMs": 1503, "status": "Exception", "statusDescription": "An unexpected error occurred while processing the request.", "errorCode": "InternalServerError" }Description- durationMsintegerExampleDescriptionDefault24Pattern^[0-9]{1,7}$
- statusstringExampleDescriptionDefaultFailPattern^[A-Za-z]{2,30}$
- statusDescriptionstringExampleDescriptionDefaultThe pin must be exactly 4 numeric digits.Pattern^.{1,500}$
- errorCodestringExampleDescriptionDefaultValidationErrorPattern^[A-Za-z0-9_]{1,50}$
curl
curl --request POST \
--url https://api.mpay.com.au/mWallet/v1/transactions \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"accountNumber": "4211110000000019",
"pin": "1234",
"startDate": "2026-07-01T00:00:00",
"endDate": "2026-07-31T23:59:59",
"take": 50,
"descending": "true",
"useTime": "false"
}'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var raw = JSON.stringify({
"accountNumber": "4211110000000019",
"pin": "1234",
"startDate": "2026-07-01T00:00:00",
"endDate": "2026-07-31T23:59:59",
"take": 50,
"descending": "true",
"useTime": "false"
});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://api.mpay.com.au/mWallet/v1/transactions", 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/mWallet/v1/transactions")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
request.body = JSON.dump({
"accountNumber": "4211110000000019",
"pin": "1234",
"startDate": "2026-07-01T00:00:00",
"endDate": "2026-07-31T23:59:59",
"take": 50,
"descending": "true",
"useTime": "false"
})
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://api.mpay.com.au/mWallet/v1/transactions"
payload = json.dumps({
"accountNumber": "4211110000000019",
"pin": "1234",
"startDate": "2026-07-01T00:00:00",
"endDate": "2026-07-31T23:59:59",
"take": 50,
"descending": "true",
"useTime": "false"
})
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
200
// Successful validation. The matching transactions are returned.
{
"openingBalance": 250.75,
"closingBalance": 350.75,
"totalDebits": 0,
"totalCredits": 100,
"items": [
{
"rowOrder": 1,
"mPaymentsId": 987654321,
"transactionId": 123456789,
"dateTime": "2026-07-15T11:04:33",
"mAccountName": "Monoova Retail Pty Ltd",
"transactionType": "Payment",
"subTransactionType": "GatewayMWalletCredit",
"credit": 100,
"debit": 0,
"runningBalance": 350.75,
"description": "INV-10023 Top up"
}
],
"durationMs": 212,
"status": "Ok",
"statusDescription": "Operation completed successfully"
}400
// Bad request. The request failed validation - for example a mandatory field is missing, a value does not match the documented pattern, or the mWallet could not be found.
{
"durationMs": 24,
"status": "Fail",
"statusDescription": "The pin must be exactly 4 numeric digits.",
"errorCode": "ValidationError"
}401
// Unauthorized. The basic authentication credentials are missing, malformed or the supplied API key is not valid for this operation.
{
"durationMs": 24,
"status": "Fail",
"statusDescription": "The pin must be exactly 4 numeric digits.",
"errorCode": "ValidationError"
}500
// Internal server error. An unexpected condition prevented the Platform from completing the request. Retry the request and contact Monoova support if the error persists.
{
"durationMs": 24,
"status": "Fail",
"statusDescription": "The pin must be exactly 4 numeric digits.",
"errorCode": "ValidationError"
}