For the complete documentation index, see llms.txt. This page is also available as Markdown.

(TikTok) Đối soát đơn hàng theo giao dịch

TikTok Shop cho phép lấy các giao dịch theo ngày, trong mỗi giao dịch sẽ có nhiều đơn hàng được thanh toán, muốn lấy danh sách các đơn hàng thì cần gọi thêm API

URL API: https://new.abitstore.vn

POST /ecommerce/tiktok/getTransactionByStatementByPartner

Headers

Name
Value

Content-Type

application/json

Body

Name
Type
Description

access_token

string

Mã Access token được khởi tạo và cấp quyền bởi chủ tài khoản Abit, Xem hướng dẫn tạo Access Token

partner_name

string

Mã shop khi đăng ký Abit

ecommerce_id

string

ID gian hàng TikTok Shop ... được kết nối vào Abit, lấy thông tin ID trong mục Kết nối đa kênh =⇒ Kết nối sàn TMĐT

statement_id

string

Là id của giao dịch được lấy ở bên API Danh sách giao dịch

page_token

string

là phân trang của tiktok shop, lấy dữ liệu trang đầu tiên thì giá trị này không truyền gì cả, trang trang tiếp theo truyền giá trị của trường "next_page_token" ở Response trả về

limit

int

Số lượng giao dịch lấy ra

{
"access_token":"YTVmN2QxY2E2OWJjYWYyODFkZWFlZGY1ZWE0ZjhmMzM=",
"partner_name":"Abit",
"ecommerce_id":"7494558197011024789",
"statement_id":"7661827830694643473",
"page_token":"",
"limit":5
}

