{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/currencycloud/main/json-schema/currencycloud-payment-confirmation-schema.json",
  "title": "PaymentConfirmation",
  "description": "Payment confirmation.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/currencycloud-payments-api-openapi.yml#/components/schemas/PaymentConfirmation",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique ID of the Payment Confirmation."
    },
    "payment_id": {
      "type": "string",
      "description": "Unique ID for the payment the confirmation relates to."
    },
    "account_id": {
      "type": "string",
      "description": "Account ID"
    },
    "short_reference": {
      "type": "string",
      "description": "Short reference for the Payment Confirmation."
    },
    "status": {
      "type": "string",
      "description": "Status of the Payment Confirmation processing."
    },
    "confirmation_url": {
      "type": "string",
      "description": "URL to download Payment Confirmation file."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time of when the Payment Confirmation was created."
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time of when the Payment Confirmation was last updated."
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time of when the Payment Confirmation will expire."
    }
  }
}