Get a presigned URL to download an order’s receipt PDF.
Scopes: orders:read
GET
/
v1
/
orders
/
{id}
/
receipt
Python (SDK)
from polar_sdk import Polar
with Polar(
access_token="<YOUR_BEARER_TOKEN_HERE>",
) as polar:
res = polar.orders.receipt(id="<value>")
assert res is not None
# Handle response
print(res)
from polar_sdk import Polar
with Polar(
access_token="<YOUR_BEARER_TOKEN_HERE>",
) as polar:
res = polar.orders.receipt(id="<value>")
assert res is not None
# Handle response
print(res)
{
"url": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.