A receipt exists for every paid invoice. If an invoice was issued before receipts existed on your account,
getReceipt falls back to the invoice PDF, so the method always returns something useful.Download the receipt PDF
- SDK
- CLI
- cURL
Resend the receipt email
Re-sends to whichever email address is on file for the buyer, the same address the original receipt went to. Only works for paid invoices: there’s nothing to send a receipt for on an unpaid or voided one.- SDK
- CLI
- cURL
Response
boolean
Always
true on success.string
The email address the receipt was (re-)sent to.
Next steps
Invoices
Every receipt is tied to an underlying invoice.
Customers
Where the buyer’s email on file comes from.
Webhooks
React to
checkout.session.completed the moment a receipt goes out.