---
title: /payments/pricing/amberflo/account-pricing/detailed-dimension-matrix-node
slug: amberflo-api/paymentspricingamberfloaccount-pricingdetailed-dimension-matrix-node
docTags: 
createdAt: 2024-11-07T15:10:16.977Z
---

{
  "id": "VvmBgWjcWgQRRSTpidXl1",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "https://app.amberflo.io/payments/pricing/amberflo/account-pricing/detailed-dimension-matrix-node",
    "servers": [
      {
        "url": "https://app.amberflo.io/payments/pricing/amberflo/account-pricing/detailed-dimension-matrix-node"
      }
    ],
    "name": "",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [],
      "queryParameters": [],
      "bodyDataParameters": [
        {
          "kind": "optional",
          "name": "body",
          "type": "object",
          "description": "",
          "customType": "payment.dal.DetailedDimensionMatrixNodeServiceQuery.in",
          "schema": [
            {
              "name": "customerId",
              "kind": "optional",
              "type": "string",
              "example": ""
            },
            {
              "name": "customerTags",
              "kind": "optional",
              "type": "map",
              "example": "",
              "customType": "map<string, string>",
              "schema": []
            },
            {
              "name": "dimensions",
              "kind": "optional",
              "type": "map",
              "example": "",
              "customType": "map<string, string>",
              "schema": []
            }
          ],
          "modelRef": "#/components/schemas/payment.dal.DetailedDimensionMatrixNodeServiceQuery.in",
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "apiKey",
          "name": "X-API-KEY",
          "kind": "optional",
          "type": "apiKey",
          "in": "header"
        }
      ]
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Successful request",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "array",
            "description": "",
            "customType": "payment.pricing.DetailedDimensionMatrixNode.out[]",
            "schema": [
              {
                "name": "headers",
                "kind": "optional",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/payment.common.Headers.out",
                "customType": "payment.common.Headers.out",
                "schema": [
                  {
                    "name": "headers",
                    "kind": "optional",
                    "type": "array",
                    "example": "",
                    "itemType": "string",
                    "customType": "string[]",
                    "itemExample": "",
                    "itemDefault": ""
                  },
                  {
                    "name": "possibleValues",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string[]>",
                    "schema": []
                  }
                ]
              },
              {
                "name": "rows",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/components/schemas/payment.common.DetailedDimensionMatrixNodeRow.out",
                "customType": "payment.common.DetailedDimensionMatrixNodeRow.out[]",
                "schema": [
                  {
                    "name": "data",
                    "kind": "optional",
                    "type": "array",
                    "example": "",
                    "itemType": "string",
                    "customType": "string[]",
                    "itemExample": "",
                    "itemDefault": ""
                  },
                  {
                    "name": "priceTiers",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.price.PriceTier.out",
                    "customType": "payment.pricing.price.PriceTier.out[]",
                    "schema": [
                      {
                        "name": "startAfterUnit",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      },
                      {
                        "name": "batchSize",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      },
                      {
                        "name": "pricePerBatch",
                        "kind": "optional",
                        "type": "number",
                        "example": ""
                      }
                    ]
                  },
                  {
                    "name": "discountedPriceTiers",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.price.PriceTier.out",
                    "customType": "payment.pricing.price.PriceTier.out[]",
                    "schema": [
                      {
                        "name": "startAfterUnit",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      },
                      {
                        "name": "batchSize",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      },
                      {
                        "name": "pricePerBatch",
                        "kind": "optional",
                        "type": "number",
                        "example": ""
                      }
                    ]
                  },
                  {
                    "name": "secondaryTiers",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.price.PriceTier.out",
                    "customType": "payment.pricing.price.PriceTier.out[]",
                    "schema": [
                      {
                        "name": "startAfterUnit",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      },
                      {
                        "name": "batchSize",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      },
                      {
                        "name": "pricePerBatch",
                        "kind": "optional",
                        "type": "number",
                        "example": ""
                      }
                    ]
                  }
                ]
              },
              {
                "name": "planId",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "productItemId",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "meterApiName",
                "kind": "optional",
                "type": "string",
                "example": ""
              }
            ],
            "modelRef": "#/components/schemas/payment.pricing.DetailedDimensionMatrixNode.out",
            "isExpanded": true
          }
        ]
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "QTmKOcSpKsYcRyEY05kb7",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url https://app.amberflo.io/payments/pricing/amberflo/account-pricing/detailed-dimension-matrix-node \\\n     --header 'accept: application/json'"
        },
        {
          "id": "mrpdwI4JQXQwo4W8gCx0E",
          "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: 'POST',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://app.amberflo.io/payments/pricing/amberflo/account-pricing/detailed-dimension-matrix-node\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "RXcCUnNfR1NZPZLYuvk4C",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://app.amberflo.io/payments/pricing/amberflo/account-pricing/detailed-dimension-matrix-node\")\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\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "3D4sALhhDBhJflLuZ7UV4",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://app.amberflo.io/payments/pricing/amberflo/account-pricing/detailed-dimension-matrix-node\"\n\npayload = {}\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"
        }
      ],
      "selectedLanguageId": "QTmKOcSpKsYcRyEY05kb7"
    },
    "results": {
      "languages": [
        {
          "id": "zeHpuGC1vvnROW3M8nBbe",
          "language": "200",
          "code": "// Successful request\n[\n  {\n    \"headers\": {\n      \"headers\": [\n        \"\"\n      ],\n      \"possibleValues\": \"\"\n    },\n    \"rows\": [\n      {\n        \"data\": [\n          \"\"\n        ],\n        \"priceTiers\": [\n          {\n            \"startAfterUnit\": \"\",\n            \"batchSize\": \"\",\n            \"pricePerBatch\": 0\n          }\n        ],\n        \"discountedPriceTiers\": [\n          {\n            \"startAfterUnit\": \"\",\n            \"batchSize\": \"\",\n            \"pricePerBatch\": 0\n          }\n        ],\n        \"secondaryTiers\": [\n          {\n            \"startAfterUnit\": \"\",\n            \"batchSize\": \"\",\n            \"pricePerBatch\": 0\n          }\n        ]\n      }\n    ],\n    \"planId\": \"\",\n    \"productItemId\": \"\",\n    \"meterApiName\": \"\"\n  }\n]"
        }
      ],
      "selectedLanguageId": "zeHpuGC1vvnROW3M8nBbe"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}