POST /api/v1/assess endpoint as cards. Send the payer origin account in payment_method — not in beneficiary (that field is for payouts only).
Two-phase assess (bank rails outside the funnel)
When the payer transfers after checkout (SPEI, CoDi, A2A, PIX, ACH), call assess twice with the sameorder_id:
Default for cards / in-funnel wallets: omit the field or send
instant.
On settlement decline, the response may include refund_suggestion. Auto-refund guidance is opt-in (organizations.auto_refund_on_fraud_decline, default false). Clausum never moves funds — your core/PSP executes refunds when you choose.
Declare merchant collect (pay-in destination) and disburse (payout origin) accounts in the dashboard (Settings → Company) or via /api/v1/organization/treasury-accounts. Send the collection account on assess as destination.* (never beneficiary). Settlement is hard-linked to intention by order_id.
Dashboard: Simulation → Assess presets apm_intention / apm_settlement_*. Demo: /demo/checkout SPEI funnel (intention → settlement).
Canonical model
Mexico (SPEI / CLABE)
Canonical:Chile (local bank account)
Wallet
Always send payer identity (email or customer_id) plus wallet_id_hash when available.
APM-specific signals
card_testing_amount applies only to card instruments, not SPEI or wallets.
Operations
For production velocity at scale, run SQL146_apm_velocity_buckets.sql after 068_assess_scale_unlimited.sql. For the opt-in refund flag, run 148_auto_refund_on_fraud_decline.sql. Full playbook: repository docs/APM_PAYIN_ENGINE.md.