reconcile_payments
Reconcile order ledger, PSP captures, and bank deposits in a three-way check, flag fee and payout breaks against contract terms, and return match rates, settlement status, and break IDs.
Instructions
Three-way reconciliation of the order ledger, PSP captures and bank deposits.
Fees are checked against the contract version in force on each transaction date. Payouts not yet due under the contract's payout delay show as in_transit, not missing.
Args: date_from: First order date to include, YYYY-MM-DD (inclusive). Omit for all. date_to: Last order date to include, YYYY-MM-DD (inclusive). Omit for all. as_of: Date to judge payout lateness from, YYYY-MM-DD. Defaults to today.
Returns a summary (match rate, value in breaks), warnings about missing data, per-payout settlement status, and every break with an id for explain_reconciliation_break.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | ||
| date_to | No | ||
| date_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||