Orboni · Schema

Refund

A refund the merchant sent from its own wallet and recorded.

CheckoutCrypto PaymentsNon-custodialOnline PaymentsPayment GatewayWebhook

Properties

Name Type Description
id string
object object
livemode boolean
amount integer In the smallest unit of the session’s currency.
currency string The session’s currency.
checkout_session string The session refunded.
reason stringnull
transaction stringnull The hash of the refund transfer, or any reference you keep.
note stringnull
metadata object
source string Where it was recorded.
status string `voided` once a refund recorded by mistake was voided: it no longer counts.
voided_at integernull When it was voided. Unix seconds.
created integer When it was recorded. Unix seconds.
View JSON Schema on GitHub

JSON Schema

orboni-com-refund-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/orboni-com/json-schema/orboni-com-refund-schema.json",
  "title": "Refund",
  "description": "A refund the merchant sent from its own wallet and recorded.",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/orboni-com-openapi.yml#/components/schemas/Refund",
  "type": "object",
  "required": [
    "id",
    "object",
    "livemode",
    "amount",
    "currency",
    "checkout_session",
    "reason",
    "transaction",
    "note",
    "metadata",
    "source",
    "status",
    "voided_at",
    "created"
  ],
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^re_[A-Za-z0-9]{24}$"
    },
    "object": {
      "const": "refund"
    },
    "livemode": {
      "type": "boolean"
    },
    "amount": {
      "type": "integer",
      "minimum": 1,
      "description": "In the smallest unit of the session’s currency."
    },
    "currency": {
      "type": "string",
      "enum": [
        "usd",
        "eur",
        "gbp",
        "chf",
        "pln",
        "czk",
        "huf",
        "ron",
        "dkk",
        "sek",
        "nok",
        "isk",
        "try",
        "jpy",
        "krw",
        "cny",
        "hkd",
        "sgd",
        "inr",
        "idr",
        "myr",
        "php",
        "thb",
        "ils",
        "aud",
        "nzd",
        "cad",
        "mxn",
        "brl",
        "zar",
        "uah",
        "ars",
        "clp",
        "aed",
        "sar",
        "twd",
        "vnd"
      ],
      "description": "The session’s currency."
    },
    "checkout_session": {
      "type": "string",
      "description": "The session refunded."
    },
    "reason": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "requested_by_customer",
        "duplicate",
        "fraudulent",
        "overpaid",
        "other",
        null
      ]
    },
    "transaction": {
      "type": [
        "string",
        "null"
      ],
      "description": "The hash of the refund transfer, or any reference you keep."
    },
    "note": {
      "type": [
        "string",
        "null"
      ]
    },
    "metadata": {
      "$ref": "#/$defs/Metadata"
    },
    "source": {
      "type": "string",
      "enum": [
        "api",
        "dashboard"
      ],
      "description": "Where it was recorded."
    },
    "status": {
      "type": "string",
      "enum": [
        "succeeded",
        "voided"
      ],
      "description": "`voided` once a refund recorded by mistake was voided: it no longer counts."
    },
    "voided_at": {
      "type": [
        "integer",
        "null"
      ],
      "description": "When it was voided. Unix seconds."
    },
    "created": {
      "type": "integer",
      "description": "When it was recorded. Unix seconds."
    }
  },
  "$defs": {
    "Metadata": {
      "type": "object",
      "description": "Up to 50 string values of your own, returned as given: keys up to 40 characters, values up to 500, 8 KB in all as JSON (a character outside ASCII counts as 6 bytes).",
      "maxProperties": 50,
      "propertyNames": {
        "maxLength": 40
      },
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ],
        "maxLength": 500
      }
    }
  }
}

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/orboni-com-refund"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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