{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DonationPaymentResponse",
  "title": "DonationPaymentResponse",
  "properties": {
    "amount": {
      "description": "Authorised amount in the transaction.",
      "$ref": "#/components/schemas/Amount"
    },
    "donationAccount": {
      "description": "The Adyen account name of your charity. We will provide you with this account name once your chosen charity has been [onboarded](https://docs.adyen.com/online-payments/donations#onboarding).",
      "type": "string"
    },
    "id": {
      "description": "Your unique resource identifier.",
      "type": "string"
    },
    "merchantAccount": {
      "description": "The merchant account identifier, with which you want to process the transaction.",
      "type": "string"
    },
    "payment": {
      "description": "Action to be taken for completing the payment.",
      "$ref": "#/components/schemas/PaymentResponse"
    },
    "reference": {
      "description": "The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.",
      "type": "string"
    },
    "status": {
      "description": "The status of the donation transaction.\n\nPossible values:\n* **completed**\n* **pending**\n* **refused**",
      "enum": [
        "completed",
        "pending",
        "refused"
      ],
      "type": "string"
    }
  },
  "type": "object"
}