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

Rate limit: 1 request per 2 seconds.

Headers

Name
Type
Description

apikey*

String

TronSave API key that is associated with the internal account. Required.

Request body

Name
Type
Description

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

Last updated