{
    "code": 0,
    "data": {
        "create_time": 1783987200,
        "currency": "VND",
        "id": "7661827830694643473",
        "next_page_token": "WzIwMjYwNzEzMDAwMDAwLDE3ODM5NTMyNzc0OTIsNzY2MjAyMjk3Nzg2MDc5ODIyNV0=",
        "payable_amount": "2636250",
        "status": "SETTLED",
        "total_count": 49,
        "total_reserve_amount": "0",
        "total_settlement_amount": "2636250",
        "total_settlement_breakdown": {
            "total_adjustment_amount": "0",
            "total_fee_tax_amount": "-1206350",
            "total_revenue_amount": "3882000",
            "total_shipping_cost_amount": "-39400"
        },
        "transactions": [
            {
                "adjustment_amount": "0",
                "fee_tax_amount": "0",
                "fee_tax_breakdown": {
                    "fee": {
                        "affiliate_ads_commission_amount": "0",
                        "affiliate_commission_amount": "0",
                        "affiliate_commission_amount_before_pit": "0",
                        "affiliate_commission_deposit": "0",
                        "affiliate_commission_release": "0",
                        "affiliate_partner_commission_amount": "0",
                        "bonus_cashback_service_fee_amount": "0",
                        "brand_amplification_program_commission": "0",
                        "brand_amplification_program_fee_tax": "0",
                        "brand_campaign_fee": "0",
                        "brand_campaign_fee_tax": "0",
                        "buyer_fault_return_shipping_fee": "0",
                        "campaign_period_fee_cfp_amount": "0",
                        "campaign_period_fee_cfp_tax_amount": "0",
                        "campaign_period_fee_sp_amount": "0",
                        "campaign_period_fee_sp_tax_amount": "0",
                        "category_led_campaign_fee_amount": "0",
                        "category_led_campaign_fee_tax_amount": "0",
                        "cofunded_creator_bonus_amount": "0",
                        "cofunded_promotion_service_fee_amount": "0",
                        "cps_shop_ads_commission_tax_amount": "0",
                        "credit_card_handling_fee_amount": "0",
                        "dt_handling_fee_amount": "0",
                        "dynamic_commission_amount": "0",
                        "epr_pob_service_fee_amount": "0",
                        "external_affiliate_marketing_fee_amount": "0",
                        "failed_delivery_shipping_fee": "0",
                        "fee_per_item_sold_amount": "0",
                        "flash_sales_service_fee_amount": "0",
                        "gmv_max_ad_fee_amount": "0",
                        "gmv_max_coupon_fee": "0",
                        "installation_service_fee": "0",
                        "insurance_fee": "0",
                        "live_specials_fee_amount": "0",
                        "mall_service_fee_amount": "0",
                        "platform_commission_amount": "0",
                        "platform_semi_managed_commission_fee": "0",
                        "platform_semi_managed_commission_fee_tax": "0",
                        "platform_special_service_fee_amount": "0",
                        "pre_order_service_fee_amount": "0",
                        "referral_fee_amount": "0",
                        "refund_administration_fee_amount": "0",
                        "seller_growth_fee_amount": "0",
                        "seller_paylater_handling_fee_amount": "0",
                        "sfp_service_fee_amount": "0",
                        "shipping_fee_guarantee_service_fee": "0",
                        "shipping_insurance_fee_tax_amount": "0",
                        "smart_promotion_fee_amount": "0",
                        "tap_shop_ads_commission": "0",
                        "transaction_fee_amount": "0",
                        "tsp_commission_amount": "0",
                        "vn_fix_infrastructure_fee": "0",
                        "voucher_xtra_service_fee_amount": "0"
                    },
                    "tax": {
                        "anti_dumping_duty_amount": "0",
                        "cedular_tax": "0",
                        "customs_clearance_amount": "0",
                        "customs_duty_amount": "0",
                        "gst_amount": "0",
                        "import_vat_amount": "0",
                        "isr_amount": "0",
                        "iva_amount": "0",
                        "pit_amount": "0",
                        "sales_tax_referral_fee_amount": "0",
                        "smart_promotion_fee_tax_amount": "0",
                        "sst_amount": "0",
                        "vat_amount": "0"
                    }
                },
                "id": "7662036436816299797",
                "order_create_time": 1783956413,
                "order_id": "585011379646924055",
                "revenue_amount": "0",
                "revenue_breakdown": {
                    "cod_service_fee_amount": "0",
                    "distant_item_fee_amount": "0",
                    "refund_cod_service_fee_amount": "0",
                    "refund_subtotal_before_discount_amount": "-195000",
                    "seller_discount_amount": "-96000",
                    "seller_discount_refund_amount": "96000",
                    "subtotal_before_discount_amount": "195000"
                },
                "settlement_amount": "0",
                "shipping_cost_amount": "0",
                "shipping_cost_breakdown": {
                    "actual_shipping_fee_amount": "0",
                    "customer_paid_shipping_fee_amount": "0",
                    "distant_shipping_fee_amount": "0",
                    "exchange_shipping_fee_amount": "0",
                    "failed_delivery_subsidy_amount": "0",
                    "fbt_free_shipping_fee_amount": "0",
                    "fbt_fulfillment_fee_reimbursement_amount": "0",
                    "fbt_key_merchant_subsidy": "0",
                    "fbt_overall_merchant_subsidy": "0",
                    "free_return_subsidy_amount": "0",
                    "logistics_service_fee": "0",
                    "replacement_shipping_fee_amount": "0",
                    "return_shipping_fee_amount": "0",
                    "return_shipping_fee_paid_buyer_amount": "0",
                    "return_shipping_label_fee_amount": "0",
                    "seller_self_shipping_service_fee_amount": "0",
                    "shipping_app_service_fee_amount": "0",
                    "shipping_fee_discount_amount": "0",
                    "shipping_fee_guarantee_reimbursement": "0",
                    "shipping_insurance_fee_amount": "0",
                    "signature_confirmation_fee_amount": "0",
                    "supplementary_component": {
                        "customer_shipping_fee": "0",
                        "customer_shipping_fee_offset_amount": "0",
                        "fbm_shipping_cost_amount": "0",
                        "fbt_fulfillment_fee_amount": "0",
                        "fbt_shipping_cost_amount": "0",
                        "platform_shipping_fee_discount_amount": "0",
                        "promo_shipping_incentive_amount": "0",
                        "refund_customer_shipping_fee": "0",
                        "refunded_customer_shipping_fee_amount": "0",
                        "return_refund_subsidy_amount": "0",
                        "seller_shipping_fee_discount_amount": "0",
                        "shipping_fee_subsidy_amount": "0"
                    },
                    "tiktok_shop_shipping_incentive_amount": "0"
                },
                "supplementary_component": {
                    "customer_payment_amount": "99000",
                    "customer_refund_amount": "-99000",
                    "platform_cofunded_discount_amount": "0",
                    "platform_cofunded_discount_refund_amount": "0",
                    "platform_discount_amount": "0",
                    "platform_discount_refund_amount": "0",
                    "retail_delivery_fee_amount": "0",
                    "retail_delivery_fee_payment_amount": "0",
                    "retail_delivery_fee_refund_amount": "0",
                    "sales_tax_amount": "0",
                    "sales_tax_payment_amount": "0",
                    "sales_tax_refund_amount": "0",
                    "seller_cofunded_discount_amount": "0",
                    "seller_cofunded_discount_refund_amount": "0"
                },
                "type": "ORDER"
            },
            {
                "adjustment_amount": "0",
                "fee_tax_amount": "0",
                "fee_tax_breakdown": {
                    "fee": {
                        "affiliate_ads_commission_amount": "0",
                        "affiliate_commission_amount": "0",
                        "affiliate_commission_amount_before_pit": "0",
                        "affiliate_commission_deposit": "0",
                        "affiliate_commission_release": "0",
                        "affiliate_partner_commission_amount": "0",
                        "bonus_cashback_service_fee_amount": "0",
                        "brand_amplification_program_commission": "0",
                        "brand_amplification_program_fee_tax": "0",
                        "brand_campaign_fee": "0",
                        "brand_campaign_fee_tax": "0",
                        "buyer_fault_return_shipping_fee": "0",
                        "campaign_period_fee_cfp_amount": "0",
                        "campaign_period_fee_cfp_tax_amount": "0",
                        "campaign_period_fee_sp_amount": "0",
                        "campaign_period_fee_sp_tax_amount": "0",
                        "category_led_campaign_fee_amount": "0",
                        "category_led_campaign_fee_tax_amount": "0",
                        "cofunded_creator_bonus_amount": "0",
                        "cofunded_promotion_service_fee_amount": "0",
                        "cps_shop_ads_commission_tax_amount": "0",
                        "credit_card_handling_fee_amount": "0",
                        "dt_handling_fee_amount": "0",
                        "dynamic_commission_amount": "0",
                        "epr_pob_service_fee_amount": "0",
                        "external_affiliate_marketing_fee_amount": "0",
                        "failed_delivery_shipping_fee": "0",
                        "fee_per_item_sold_amount": "0",
                        "flash_sales_service_fee_amount": "0",
                        "gmv_max_ad_fee_amount": "0",
                        "gmv_max_coupon_fee": "0",
                        "installation_service_fee": "0",
                        "insurance_fee": "0",
                        "live_specials_fee_amount": "0",
                        "mall_service_fee_amount": "0",
                        "platform_commission_amount": "0",
                        "platform_semi_managed_commission_fee": "0",
                        "platform_semi_managed_commission_fee_tax": "0",
                        "platform_special_service_fee_amount": "0",
                        "pre_order_service_fee_amount": "0",
                        "referral_fee_amount": "0",
                        "refund_administration_fee_amount": "0",
                        "seller_growth_fee_amount": "0",
                        "seller_paylater_handling_fee_amount": "0",
                        "sfp_service_fee_amount": "0",
                        "shipping_fee_guarantee_service_fee": "0",
                        "shipping_insurance_fee_tax_amount": "0",
                        "smart_promotion_fee_amount": "0",
                        "tap_shop_ads_commission": "0",
                        "transaction_fee_amount": "0",
                        "tsp_commission_amount": "0",
                        "vn_fix_infrastructure_fee": "0",
                        "voucher_xtra_service_fee_amount": "0"
                    },
                    "tax": {
                        "anti_dumping_duty_amount": "0",
                        "cedular_tax": "0",
                        "customs_clearance_amount": "0",
                        "customs_duty_amount": "0",
                        "gst_amount": "0",
                        "import_vat_amount": "0",
                        "isr_amount": "0",
                        "iva_amount": "0",
                        "pit_amount": "0",
                        "sales_tax_referral_fee_amount": "0",
                        "smart_promotion_fee_tax_amount": "0",
                        "sst_amount": "0",
                        "vat_amount": "0"
                    }
                },
                "id": "7662022977860798225",
                "order_create_time": 1783953277,
                "order_id": "585010626752513165",
                "revenue_amount": "0",
                "revenue_breakdown": {
                    "cod_service_fee_amount": "0",
                    "distant_item_fee_amount": "0",
                    "refund_cod_service_fee_amount": "0",
                    "refund_subtotal_before_discount_amount": "-195000",
                    "seller_discount_amount": "-96000",
                    "seller_discount_refund_amount": "96000",
                    "subtotal_before_discount_amount": "195000"
                },
                "settlement_amount": "0",
                "shipping_cost_amount": "0",
                "shipping_cost_breakdown": {
                    "actual_shipping_fee_amount": "0",
                    "customer_paid_shipping_fee_amount": "0",
                    "distant_shipping_fee_amount": "0",
                    "exchange_shipping_fee_amount": "0",
                    "failed_delivery_subsidy_amount": "0",
                    "fbt_free_shipping_fee_amount": "0",
                    "fbt_fulfillment_fee_reimbursement_amount": "0",
                    "fbt_key_merchant_subsidy": "0",
                    "fbt_overall_merchant_subsidy": "0",
                    "free_return_subsidy_amount": "0",
                    "logistics_service_fee": "0",
                    "replacement_shipping_fee_amount": "0",
                    "return_shipping_fee_amount": "0",
                    "return_shipping_fee_paid_buyer_amount": "0",
                    "return_shipping_label_fee_amount": "0",
                    "seller_self_shipping_service_fee_amount": "0",
                    "shipping_app_service_fee_amount": "0",
                    "shipping_fee_discount_amount": "0",
                    "shipping_fee_guarantee_reimbursement": "0",
                    "shipping_insurance_fee_amount": "0",
                    "signature_confirmation_fee_amount": "0",
                    "supplementary_component": {
                        "customer_shipping_fee": "0",
                        "customer_shipping_fee_offset_amount": "0",
                        "fbm_shipping_cost_amount": "0",
                        "fbt_fulfillment_fee_amount": "0",
                        "fbt_shipping_cost_amount": "0",
                        "platform_shipping_fee_discount_amount": "0",
                        "promo_shipping_incentive_amount": "0",
                        "refund_customer_shipping_fee": "0",
                        "refunded_customer_shipping_fee_amount": "0",
                        "return_refund_subsidy_amount": "0",
                        "seller_shipping_fee_discount_amount": "0",
                        "shipping_fee_subsidy_amount": "0"
                    },
                    "tiktok_shop_shipping_incentive_amount": "0"
                },
                "supplementary_component": {
                    "customer_payment_amount": "99000",
                    "customer_refund_amount": "-99000",
                    "platform_cofunded_discount_amount": "0",
                    "platform_cofunded_discount_refund_amount": "0",
                    "platform_discount_amount": "0",
                    "platform_discount_refund_amount": "0",
                    "retail_delivery_fee_amount": "0",
                    "retail_delivery_fee_payment_amount": "0",
                    "retail_delivery_fee_refund_amount": "0",
                    "sales_tax_amount": "0",
                    "sales_tax_payment_amount": "0",
                    "sales_tax_refund_amount": "0",
                    "seller_cofunded_discount_amount": "0",
                    "seller_cofunded_discount_refund_amount": "0"
                },
                "type": "ORDER"
            }
        ]
    },
    "message": "Success",
    "request_id": "20260714125113D0190F68A0347300087B"
}

Thông tin giá trị API trả về shop có thể tham khảo tại đây:

https://partner.tiktokshop.com/docv2/page/get-transactions-by-statement-202501

Last updated

Was this helpful?