---
title: Gestión de Cuentas
slug: gestion-de-cuentas
description: Learn about the various operations that can be performed on a merchant's Current Account with this comprehensive document. Discover how to obtain account information, create new accounts, and issue CVU accounts in Argentina, along with code examples and d
createdAt: 2023-08-23T13:04:34.169Z
---

Al realizar operaciones sobre un comercio la Cuenta Corriente para la moneda principal del Comercio será creada automáticamente registrando en ella todas las transacciones realizadas de tipo Cash In, Cash Out, impuestos, ajustes, entre otros.

:::ApiMethodV2
```json
{
  "name": "Obtener cuentas Comercio",
  "method": "GET",
  "url": "https://api.sugaway.com/p/operator/entity/:uid/account",
  "description": "Permite obtener las Cuentas Corrientes de un Comercio",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "0K7gkQ1Sw3ByTwFG56BZI",
        "language": "curl",
        "code": "curl --location -g --request GET 'https://api.sugaway.com/p/operator/entity/:uid/account/{uid}' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json'",
        "customLabel": ""
      },
      {
        "id": "YZeftvegcIPnYdbFk7lVJ",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'GET',\n   'url': 'https://api.sugaway.com/p/operator/entity/:uid/account/{uid}',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   }\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "J2J4Ldtv8vhWiT2WUWMWn",
        "language": "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.sugaway.com/p/operator/entity/:uid/account/{uid}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "1EUdiq06_gFCi8o88leEy",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.sugaway.com/p/operator/entity/:uid/account/{uid}\"\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",
        "customLabel": ""
      },
      {
        "id": "dv6qVzx6ApQOJ-chwwc2C",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.sugaway.com/p/operator/entity/:uid/account/{uid}\")\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",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "0K7gkQ1Sw3ByTwFG56BZI"
  },
  "results": {
    "languages": [
      {
        "id": "H2tc3J37lQugAjpnmfUo6",
        "language": "200",
        "customLabel": "",
        "code": ""
      },
      {
        "id": "vgQ43A1HyVQWSnmR_m5AC",
        "language": "404",
        "customLabel": "",
        "code": "{\n      \"message\": \"Ain't no cake like that.\"\n    }"
      }
    ],
    "selectedLanguageId": "H2tc3J37lQugAjpnmfUo6"
  },
  "request": {
    "pathParameters": [
      {
        "name": "uid",
        "kind": "required",
        "type": "string",
        "description": "Identificador Único del Comercio generado durante la creación",
        "children": []
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "x-api-key",
        "kind": "optional",
        "type": "string",
        "description": "",
        "children": []
      },
      {
        "name": "x-access-token",
        "kind": "optional",
        "type": "string",
        "description": "",
        "children": []
      }
    ],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Path Parameter",
    "value": "pathParameters"
  },
  "autoGeneratedAnchorSlug": "obtener-cuentas-comercio",
  "legacyHash": "2mCbW26iRb2kitHuoOyit"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Crear Cuenta ",
  "method": "POST",
  "url": "https://api.sugaway.com/p/accounts/",
  "description": "Permite crear una cuenta corriente para un Comercio",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "Y63LSVXEclPiwB4u-Fs_Q",
        "language": "curl",
        "code": "curl --location --request POST 'https://api.sugaway.com/p/operator/entity/:uid/account' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\"reference\":\"string\",\"currency\":\"string\"}'",
        "customLabel": ""
      },
      {
        "id": "Z3JqmvXB8YizUw5wb29JF",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.sugaway.com/p/operator/entity/:uid/account',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   },\n   body: JSON.stringify({\n      \"reference\": \"string\",\n      \"currency\": \"string\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "RM7M6hDKQOhWggpCveHKG",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"reference\": \"string\",\n   \"currency\": \"string\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.sugaway.com/p/operator/entity/:uid/account\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "dQaHD9Hbz9CQfGpqcxrLM",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.sugaway.com/p/operator/entity/:uid/account\"\n\npayload = json.dumps({\n   \"reference\": \"string\",\n   \"currency\": \"string\"\n})\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "Ar5FgFTDM2qVSdk0HSJhS",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.sugaway.com/p/operator/entity/:uid/account\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"reference\": \"string\",\n   \"currency\": \"string\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "Y63LSVXEclPiwB4u-Fs_Q"
  },
  "results": {
    "selectedLanguageId": "8SyxFWPAEHhu2PqbKBygQ",
    "languages": [
      {
        "id": "8SyxFWPAEHhu2PqbKBygQ",
        "language": "200",
        "customLabel": "",
        "code": "{\n      \"name\": \"Cake's name\",\n    }"
      },
      {
        "id": "ahdiMxwWc3KlwCf7bovz7",
        "language": "404",
        "customLabel": "",
        "code": "{\n      \"message\": \"Ain't no cake like that.\"\n    }"
      }
    ]
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "x-api-key",
        "kind": "optional",
        "type": "string",
        "description": "API Key del operador",
        "": "API Key del operador"
      },
      {
        "name": "x-access-token",
        "kind": "optional",
        "type": "string",
        "description": "Access Token del operador",
        "": "Access Token del operador"
      },
      {
        "name": "x-suga-entity",
        "kind": "optional",
        "type": "string",
        "description": "ID del comercio sobre el cual se desea crear la cuenta ",
        "": "ID del comercio sobre el cual se desea crear la cuenta "
      }
    ],
    "bodyDataParameters": [
      {
        "name": "reference",
        "kind": "required",
        "type": "string",
        "description": "Referencia única de la cuenta"
      },
      {
        "name": "currency",
        "kind": "required",
        "type": "string",
        "description": "Código de Moneda. Aceptados: ARS, CLP, USD, MXN, UYU",
        "children": []
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "hasTryItOut": false,
  "autoGeneratedAnchorSlug": "crear-cuenta",
  "legacyHash": "DWJo90V-QTrF9zZnaHf9Z"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Asignar CVU a una Cuenta",
  "method": "POST",
  "url": "https://api.sugaway.com/p/accounts/:accounts/info",
  "description": "Permite asignar un CVU a una cuenta",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "Y63LSVXEclPiwB4u-Fs_Q",
        "language": "curl",
        "code": "curl --location --request POST 'https://api.sugaway.com/p/:accounts/info' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\"accountType\":\"string\",\"accountNumber\":\"string\"}'",
        "customLabel": ""
      },
      {
        "id": "Z3JqmvXB8YizUw5wb29JF",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.sugaway.com/p/:accounts/info',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   },\n   body: JSON.stringify({\n      \"accountType\": \"string\",\n      \"accountNumber\": \"string\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "RM7M6hDKQOhWggpCveHKG",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"accountType\": \"string\",\n   \"accountNumber\": \"string\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.sugaway.com/p/:accounts/info\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "dQaHD9Hbz9CQfGpqcxrLM",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.sugaway.com/p/:accounts/info\"\n\npayload = json.dumps({\n    \"accountType\": \"string\",\n   \"accountNumber\": \"string\"\n})\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "Ar5FgFTDM2qVSdk0HSJhS",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.sugaway.com/p/:accounts/info\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"accountType\": \"string\",\n   \"accountNumber\": \"string\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "Z3JqmvXB8YizUw5wb29JF"
  },
  "results": {
    "selectedLanguageId": "8SyxFWPAEHhu2PqbKBygQ",
    "languages": [
      {
        "id": "8SyxFWPAEHhu2PqbKBygQ",
        "language": "200",
        "customLabel": "",
        "code": "{\n      \"name\": \"Cake's name\",\n    }"
      },
      {
        "id": "ahdiMxwWc3KlwCf7bovz7",
        "language": "404",
        "customLabel": "",
        "code": "{\n      \"message\": \"Ain't no cake like that.\"\n    }"
      }
    ]
  },
  "request": {
    "pathParameters": [
      {
        "name": "accountid",
        "kind": "required",
        "type": "string",
        "description": "Identificador de Cuenta Corriente",
        "": "Identificador de Cuenta Corriente"
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "x-api-key",
        "kind": "required",
        "type": "string",
        "description": "API Key del operador",
        "": "required"
      },
      {
        "name": "x-access-token",
        "kind": "required",
        "type": "string",
        "description": "Access Token del operador",
        "": "Access Token del operador"
      },
      {
        "name": "x-suga-entity",
        "kind": "required",
        "type": "string",
        "description": "ID del comercio sobre el cual se desea agregar al CVU\n",
        "": "ID del comercio sobre el cual se desea agregar al CVU\n"
      }
    ],
    "bodyDataParameters": [
      {
        "name": "accountType",
        "kind": "required",
        "type": "string",
        "description": "Tipo de cuenta. Valor admitido \"arg.cvu\"",
        "": "Tipo de cuenta. Valor admitido \"arg.cvu\""
      },
      {
        "name": "accountNumber",
        "kind": "required",
        "type": "string",
        "description": "Número de CVU sobre el cual se desea agregar a la cuenta",
        "": "Número de CVU sobre el cual se desea agregar a la cuenta"
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Path Parameter",
    "value": "pathParameters"
  },
  "response": [
    {
      "name": "id",
      "kind": "optional",
      "type": "string",
      "description": "ID of the cake retrieved"
    }
  ],
  "autoGeneratedAnchorSlug": "asignar-cvu-a-una-cuenta",
  "legacyHash": "Wsc6aJGCmJ1vu7soPXZ2O"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Obtener Cuenta",
  "method": "GET",
  "url": "https://api.sugaway.com/p/accounts/:accountid/info",
  "description": "Permite obtener una cuenta corriente y el saldo de la misma",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "0LobuZ7I0N6a-IoIAZFkB",
        "language": "curl",
        "code": "curl --location -g --request GET 'https://api.sugaway.com/p/accounts/:accountid/info/{accountid}' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json'",
        "customLabel": ""
      },
      {
        "id": "JgbGYKYF2gtmzrGbW5pfL",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'GET',\n   'url': 'https://api.sugaway.com/p/accounts/:accountid/info/{accountid}',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   }\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "lGhKqWy4HRTZ1vZ8F5LeU",
        "language": "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.sugaway.com/p/accounts/:accountid/info/{accountid}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "gYyiTxr2VlWLw3v9_LF-7",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.sugaway.com/p/accounts/:accountid/info/{accountid}\"\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",
        "customLabel": ""
      },
      {
        "id": "l1rxih9EX0gyPLWqPYBRD",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.sugaway.com/p/accounts/:accountid/info/{accountid}\")\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",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "0LobuZ7I0N6a-IoIAZFkB"
  },
  "results": {
    "languages": [
      {
        "id": "8SyxFWPAEHhu2PqbKBygQ",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"result\": true,\n  \"data\": {\n    \"balance\": 10,\n    \"account_id\": \"EQWEQWEWQ212SSDDD\"\n  }\n}"
      },
      {
        "id": "ahdiMxwWc3KlwCf7bovz7",
        "language": "404",
        "customLabel": "",
        "code": "{\n      \"message\": \"Ain't no cake like that.\"\n    }"
      }
    ],
    "selectedLanguageId": "8SyxFWPAEHhu2PqbKBygQ"
  },
  "request": {
    "pathParameters": [
      {
        "name": "accountid",
        "kind": "required",
        "type": "string",
        "description": "Identificador de Cuenta Corriente",
        "children": []
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "x-api-key",
        "kind": "optional",
        "type": "string",
        "description": "",
        "children": []
      },
      {
        "name": "x-access-token",
        "kind": "optional",
        "type": "string",
        "description": "",
        "children": []
      }
    ],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Path Parameter",
    "value": "pathParameters"
  },
  "autoGeneratedAnchorSlug": "obtener-cuenta",
  "legacyHash": "4T5o8LUtteGxma4DPBIIq"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Asociar Webhook",
  "method": "POST",
  "url": "https://api.sugaway.com/p/accounts/:accountid/action/webhook",
  "description": "Permite asociar un Webhook a la cuenta mediante el cual se notificarán todas las transacciones entrantes o salientes tanto de la cuenta principal como de los Alias emitidos",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "Y63LSVXEclPiwB4u-Fs_Q",
        "language": "curl",
        "code": "curl --location --request POST 'https://api.sugaway.com/p/operator/entity/:uid/account' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\"reference\":\"string\",\"currency\":\"string\"}'",
        "customLabel": ""
      },
      {
        "id": "Z3JqmvXB8YizUw5wb29JF",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.sugaway.com/p/operator/entity/:uid/account',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   },\n   body: JSON.stringify({\n      \"reference\": \"string\",\n      \"currency\": \"string\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "RM7M6hDKQOhWggpCveHKG",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"reference\": \"string\",\n   \"currency\": \"string\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.sugaway.com/p/operator/entity/:uid/account\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "dQaHD9Hbz9CQfGpqcxrLM",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.sugaway.com/p/operator/entity/:uid/account\"\n\npayload = json.dumps({\n   \"reference\": \"string\",\n   \"currency\": \"string\"\n})\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "Ar5FgFTDM2qVSdk0HSJhS",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.sugaway.com/p/operator/entity/:uid/account\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"reference\": \"string\",\n   \"currency\": \"string\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "Y63LSVXEclPiwB4u-Fs_Q"
  },
  "results": {
    "selectedLanguageId": "8SyxFWPAEHhu2PqbKBygQ",
    "languages": [
      {
        "id": "8SyxFWPAEHhu2PqbKBygQ",
        "language": "200",
        "customLabel": "",
        "code": "{\n      \"name\": \"Cake's name\",\n    }"
      },
      {
        "id": "ahdiMxwWc3KlwCf7bovz7",
        "language": "404",
        "customLabel": "",
        "code": "{\n      \"message\": \"Ain't no cake like that.\"\n    }"
      }
    ]
  },
  "request": {
    "pathParameters": [
      {
        "name": "uid",
        "kind": "optional",
        "type": "string",
        "description": "ID del Comercio",
        "children": []
      },
      {
        "name": "accountid",
        "kind": "optional",
        "type": "string",
        "description": "ID de la Cuenta",
        "children": []
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "x-api-key",
        "kind": "optional",
        "type": "string",
        "description": "",
        "children": []
      },
      {
        "name": "x-access-token",
        "kind": "optional",
        "type": "string",
        "description": "",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "url",
        "kind": "required",
        "type": "string",
        "description": "URL del Webhook a asociar. Debe ser HTTPS de manera obligatoria de lo contrario no serán enviados"
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Path Parameter",
    "value": "pathParameters"
  },
  "autoGeneratedAnchorSlug": "asociar-webhook",
  "legacyHash": "XqygUSpKlvgS6qLlsHQX5"
}
```
:::

