Tock · Schema

tockRefund

tockRefund schema from Tock Reservation Model

HospitalityReservationsRestaurantWineriesTicketed EventsTakeoutDeliveryExperienceDiningAmerican Express

Properties

Name Type Description
id string A unique identifier assigned to the refund. Used internally by Tock.
amount integer The amount of the original payment that was refunded. This value will always be a positive number.
isDispute boolean This field indicates whether this refund was issued because of a lost chargeback dispute.
status object The current status of the refund within the payment processor that serviced the original payment.
payout object The Tock-generated payout that includes this refund as a debit to the business bank account. If the business connects to Tock for payment processing using Stripe this field will not be present.
processorId string A unique identifier assigned to the refund by the payment processor indicated by the paymentType.
processorFeeRefundedCents integer The amount the of the payment processor fee that was returned as a result of the refund.
tockFeeRefundedCents integer The amount of the Tock fee that was returned as a result of the refund.
View JSON Schema on GitHub

JSON Schema

reservation-refund-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tock/refs/heads/main/json-schema/reservation-refund-schema.json",
  "title": "tockRefund",
  "description": "tockRefund schema from Tock Reservation Model",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "int64",
      "description": "A unique identifier assigned to the refund. Used internally by Tock."
    },
    "amount": {
      "type": "integer",
      "format": "int32",
      "description": "The amount of the original payment that was refunded. This value will always be a positive number."
    },
    "isDispute": {
      "type": "boolean",
      "description": "This field indicates whether this refund was issued because of a lost chargeback dispute."
    },
    "status": {
      "$ref": "reservation-refund-refund-status-schema.json",
      "description": "The current status of the refund within the payment processor that serviced the original payment."
    },
    "payout": {
      "$ref": "reservation-payout-schema.json",
      "description": "The Tock-generated payout that includes this refund as a debit to the business bank account. If the business connects to Tock for payment processing using Stripe this field will not be present."
    },
    "processorId": {
      "type": "string",
      "description": "A unique identifier assigned to the refund by the payment processor indicated by the paymentType."
    },
    "processorFeeRefundedCents": {
      "type": "integer",
      "format": "int64",
      "description": "The amount the of the payment processor fee that was returned as a result of the refund."
    },
    "tockFeeRefundedCents": {
      "type": "integer",
      "format": "int64",
      "description": "The amount of the Tock fee that was returned as a result of the refund."
    }
  }
}

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/reservation-refund"
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 email required.

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