Skip to main content

Get the donation campaigns for an account holder

get/companies/{companyId}/campaignManagement/accountHolders/{accountHolderId}

Returns a paginated list of donation campaigns associated with the account holder specified in the path. You can filter the list by campaign status.

To make this request, your API credential must have one of the following roles:

  • Management API—Campaign Management read
  • Management API—Campaign Management read and write
Endpoint destination URL
https://management-test.adyen.com/v3/companies/{companyId}/campaignManagement/accountHolders/{accountHolderId}
Click to copy
pageSizeinteger
Minimum: 1Maximum: 100

The number of items to have on a page, maximum 100. The default is 10 items on a page.

pageNumberinteger
Minimum: 1

The number of the page to fetch.

statusstring

The campaign status to return campaigns that match. Allowed values: inactive, active, or ended.

accountHolderIdstringRequired

The unique identifier of the account holder.

companyIdstringRequired

The unique identifier of the company account.

After submitting a call, you receive a response message to inform you that your request was received and processed.

Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.

HTTP Responses

  • 200 - OK

    The request has succeeded.

  • 400 - Bad Request

    A problem reading or understanding the request.

  • 401 - Unauthorized

    Authentication required.

  • 403 - Forbidden

    Insufficient permissions to process the request.

  • 422 - Unprocessable Entity

    A request validation error.

  • 500 - Internal Server Error

    The server could not process the request.