---
title: schemas
slug: oidc-setup/6a5S-schemas
docTags: 
createdAt: 2026-01-14T12:29:06.702Z
---

{
  "id": "XwFumquSA3k3Y82YpL8gT",
  "type": "api-oas-v2",
  "data": {
    "method": "AUTOMATCHERCREATEBODY_V1",
    "url": "https://api.mpay.com.auschemas",
    "servers": [
      {
        "url": "https://api.mpay.com.auschemas",
        "description": "Production URL"
      },
      {
        "url": "https://api.m-pay.com.auschemas",
        "description": "Sandbox URL"
      }
    ],
    "name": "",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [],
      "queryParameters": [],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "",
        "jsonExample": ""
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "_Ci8mO92zWLx6sfKZmKqs",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request AUTOMATCHERCREATEBODY_V1 \\\n     --url https://api.mpay.com.auschemas \\\n     --header 'accept: application/json'"
        },
        {
          "id": "286H9C7Mb9c9d4TaVx7sh",
          "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: 'AUTOMATCHERCREATEBODY_V1',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.mpay.com.auschemas\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "hbCE84hBreALioSqDiVkz",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nclass Net::HTTP::Automatchercreatebody_v1 < Net::HTTPRequest\n   METHOD = \"AUTOMATCHERCREATEBODY_V1\"\n   REQUEST_HAS_BODY = false\n   RESPONSE_HAS_BODY = true\nend\n\nurl = URI(\"https://api.mpay.com.auschemas\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Automatchercreatebody_v1.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "zNzxCu5n8QDvkyszRWygJ",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.mpay.com.auschemas\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"AUTOMATCHERCREATEBODY_V1\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "_Ci8mO92zWLx6sfKZmKqs"
    },
    "results": {
      "languages": [
        {
          "id": "0-UyZn29U8ho_xuX1fWTP",
          "language": "200",
          "code": ""
        }
      ],
      "selectedLanguageId": "0-UyZn29U8ho_xuX1fWTP"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}