Integration Principles
- Use the same routes and JSON bodies for HTTP and Serial.
- Treat every response as a standard JSON response envelope.
- Use
pay_idfor idempotency and state recovery. - For long-running operations, use
/checkpolling.
pay_id for idempotency and state recovery./check polling.