---
title: mWallet Search
slug: api/mwallet-search
docTags: 
createdAt: 2026-08-24T01:23:09.421Z
---

{
  "id": "DxKXJEeCMxZsedpU_Ts3t",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.mpay.com.au/mWallet/v1/search",
    "servers": [
      {
        "url": "https://api.mpay.com.au/mWallet/v1/search",
        "description": "Production URL"
      },
      {
        "url": "https://api.m-pay.com.au/mWallet/v1/search",
        "description": "Sandbox URL"
      }
    ],
    "name": "mWallet Search",
    "description": "<p>This API returns an array of mWallets whose authentication fields match the search criteria specified by the identifier. Mobile phone, land line and 16-digit mWallet account numbers have all non-numbers stripped, and email addresses are converted to lower case. This is the first function to call when trying to identify a customer with an mWallet. The key piece of information returned for each mWallet is the unique accountNumber that is used in later calls and in the payment gateway.</p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "clientUniqueIdentifier",
          "type": "string",
          "example": "customer@example.com",
          "description": "<p><strong>Optional</strong>. The authentication identifier to search on: an email address, mobile number, landline number or 16-digit mWallet account number. Non-numeric characters are stripped from numbers and email addresses are converted to lower case. When omitted, all mWallets registered by the calling mAccount are returned.</p>",
          "default": "customer@example.com",
          "pattern": "^[A-Za-z0-9@._+\\- ]{1,300}$"
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "basicAuth",
          "name": "basicAuth",
          "kind": "optional",
          "type": "http",
          "description": "<p>To authenticate using basic authentication, generate an API key and pass it as the username. No password is required.</p>",
          "scheme": "basic"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Successful validation. Matching mWallets are returned.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "Response returned when searching for mWallets.",
            "customType": "mWalletSearchResponse_V1",
            "schema": [
              {
                "name": "mWallets",
                "kind": "optional",
                "type": "array",
                "description": "<p><strong>Optional</strong>. The array of mWallets that matched the supplied search identifier.</p>",
                "modelRef": "#/components/schemas/mWalletDetails",
                "customType": "mWalletDetails[]",
                "schema": [
                  {
                    "name": "createdDateTime",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><strong>Optional</strong>. The date that this customer was created, in ISO 8601 date-time format. Note that the timezone is suppressed; the example timezone is Sydney local time.</p>",
                    "example": "2026-02-11T09:15:00",
                    "default": "2026-02-11T09:15:00",
                    "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,7})?$"
                  },
                  {
                    "name": "accountNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><strong>Optional</strong>. The 16-digit account number that uniquely identifies the customer.</p>",
                    "example": "4211110000000019",
                    "default": "4211110000000019",
                    "pattern": "^[0-9]{16}$"
                  },
                  {
                    "name": "name",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><strong>Optional</strong>. The customer's full name.</p>",
                    "example": "Jane Citizen",
                    "default": "Jane Citizen",
                    "pattern": "^[A-Za-z0-9 '\\-\\.]{1,100}$"
                  },
                  {
                    "name": "nickName",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><strong>Optional</strong>. A short form name of the customer.</p>",
                    "example": "Jane",
                    "default": "Jane",
                    "pattern": "^[A-Za-z0-9 '\\-\\.]{0,50}$"
                  },
                  {
                    "name": "email",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><strong>Optional</strong>. The email address of the customer.</p>",
                    "example": "jane.citizen@example.com",
                    "default": "jane.citizen@example.com",
                    "pattern": "^[A-Za-z0-9._%+\\-]+@[A-Za-z0-9.\\-]+\\.[A-Za-z]{2,}$"
                  },
                  {
                    "name": "mobile",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><strong>Optional</strong>. The mobile phone number of the customer.</p>",
                    "example": "0400000000",
                    "default": "0400000000",
                    "pattern": "^0[0-9]{9}$"
                  },
                  {
                    "name": "lastTransactionDate",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><strong>Optional</strong>. The date of the last transaction that the customer performed, in ISO 8601 date-time format. This is an empty string if there are no transactions. Note that the timezone is suppressed; the example timezone is Sydney local time.</p>",
                    "example": "2026-08-14T16:42:10",
                    "default": "2026-08-14T16:42:10",
                    "pattern": "^([0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,7})?)?$"
                  },
                  {
                    "name": "contactPhone",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><strong>Optional</strong>. The contact phone number for the customer. Can be a mobile or a landline.</p>",
                    "example": "0298765432",
                    "default": "0298765432",
                    "pattern": "^0[0-9]{9}$"
                  },
                  {
                    "name": "authenticationEmail",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><strong>Optional</strong>. The unique email address used to authenticate the customer. Can be null.</p>",
                    "example": "jane.citizen@example.com",
                    "default": "jane.citizen@example.com",
                    "pattern": "^([A-Za-z0-9._%+\\-]+@[A-Za-z0-9.\\-]+\\.[A-Za-z]{2,})?$"
                  },
                  {
                    "name": "authenticationMobile",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><strong>Optional</strong>. The unique mobile number used to authenticate the customer. Can be null.</p>",
                    "example": "0400000000",
                    "default": "0400000000",
                    "pattern": "^(0[0-9]{9})?$"
                  },
                  {
                    "name": "authenticationLandLine",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><strong>Optional</strong>. The unique telephone number used to authenticate the customer. Can be null.</p>",
                    "example": "0298765432",
                    "default": "0298765432",
                    "pattern": "^(0[0-9]{9})?$"
                  },
                  {
                    "name": "registeredByMAccountNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><strong>Optional</strong>. The 16-digit account number of the mAccount that created the customer.</p>",
                    "example": "4211110000000027",
                    "default": "4211110000000027",
                    "pattern": "^[0-9]{16}$"
                  },
                  {
                    "name": "isOnHold",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><strong>Optional</strong>. Indicates whether the customer's account has been put on hold. Returned as the text value 'true' or 'false'.</p>",
                    "example": "false",
                    "default": "false",
                    "pattern": "^(true|false)$"
                  },
                  {
                    "name": "isClosed",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><strong>Optional</strong>. Indicates whether the customer's account has been closed. Returned as the text value 'true' or 'false'.</p>",
                    "example": "false",
                    "default": "false",
                    "pattern": "^(true|false)$"
                  },
                  {
                    "name": "isStolen",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><strong>Optional</strong>. Indicates whether the mWallet has been reported as stolen. Returned as the text value 'true' or 'false'.</p>",
                    "example": "false",
                    "default": "false",
                    "pattern": "^(true|false)$"
                  },
                  {
                    "name": "isRegistered",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><strong>Optional</strong>. Indicates whether the mWallet is registered and able to purchase restricted items from the mAccount, such as BPAY. Returned as the text value 'true' or 'false'.</p>",
                    "example": "true",
                    "default": "true",
                    "pattern": "^(true|false)$"
                  },
                  {
                    "name": "financials",
                    "kind": "optional",
                    "type": "object",
                    "description": "<p><strong>Optional</strong>. The current financial position of the mWallet.</p>",
                    "modelRef": "#/components/schemas/mWalletFinancials",
                    "customType": "mWalletFinancials",
                    "schema": [
                      {
                        "name": "actualBalance",
                        "kind": "optional",
                        "type": "number",
                        "description": "<p><strong>Optional</strong>. The current remaining balance on the mWallet, in AUD.</p>",
                        "example": 250.75,
                        "default": 250.75,
                        "pattern": "^-?[0-9]{1,10}(\\.[0-9]{1,2})?$"
                      },
                      {
                        "name": "availableSpend",
                        "kind": "optional",
                        "type": "number",
                        "description": "<p><strong>Optional</strong>. The amount of funds that can be debited from the mWallet, in AUD.</p>",
                        "example": 250.75,
                        "default": 250.75,
                        "pattern": "^-?[0-9]{1,10}(\\.[0-9]{1,2})?$"
                      },
                      {
                        "name": "availableLoad",
                        "kind": "optional",
                        "type": "number",
                        "description": "<p><strong>Optional</strong>. The amount of funds that can be credited to the mWallet, in AUD.</p>",
                        "example": 9749.25,
                        "default": 9749.25,
                        "pattern": "^-?[0-9]{1,10}(\\.[0-9]{1,2})?$"
                      },
                      {
                        "name": "maximumBalance",
                        "kind": "optional",
                        "type": "number",
                        "description": "<p><strong>Optional</strong>. The maximum balance the mWallet is permitted to hold, in AUD. Returned by the financials endpoint only.</p>",
                        "example": 10000,
                        "default": 10000,
                        "pattern": "^-?[0-9]{1,10}(\\.[0-9]{1,2})?$"
                      }
                    ]
                  },
                  {
                    "name": "options",
                    "kind": "optional",
                    "type": "array",
                    "description": "<p><strong>Optional</strong>. An array of additional key and value options held against the mWallet.</p>",
                    "modelRef": "#/components/schemas/optionItem",
                    "customType": "optionItem[]",
                    "schema": [
                      {
                        "name": "key",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p><strong>Conditional</strong>. The unique identifier of the value. Required when an options array entry is supplied. For example MobileForSms.</p>",
                        "example": "MobileForSms",
                        "default": "MobileForSms",
                        "pattern": "^[A-Za-z0-9_]{1,50}$"
                      },
                      {
                        "name": "value",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p><strong>Conditional</strong>. The actual value represented by the key. Required when an options array entry is supplied.</p>",
                        "example": "0400000000",
                        "default": "0400000000",
                        "pattern": "^.{1,200}$"
                      }
                    ]
                  },
                  {
                    "name": "ABN",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><strong>Optional</strong>. The company ABN of the mAccount. All non-numeric characters are stripped.</p>",
                    "example": "51824753556",
                    "default": "51824753556",
                    "pattern": "^[0-9]{11}$"
                  }
                ]
              },
              {
                "name": "durationMs",
                "kind": "optional",
                "type": "integer",
                "description": "<p><strong>Optional</strong>. The total time in milliseconds that the Platform took to process the request.</p>",
                "example": 64,
                "default": 64,
                "pattern": "^[0-9]{1,7}$"
              },
              {
                "name": "status",
                "kind": "optional",
                "type": "string",
                "description": "<p><strong>Required</strong>. The status of the request. A code of 'Ok' indicates no errors.</p>",
                "example": "Ok",
                "default": "Ok",
                "pattern": "^[A-Za-z]{2,30}$"
              },
              {
                "name": "statusDescription",
                "kind": "optional",
                "type": "string",
                "description": "<p><strong>Required</strong>. A description of the status. If an 'Ok' status is returned, then this will be 'Operation completed successfully'.</p>",
                "example": "Operation completed successfully",
                "default": "Operation completed successfully",
                "pattern": "^.{1,500}$"
              }
            ],
            "modelRef": "#/components/schemas/mWalletSearchResponse_V1",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "400",
        "description": "<p>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.</p>",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "example": "{\"durationMs\":24,\"status\":\"Fail\",\"statusDescription\":\"The pin must be exactly 4 numeric digits.\",\"errorCode\":\"ValidationError\"}",
            "description": "<p>Standard error payload returned for 400, 401 and 500 responses.</p>",
            "customType": "errorResponse",
            "schema": [
              {
                "name": "durationMs",
                "kind": "optional",
                "type": "integer",
                "description": "<p><strong>Optional</strong>. The total time in milliseconds that the Platform took to process the request before the error was returned.</p>",
                "example": 24,
                "default": 24,
                "pattern": "^[0-9]{1,7}$"
              },
              {
                "name": "status",
                "kind": "optional",
                "type": "string",
                "description": "<p><strong>Required</strong>. The status of the request. A value other than 'Ok' indicates the request did not succeed, for example 'Fail', 'Unauthorized' or 'Exception'.</p>",
                "example": "Fail",
                "default": "Fail",
                "pattern": "^[A-Za-z]{2,30}$"
              },
              {
                "name": "statusDescription",
                "kind": "optional",
                "type": "string",
                "description": "<p><strong>Required</strong>. A human readable description of the error that occurred.</p>",
                "example": "The pin must be exactly 4 numeric digits.",
                "default": "The pin must be exactly 4 numeric digits.",
                "pattern": "^.{1,500}$"
              },
              {
                "name": "errorCode",
                "kind": "optional",
                "type": "string",
                "description": "<p><strong>Optional</strong>. A short machine readable code identifying the error condition. Use this value when logging or raising a support request.</p>",
                "example": "ValidationError",
                "default": "ValidationError",
                "pattern": "^[A-Za-z0-9_]{1,50}$"
              }
            ],
            "modelRef": "#/components/schemas/errorResponse",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "401",
        "description": "<p>Unauthorized. The basic authentication credentials are missing, malformed or the supplied API key is not valid for this operation.</p>",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "example": "{\"durationMs\":8,\"status\":\"Unauthorized\",\"statusDescription\":\"Authentication failed. Supply a valid API key as the basic authentication username.\",\"errorCode\":\"Unauthorized\"}",
            "description": "<p>Standard error payload returned for 400, 401 and 500 responses.</p>",
            "customType": "errorResponse",
            "schema": [
              {
                "name": "durationMs",
                "kind": "optional",
                "type": "integer",
                "description": "<p><strong>Optional</strong>. The total time in milliseconds that the Platform took to process the request before the error was returned.</p>",
                "example": 24,
                "default": 24,
                "pattern": "^[0-9]{1,7}$"
              },
              {
                "name": "status",
                "kind": "optional",
                "type": "string",
                "description": "<p><strong>Required</strong>. The status of the request. A value other than 'Ok' indicates the request did not succeed, for example 'Fail', 'Unauthorized' or 'Exception'.</p>",
                "example": "Fail",
                "default": "Fail",
                "pattern": "^[A-Za-z]{2,30}$"
              },
              {
                "name": "statusDescription",
                "kind": "optional",
                "type": "string",
                "description": "<p><strong>Required</strong>. A human readable description of the error that occurred.</p>",
                "example": "The pin must be exactly 4 numeric digits.",
                "default": "The pin must be exactly 4 numeric digits.",
                "pattern": "^.{1,500}$"
              },
              {
                "name": "errorCode",
                "kind": "optional",
                "type": "string",
                "description": "<p><strong>Optional</strong>. A short machine readable code identifying the error condition. Use this value when logging or raising a support request.</p>",
                "example": "ValidationError",
                "default": "ValidationError",
                "pattern": "^[A-Za-z0-9_]{1,50}$"
              }
            ],
            "modelRef": "#/components/schemas/errorResponse",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "500",
        "description": "Internal server error. An unexpected condition prevented the Platform from completing the request. Retry the request and contact Monoova support if the error persists.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "example": "{\"durationMs\":1503,\"status\":\"Exception\",\"statusDescription\":\"An unexpected error occurred while processing the request.\",\"errorCode\":\"InternalServerError\"}",
            "description": "<p>Standard error payload returned for 400, 401 and 500 responses.</p>",
            "customType": "errorResponse",
            "schema": [
              {
                "name": "durationMs",
                "kind": "optional",
                "type": "integer",
                "description": "<p><strong>Optional</strong>. The total time in milliseconds that the Platform took to process the request before the error was returned.</p>",
                "example": 24,
                "default": 24,
                "pattern": "^[0-9]{1,7}$"
              },
              {
                "name": "status",
                "kind": "optional",
                "type": "string",
                "description": "<p><strong>Required</strong>. The status of the request. A value other than 'Ok' indicates the request did not succeed, for example 'Fail', 'Unauthorized' or 'Exception'.</p>",
                "example": "Fail",
                "default": "Fail",
                "pattern": "^[A-Za-z]{2,30}$"
              },
              {
                "name": "statusDescription",
                "kind": "optional",
                "type": "string",
                "description": "<p><strong>Required</strong>. A human readable description of the error that occurred.</p>",
                "example": "The pin must be exactly 4 numeric digits.",
                "default": "The pin must be exactly 4 numeric digits.",
                "pattern": "^.{1,500}$"
              },
              {
                "name": "errorCode",
                "kind": "optional",
                "type": "string",
                "description": "<p><strong>Optional</strong>. A short machine readable code identifying the error condition. Use this value when logging or raising a support request.</p>",
                "example": "ValidationError",
                "default": "ValidationError",
                "pattern": "^[A-Za-z0-9_]{1,50}$"
              }
            ],
            "modelRef": "#/components/schemas/errorResponse",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "6pJjG6BTmxw3mp8bkjU9e",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url 'https://api.mpay.com.au/mWallet/v1/search?clientUniqueIdentifier=customer%40example.com' \\\n     --header 'accept: application/json'"
        },
        {
          "id": "wEmS51VOMRPfI6xWH-SVO",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.mpay.com.au/mWallet/v1/search?clientUniqueIdentifier=customer@example.com\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "3h2dOY3cDU8qJA0RF5MWa",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.mpay.com.au/mWallet/v1/search?clientUniqueIdentifier=customer@example.com\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "t_BfINkl3Vw09CuqSslX0",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.mpay.com.au/mWallet/v1/search?clientUniqueIdentifier=customer@example.com\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "6pJjG6BTmxw3mp8bkjU9e"
    },
    "results": {
      "languages": [
        {
          "id": "UKNwADTfXaUHkOeDs7rMX",
          "language": "200",
          "code": "// Successful validation. Matching mWallets are returned.\n{\n  \"mWallets\": [\n    {\n      \"createdDateTime\": \"2026-02-11T09:15:00\",\n      \"accountNumber\": \"4211110000000019\",\n      \"name\": \"Jane Citizen\",\n      \"nickName\": \"Jane\",\n      \"email\": \"jane.citizen@example.com\",\n      \"mobile\": \"0400000000\",\n      \"lastTransactionDate\": \"2026-08-14T16:42:10\",\n      \"contactPhone\": \"0298765432\",\n      \"authenticationEmail\": \"jane.citizen@example.com\",\n      \"authenticationMobile\": \"0400000000\",\n      \"authenticationLandLine\": \"0298765432\",\n      \"registeredByMAccountNumber\": \"4211110000000027\",\n      \"isOnHold\": \"false\",\n      \"isClosed\": \"false\",\n      \"isStolen\": \"false\",\n      \"isRegistered\": \"true\",\n      \"financials\": {\n        \"actualBalance\": 250.75,\n        \"availableSpend\": 250.75,\n        \"availableLoad\": 9749.25,\n        \"maximumBalance\": 10000\n      },\n      \"options\": [\n        {\n          \"key\": \"MobileForSms\",\n          \"value\": \"0400000000\"\n        }\n      ],\n      \"ABN\": \"51824753556\"\n    }\n  ],\n  \"durationMs\": 64,\n  \"status\": \"Ok\",\n  \"statusDescription\": \"Operation completed successfully\"\n}"
        },
        {
          "id": "Ai74wCZmro8BlhpzuKKu8",
          "language": "400",
          "code": "// 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.\n{\n  \"durationMs\": 24,\n  \"status\": \"Fail\",\n  \"statusDescription\": \"The pin must be exactly 4 numeric digits.\",\n  \"errorCode\": \"ValidationError\"\n}"
        },
        {
          "id": "Z8N8PcTwA-qpH728xA5wC",
          "language": "401",
          "code": "// Unauthorized. The basic authentication credentials are missing, malformed or the supplied API key is not valid for this operation.\n{\n  \"durationMs\": 24,\n  \"status\": \"Fail\",\n  \"statusDescription\": \"The pin must be exactly 4 numeric digits.\",\n  \"errorCode\": \"ValidationError\"\n}"
        },
        {
          "id": "24hyBIHAsIM28bUjLT7BX",
          "language": "500",
          "code": "// Internal server error. An unexpected condition prevented the Platform from completing the request. Retry the request and contact Monoova support if the error persists.\n{\n  \"durationMs\": 24,\n  \"status\": \"Fail\",\n  \"statusDescription\": \"The pin must be exactly 4 numeric digits.\",\n  \"errorCode\": \"ValidationError\"\n}"
        }
      ],
      "selectedLanguageId": "UKNwADTfXaUHkOeDs7rMX"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}