---
title: Get Account Status By ClientUniqueId
slug: oidc-setup/get-account-status-by-clientuniqueid
docTags: 
createdAt: 2026-01-14T12:29:06.702Z
---

{
  "id": "rET1E1mlfyioR1NbYs56l",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.mpay.com.au/receivables/v1/statusByClientID/{clientUniqueId}",
    "servers": [
      {
        "url": "https://api.mpay.com.au/receivables/v1/statusByClientID/{clientUniqueId}",
        "description": "Production URL"
      },
      {
        "url": "https://api.m-pay.com.au/receivables/v1/statusByClientID/{clientUniqueId}",
        "description": "Sandbox URL"
      }
    ],
    "name": "Get Account Status By ClientUniqueId",
    "description": "This API is used for checking the status of a bank account using the clientUniqueId provided when the account was created.",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "clientUniqueId",
          "type": "string",
          "description": "The identifier assigned to the account when it was created."
        }
      ],
      "headerParameters": [],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "bsb",
          "type": "string",
          "description": ""
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "successful validation",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "automatcherStatusResponse_V1",
            "schema": [],
            "modelRef": "#/components/schemas/automatcherStatusResponse_V1",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "2YtQ-HB6pBXco0Mm5lLbK",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://api.mpay.com.au/receivables/v1/statusByClientID/{clientUniqueId} \\\n     --header 'accept: application/json'"
        },
        {
          "id": "LjeH2SlOI4npcS7BQl5eY",
          "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/receivables/v1/statusByClientID/{clientUniqueId}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "K8E-w_bYMSbJkIB1FUhMI",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.mpay.com.au/receivables/v1/statusByClientID/{clientUniqueId}\")\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": "BbgOhLxIGrjDjRAEUQACK",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.mpay.com.au/receivables/v1/statusByClientID/{clientUniqueId}\"\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": "2YtQ-HB6pBXco0Mm5lLbK"
    },
    "results": {
      "languages": [
        {
          "id": "QHFhKmpjC2n3M1NQt8LCc",
          "language": "200",
          "code": "// successful validation\n{}"
        }
      ],
      "selectedLanguageId": "QHFhKmpjC2n3M1NQt8LCc"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}