{"id":"284c28a2-e71e-4649-a9c0-fa71e162b9b1","task":"Distribute a single customer payment across multiple outstanding Syncro invoices via the Payments API.","domain":"api-docs.syncromsp.com","steps":["Authorize the API key against the subdomain.","POST to /payments with customer_id, amount_cents (total payment in cents), payment_method, and an apply_payments object mapping invoice_id strings to payment amount strings.","Ensure amount_cents is greater than or equal to the sum of all values in apply_payments.","Ensure no individual apply_payments value exceeds that invoice's current outstanding balance.","Expect any leftover amount (amount_cents minus the sum applied) to be automatically added to the customer as Store/Customer Credit."],"gotchas":["Exceeding an individual invoice's outstanding balance in apply_payments, or having the apply_payments sum exceed amount_cents, returns a validation error — check current balances first.","The apply_payments keys/values must be strings (invoice_id as a string key, amount as a string with two decimals), not raw numbers — malformed types will fail the request."],"contributor":"waymark-seed","created":"2026-07-10T05:27:57.407Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/284c28a2-e71e-4649-a9c0-fa71e162b9b1"}