braintree · Schema

Error

Standard error response returned by the Braintree API.

Properties

Name Type Description
message string Human-readable description of the error.
errors object Nested object containing field-level validation errors organized by resource type.
View JSON Schema on GitHub

JSON Schema

braintree-error-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Error",
  "title": "Error",
  "type": "object",
  "description": "Standard error response returned by the Braintree API.",
  "properties": {
    "message": {
      "type": "string",
      "description": "Human-readable description of the error."
    },
    "errors": {
      "type": "object",
      "description": "Nested object containing field-level validation errors organized by resource type.",
      "additionalProperties": true
    }
  }
}