Skip to main content

Import Statements

POST 

/api/temu/:integrationInstance/payouts/import

Record the ticked statements from the same Temu files, oldest first, exactly as Record Payout Statement does (posting, readiness and the month-end split are unchanged). Only statements whose preview status is new are recorded; anything already in SKU is skipped, never overwritten. Each statement's beginning balance is the previous one's reserve, so the import stops at the first statement that cannot be recorded and reports it in failed. 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): the same files as the preview. 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.
  • statements[n][temu_payout_id] (required, string, distinct): a statement from the preview.
  • statements[n][payout_date] (optional, Y-m-d): overrides the payout date; required for a statement whose files carry no payout date (Transactions file only). By default the payout date is Temu's own (the Transfer row's date), as for the other channels' payouts.

Request​

Responses​

OK

Response Headers
    Content-Type