{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bitnob/json-schema/bitnob-payouts-initialize-request-schema.json",
  "title": "PayoutsInitializeRequest",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bitnob-openapi.json#/components/schemas/PayoutsInitializeRequest",
  "properties": {
    "beneficiary": {
      "additionalProperties": true,
      "description": "Beneficiary details. The fields depend on the country and destination type; see GET /api/payouts/supported-countries/{country}. USD payouts need destination_type (ach, wire or swift, or bank where the corridor lists it). A sender object may be supplied; on a SWIFT payout its identity fields are replaced by your verified business details. On a personal (individual) account it is ignored on every rail; the sender is the owner's verified identity, and a rail whose sender needs details that identity does not hold is refused (422, error_code SENDER_DETAILS_UNAVAILABLE).",
      "type": "object"
    },
    "callback_url": {
      "description": "HTTPS URL that receives updates for this payout.",
      "format": "uri",
      "type": "string"
    },
    "customer_id": {
      "description": "Make the payout on behalf of this customer. Needs the customers and customer_payouts features. A value that is not a UUID is ignored and the payout is made without a customer; a UUID with no customer is refused (400 unknown_customer).",
      "format": "uuid",
      "type": "string"
    },
    "metadata": {
      "description": "A JSON object encoded as a string; ignored if it does not parse",
      "type": "string"
    },
    "payment_reason": {
      "description": "Reason for the payment; replaces the one set on the quote.",
      "maxLength": 255,
      "type": "string"
    },
    "reference": {
      "description": "Your unique reference for this payout; replaces the one set on the quote.",
      "maxLength": 255,
      "type": "string"
    }
  },
  "required": [
    "beneficiary"
  ],
  "type": "object"
}