{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/developertoolkit-ai/json-schema/developertoolkit-ai-post-payments-paymentid-refunds-request-schema.json",
  "title": "PostPaymentsPaymentidRefundsRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/developertoolkit-ai-openapi-generated.yml#/components/schemas/PostPaymentsPaymentidRefundsRequest",
  "type": "object",
  "properties": {
    "amount": {
      "type": "integer",
      "description": "Refund amount in minor units"
    },
    "reason": {
      "type": "string",
      "description": "Reason for refund"
    },
    "idempotencyKey": {
      "type": "string",
      "description": "Idempotency key"
    }
  },
  "required": [
    "amount",
    "reason",
    "idempotencyKey"
  ]
}