Skip to main content
GET
/
payouts
/
fees
Fetch fees for Stablecoin or Fiat payouts
curl --request GET \
  --url https://api-staging.stablestack.xyz/api/payouts/fees \
  --header 'x-api-key: <x-api-key>'
{
  "status": "success",
  "data": {
    "fees": {
      "currency_type": "STABLECOIN",
      "fee_type": "percentage",
      "fee_value": "0.2000"
    },
    "otherFee": {
      "currency": "usdt",
      "network": "bep20",
      "fee": "1.00"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.stablestack.xyz/llms.txt

Use this file to discover all available pages before exploring further.

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<float>
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
enum<string>
required

Source currency code (e.g., usdc)

Available options:
usdc
network
string

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

to_currency
enum<string>

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

Available options:
usdc,
ngn,
zar
market_pair
enum<string>

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

Available options:
usdcngn,
usdczar,
usdcusdc

Response

OK

The response is of type object.