Get donation by receipt ID
GET
/donations/receipt/{receiptId}
The donor's receipt. Public — the receipt id is the Stripe PaymentIntent (pi_…) or invoice (in_…) id, a capability token only the donor holds, so treat it as a secret: the response includes the donor's email and card details. Answers for a donation in any payment state, including pending.
Parameters
Path Parameters
receiptId*
The receipt id, or the donation's PaymentIntent id.
Type
Requiredstring
Responses
Receipt details
application/json
JSON
{
"data": {
"id": "string",
"fundraiser_id": "string",
"amount_cents": 0,
"net_amount_cents": 0,
"fee_amount_cents": 0,
"tip_amount_cents": 0,
"currency": "string",
"donor_name": "string",
"donor_email": "string",
"is_anonymous": true,
"payment_status": "string",
"payment_method_type": "string",
"card_brand": "string",
"card_last4": "string",
"receipt_id": "string",
"created_at": "string",
"campaign_title": "string",
"campaign_slug": "string",
"beneficiary_name": "string",
"fundraiser": {
"title": "string",
"slug": "string"
}
}
}