Reconcile what landed on a payment run
reconcile_paymentReconciles each released payment in a run with what landed: amount sent, amount landed, settlement time, proof reference, the official rate with a Rate Receipt, realised all-in cost in percent and in the sent currency, and position inside, above or below the assessment range. The same proof reference is rejected the second time. dry_run: true validates and writes nothing. A payment with no assessment is flagged no_evidence. A router key is required except for pr_sample. Never sends money.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | pr_... or pr_sample. | |
| dry_run | No | true: validate only, write nothing. | |
| payments | Yes | [{ payment_id, sent_amount, landed_amount, settled_at?, proof_ref, source? }]. proof_ref is an MT103 reference, a transaction hash or a provider reference. | |
| access_key | No | A router key (rk_...), if not sent as a Bearer header. |