GET
/
payouts
/
fees
curl --request GET \
  --url https://api-staging.stablestack.xyz/api/payouts/fees \
  --header 'x-api-key: <x-api-key>'
{
"status": "success",
"data": {
"amount": "500.00",
"currency_type": "STABLECOIN",
"from_currency": "usdt",
"fee": "10.75",
"amount_after_fee": "489.25",
"network": "erc20"
}
}

Retrieves payout fees for both Stablecoin and Fiat transactions. Required parameters differ based on currency_type (defaults to STABLECOIN).

Headers

x-api-key
string
required

Query Parameters

amount
number
required

The amount to calculate fees for

currency_type
enum<string>
default:STABLECOIN

Type of currency (STABLECOIN or FIAT). Defaults to STABLECOIN if not specified.

Available options:
STABLECOIN,
FIAT
from_currency
string
required

Source currency code (e.g., usdt)

network
string

Blockchain network (required for STABLECOIN). Example: erc20, trc20, etc.

to_currency
string

Target fiat currency code (required for FIAT). Example: ngn, ghs, etc.

market_pair
string

Optional filter for FIAT specific market pairs (e.g., usdtngn)

Response

200
application/json

OK

The response is of type object.