Resync Stripe Payout
POST/api/stripe/payouts/:payout/sync
Re-imports one payout and its balance transactions from Stripe, re-links its charges and refunds to SKU.io payments, and re-checks a posted payout for drift.
accounting:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Runs in the background: the response returns a tracked_job_log_id you can poll for progress and the result counts (payouts fetched/saved, balance transactions saved and linked, payouts that drifted).
Authentication: Requires Bearer token. Limited to 20 requests per minute.
No request body. Returns 422 when the Stripe account is not connected and 404 when the payout does not exist.
Requires the accounting.sync permission (403 without it).
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.