CreateDonationsRequest

Batch widget donation payload. Optional reCAPTCHA token; optional shared advisor for all rows; required non-empty donations array.

  • donations
    Type: array · BatchDonationItem[] 1…
    required

    One row in a donation batch. Same shape as CreateDonationRequest; per-row advisor is not used — provide a shared advisor on CreateDonationsRequest when applicable.

    • designation
      Type: string | null
    • donor_address_line_1
      Type: string | null
    • donor_address_line_2
      Type: string | null
    • donor_city
      Type: string | null
    • donor_country
      enum
      const:  
      us
      values
      • us
    • donor_email
      Type: string
    • donor_first_name
      Type: string
    • donor_last_name
      Type: string
    • donor_postal_code
      Type: string | null
    • donor_province
      Type: string | null
    • identifier
      Type: string
    • memo
      Type: string | null
    • quantity
      Type: number
    • recognition
      Type: string enum
      values
      • public
      • private
      • anonymous
    • source
      Type: string | null
    • type
      Type: string enum
      values
      • currency
      • stock
      • crypto
      • daf
  • advisor
    Type: object · AdvisorInput

    Advisor fields for find-or-create when linking donations to an advisor (widget batch flow). Email is required; other fields are optional when creating a new advisor record.

    • email
      Type: string Format: email
      required
    • bio
      Type: string
    • firm_name
      Type: string
    • first_name
      Type: string
    • last_name
      Type: string
    • middle_name
      Type: string
    • sec_url
      Type: string
    • title
      Type: string
  • recaptcha_token
    Type: string

    Optional reCAPTCHA token when widget middleware requires it.