Donation campaigns
Activate or end a donation campaign
Changed onStarts or stops the donation campaign specified in the path, by providing a path parameter. Use the path parameter activate to start an inactive campaign, or end to stop an active campaign. Other status transitions are not allowed.
To make this request, your API credential must have the following role:
- Management API—Campaign Management read and write
post/companies/{companyId}/campaignManagement/{donationCampaignId}/status/{status}
Request
- Base URLhttps://management-test.adyen.com/v3
- URLhttps://management-test.adyen.com/v3/companies/{companyId}/campaignManagement/{donationCampaignId}/status/{status}
- Auth
- HTTP basic
- or API key in header X-API-Key
Path parameters
companyIdstring required
The unique identifier of the company account.
donationCampaignIdstring required
The unique identifier of the donation campaign to activate or end.
status'activate' | 'end' required
The desired status change. Possible values: activate or end.
Response
OK - the request has succeeded.
Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info