The model failed before payment.
No payment was taken. The same valid authorization can be reused for the same request.
How Synal works
Your wallet pays for one AI call at a time.
x402 puts the price inside the conversation between your agent and the API.
This walkthrough explains the sequence.
It does not send a request or payment.
Your agent → Synal
Send an OpenAI-compatible request with a model, messages and an output limit.
POST /x402/v1/chat/completionsNo account or API key.
When the happy path changes
No payment was taken. The same valid authorization can be reused for the same request.
Check the existing payment. Keep its request and authorization; don’t create another signature just because the connection failed.
On some networks, and for async video jobs, the payment settles before the model runs; if the model then fails, a refund is owed. The refund is owed until its return is recorded. There is no promised arrival time.
One signature, one payment