Adyen · JSON Structure

Checkout Donation Payment Response Structure

DonationPaymentResponse schema from Adyen API

Type: object Properties: 7
PaymentsFinancial ServicesFintech

DonationPaymentResponse is a JSON Structure definition published by Adyen, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

amount donationAccount id merchantAccount payment reference status

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/checkout-donation-payment-response-structure.json",
  "description": "DonationPaymentResponse schema from Adyen API",
  "type": "object",
  "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"
    }
  },
  "name": "DonationPaymentResponse"
}