## Creación de CVU

Sólo para Argentina

:::ApiMethodV2
```json
{
  "name": "Emitir Cuenta CVU",
  "method": "GET",
  "url": "https://api.sugaway.com/p/operator/entity/:uid/account/:aid/issue",
  "description": "Permite emitir cuenta CVU para usuarios de Argentina",
  "tab": "examples",
  "examples": {
    "selectedLanguageId": "LAVGVsu_qyLiAY8FPu5da",
    "languages": [
      {
        "id": "LAVGVsu_qyLiAY8FPu5da",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"id\": \"string\"\n});\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.cakes.com\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      }
    ]
  },
  "results": {
    "selectedLanguageId": "ccjsXA8_GIpVRxOvFIhBG",
    "languages": [
      {
        "id": "ccjsXA8_GIpVRxOvFIhBG",
        "language": "200",
        "customLabel": "",
        "code": "{\n      \"name\": \"Cake's name\",\n    }"
      },
      {
        "id": "aAlwf_KMmyjhuLQz1Ky7I",
        "language": "404",
        "customLabel": "",
        "code": "{\n      \"message\": \"Ain't no cake like that.\"\n    }"
      }
    ]
  },
  "request": {
    "pathParameters": [
      {
        "name": "uid",
        "kind": "required",
        "type": "string",
        "description": "ID único  de Comercio",
        "children": []
      },
      {
        "name": "aid",
        "kind": "required",
        "type": "string",
        "description": "ID de la Cuenta",
        "children": []
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "x-api-key",
        "kind": "optional",
        "type": "string",
        "description": "",
        "children": []
      },
      {
        "name": "x-access-token",
        "kind": "optional",
        "type": "string",
        "description": "",
        "children": []
      }
    ],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "emitir-cuenta-cvu",
  "legacyHash": "_zQF3pIjf_T8UH5J5moGv"
}
```
:::

