1. V2
TW-API-EN
  • Document Description
  • Request
  • Response
  • V2
    • Get the list of delivery channels
      POST
    • Order trial calculation
      POST
    • Order forecast
      POST
    • Prepaid charge
      POST
    • Order status inquiry
      POST
    • Invoice Enquiry
      POST
    • Order details
      POST
    • Download the label
      POST
    • Order deleted
      POST
    • Query the invoice details
      POST
    • Available banlance
      POST
  • T86
    • Query bag information
      POST
    • Delete the package
      POST
    • Create a package
      POST
    • Review bag
      POST
  1. V2

Prepaid charge

POST
/api/v2/orderFee
Last modified:2026-01-01 01:06:25

Request

Header Params

Body Params application/json

Example
{
    "tracking_number": "1ZG2G1560332116938"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v2/orderFee' \
--header 'key;' \
--header 't;' \
--header 'username;' \
--header 'sign;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "tracking_number": "1ZG2G1560332116938"
}'

Responses

🟒200成功
application/json
Body

Example
{
	"code": 200,
	"message": "OK",
	"data": {
		"discounts": [
			{
				"name": "ζœεŠ‘ε•†ζŠ˜ζ‰£",
				"amount": -15.25,
				"note": ""
			}
		],
		"charges": {
			"1ZG2G1560332116938": [
				{
					"name": "Freight Charge",
					"amount": 17.76,
					"note": ""
				},
				{
					"name": "FUEL SURCHARGE",
					"amount": 1.01,
					"note": ""
				},
				{
					"name": "RESIDENTIAL ADDRESS",
					"amount": 5.65,
					"note": ""
				}
			]
		},
		"additionally_proportion": 0.04,
		"additionally_amount": 0
	}
}
🟠404ε€±θ΄₯
Modified atΒ 2026-01-01 01:06:25
Previous
Order forecast
Next
Order status inquiry
Built with