Skip to main content
Download the receipt for a paid Stripe payment on the international site. Accepts the session JWT via Authorization: Bearer or via ?token= in the query string so a browser link can trigger the download without setting headers.
Receipts apply to the international site only. On the China site, request an e-invoice instead.
Method: GET Path: /api/billing/receipts/{paymentId}/download Auth: Session Bearer or ?token= query JWT

Path parameters

string
required
Paid Stripe payment identifier.

Query parameters

string
Session JWT for browser-initiated downloads.

Response

200 OK with the receipt as an HTML stream and a Content-Disposition: attachment; filename=... header.

Example

Errors