China site: e-invoice (电子发票)
1
Request an invoice for a paid payment
payment_id: repeated requests return the same invoice.2
Download the invoice
The download endpoint accepts the session token as a query parameter so a plain browser link works.You can also use
Authorization: Bearer if you are calling from a server:International site: Stripe receipt
Stripe payments do not need a separate request: the receipt is generated automatically once the payment ispaid.
When to use which
?token= is the same JWT you send in Authorization: Bearer. It exists so a plain <a href> link can download the file without setting headers.