Getting a commission for making a withdrawal
The method allows you to get data on the commission that will be debited during the withdrawal
Getting a commission for making a withdrawal
POSThttps://app.apollopayment.io/api-gateway/withdrawal-fee-token
Header parameters
Body
advancedBalanceId*string
Identifier of the advance balance from which the commission will be paid
"97ed074e-f6ce-441f-a1eb-1e3211e15f3f"
addressId*string
Identifier of the address from which you want to withdraw
"d479f3e4-8671-4028-9dee-0f0cdaea463d"
amount*string
Amount you want to withdraw
"200"
nativeboolean
Deduct the gas fee (network fee) from the native balance of the address (available for payment addresses, PAY_OUT type)
feeInAmountboolean
(Relevant for withdrawing coins) Deduct the network commission from the withdrawal amount or from the payer's funds. By default, the network commission is deducted from the withdrawal amount.
Response
Body
success*boolean
Request success indicator
response*RequestFeeResponse (object)
Commission request body
Request
Response
Last updated