Manage Orders
For authentication,The Username and Password should be sent as a Basic Auth tokens in the Authorization header of the request. Create account.
API endpoint:
post
https://api.txt.ws/v3/order_list
Description:
This operation allows you to obtain a list of your existing orders.
Request example
curl --location --request POST 'https://api.txt.ws/v3/order_list' \
--header 'Content: application/json' \
--header 'Authorization: Basic {api_key:secret_key}' \
--data-raw '{
"start_date":"2022-10-25",
"end_date":"2022-10-25",
"page_size":10,
"page_num":1,
}'
| Parameter | Type | Description |
| type | Optional string | Ordered request type. |
| status | Optional string | Order status,available values is 'pending','processed','failed' |
| order_id | Optional integer | Order id |
| page_size | Optional integer | Result page size; integer value |
| page_num | Optional integer | Result page number; integer value |
| start_date | Optional string | Earliest order creation date to return (e.g. 2022-10-20) |
| end_date | Optional string | Latest order creation date to return (e.g. 2022-11-20) |