propose_contract_terms
Validates PSP contract terms against source quotes, flags blocking errors and changes, and stages a proposal for human confirmation before saving.
Instructions
Validate contract terms extracted from a PSP contract or pricing schedule and stage them for confirmation.
Nothing is saved yet. Call save_contract_terms after the person confirms.
Args: psp_name: Payment provider name, e.g. "AcmePay". effective_from: Date the terms start, YYYY-MM-DD. card_fee_percent: Percentage fee as a percent, e.g. 2.9 for 2.9% (not 0.029). card_fee_fixed: Fixed fee per transaction in major units, e.g. 0.30. payout_delay_days: Days from capture to payout (e.g. 2 for T+2). currency: ISO currency code of the fees. international_surcharge_percent: Extra percent for international cards, if any. chargeback_fee: Fee per chargeback in major units, if any. reserve_percent: Rolling reserve percent, if any. sources: For each field above, the exact clause text it came from, copied verbatim. document_text: Full text of the contract, so each quote can be checked.
Returns each term with a source check (verified / quote_not_found / number_not_in_quote / no_source), errors that block saving, warnings, changes versus the terms currently on file, and a proposal_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | No | ||
| currency | No | USD | |
| psp_name | Yes | ||
| document_text | No | ||
| card_fee_fixed | Yes | ||
| chargeback_fee | No | ||
| effective_from | Yes | ||
| reserve_percent | No | ||
| card_fee_percent | Yes | ||
| payout_delay_days | Yes | ||
| international_surcharge_percent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||