{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/opn-ooo/main/json-schema/opn-ooo-post-charges-id-refunds-response-schema.json",
  "title": "PostChargesIdRefundsResponse",
  "x-generated": "2026-10-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/opn-ooo-openapi-generated.yml#/components/schemas/PostChargesIdRefundsResponse",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "description": "The string refund."
    },
    "id": {
      "type": "string",
      "description": "The refund identifier."
    },
    "location": {
      "type": "string",
      "description": "API path to retrieve the current refund object."
    },
    "livemode": {
      "type": "boolean",
      "description": "Whether this is a live or test refund."
    },
    "voided": {
      "type": "boolean",
      "description": "Whether refunded charge was voided instead."
    },
    "currency": {
      "type": "string",
      "description": "Currency for refund."
    },
    "amount": {
      "type": "integer",
      "description": "Refund amount in smallest unit of charge currency."
    },
    "metadata": {
      "type": "object",
      "description": "Custom metadata."
    },
    "charge": {
      "type": "string",
      "description": "Charge identifier associated with this refund."
    },
    "transaction": {
      "type": "string",
      "description": "Transaction identifier associated with this refund."
    },
    "status": {
      "type": "string",
      "description": "Status of the refund."
    },
    "funding_amount": {
      "type": "integer",
      "description": "Funding amount after exchange."
    },
    "funding_currency": {
      "type": "string",
      "description": "Funding currency."
    },
    "created_at": {
      "type": "string",
      "description": "UTC datetime of refund creation."
    }
  }
}