Skip to main content

Get Raw Transaction from TikTok

GET 

//:domain/api/tiktok-shop/integration-instances/:integration_instance_id/transactions/:transaction_id/raw

Fetches the live transaction JSON directly from the TikTok Shop Finance API (/finance/202309/statement_transactions) for a single previously-synced transaction. Mirrors the Get Raw Order from TikTok pattern — used by the frontend Raw Data section as a fetch-on-demand tool to inspect the current upstream payload without writing it to the database.

The controller queries TikTok with a ±1 day window around the stored tiktok_transaction_time and returns the entry whose id matches tiktok_transaction_id.

Path params:

  • tikTokShopIntegrationInstance (required) — integration instance id.
  • tikTokShopTransaction (required) — local TikTokShopTransaction id.

Returns: { data: <raw TikTok Shop statement transaction object> | null }.

Request

Responses