{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fluxapay-xyz/json-schema/fluxapay-xyz-post-api-payouts-request-schema.json",
  "title": "PostApiPayoutsRequest",
  "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/PostApiPayoutsRequest",
  "type": "object",
  "properties": {
    "payoutId": {
      "type": "string",
      "description": "Your idempotency key (max 128 chars)."
    },
    "toAddress": {
      "type": "string",
      "description": "Destination EVM address (not the zero address)."
    },
    "amount": {
      "type": "string",
      "description": "Positive integer string, atomic units (1000000 = 1 USDC)."
    },
    "mandateId": {
      "type": "string",
      "description": "Signed USDC mandate for automatic approval."
    },
    "bizId": {
      "type": "string",
      "description": "Business reference; one live payout per bizId."
    },
    "network": {
      "type": "string",
      "description": "Network. Valid values \"base\" \"base-sepolia\" \"eip155:8453\" \"eip155:84532\" Default \"base\""
    },
    "currency": {
      "type": "string",
      "description": "Only USDC. Valid values \"USDC\" Default \"USDC\""
    },
    "assetAddress": {
      "type": "string",
      "description": "Must be the USDC contract for the network if provided."
    },
    "description": {
      "type": "string",
      "description": "Memo shown to the user (max 500 chars)."
    },
    "metadata": {
      "type": "object",
      "description": "Your own JSON metadata."
    },
    "ttlSeconds": {
      "type": "integer",
      "description": "Approval window, 60–604800 seconds. Minimum 60 Maximum 604800 Default 604800"
    }
  },
  "required": [
    "payoutId",
    "toAddress",
    "amount"
  ]
}