---
title: Reopen a Closed mWallet
slug: api/reopen-a-closed-mwallet
docTags: 
createdAt: 2026-08-24T01:23:09.421Z
---

{
  "id": "O2UqQInJiyokMnDY9-3LL",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.mpay.com.au/mWallet/v1/reopen/{cardNumber}/{pin}",
    "servers": [
      {
        "url": "https://api.mpay.com.au/mWallet/v1/reopen/{cardNumber}/{pin}",
        "description": "Production URL"
      },
      {
        "url": "https://api.m-pay.com.au/mWallet/v1/reopen/{cardNumber}/{pin}",
        "description": "Sandbox URL"
      }
    ],
    "name": "Reopen a Closed mWallet",
    "description": "This API will reopen an mWallet that was closed.",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "cardNumber",
          "type": "string",
          "example": "4211110000000019",
          "description": "<p><strong>Required</strong>. The 16-digit account number that uniquely identifies the mWallet. All non-numeric characters are stripped before processing.</p>",
          "default": "4211110000000019",
          "pattern": "^[0-9]{16}$"
        },
        {
          "kind": "required",
          "name": "pin",
          "type": "string",
          "example": "1234",
          "description": "<p><strong>Required</strong>. The 4-digit numeric PIN registered against the mWallet. The PIN authenticates the customer for this operation.</p>",
          "default": "1234",
          "pattern": "^[0-9]{4}$"
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "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. The mWallet was reopened.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "Response returned when a closed mWallet is reopened.",
            "customType": "mWalletReopenResponse_V1",
            "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.</p>",
                "example": 61,
                "default": 61,
                "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/mWalletReopenResponse_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": "1a8lgiQmFR8lDT5MRkg6_",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://api.mpay.com.au/mWallet/v1/reopen/{cardNumber}/{pin} \\\n     --header 'accept: application/json'"
        },
        {
          "id": "OMafTyaHS6ulgDYrg3wO7",
          "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/reopen/{cardNumber}/{pin}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "fDahjeC0yW844Smj8G2Fz",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.mpay.com.au/mWallet/v1/reopen/{cardNumber}/{pin}\")\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": "5ikBK7KsJuDXdyG2VreFZ",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.mpay.com.au/mWallet/v1/reopen/{cardNumber}/{pin}\"\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": "1a8lgiQmFR8lDT5MRkg6_"
    },
    "results": {
      "languages": [
        {
          "id": "UTrIG-GxIjFor12KRAWoR",
          "language": "200",
          "code": "// Successful validation. The mWallet was reopened.\n{\n  \"durationMs\": 61,\n  \"status\": \"Ok\",\n  \"statusDescription\": \"Operation completed successfully\"\n}"
        },
        {
          "id": "wCjM3dFiQoMT3SOc7k2Y-",
          "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": "g4Wugww0teYkok88gjHmN",
          "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": "9i9WWTqRZiGh893Gct2Qs",
          "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": "UTrIG-GxIjFor12KRAWoR"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}