# Create split rule

Creates the active split rule for one stablecoin service, or for every listed service with apply_to_all; shares must add up to 10000 bps and every recipient needs an address on the service network. Console session or API key with connect:manage.

`POST /v1/split-rules`

Creates the active split rule for one stablecoin service, or for every listed service with apply_to_all; shares must add up to 10000 bps and every recipient needs an address on the service network. Console session or API key with connect:manage.

Requires permission `connect:manage`.

## Request body

```json
{
  "recipients": [
    {
      "merchant_id": "mch_01jd2x3k4m5n6p7q8r9s0t1v2w",
      "name": "Example",
      "address": "string",
      "share_bps": 1,
      "seller": true,
      "platform": true
    }
  ]
}
```

## Responses

- **200**: Success.
- **400**: Invalid request: a field is missing or malformed (VALIDATION_ERROR).
- **401**: No valid session, API key or agent credential (UNAUTHENTICATED, AGENT_CREDENTIAL_INVALID).
- **403**: Authenticated but not allowed: missing permission, passkey step-up required, or denied by policy.
- **404**: The resource does not exist or belongs to another organization.

Example 200 response:

```json
{
  "rule": {
    "id": "id_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "merchant_id": "mch_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "service_id": "svc_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "operator_org_id": "ope_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "recipients": [
      {
        "merchant_id": "mch_01jd2x3k4m5n6p7q8r9s0t1v2w",
        "name": "Example",
        "address": "string",
        "network": "eip155:84532",
        "share_bps": 1
      }
    ],
    "active": true,
    "created_at": "2026-11-16T12:00:00Z"
  },
  "rules": [
    {
      "id": "id_01jd2x3k4m5n6p7q8r9s0t1v2w",
      "merchant_id": "mch_01jd2x3k4m5n6p7q8r9s0t1v2w",
      "service_id": "svc_01jd2x3k4m5n6p7q8r9s0t1v2w",
      "operator_org_id": "ope_01jd2x3k4m5n6p7q8r9s0t1v2w",
      "recipients": [
        {
          "merchant_id": null,
          "name": null,
          "address": null,
          "network": null,
          "share_bps": null
        }
      ],
      "active": true,
      "created_at": "2026-11-16T12:00:00Z"
    }
  ],
  "count": 1,
  "skipped": [
    {
      "service_id": "svc_01jd2x3k4m5n6p7q8r9s0t1v2w",
      "reason": "not_delivered"
    }
  ],
  "apply_to_all": true
}
```
