Task
Add API-only merchant checkouts for selling API access, credits and other products with already-delegated USDC. Support x402 v2 and MPP through custom MagicBlock payment methods while keeping product accounting and fulfillment in the merchant service.
Done When
- Merchants can register and rotate API credentials using wallet signatures, create idempotent checkouts, and publish reusable payment links.
- Separate x402 and MPP routes share authenticated payment status and bind credentials to the exact checkout terms.
- Settlement validates a zero-fee SPL transfer between accounts delegated to the same validator, persists the signed transaction before broadcast, and reconciles retries without creating another charge.
- TEE status tracking uses a dedicated service identity without requiring buyer balance access; unknown outcomes remain pending.
- Worker state bindings, configuration, client integration, fulfillment responsibilities and live acceptance requirements are documented. Existing SPL routes remain available without checkout configuration.
Task
Add API-only merchant checkouts for selling API access, credits and other products with already-delegated USDC. Support x402 v2 and MPP through custom MagicBlock payment methods while keeping product accounting and fulfillment in the merchant service.
Done When