> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Testing Multiple Account Owners

You can test multiple account owners using just our API endpoints or using our Connect Widget and API endpoints. By the end of this testing, an object will return for multiple account owners along with their contact information.

<Accordion title="Example of the returned object">
  ```json theme={null}
  {
    "account_owners": [
      {
        "guid": "ACO-51aac426-03c4-4e12-8efe-91e9799e401f",
        "user_guid": "USR-ee249425-9a0c-4c73-9fc6-52ca3ad70063",
        "member_guid": "MBR-4a74a38f-975a-4aa9-94d5-459900e018ed",
        "account_guid": "ACT-b2f3e208-e568-4728-8dda-c3a1a6a57f22",
        "owner_name": "John Smith",
        "address": null,
        "city": null,
        "state": null,
        "postal_code": null,
        "country": null,
        "email": "test@example.com",
        "phone": null,
        "first_name": null,
        "last_name": null
      },
      {
        "guid": "ACO-3fd5012d-9098-46f4-988f-8938a42dd81a",
        "user_guid": "USR-ee249425-9a0c-4c73-9fc6-52ca3ad70063",
        "member_guid": "MBR-4a74a38f-975a-4aa9-94d5-459900e018ed",
        "account_guid": "ACT-b2f3e208-e568-4728-8dda-c3a1a6a57f22",
        "owner_name": "Mary Smith",
        "address": "123 Easy St",
        "city": "Schenectady",
        "state": "NY",
        "postal_code": "12345",
        "country": "USA",
        "email": "mary.smith@example.com",
        "phone": "+1123-456-7890",
        "first_name": null,
        "last_name": null
      }
    ],
    "pagination": {
      "current_page": 1,
      "per_page": 25,
      "total_entries": 1,
      "total_pages": 1
    }
  }
  ```
</Accordion>

You must use the **MXCU (OAuth)** institution (`"institution_code": "mxcu_oauth"`) in the integrations environment. The **MXCU (Credential)** institution doesn't support multiple account owners.

If you're unable to find this institution using our Connect Widget or through searching with our API endpoints, please contact us and we'll enable this institution for you.

## Recommended Guides

<Info>
  **LOGIN CREDENTIALS**

  When following the guides to test multiple account owners using the **MXCU (OAuth)** institution (`"institution_code": "mxcu_oauth"`), you must use the following credentials:

  * Username: `multipleaccountowners`
  * Password: `testpassword`
</Info>

If you're only **using the API**, refer to [Integrate without using MX's Connect Widget](/products/connectivity/overview/connectivity-integration-guides/api-only-flow) guide. For this test institution, you'll need to create an OAuth member.

If you're **using the Connect Widget**, refer to [Integrate using MX's Connect Widget](/products/connectivity/overview/connectivity-integration-guides/connect-widget-flow).

## Credentials & OAuth

This section further details how OAuth works for the **MXCU (OAuth)** institution.

When you select **MXCU (OAuth)** from search, or load the Connect Widget with it by configuring `current_institution_code`, you'll see the following screen before going to the OAuth provider:

<img src="https://mintcdn.com/mx-7a01b258/Yq4VugKtWQ2Hv6ij/resources/test-platform/assets/mxcu.svg?fit=max&auto=format&n=Yq4VugKtWQ2Hv6ij&q=85&s=e73999ae252a4877f118b217d30beac8" alt="Screenshot of oauth connection screen where you select log in" width="424" height="347" data-path="resources/test-platform/assets/mxcu.svg" />

For this test institution only, you must use the following credentials:

* Username: `multipleaccountowners`
* Password: `testpassword`

Then, you'll end up on this page:

<img src="https://mintcdn.com/mx-7a01b258/Yq4VugKtWQ2Hv6ij/resources/test-platform/assets/mxcu-authorize.svg?fit=max&auto=format&n=Yq4VugKtWQ2Hv6ij&q=85&s=911a0fa0d0baa0a7efe3f8538e375f95" alt="Screenshot of oauth connection screen for authorization" width="474" height="330" data-path="resources/test-platform/assets/mxcu-authorize.svg" />

From here you can select **Authorize** to simulate authorization and success paths, and **Deny** to simulate an error path.
