DonationCreatedResponse
A donation as returned by the public create endpoints, merged with checkout meta. Narrower than DonationResponse: the handler serializes a row it just created rather than one it read back, so asset and payment are never present, designation is the only relation returned, and no foreign key fields are serialized. Fields below are always present; nullable ones are returned as null rather than omitted.
- createdType: stringFormat: date-time
_at requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- donorType: string
_email required - donorType: string
_first _name required - donorType: string
_last _name required - idType: stringrequired
Donation uuid.
- identifierType: stringrequired
Currency code, ticker symbol, or coin symbol depending on type.
- isType: boolean
_recurring requiredTrue when the donation belongs to a subscription.
- metaType:requiredProperties: 5
Server-provided fields to finish checkout on a public giving page. Varies by donation type (e.g. Stripe for currency, wallet address for crypto, DTC instructions for stock).
- quantityType: numberrequired
Amount for currency donations, share or coin count otherwise.
- recognitionType: "public" or "private" or "anonymous"enumrequired
- statusType: stringenumrequiredvaluespledgedpendingprocessingcompletefailedcanceled
- typeType: stringenumrequiredvaluescurrencystockcryptodaf
- updatedType: stringFormat: date-time
_at requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- cancelationType: "duplicate" or "donor_cancel" or "other"enum
_reason - designationType: nullableProperties: 5
Null when the donor picked no designation, or the campaign has none.
- donorType: string | null
_address _line _1 - donorType: string | null
_address _line _2 - donorType: string | null
_city - donorType: string | nullFormat: date-time
_confirmed _at the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- donorType: string | null
_country Two-letter ISO country code.
- donorType: string | null
_postal _code - donorType: string | null
_province - donorType: string | nullFormat: date
_reported _transfer _date full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- memoType: string | null
- sourceType: string | null
Stripe PaymentIntent id, crypto wallet address, or the donor's brokerage for stock.
- taxType: number | null
_deductible _amount Set on create for currency donations only; null for stock, crypto and DAF until valued.