This endpoint is part of our classic API integration. If using a newer integration, use the /donations
endpoint under Checkout API instead.
curl --location --request POST '/donate' \
--header 'Content-Type: application/json' \
--data-raw '{
"donationAccount": "string",
"merchantAccount": "string",
"modificationAmount": {
"currency": "str",
"value": 0
},
"originalReference": "string",
"platformChargebackLogic": {
"behavior": "deductAccordingToSplitRatio",
"costAllocationAccount": "string",
"targetAccount": "string"
},
"reference": "string"
}'
{
"additionalData": {
"property1": "string",
"property2": "string"
},
"pspReference": "string",
"response": "[capture-received]"
}