{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gocardlessyc11/json-schema/gocardlessyc11-post-mandate-pdfs-request-schema.json",
  "title": "PostMandatePdfsRequest",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/gocardlessyc11-api-reference-openapi-generated.yml#/components/schemas/PostMandatePdfsRequest",
  "type": "object",
  "properties": {
    "mandate_pdfs": {
      "type": "object",
      "description": "Root object for creating a mandate PDF."
    },
    "mandate_pdfs.scheme": {
      "type": "string",
      "description": "Direct Debit scheme. Can be supplied or automatically detected from the bank account details provided."
    },
    "mandate_pdfs.country_code": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 code. Required if providing local details."
    },
    "mandate_pdfs.iban": {
      "type": "string",
      "description": "International Bank Account Number. Alternatively you can provide local details."
    },
    "mandate_pdfs.bic": {
      "type": "string",
      "description": "SWIFT BIC. Will be derived automatically if a valid iban or local details are provided."
    },
    "mandate_pdfs.account_number": {
      "type": "string",
      "description": "Bank account number - see local details for more information."
    },
    "mandate_pdfs.bank_code": {
      "type": "string",
      "description": "Bank code - see local details for more information."
    },
    "mandate_pdfs.branch_code": {
      "type": "string",
      "description": "Branch code - see local details for more information."
    },
    "mandate_pdfs.account_holder_name": {
      "type": "string",
      "description": "Name of the account holder, as known by the bank."
    },
    "mandate_pdfs.given_name": {
      "type": "string",
      "description": "The customer's given name (first name)."
    },
    "mandate_pdfs.family_name": {
      "type": "string",
      "description": "The customer's family name (last name)."
    },
    "mandate_pdfs.company_name": {
      "type": "string",
      "description": "The customer's company name."
    },
    "mandate_pdfs.mandate_reference": {
      "type": "string",
      "description": "Unique 6 to 18 character reference."
    },
    "mandate_pdfs.signature_date": {
      "type": "string",
      "description": "If provided, a form will be generated with this date and no signature field."
    },
    "mandate_pdfs.phone_number": {
      "type": "string",
      "description": "The customer phone number. Should only be provided for BECS NZ mandates."
    },
    "mandate_pdfs.swedish_identity_number": {
      "type": "string",
      "description": "For Swedish customers only."
    },
    "mandate_pdfs.danish_identity_number": {
      "type": "string",
      "description": "For Danish customers only."
    },
    "mandate_pdfs.address_line1": {
      "type": "string",
      "description": "The first line of the customer's address."
    },
    "mandate_pdfs.address_line2": {
      "type": "string",
      "description": "The second line of the customer's address."
    },
    "mandate_pdfs.address_line3": {
      "type": "string",
      "description": "The third line of the customer's address."
    },
    "mandate_pdfs.city": {
      "type": "string",
      "description": "The city of the customer's address."
    },
    "mandate_pdfs.region": {
      "type": "string",
      "description": "The customer's address region, county or department."
    },
    "mandate_pdfs.postal_code": {
      "type": "string",
      "description": "The customer's postal code."
    },
    "mandate_pdfs.account_type": {
      "type": "string",
      "description": "Bank account type. Required for USD-denominated bank accounts."
    },
    "mandate_pdfs.payer_ip_address": {
      "type": "string",
      "description": "For American customers only. IP address of the computer used by the customer."
    },
    "mandate_pdfs.subscription_amount": {
      "type": "string",
      "description": "For American customers only. Subscription amount being authorised."
    },
    "mandate_pdfs.subscription_frequency": {
      "type": "string",
      "description": "For American customers only. Frequency of the subscription."
    },
    "mandate_pdfs.links": {
      "type": "object",
      "description": "Links object."
    },
    "mandate_pdfs.links.mandate": {
      "type": "string",
      "description": "ID of an existing mandate to build the PDF from."
    },
    "mandate_pdfs.links.creditor": {
      "type": "string",
      "description": "ID of an existing creditor."
    }
  },
  "required": [
    "mandate_pdfs"
  ]
}