POST /clearing/pay
After a cycle is committed, a net debtor pays its net debit to the ClearingHouse before the payment deadline. This endpoint submits that payment and pays the gas. The funds come from the debtor’s own signed authorization, which binds the ClearingHouse as receiver, the committed amount, and the cycle. The facilitator resolves the amount and the Merkle proof from core, so the caller decides only whether the debit is paid.
The debtor is the authorization’s from. Send exactly one of authorization (EIP-3009) or permit2Authorization, as for POST /deposit. A net debit in native ETH cannot be sponsored; pay it with a transaction of your own.
POST /clearing/pay/verify takes the same body, runs every check without broadcasting, and answers with the /verify response shape.
Request body
CAIP-2 network ID. When omitted, the facilitator uses the first network it serves whose core knows the cycle. Send it.
The cycle’s text ID:
cycle_id_text from GET /core/participants/{participant}/positions.Responses
Every request the facilitator can parse returns200. Read success.