{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gocardlessyc11/json-schema/gocardlessyc11-post-payments-request-schema.json",
  "title": "PostPaymentsRequest",
  "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/PostPaymentsRequest",
  "type": "object",
  "properties": {
    "amount": {
      "type": "integer",
      "description": "Amount, in the lowest denomination for the currency."
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 currency code."
    },
    "description": {
      "type": "string",
      "description": "A human‑readable description of the payment."
    },
    "charge_date": {
      "type": "string",
      "description": "Future date on which the payment should be collected."
    },
    "reference": {
      "type": "string",
      "description": "Optional reference that will appear on the customer's bank statement."
    },
    "metadata": {
      "type": "object",
      "description": "Key‑value store of custom data (up to 3 keys)."
    },
    "links": {
      "type": "object",
      "description": "Object containing at least a mandate ID."
    },
    "links.mandate": {
      "type": "string",
      "description": "ID of the mandate against which this payment should be collected."
    }
  },
  "required": [
    "amount",
    "currency",
    "links",
    "links.mandate"
  ]
}