Donation
The Donation entity contains dates, descriptions, and financially related information for a single donation. It includes fee breakdowns, tax details, payment processor information, and card details.
| Field | Type | Description |
|---|---|---|
key |
String | Unique key identifying the donation. |
parentKey |
String | Key referencing the Recurring donation entity, if applicable. |
status |
String | Current status of the donation (e.g., "success", "refunded", "pledge"). |
receiptNumber |
String | Receipt number associated with the donation. |
amount |
Number | Total amount donated. |
currency |
String | Currency code for the donation amount. |
fee |
Number | Total fee charged for the donation. |
feePlatform |
Number | Platform fee portion of the total fee. |
feePlatformPublic |
Number | Publicly visible portion of the platform fee. |
feePlatformPrivate |
Number | Privately tracked portion of the platform fee. |
feeGateway |
Number | Gateway fee charged by the payment processor. |
feeCovered |
Boolean | Indicates if the donor covered the fees. |
tax |
Number | Total tax applied to the donation. |
taxPlatform |
Number | Platform portion of the tax. |
taxGateway |
Number | Gateway portion of the tax. |
startDate |
DateTime | Date when the donation process started. |
endDate |
DateTime | Date when the donation process ended. |
processor |
String | Name of the payment processor used. |
processorTransactionId |
String | Transaction ID provided by the payment processor. |
message |
String | Optional message included with the donation. |
cardInformationType |
String | Type of card or payment method used for the donation (e.g., "credit", "debit", "bank transfer"). |
cardInformationCountry |
String | Country of the card issuer. |
cardInformationPan |
String | Masked Primary Account Number (PAN) of the card. |
cardInformationCardholderName |
String | Name of the cardholder. |
cardInformationCardholderExpiry |
String | Expiry date of the card in MMYY format. |
financials |
Financial | Financial breakdown and details for the donation. |
marketing |
Marketing | Marketing metadata associated with the donation. |
related |
Relationship | Link to related transactions. |