# Commission programs: pay

URL: /code/mcp/commission/verbs · Id: `page:code/mcp/commission/verbs`

> The Commission Verbs pay as MCP do programs, with inputs, result, refusals and an example.

Reference for [Commission](/business/nouns/commission), one group of [Commission programs](/code/mcp/commission).

### Commission.pay
Pay transfers a Commission’s earned, unpaid amount to the Partner’s connected account through Stripe. [Verb page](/business/nouns/commission/pay?interface=mcp).

```text
do: return await $.Commission.pay(input)
```

Emits [`Commission.paid`](/business/events/Commission.paid).

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `commission` | [Commission](/business/nouns/commission) | Yes | The Commission with an amount past its clawback window. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `commission` | [Commission](/business/nouns/commission) | Yes | The Commission, its `paid` raised by the transfer. |
| `transaction` | [Transaction](/business/nouns/transaction) | Yes | The transfer as the rail reports it. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Commission.pay({ commission: 'commission_oYhMioUeCH' })"
  }
}
```