Cancel Order
Cancel one or more pending fast charge orders that have not yet been matched, using your API key.
Cancel one or more fast charge orders by their order IDs. You can only cancel orders that are in Pending status and have not been matched yet.
To call this endpoint you need a TronSave API key tied to a prefunded internal account. See Authentication for how to obtain and use an API key.
Endpoint
POST https://api.tronsave.io/v0/fast-charge-order-cancel
Headers
apikey*
String
TronSave API key that is associated with the internal account. Required.
Request body
order_ids
Array
Array of order IDs. A list of order IDs that have been created and need to be cancelled.
Request body example
{
"order_ids": [
"673c17a3129f1881382e98e3"
]
}Responses
200 OK — Success
400 Bad Request — Validation error
Returned when the request body is missing a required field or has an invalid value. The message names the offending property.
401 Unauthorized — Invalid API key
Returned when the apikey header is missing or invalid.
429 Too Many Requests — Rate limit
Returned when you exceed the rate limit (1 request per 2 seconds for this endpoint).
Request examples
Next steps
Review Authentication to set up your API key and internal account.
See Errors and rate limits for handling error responses.
Learn about Energy and Bandwidth.
Last updated