Modifications

Create a donation

Schedules a new payment to be created (including a new authorisation request) for the specified donation using the payment details of the original payment.

This endpoint is part of our classic API integration. If using a newer integration, use the /donations endpoint under Checkout API instead.

post/donate

Request body

donationAccountstring required

The Adyen account name of the charity.

merchantAccountstring required

The merchant account that is used to process the payment.

originalReferencestring

The original pspReference of the payment to modify. This reference is returned in:

  • authorisation response
  • authorisation notification
referencestring

Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters.

Response

OK - the request has succeeded.

additionalDataobject

This field contains additional data, which may be returned in a particular modification response.

pspReferencestring required

Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.

response'[capture-received]' | '[cancel-received]' | '[refund-received]' | '[cancelOrRefund-received]' | '[adjustAuthorisation-received]' | '[donation-received]' | '[technical-cancel-received]' | '[voidPendingRefund-received]' | 'Authorised' | 'Refused' | 'Error' required

Indicates if the modification request has been received for processing.

Changes