Donation campaigns
Create a donation campaign
Changed onCreates a new donation campaign, to give shoppers the option to donate to a nonprofit organization when making a payment. A campaign can be for online payments, in-person payments, or both online and in-person payments.
To make this request, your API credential must have the following role:
- Management API—Campaign Management read and write
post/companies/{companyId}/campaignManagement
Request
- Base URLhttps://management-test.adyen.com/v1
- Auth
- HTTP basic
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
companyIdstring required
The unique identifier of the company account.
Request body
Response
OK - the request has succeeded.
Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info