Confirm Request

Confirm completed fast charge orders to end the Energy rental, reclaim unused Energy, and trigger the TRX refund to your internal account.

After you have used the Energy, confirm the orders you want to complete so the system ends the rental. Confirming reclaims any unused Energy and calculates the TRX refund returned to your internal account. The sooner you confirm, the more cost you save.

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-confirmation

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

A list of order IDs that have been created and need to be confirmed.

Request body example

{
    "order_ids": [
        "673d5fe2d2451e67c4d09483"
    ]
}

Responses

200 OK β€” Success

Example success response:

Errors

This is a legacy v0 endpoint authenticated with an apikey header.

401 Unauthorized β€” missing API key

Returned when the apikey header is absent.

401 Unauthorized β€” invalid API key

Returned when the supplied apikey is not valid.

400 Bad Request β€” validation error

Returned when a required field (such as order_ids) is missing or invalid. The message names the offending property.

429 Too Many Requests β€” rate limit

Returned when you exceed the rate limit for this endpoint (1 request per 2 seconds).

Request examples

Next steps

Last updated