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.

  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • Donation uuid.

  • Currency code, ticker symbol, or coin symbol depending on type.

  • True when the donation belongs to a subscription.

  • 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).

    Properties: 5
  • Amount for currency donations, share or coin count otherwise.

  • values
    pledgedpendingprocessingcompletefailedcanceled
  • values
    currencystockcryptodaf
  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • Null when the donor picked no designation, or the campaign has none.

    Properties: 5
  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • Two-letter ISO country code.

  • full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

  • Stripe PaymentIntent id, crypto wallet address, or the donor's brokerage for stock.

  • Set on create for currency donations only; null for stock, crypto and DAF until valued.