Create a mWallet
POST
https://api.mpay.com.au/mWallet/v1/create
Body Parameters
- bodymWalletCreaterequiredDescription
- identifierstringrequiredExampleDescriptionDefaultPattern^[A-Za-z0-9@._+\-]{1,300}$
- pinstringrequiredExampleDescriptionDefault1234Pattern^[0-9]{4}$
- dateOfBirthstringrequiredExampleDescriptionDefault1985-07-19T00: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})?$
- namestringrequiredExampleDescriptionDefaultJane CitizenPattern^[A-Za-z0-9 '\-\.]{1,100}$
- nickNamestringExampleDescriptionDefaultJanePattern^[A-Za-z0-9 '\-\.]{0,50}$
- phonestringExampleDescriptionDefault0400000000Pattern^0[0-9]{9}$
- emailstringExampleDescriptionDefaultPattern^[A-Za-z0-9._%+\-]+@[A-Za-z0-9.\-]+\.[A-Za-z]{2,}$
- allowDuplicatesstringExampleDescriptionDefaultfalsePattern^(true|false)$
- optionsoptionItem[]Description
- keystringExampleDescriptionDefaultMobileForSmsPattern^[A-Za-z0-9_]{1,50}$
- valuestringExampleDescriptionDefault0400000000Pattern^.{1,200}$
- ABNstringExampleDescriptionDefault51824753556Pattern^[0-9]{11}$
Responses
200
- mWalletCreateResponse_V1Description
- accountNumberstringExampleDescriptionDefault4211110000000019Pattern^[0-9]{16}$
- mWalletmWalletDetailsDescription
- createdDateTimestringExampleDescriptionDefault2026-02-11T09:15:00Pattern^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,7})?$
- accountNumberstringExampleDescriptionDefault4211110000000019Pattern^[0-9]{16}$
- namestringExampleDescriptionDefaultJane CitizenPattern^[A-Za-z0-9 '\-\.]{1,100}$
- nickNamestringExampleDescriptionDefaultJanePattern^[A-Za-z0-9 '\-\.]{0,50}$
- emailstringExampleDescriptionDefaultPattern^[A-Za-z0-9._%+\-]+@[A-Za-z0-9.\-]+\.[A-Za-z]{2,}$
- mobilestringExampleDescriptionDefault0400000000Pattern^0[0-9]{9}$
- lastTransactionDatestringExampleDescriptionDefault2026-08-14T16:42:10Pattern^([0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,7})?)?$
- contactPhonestringExampleDescriptionDefault0298765432Pattern^0[0-9]{9}$
- authenticationEmailstringExampleDescriptionDefaultPattern^([A-Za-z0-9._%+\-]+@[A-Za-z0-9.\-]+\.[A-Za-z]{2,})?$
- authenticationMobilestringExampleDescriptionDefault0400000000Pattern^(0[0-9]{9})?$
- authenticationLandLinestringExampleDescriptionDefault0298765432Pattern^(0[0-9]{9})?$
- registeredByMAccountNumberstringExampleDescriptionDefault4211110000000027Pattern^[0-9]{16}$
- isOnHoldstringExampleDescriptionDefaultfalsePattern^(true|false)$
- isClosedstringExampleDescriptionDefaultfalsePattern^(true|false)$
- isStolenstringExampleDescriptionDefaultfalsePattern^(true|false)$
- isRegisteredstringExampleDescriptionDefaulttruePattern^(true|false)$
- financialsmWalletFinancialsDescription
- actualBalancenumberExampleDescriptionDefault250.75Pattern^-?[0-9]{1,10}(\.[0-9]{1,2})?$
- availableSpendnumberExampleDescriptionDefault250.75Pattern^-?[0-9]{1,10}(\.[0-9]{1,2})?$
- availableLoadnumberExampleDescriptionDefault9749.25Pattern^-?[0-9]{1,10}(\.[0-9]{1,2})?$
- maximumBalancenumberExampleDescriptionDefault10000Pattern^-?[0-9]{1,10}(\.[0-9]{1,2})?$
- optionsoptionItem[]Description
- keystringExampleDescriptionDefaultMobileForSmsPattern^[A-Za-z0-9_]{1,50}$
- valuestringExampleDescriptionDefault0400000000Pattern^.{1,200}$
- ABNstringExampleDescriptionDefault51824753556Pattern^[0-9]{11}$
- durationMsintegerExampleDescriptionDefault128Pattern^[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/create \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data-raw '{
"identifier": "[email protected]",
"pin": "1234",
"dateOfBirth": "1985-07-19T00:00:00",
"name": "Jane Citizen",
"nickName": "Jane",
"phone": "0400000000",
"email": "[email protected]",
"allowDuplicates": "false",
"options": [
{
"key": "MobileForSms",
"value": "0400000000"
}
],
"ABN": "51824753556"
}'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var raw = JSON.stringify({
"identifier": "[email protected]",
"pin": "1234",
"dateOfBirth": "1985-07-19T00:00:00",
"name": "Jane Citizen",
"nickName": "Jane",
"phone": "0400000000",
"email": "[email protected]",
"allowDuplicates": "false",
"options": [
{
"key": "MobileForSms",
"value": "0400000000"
}
],
"ABN": "51824753556"
});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://api.mpay.com.au/mWallet/v1/create", 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/create")
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({
"identifier": "[email protected]",
"pin": "1234",
"dateOfBirth": "1985-07-19T00:00:00",
"name": "Jane Citizen",
"nickName": "Jane",
"phone": "0400000000",
"email": "[email protected]",
"allowDuplicates": "false",
"options": [
{
"key": "MobileForSms",
"value": "0400000000"
}
],
"ABN": "51824753556"
})
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://api.mpay.com.au/mWallet/v1/create"
payload = json.dumps({
"identifier": "[email protected]",
"pin": "1234",
"dateOfBirth": "1985-07-19T00:00:00",
"name": "Jane Citizen",
"nickName": "Jane",
"phone": "0400000000",
"email": "[email protected]",
"allowDuplicates": "false",
"options": [
{
"key": "MobileForSms",
"value": "0400000000"
}
],
"ABN": "51824753556"
})
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
200
// Successful validation. The mWallet was created.
{
"accountNumber": "4211110000000019",
"mWallet": {
"createdDateTime": "2026-02-11T09:15:00",
"accountNumber": "4211110000000019",
"name": "Jane Citizen",
"nickName": "Jane",
"email": "[email protected]",
"mobile": "0400000000",
"lastTransactionDate": "2026-08-14T16:42:10",
"contactPhone": "0298765432",
"authenticationEmail": "[email protected]",
"authenticationMobile": "0400000000",
"authenticationLandLine": "0298765432",
"registeredByMAccountNumber": "4211110000000027",
"isOnHold": "false",
"isClosed": "false",
"isStolen": "false",
"isRegistered": "true",
"financials": {
"actualBalance": 250.75,
"availableSpend": 250.75,
"availableLoad": 9749.25,
"maximumBalance": 10000
},
"options": [
{
"key": "MobileForSms",
"value": "0400000000"
}
],
"ABN": "51824753556"
},
"durationMs": 128,
"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"
}