{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fluxapay-xyz/json-schema/fluxapay-xyz-post-api-payment-links-refunds-initiate-response-schema.json",
  "title": "PostApiPaymentLinksRefundsInitiateResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/fluxapay-xyz-openapi-generated.yml#/components/schemas/PostApiPaymentLinksRefundsInitiateResponse",
  "type": "object",
  "properties": {
    "refundId": {
      "type": "string",
      "description": "Refund ID ( plr_… )."
    },
    "refundUrl": {
      "type": "string",
      "description": "Refund link (valid 24 h)."
    },
    "paymentId": {
      "type": "integer",
      "description": "Original payment ID."
    },
    "amount": {
      "type": "string",
      "description": "Atomic."
    },
    "currency": {
      "type": "string"
    },
    "network": {
      "type": "string"
    },
    "refundFrom": {
      "type": "string",
      "description": "Your receiving address."
    },
    "refundTo": {
      "type": "string",
      "description": "Original payer."
    },
    "refundType": {
      "type": "string",
      "description": "Valid values \"full\" \"partial\"."
    },
    "reason": {
      "type": "string",
      "description": "Reason."
    },
    "status": {
      "type": "string"
    },
    "expiresAt": {
      "type": "string",
      "description": "Refund link expiry."
    },
    "createdAt": {
      "type": "string",
      "description": "Created at."
    }
  }
}