Creators · Creator Portal
Downloads a payout statement.
GET
https://api.pozy.ai/public/creator-campaigns/{token}/payouts/{transferId}/statementPublic, no API keygetCreatorPayoutStatement
Guide: Run a campaign
Request
This endpoint is public. Call it without an API key.
Path parameters
| Name | Type | Notes |
|---|---|---|
tokenrequired | string | Matches ^[A-Za-z0-9_-]{16,128}$ |
transferIdrequired | string |
Example
curl -X GET "https://api.pozy.ai/public/creator-campaigns/string/payouts/6f5f6fe5901ca25e11c24ddb/statement"const res = await fetch("https://api.pozy.ai/public/creator-campaigns/string/payouts/6f5f6fe5901ca25e11c24ddb/statement");
const data = await res.json();
if (!res.ok) throw new Error(data?.error ?? `Request failed with status ${res.status}`);
console.log(data);import os
import requests
resp = requests.get(
"https://api.pozy.ai/public/creator-campaigns/string/payouts/6f5f6fe5901ca25e11c24ddb/statement",
timeout=30,
)
resp.raise_for_status()
print(resp.json())Response
200 on success · application/pdf
200 response
"string"Errors
Errors use one shape: { error, type, code, param?, details? }. The ones you are most likely to see here:
| 400 | invalid_request_error | A parameter or body field is missing or invalid. param names it. |
| 404 | not_found | Nothing with that id exists in your workspace. |
| 429 | rate_limit_error | Too many requests this minute. Wait for Retry-After seconds. |
Every code is listed in Errors.