Urgent.News

What's breaking now, across hundreds of outlets.

Tech

A receipt that says paid but names no amount is not a receipt

I run a small x402 resource server with 28 paid AI tasks. Last week I looked at the discovery catalog that lists paid endpoints and found exactly one of my 28 tasks there. The first explanation I reached for was metadata. All 28 endpoints validate against the facilitator's schema; all 28 carry the discovery extension in the right place. So the metadata was not the difference. The difference was…

In a story about a receipt that claims payment but doesn't specify the amount, a small resource server handling 28 paid AI tasks was examined. Out of the 28 tasks, only one was recorded in the facilitator's catalog that generates discovery rows. The remaining 27 tasks paid the money through alternative methods. Even though each request resulted in "Success true" for the caller, the lack of detailed information meant the downstream indexer couldn't identify the request, resulting in no entry.

This issue is similar to payment retries where attempt 0 is accepted, but the response is lost, causing the caller to retry with the same authorization. However, the facilitator responds with "already settled," providing insufficient context to establish that the request was for a different amount, resource, or quote version. To prevent this, an idempotency key should be bound to the intent, not just the authorization.

Additionally, the request hash should be included, differentiating re-quotes from replays. Persisting the outcome before returning ensures that a lost response becomes an idempotent read rather than an additional write. For paid APIs, the catalog should not be an afterthought; it should serve as a trusted consumer signal. The conclusion drawn from this experience is that success signals must be self-describing, carrying essential information like amount, endpoint, decision version, and transaction identity.

This way, the evidence chain becomes verifiable, preventing invisible work from going unnoticed. Redzad Bakalovic, a developer specializing in x402 micro-services and n8n automations, shares this revelation in his writing about payment failure modes.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Multi-Tenancy in GCDW K8S 9.8.0.4.1: What Changed in values.yaml

Compared with 9.8.0.3.5 , GCDW 9.8.0.4.1 from GBASE adds multi-tenant support, and its configuration changed accordingly.

  • Multi-tenant support added in GCDW 9.8.0.4.1
  • Each tenant gets its own namespace and services
  • Additional image registry config required for multi-tenancy

How to find where a video came from (a free, practical workflow)

Someone sends you a short clip and asks "where is this from?" A TikTok cut out of a movie. A repost with the creator's name cropped off. Ten seconds of a much longer YouTube video.

  • Extract still frames from video to search for origin
  • Use free Reverse Video Search tool to automate frame selection
  • Consider upload date and cleanest moment of video for best results

Counting working days in Germany is harder than it looks

I run stundenrechner.online , a set of free German calculators for working hours, Minijob limits and vacation days. The calculator that needed the most care was the one that counts working days…

  • Germany's working days complex due to regional variations
  • Nine nationwide holidays, plus state-specific observances
  • Developer used Easter algorithm, town-specific holidays

More from Monday, 30 November 2026 →