Strike icon

Strike

Interact with Strike API for Bitcoin and Lightning payments

Deposit → Estimate Fee

AI-generated

Summary

Estimate the fee for a deposit to the Strike account based on the specified amount, currency, and fee policy.

Inputs

  • Amount (required) — The numerical amount to deposit, precise to two decimal places.
  • Currency (required) — The currency of the deposit; options are USD, EUR, or GBP.
  • Fee Policy (required) — Defines whether the fee is inclusive (included in) or exclusive (added to) the deposit amount.

Output shape

a single JSON object containing the estimated fee details for the specified deposit parameters

The operation sends a POST request to the /deposits/fee endpoint with amount, currency, and feePolicy as input and returns the fee estimate. Errors are returned in the response if the fee estimation fails.

Discussion