Reach · Schema

Refund

CompanyPaymentsTaxComplianceE-commerceMerchant of Record

Properties

Name Type Description
RefundId string Reach-generated unique id of a refund
Amount number Amount of the refund. Must be at most the total value of the original order, minus any other refunds.
State string Refund state. See: https://docs.withreach.com/docs/states-and-events#refund-states
RefundReference string A merchant-supplied reference ID. This must be unique within the order for the given refund
Times object
View JSON Schema on GitHub

JSON Schema

withreach-refund-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/withreach/json-schema/withreach-refund-schema.json",
  "title": "Refund",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/withreach-reach-s-drop-in-api-openapi.yml#/components/schemas/Refund",
  "type": "object",
  "properties": {
    "RefundId": {
      "description": "Reach-generated unique id of a refund",
      "type": "string",
      "format": "uuid",
      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
      "minLength": 36,
      "maxLength": 36,
      "readOnly": true
    },
    "Amount": {
      "description": "Amount of the refund. Must be at most the total value of the original order, minus any other refunds.",
      "type": "number",
      "format": "float"
    },
    "State": {
      "description": "Refund state. See: https://docs.withreach.com/docs/states-and-events#refund-states",
      "type": "string",
      "enum": [
        "INPROGRESS",
        "SUCCEEDED",
        "FAILED"
      ],
      "readOnly": true
    },
    "RefundReference": {
      "description": "A merchant-supplied reference ID. This must be unique within the order for the given refund",
      "type": "string",
      "minLength": 1
    },
    "Times": {
      "readOnly": true,
      "allOf": [
        {
          "$ref": "#/$defs/Times"
        }
      ]
    }
  },
  "$defs": {
    "Times": {
      "description": "Gives times of various order state transitions",
      "type": "object",
      "properties": {
        "Created": {
          "description": "The RFC 3339 timestamp at which the order was created.",
          "type": "string"
        },
        "Authorized": {
          "description": "The RFC 3339 timestamp at which the order’s payment was authorized. This will be null if the payment has not yet been authorized or the payment method used for the order does not support pre-authorization (eg. Boleto).",
          "type": "string"
        },
        "Processed": {
          "description": "The RFC 3339 timestamp at which the order's payment was processed. This will be null if the order's payment has not been processed yet or has failed to be processed.",
          "type": "string"
        }
      }
    }
  }
}

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/withreach-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 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.