1. Calculate the payroll
Run a normal payroll calculation and capturesummary.net_salary. We’ll use
a Colombia 2026 ordinario example.
2. Create the payout
Passnet_salary straight through as the amount. Setting processing.step_seconds: 0
runs the mock state machine synchronously so the response already has
status: "PAID" — exactly what you want in scripts and tests.
3. Read the response
4. Try a deterministic failure
Force the mock to reject the payout by prefixingexternal_id with
MOCK_REJECT_BANK_:
status: "REJECTED", status_code: "301", and
status_detail ending in "(mock trigger).". The full menu of triggers is on
the Magic triggers page.
Next steps
Status lifecycle
Every legal state transition the mock can make.
Idempotency
Safely retry create calls without double payments.
Webhooks
Get pushed on every status change.
Country requirements
Beneficiary fields and check-digits for every supported country.