Download an export artifact
GET
/api/v1/exports/{id}/download
prm_exports_download
Streams the finished file. The ownership check runs again here, because the artifact itself can contain another reseller's card codes and balances.
404 until the job has actually produced an artifact, which is indistinguishable from "no such job". Poll the job first rather than treating a download 404 as a permanent failure. This route is on the per-tenant heavy budget.
At a glance
- Authentication
- Staff token or session
- Requires permission
-
prm_exports_downloadDownload export files - Rate limit
t_heavy
Parameters
| Parameter | Description |
|---|---|
idrequired
path · integer
|
Job id. |
Errors
| Code | When it is returned |
|---|---|
ERR_NOT_FOUND404
|
the job is not yours, or has not produced a file yet |