RefundInput
- cancelType: boolean
_recurrence requiredRequired.
truealso cancels the donor's recurring gift before the money goes out (the cancellation arrives as enrollment events);falsekeeps the recurring gift. - donationType: string
_id min length:1max length:100requiredThe donation to refund, as received in
donation.updated(the snapshot'sid). It must be a donation of an enrollment made through your platform. - reasonType: "duplicate" or "requested_by_donor" or "other"enumrequired
Why the donation is refunded:
duplicate(the donor gave the same gift twice),requested_by_donor(the donor asked for it) orother. - amountType: integer
_minor min:1max:9007199254740991Amount to refund, in USD cents. Omit it to refund what is left of the donation (its amount minus its refunds that have not failed or been canceled). More than that gets
422amount-exceeds-refundable. - metadataType: objectProperties: 1
Your own key-value pairs, returned as sent on the refund and in its events. Up to 50 keys; a key has 1 to 40 characters, a value up to 500. Do not put donor personal data here.