Download a receipt
“Download receipt”: a PDF for completed or failed transactions (409 invalid_state otherwise).
Error codes: invalid_api_key, resource_not_found, invalid_state, rate_limited.
Authorizations
Server API key, scoped. pk_test_ keys hit the sandbox tenant.
Headers
Optional client correlation id, up to 128 characters. It is not echoed: the response's X-Request-Id is always
our own req_… id. We log your value with the request as client_request_id, so support can find a request by
either id. A longer value is refused with 400 parameter_invalid.
128Path Parameters
Transaction.
^txn_[0-9A-HJKMNP-TV-Z]{26}$Response
OK.
A short-lived link to a generated or stored file.
Always download_link.
"download_link"Signed URL. Valid 5 minutes; the download is logged.
URL expiry.
"2026-10-27T08:41:00Z"
Suggested file name.
MIME type of the file.