China site: e-invoice (电子发票)
1
Request an invoice for a paid payment
payment_id: repeated requests return the same invoice.2
Download the invoice
A plain browser link cannot set headers, so the download endpoint also accepts the session token as a query parameter.From a server, use
Authorization: Bearer instead:International site: Stripe receipt
Stripe receipts are generated automatically once the payment ispaid; no separate request is needed.
When to use which
?token= takes the same JWT you send in Authorization: Bearer. A plain <a href> link cannot set headers, so this is how it downloads the file.