> For the complete documentation index, see [llms.txt](https://peoplescourt.ai/llms.txt). This page is also available as Markdown.

# Read the immutable Stripe connected-account binding

Read the immutable Stripe connected-account binding.

Reference

Execution

GET

partial

`/api/cases/{id}/stripe-connect-binding`

`getStripeConnectBinding`

## Authentication and authority

Send one of the allowed bearer credential roles. Alternatives are OR; credentials named within one alternative are AND.

`CanonicalPartnerBearer`

Partner key issued after partner access is approved. The key’s role and current case membership determine which actions it authorizes.

## Parameters

Name

Location

Requirement

Schema

`id`

path

Required

{"type":"string"}

## Responses

### 200

Authorized Stripe Connect resource.

application/json

```json
{
  "type": "object",
  "required": [
    "data",
    "requestId"
  ],
  "properties": {
    "data": {
      "type": "object",
      "required": [
        "caseId",
        "binding"
      ],
      "properties": {
        "caseId": {
          "type": "string"
        },
        "binding": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/StripeConnectBinding",
              "type": "object",
              "required": [
                "adapter",
                "connectedAccountId",
                "amountUsd",
                "currency",
                "balanceTransfer"
              ],
              "properties": {
                "adapter": {
                  "const": "stripe_connect"
                },
                "connectedAccountId": {
                  "type": "string"
                },
                "amountUsd": {
                  "type": "number",
                  "exclusiveMinimum": 0
                },
                "currency": {
                  "const": "usd"
                },
                "buyerReference": {
                  "type": "string"
                },
                "balanceTransfer": {
                  "type": "object",
                  "required": [
                    "id",
                    "partnerId",
                    "environment",
                    "payerConnectedAccountId",
                    "payerSide",
                    "payeeSide",
                    "debitConsentReference"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "partnerId": {
                      "type": "string"
                    },
                    "environment": {
                      "enum": [
                        "test",
                        "live"
                      ]
                    },
                    "payerConnectedAccountId": {
                      "type": "string"
                    },
                    "payerSide": {
                      "enum": [
                        "claimant",
                        "respondent"
                      ]
                    },
                    "payeeSide": {
                      "enum": [
                        "claimant",
                        "respondent"
                      ]
                    },
                    "debitConsentReference": {
                      "type": "string"
                    }
                  }
                }
              },
              "x-mcp-exposure": "none"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "requestId": {
      "type": "string"
    }
  }
}
```

### default

Authorization, validation or provider configuration failure.

application/problem+json

```json
{
  "$ref": "#/components/schemas/Problem",
  "type": "object",
  "required": [
    "type",
    "title",
    "status",
    "code",
    "detail",
    "requestId"
  ],
  "properties": {
    "type": {
      "type": "string",
      "format": "uri"
    },
    "title": {
      "type": "string"
    },
    "status": {
      "type": "integer"
    },
    "code": {
      "type": "string"
    },
    "detail": {
      "type": "string"
    },
    "requestId": {
      "type": "string"
    },
    "details": {
      "description": "Account-readiness refusals include a value-free checklist and exact account-page link. Other error codes may provide different details.",
      "anyOf": [
        {
          "$ref": "#/components/schemas/AccountReadinessDetails",
          "type": "object",
          "additionalProperties": false,
          "required": [
            "ready",
            "accountSetupUrl",
            "missing"
          ],
          "properties": {
            "ready": {
              "type": "boolean"
            },
            "accountSetupUrl": {
              "type": "string",
              "format": "uri"
            },
            "missing": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AccountReadinessRequirement",
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "label",
                  "section",
                  "accountUrl"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "section": {
                    "type": "string",
                    "enum": [
                      "email",
                      "identity",
                      "legal_documents"
                    ]
                  },
                  "accountUrl": {
                    "type": "string",
                    "format": "uri"
                  }
                }
              }
            }
          }
        },
        {
          "$ref": "#/components/schemas/LegalDocumentsRequiredDetails",
          "type": "object",
          "additionalProperties": false,
          "required": [
            "legalDocumentsUrl"
          ],
          "properties": {
            "legalDocumentsUrl": {
              "type": "string",
              "format": "uri",
              "description": "Absolute account-page URL where the person reviews and accepts the current Terms and Privacy Notice. Uses the configured public application origin. After accepting the documents, retry the original operation."
            },
            "ready": {
              "type": "boolean"
            },
            "accountSetupUrl": {
              "type": "string",
              "format": "uri"
            },
            "missing": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AccountReadinessRequirement",
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "label",
                  "section",
                  "accountUrl"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "section": {
                    "type": "string",
                    "enum": [
                      "email",
                      "identity",
                      "legal_documents"
                    ]
                  },
                  "accountUrl": {
                    "type": "string",
                    "format": "uri"
                  }
                }
              }
            }
          }
        },
        {}
      ]
    }
  }
}
```

## Example response

### Successful response

```json
{
  "data": {
    "caseId": "pcase_test_123",
    "binding": {
      "adapter": "stripe_connect",
      "connectedAccountId": "connectedAccountId_test",
      "amountUsd": 0.9,
      "currency": "usd",
      "balanceTransfer": {
        "id": "id_test",
        "partnerId": "partner_test_123",
        "environment": "test",
        "payerConnectedAccountId": "payerConnectedAccountId_test",
        "payerSide": "claimant",
        "payeeSide": "claimant",
        "debitConsentReference": "partner_reference_123"
      }
    }
  },
  "requestId": "requestId_test"
}
```

## Errors

Read the response status and stable error code. See [errors](https://peoplescourt.ai/docs/api/errors.md) and [rate limits](https://peoplescourt.ai/docs/api/rate-limits.md) for recovery. Refresh the resource before resolving a state or digest conflict.

## Idempotency and retries

- For throttling, honor Retry-After when present. Back off on retryable server failures.

## Request examples

Use `https://peoplescourt.ai` with the test credential issued for your integration.

```sh
curl --request GET \
  --url 'https://peoplescourt.ai/api/cases/pcase_test_123/stripe-connect-binding' \
  --header 'Authorization: Bearer pk_test_replace_me'
```

```ts
const response = await fetch("https://peoplescourt.ai/api/cases/pcase_test_123/stripe-connect-binding", {
  method: "GET",
  headers: {
    "Authorization": "Bearer pk_test_replace_me"
  },
});
if (!response.ok) throw await response.json();
const result = await response.json();
```

```python
import requests

response = requests.get(
    "https://peoplescourt.ai/api/cases/pcase_test_123/stripe-connect-binding",
    headers={
      "Authorization": "Bearer pk_test_replace_me"
    },
    timeout=30,
)
response.raise_for_status()
result = response.json()
```
