### Settle a manager's debt

`POST /api/v1/managers/{id}/wallet/pay-debt`

Records a repayment against a creditor. The creditor defaults to the debtor's parent manager.

- Authentication: manager session (JWT) or API token
- Permission: `prm_managers_pay_debt` (Settle manager debt)
- Risk: danger
- Rate limit bucket: `t_mutate`
- Idempotent on `request_id`: retrying with the same id returns the original result

#### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | integer | yes | The debtor. May not be the caller themselves. |
| `amount` | body | number | yes | Major units. |
| `creditor_manager_id` | body | integer | no | Which creditor is being repaid. Absent means the debtor's parent. |
| `request_id` | body | string | yes | Idempotency key. |

