DonationRequest is a JSON Structure definition published by Adyen, describing 6 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/payments-donation-request-structure.json",
"description": "DonationRequest schema from Adyen API",
"type": "object",
"properties": {
"donationAccount": {
"description": "The Adyen account name of the charity.",
"type": "string"
},
"merchantAccount": {
"description": "The merchant account that is used to process the payment.",
"type": "string"
},
"modificationAmount": {
"description": "The amount to be donated.The `currency` must match the currency used in authorisation, the `value` must be smaller than or equal to the authorised amount.",
"$ref": "#/components/schemas/Amount"
},
"originalReference": {
"description": "The original pspReference of the payment to modify.\nThis reference is returned in:\n* authorisation response\n* authorisation notification\n\n",
"type": "string"
},
"platformChargebackLogic": {
"x-addedInVersion": "68",
"description": "Defines how to book chargebacks when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#chargebacks-and-disputes).",
"$ref": "#/components/schemas/PlatformChargebackLogic"
},
"reference": {
"description": "Your reference for the payment modification. This reference is visible in Customer Area and in reports.\nMaximum length: 80 characters.",
"type": "string"
}
},
"required": [
"merchantAccount",
"donationAccount",
"modificationAmount"
],
"name": "DonationRequest"
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.