commission_preview
(Needs the workspace_key from create_workspace.) Show how a deal would split (agent net, company dollar, cap) without writing anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gci | No | Gross commission in dollars (instead of price + commission_pct) | |
| side | No | Which side the agent had: list (also seller, listing), buy (also buyer, selling-agent) or both (also dual). Any capitalisation | |
| agent | Yes | Agent id, email or name | |
| price | No | Sale price in dollars | |
| address | No | Property address | |
| close_date | Yes | Closing date YYYY-MM-DD | |
| workspace_key | Yes | The workspace_key returned by create_workspace | |
| commission_pct | No | Commission percent of price, e.g. 3 for 3% | |
| referral_payee | No | Who gets a referral fee (optional) | |
| referral_percent | No | Referral fee as a percent of the commission (optional) |