---
title: "Discussion on \"Your agent's payment timed out. Retry without paying twice\" | Hashnode"
description: "Discussion on \"Your agent's payment timed out. Retry without paying twice\". Why a blind retry of a payment can charge twice, what HTTP idempotency says, and how a one-time nonce and a status check help after a timeout."
url: "https://hashnode.com/posts/your-agent-s-payment-timed-out-retry-without-paying-twice/6b0aed74221d3c544bb6051e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Your agent's payment timed out. Retry without paying twice](https://cleaveprotocol.hashnode.dev/your-agent-s-payment-timed-out-retry-without-paying-twice?utm_source=hashnode&utm_medium=feed)

Why a blind retry of a payment can charge twice, what HTTP idempotency says, and how a one-time nonce and a status check help after a timeout.

1d ago · 5 min read · cleaveprotocol.hashnode.dev  
Read the article

-   [#x402](https://hashnode.com/tag/x402)
-   [#http](https://hashnode.com/tag/http)
-   [#idempotency](https://hashnode.com/tag/idempotency)
-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#payments](https://hashnode.com/tag/payments)

## Written by

[Cleave Protocol](https://hashnode.com/@cleaveprotocol)

@cleaveprotocol

  
[View profile](https://hashnode.com/@cleaveprotocol)

DEX aggregator on Ethereum, Arbitrum, Base, BNB Chain, Polygon and Optimism.

Cleave Protocol splits each swap across many pools and paths on six chains, and a cross-chain swap takes one signature. Cleave's fees are included in the price. Apps and AI agents use the same quotes through our API, MCP server and SDKs. https://cleave.fi

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
