SumUp · Schema

Problem

A RFC 9457 problem details object. Additional properties specific to the problem type may be present.

PaymentsPOSPoint of SaleCard ReadersCheckoutFintechMobile PaymentsOnline Payments

Properties

Name Type Description
type string A URI reference that identifies the problem type.
title string A short, human-readable summary of the problem type.
status integer The HTTP status code generated by the origin server for this occurrence of the problem.
detail string A human-readable explanation specific to this occurrence of the problem.
instance string A URI reference that identifies the specific occurrence of the problem.
View JSON Schema on GitHub

JSON Schema

problem.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Problem",
  "description": "A RFC 9457 problem details object.\n\nAdditional properties specific to the problem type may be present.",
  "type": "object",
  "properties": {
    "type": {
      "description": "A URI reference that identifies the problem type.",
      "type": "string",
      "format": "uri",
      "example": "https://developer.sumup.com/problem/not-found"
    },
    "title": {
      "description": "A short, human-readable summary of the problem type.",
      "type": "string",
      "example": "Requested resource couldn't be found."
    },
    "status": {
      "description": "The HTTP status code generated by the origin server for this occurrence of the problem.",
      "type": "integer",
      "example": 404
    },
    "detail": {
      "description": "A human-readable explanation specific to this occurrence of the problem.",
      "type": "string",
      "example": "The requested resource doesn't exist or does not belong to you."
    },
    "instance": {
      "description": "A URI reference that identifies the specific occurrence of the problem.",
      "type": "string",
      "format": "uri"
    }
  },
  "additionalProperties": true,
  "required": [
    "type"
  ]
}