Set credit limit
core_set_credit_limitChange how much unpaid exposure we will carry for a customer. This is the human decision the credit gate's refusal points to. When o2c refuses to confirm an order, the answer is never to route around the gate — it is for someone with the authority to change this number to change it, here, with a reason that will be read back. A limit of 0 means prepay only. Lowering a limit never touches already-confirmed orders; it tightens the gate for the next one. Effects: customer.credit_limit changed for future confirmations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why — approved by whom, on what basis. This is the audit answer to "who raised it". | |
| customer_id | Yes | The customer. An existing customer id. | |
| credit_limit | Yes | The new limit. In cents (integer minor units) — 1250 means $12.50. |