---
title: "Get Withdrawal Fee Estimate"
method: POST
path: "/business/send/initiate/onchain/fee-estimate"
tags: ["wallets"]
---

# Get Withdrawal Fee Estimate

`POST /business/send/initiate/onchain/fee-estimate`

## Request

- Base URL: `https://www.sandbox.striga.com/api/v1/wallets`
- URL: `https://www.sandbox.striga.com/api/v1/wallets/business/send/initiate/onchain/fee-estimate`
- Auth: API key in header `api-key` and API key in header `Authorization`

Get a fee estimate for an onchain withdrawal without triggering a withdrawal

## Request body

- BusinessGetOnChainWithdrawalFeeEstimateRequest
  - `businessId` string, uuid, required: Unique Id of the business who is sending this transactions
  - `sourceAccountId` string, required: The Id of the account to debit
  - `whitelistedAddressId` string, uuid, required: The Id of the whitelisted destination
  - `amount` string, required: The amount denominated in the smallest divisible unit of the sending currency. For example, cents or satoshis
  - `fixedFee` string: Optional fixedFee in Euro cents to override the default application fee configuration. This amount can only be <= the default configured amount for this transaction type.
  - `percentFeeBps` string: Optional percentage fee in bps to override the default application fee configuration. This amount can only be <= the default configured amount for this transaction type.

## Response `200`

success

- BusinessGetOnChainWithdrawalFeeEstimateResponse
  - `totalFee` string, required
  - `ourFee` string, required
  - `theirFee` string, required
  - `networkFee` string, required
  - `feePerByte` string
  - `gasLimit` string
  - `gasPrice` string
  - `feeCurrency` string
  - `fixedFeeDetails` object, required
    - `amount` string
    - `exchangeRate` string
    - `appliedFeeCents` string
  - `percentageFeeDetails` object, required
    - `amount` string
    - `appliedFeeBps` string

## Other responses

- `400`: Bad Request. The request was unacceptable, often due to missing a required parameter.
- `401`: Invalid authentication header
- `403`: Forbidden
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/striga/apis/business-wallets-transactions.md) - [All operations](https://skmtc.dev/striga/apis/business-wallets-transactions/llms.txt) - [OpenAPI document](https://skmtc.dev/striga/apis/business-wallets-transactions/revisions/ea0f4d67546d?raw)
