---
updatedAt: 2026-04-21T03:40:36.000Z
agentTools:
  projectIndex: https://docs.ternary.app/llms.txt
---

# List MSP shared payer integrations

List all shared payer integrations configured for the MSP.

Shared payer integrations allow child tenants to access billing data from a parent tenant's cloud provider integration.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Core API",
    "description": "Ternary Resource Management API",
    "version": "1.0.0",
    "contact": {},
    "license": {
      "name": "MIT",
      "identifier": "MIT"
    }
  },
  "tags": [
    {
      "name": "MSP Shared Payer Integrations",
      "description": "Manage shared payer integrations between MSP parent and child tenants."
    }
  ],
  "servers": [
    {
      "url": "https://core-api.ternary.app/api",
      "description": "Core API"
    },
    {
      "url": "https://core-api.eu.ternary.app/api",
      "description": "Core API (EU)"
    }
  ],
  "externalDocs": {
    "description": "Raw JSON",
    "url": "https://core-api.ternary.app/api/docs.json"
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "schemas": {
      "FailureResponse": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "HTTP status code",
            "example": "400 - Bad Request"
          },
          "message": {
            "type": "string",
            "description": "Error message",
            "example": "ERROR_INVALID_PARAMS"
          },
          "reason": {
            "type": "string",
            "description": "Error reason code"
          }
        },
        "required": [
          "code",
          "message"
        ]
      },
      "GetMspSharedPayerIntegrationsResponseBody": {
        "type": "object",
        "properties": {
          "integrations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MspSharedPayerIntegration"
            }
          }
        },
        "required": [
          "integrations"
        ]
      },
      "MspSharedPayerIntegration": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique shared payer integration identifier",
            "readOnly": true
          },
          "tenantDocID": {
            "type": "string",
            "description": "Child tenant document ID this shared payer is assigned to"
          },
          "name": {
            "type": "string",
            "description": "Display name of the parent integration"
          },
          "providerType": {
            "type": "string",
            "enum": [
              "ALIBABA",
              "ANTHROPIC",
              "AWS",
              "AZURE",
              "CURSOR",
              "CUSTOM_DATA",
              "DATABRICKS",
              "GCP",
              "MONGO_DB",
              "OCI",
              "OPENAI",
              "SNOWFLAKE"
            ],
            "description": "Cloud provider type of the parent integration (GCP, AWS, AZURE, etc.)"
          },
          "earliestUpstreamTimestamp": {
            "type": [
              "string",
              "null"
            ],
            "description": "Earliest billing data timestamp from the shared payer, null if not yet ingested",
            "readOnly": true
          },
          "latestRefresh": {
            "type": [
              "string",
              "null"
            ],
            "description": "Timestamp of the most recent data refresh, null if not yet refreshed",
            "readOnly": true
          },
          "latestUpstreamCheck": {
            "type": [
              "string",
              "null"
            ],
            "description": "Timestamp of the last upstream data check, null if not yet checked",
            "readOnly": true
          },
          "latestUpstreamTimestamp": {
            "type": [
              "string",
              "null"
            ],
            "description": "Latest billing data timestamp from the shared payer, null if not yet ingested",
            "readOnly": true
          },
          "sharedPayerConfig": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "copyBQ": {
                "type": "boolean"
              },
              "hasDetailed": {
                "type": "boolean"
              },
              "parentIntegrationID": {
                "type": "string"
              },
              "filterColumn": {
                "type": "string"
              },
              "filterValues": {
                "type": "array",
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            },
            "required": [
              "copyBQ",
              "hasDetailed",
              "parentIntegrationID",
              "filterColumn",
              "filterValues"
            ],
            "description": "Shared payer configuration including BigQuery copy settings, filter column and values, and parent integration reference"
          }
        },
        "required": [
          "id",
          "tenantDocID",
          "name",
          "providerType",
          "earliestUpstreamTimestamp",
          "latestRefresh",
          "latestUpstreamCheck",
          "latestUpstreamTimestamp",
          "sharedPayerConfig"
        ],
        "description": "Represents a shared payer integration between an MSP parent and child tenant. Allows child tenants to access filtered billing data from a parent tenant's cloud provider integration."
      }
    }
  },
  "paths": {
    "/msp-shared-payer-integrations": {
      "get": {
        "summary": "List MSP shared payer integrations",
        "tags": [
          "MSP Shared Payer Integrations"
        ],
        "operationId": "getMSPSharedPayerIntegrations",
        "description": "List all shared payer integrations configured for the MSP.\n\nShared payer integrations allow child tenants to access billing data from a parent tenant's cloud provider integration.",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "description": "A unique identifier for an organization",
              "example": "92f36764-5af2-4ff5-a494-d841f32040be"
            },
            "required": true,
            "description": "A unique identifier for an organization",
            "name": "tenantID",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetMspSharedPayerIntegrationsResponseBody"
                },
                "examples": {
                  "getMSPSharedPayerIntegrations": {
                    "value": {
                      "integrations": [
                        {
                          "id": "BdqUVMdfctTdbjgLWRue",
                          "tenantDocID": "GBpeLmVFXPaBuNnrvGhZ",
                          "name": "Demo Shared Payer AWS",
                          "providerType": "AWS",
                          "earliestUpstreamTimestamp": "2024-01-01T00:00:00.000Z",
                          "latestRefresh": "2024-08-19T15:07:06.758Z",
                          "latestUpstreamCheck": "2024-08-19T15:03:01.048Z",
                          "latestUpstreamTimestamp": "2024-08-18T21:00:00.000Z",
                          "sharedPayerConfig": {
                            "copyBQ": false,
                            "hasDetailed": true,
                            "parentIntegrationID": "rftaNJLSJPjbpkMhuztQ",
                            "filterColumn": "SubAccountId",
                            "filterValues": [
                              "584913645347599",
                              "162820554040347"
                            ]
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FailureResponse"
                },
                "examples": {
                  "400Response": {
                    "value": {
                      "code": "400 - Bad Request",
                      "message": "ERROR_INVALID_PARAMS"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FailureResponse"
                },
                "examples": {
                  "401Response": {
                    "value": {
                      "code": "401 - Unauthorized",
                      "message": "ERROR_UNAUTHORIZED"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FailureResponse"
                },
                "examples": {
                  "403Response": {
                    "value": {
                      "code": "403 - Forbidden",
                      "message": "ERROR_PERMISSION_DENIED"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-tagGroups": [
    {
      "name": "Core API",
      "tags": [
        "Alert Rule",
        "Alert Rule Events",
        "API Keys",
        "AWS Rate Recommendations",
        "Azure Rate Recommendations",
        "Billing Rules",
        "Budget",
        "Cases",
        "Cost Alerts",
        "Custom Label",
        "Custom Measures",
        "Data Integration",
        "Data Integration: Alibaba",
        "Data Integration: AWS",
        "Data Integration: Azure",
        "Data Integration: Custom Data",
        "Data Integration: Databricks",
        "Data Integration: GCP",
        "Data Integration: Oracle",
        "Data Integration: Snowflake",
        "Dimension Preferences",
        "GCP Rate Recommendations",
        "Integrations",
        "Label Map",
        "MCP Availability",
        "MCP Client Usage",
        "Measure Preferences",
        "MSP Billing Information",
        "MSP Child",
        "MSP Shared Payer Integrations",
        "MSP Tenant Settings",
        "Permissions",
        "Ramp Plans",
        "Report",
        "Resource Subscriptions",
        "Role",
        "Savings Opportunity Filter",
        "Scoped View",
        "Support Tickets",
        "Tenant",
        "Tenant SSO Config",
        "Usage Recommendations",
        "User",
        "User Group Config"
      ]
    }
  ]
}
```