alt
Unzer
UnzerAI

UnzerAI

The responses generated by AI may include errors.

UnzerAI

Welcome to UnzerAI!

I'm here to help you with questions about Unzer's payment integration, APIs, and documentation.

Ask questions about Unzer and get help with your integration.

Fetch an error object

Learn how to fetch error objects.

If an API request results in an error, details about the problem are sent in the response with the error object.

You can retrieve each error that you received in the past by calling the /errors endpoint with the error id.

GET https://api.unzer.com/v1/errors/p-err-85a6611365354a94ab55682d7c5
{
  "id" : "p-err-85a6611365354a94ab55682d7c5",
  "isSuccess" : false,
  "isPending" : false,
  "isError" : true,
  "url" : "https://api.unzer.com/v1/types/card",
  "timestamp" : "2019-10-02 08:40:51",
  "traceId": "bf4ce634575d479eaaac4e6ad436d95d",
  "errors" : [ {
    "code" : "COR.800.400.205",
    "customerMessage" : "Your payment was rejected. Please use another payment method.",
    "merchantMessage" : "Geographical Check - GeographicBinIp: NOT PASSED (Countries= address: DE ip: US bin: CZ",
  } ]
}

This is a convenient way to search for errors that happened in the background.

Check Error handling page to learn more about API errors.