Getting startedReference
Find the response you got in the first column, then apply the fix. Before you send a payment request again, find out whether the first request created a payment.
Find your response
Handle an uncertain request outcome
If a request times out, loses its connection, returns a500, or returns a response you cannot parse, retry it with the same X-Idempotency-Key. A retry with a new key creates a duplicate operation when the first request succeeded.The retry returns one of these results:- The original payment. The first request created a payment, so handle that payment’s current status. Yuno ignores the body of the retry.
400 REQUEST_IN_PROCESS. The first request is still being processed. Retry with the same key after a few seconds.400 IDEMPOTENCY_DUPLICATED. The first request failed before a payment was created. No payment exists for this key, and you cannot reuse the key. Correct the request and send it with a new key.- Normal processing. The first request was rejected before processing started, so the key was not used and the retry runs as a new request.
Check the right environment
Sandbox and production have different keys. Before you compare records, check four values:- API host. Sandbox and production use different base URLs, and production has one per region. See Developers.
- Dashboard mode. The context chip in the top bar shows Test or Live.
- Region. Each organization belongs to US or EMEA, and data is not shared between regions.
- Keys. Each account has a separate set of keys for each mode.
Ask for help with useful evidence
Write to support@y.uno and include:- The environment, and the time of the request with its timezone.
- The endpoint, the HTTP method, the HTTP status, and the error
code. - The payment ID or checkout session ID, and your order reference.
- The SDK platform and version, what you expected, and what happened.
- The steps to reproduce, with the request and response fields that matter.
Next
- Go liveGuide Live keys, a published route, verified webhooks, and a first real payment.
- Response codesReference The HTTP statuses and error codes the Yuno API returns.
- WebhooksGuide Delivery, retries, de-duplication, and signature checks.
- QuickstartTutorial Connect the test gateway and send one sandbox payment.