Mastercard · Schema

Error

An error object is associated with individual DPA failures in a given batch. Please note: In the event of a SUCCESSFUL response, this error object may be sent as NULL.

Credit CardsDigital IdentityFinancial ServicesFraud DetectionOpen BankingPaymentsFortune 500

Properties

Name Type Description
status integer HTTP status code associated with the Digital Payment Application (DPA) item error
reason string Reason for receiving an error for the Digital Payment Application (DPA) item.
message string Additional details on the Digital Payment Application (DPA) item error.
errordetail array List of errors associated with a failed Digital Payment Application (DPA) item action.
View JSON Schema on GitHub

JSON Schema

mastercard-unified-checkout-solutions-error-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Error",
  "type": "object",
  "description": "An error object is associated with individual DPA failures in a given batch.\nPlease note: In the event of a SUCCESSFUL response, this error object may be sent as NULL.\n",
  "properties": {
    "status": {
      "type": "integer",
      "description": "HTTP status code associated with the Digital Payment Application (DPA) item error"
    },
    "reason": {
      "type": "string",
      "description": "Reason for receiving an error for the Digital Payment Application (DPA) item."
    },
    "message": {
      "type": "string",
      "description": "Additional details on the Digital Payment Application (DPA) item error."
    },
    "errordetail": {
      "type": "array",
      "description": "List of errors associated with a failed Digital Payment Application (DPA) item action."
    }
  }
}