post https://api.fundraisingbox.com/v1/donations.json
Creates a new donation.
Field | Description | Type | Mandatory |
---|---|---|---|
fb_person_id | ID of a person | integer | |
fb_source_id | ID of a source | integer | |
fb_project_id | ID of a project | integer | |
fb_type_id | ID of a payment type | integer | yes |
fb_person_bank_account_id | ID of a bank account | integer | |
fb_person_credit_card_id | ID of a credit card | integer | |
fb_sepa_mandate_id | ID of a mandates | integer | |
amount | The amount | float | yes |
info | A message from the donor | string (500) | |
receipt_status | Status of the donation receipt wish | Enum ("receipt_now", "no_receipt", "receipt_end_of_year", "receipt_sent", "receipt_never") | |
public_name | A public name of the donor | string (100) | |
public_message | A public message from the donor | string (1000) | |
fb_fundraising_page_id | ID of a fundraising page | integer | |
external_donation_id | Could be used to store the ID in an external system | string(100) | |
received_at | Timestamp when the money of the donotion was received | datetime | |
created_at | Timestamp when the donation was created | datetime | yes |
Custom fields
Please find further information about custom fields at the custom fields section.