Skip to main content
POST
Create Contribution

Authorizations

x-client-id
string
header
required

Client ID for API authentication

x-api-key
string
header
required

API Key for API authentication

Body

application/json
donorId
string
required

The ID of the donor

Example:

"6710f34fd5061afeec3eab57"

paymentMethodId
string
required

The ID of the payment method to charge

Example:

"6710f34fd5061afeec3eab57"

amount
number
required

The amount to charge to the payment method

Required range: x >= 1
Example:

50

campaignId
string

The ID of the campaign

Example:

"6710f34fd5061afeec3eab57"

subcampaignId
string

The ID of the subcampaign

Example:

"6710f34fd5061afeec3eab57"

anonymous
boolean

Indicates if the donation is anonymous

Example:

true

donorNotes
string

Notes from the donor

Required string length: 1 - 500
Example:

"Donor would like to give $1,000.00 to the playground project, and the …"

Response

data
object
required

The contribution for the charge

Last modified on July 14, 2026