Skip to main content

Preview Statement Import

POST 

/api/temu/:integrationInstance/payouts/import/preview

Rebuild every closed Temu payout statement found in Seller Center exports and say which are new. Writes nothing. Temu's US seller API has no finance endpoints, so these files replace typing each statement in. Requires the integrations.update permission and an accounting-scoped token.

Required scope: accounting:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Body (multipart/form-data):

  • files[] (required, 1–2 files). One or both Temu Seller Center (US) exports, CSV or Excel (.xlsx), max 20 MB each; which is which is read from the header row:
  • Transactions file: Seller Center → Finances → Payments → Statements tab → View by orders → Download (https://seller.temu.com/payment.html). Required: it is the only file with the reserve withheld (<payout id>_in) and released (<payout id>_off) rows.
  • Payments report: Seller Center → Finances → Reports repository → Payments reports → Request report → Download (https://seller.temu.com/reports-repository.html). Recommended: it adds each payout's Transfer row (Temu's payout date and amount) and finds statements that withheld no reserve.

How statements are rebuilt: a reserve row LWO…X_in dated D closes payout X's statement on D; LWO…X_off is that reserve released into the next statement (its beginning balance); a Transfer row is the payout itself. Every other row falls into the statement whose period covers its date; a statement starts the day after the previous one ends. Order payments → sales, refunds → refunds, shipping labels and other charges → others. On a store that splits payouts at month end, month_parts is computed from the row dates.

Each statement's status: new (can be recorded), recorded (already in SKU with the same figures, matched by Temu payout id or by the same period), differs (in SKU with other figures; never overwritten), incomplete (the files start after the statement's period starts; download a wider range). warnings explain anything to check, and notes cover rows that belong to no closed statement yet.

Request​

Responses​

OK

Response Headers
    Content-Type