Payout estimated fee inquiry
Interface address
POST https://api.tokenpay.me/v1/payanother/estimated_fee
Interface parameters
Name
Location
Type
Required
Description
mch_id
body
string
Yes
Merchant ID, example value:12345678
chain
body
string
Yes
Owned public chain, example value:TRON
to_address
body
string
Yes
Collection wallet( Notes: payment wallet is required for the application of payout
)
app_id
body
string
Yes
Application ID, example value:8e4b8c2e7cxxxxxxxx1a1cbd3d59e0bd
Interface return
Name
Type
Required
Description
msg
string
true
Status description
request_id
string
true
Request ID
data
object
false
Data object
to_address
string
Collection wallet( Notes: payment wallet is required for the application of payout
)
fee
string
fee
app_id
string
Application ID, example value:8e4b8c2e7cxxxxxxxx1a1cbd3d59e0bd
Return example
{
"code": 0,
"msg": "ok",
"request_id": "0f262d68-a7bc-4ff4-beeb-994a1e6bcd53",
"data": {
"chain": "TRON",
"currency": "USDT",
"to_address": "TPKcSZqWWAJyE7KTKUveSfgWM75sZrr9JG",
"fee": "2500000",
"decimals": 6
}
}
Example code
curl --location --request POST 'https://api.tokenpay.me/v1/payanother/estimated_fee'
--header 'Authorization: '
--header 'User-Agent: tokenpay API (https://tokenpay.me)'
--header 'Content-Type: application/json'
--data-raw ''
Last updated