Skip to main content

Get a list of nonprofits

post/companies/{companyId}/nonprofits

Returns a list of supported nonprofit organizations to choose from when creating a donation campaign. The list only contains nonprofits that are compatible with all the account holders specified in the request.

Endpoint destination URL
https://management-test.adyen.com/v3/companies/{companyId}/nonprofits
Click to copy
goalarray[string]

One or more United Nations Sustainable Development Goals to return nonprofit organizations for. Format: unsdg_<number>, for example, &goal=unsdg_6&goal=unsdg_2.

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.

searchTermstring
Min length: 1Max length: 100

A query to return nonprofit organizations for, maximum 100 characters. For example, &searchTerm=clean%20water.

companyIdstringRequired

The unique identifier of the company account.

accountHolderIdsarray[string]Required

The unique identifiers of the account holders to be included in a donation campaign.

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.