Mastercard · Schema

MCError

Error object which contains details about error

Credit CardsDigital IdentityFinancial ServicesFraud DetectionOpen BankingPaymentsFortune 500

Properties

Name Type Description
Source string The application name that generated this error. Every error message that is generated and returned by the gateway will have this field equal to Gateway. Other possible values are Doconomy-Proxy and Do
ReasonCode string A unique constant identifying the error case encountered during request processing.
Description string Short description of the ReasonCode field.
Recoverable boolean Indicates whether this error will always be returned for this request, or retrying could change the outcome.
Details string (Optional) Where appropriate, indicates detailed information about data received and calculated during request processing, to help the user with diagnosing errors.
View JSON Schema on GitHub

JSON Schema

mastercard-doconomy-aland-index-mc-error-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "MCError",
  "type": "object",
  "description": "Error object which contains details about error",
  "properties": {
    "Source": {
      "type": "string",
      "description": "The application name that generated this error. Every error message that is generated and returned by the gateway will have this field equal to Gateway. Other possible values are Doconomy-Proxy and Doconomy."
    },
    "ReasonCode": {
      "type": "string",
      "description": "A unique constant identifying the error case encountered during request processing."
    },
    "Description": {
      "type": "string",
      "description": "Short description of the ReasonCode field."
    },
    "Recoverable": {
      "type": "boolean",
      "description": "Indicates whether this error will always be returned for this request, or retrying could change the outcome."
    },
    "Details": {
      "type": "string",
      "description": "(Optional) Where appropriate, indicates detailed information about data received and calculated during request processing, to help the user with diagnosing errors."
    }
  }
}