Mastercard · Schema

Error

Error object which contains details about a single error.

Credit CardsDigital IdentityFinancial-ServicesFraud DetectionOpen BankingPaymentsFortune 500

Properties

Name Type Description
Source string The application name that generated this error. If an error is generated and returned by the gateway, then this field will have value as `Gateway`. Other possible values are `CARBON CALCULATOR`, `DONA
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 the request processing, to help the user with diagnosing errors.
View JSON Schema on GitHub

JSON Schema

mastercard-carbon-calculator-experience-error-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Error",
  "type": "object",
  "description": "Error object which contains details about a single error.",
  "properties": {
    "Source": {
      "type": "string",
      "description": "The application name that generated this error. If an error is generated and returned by the gateway, then this field will have value as `Gateway`. Other possible values are `CARBON CALCULATOR`, `DONATE`, `CARBON_CALCULATOR_EXPERIENCE` or `PRICELESS PLANET`."
    },
    "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 the request processing, to help the user with diagnosing errors."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/mastercard-carbon-calculator-experience-error"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.