SumUp · Schema

ReaderCheckoutStatusChange

The callback payload containing the status change of the Reader Checkout.

PaymentsPOSPoint of SaleCard ReadersCheckoutFintechMobile PaymentsOnline Payments

Properties

Name Type Description
event_type string Type of event.
id string Unique identifier for the event.
payload object The event payload.
timestamp string Timestamp of the event.
View JSON Schema on GitHub

JSON Schema

readercheckoutstatuschange.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "ReaderCheckoutStatusChange",
  "description": "The callback payload containing the status change of the Reader Checkout.",
  "type": "object",
  "properties": {
    "event_type": {
      "description": "Type of event.",
      "type": "string",
      "example": "solo.transaction.updated"
    },
    "id": {
      "description": "Unique identifier for the event.",
      "type": "string",
      "format": "uuid",
      "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    },
    "payload": {
      "description": "The event payload.",
      "type": "object",
      "properties": {
        "client_transaction_id": {
          "description": "The unique client transaction id. It is the same returned by the Checkout.",
          "type": "string",
          "format": "uuid",
          "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "merchant_code": {
          "description": "The merchant code associated with the transaction.",
          "type": "string",
          "example": "M1234567"
        },
        "status": {
          "description": "The current status of the transaction.",
          "type": "string",
          "example": "successful",
          "enum": [
            "successful",
            "failed"
          ]
        },
        "transaction_id": {
          "description": "The transaction id. Deprecated: use `client_transaction_id` instead.",
          "type": "string",
          "format": "uuid",
          "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "deprecated": true
        }
      },
      "required": [
        "client_transaction_id",
        "merchant_code",
        "status"
      ]
    },
    "timestamp": {
      "description": "Timestamp of the event.",
      "type": "string",
      "format": "date-time",
      "example": "2023-10-05T14:48:00+00:00"
    }
  },
  "required": [
    "id",
    "event_type",
    "payload",
    "timestamp"
  ]
}