Get Network Fee

This method allows you to retrieve an estimated network fee before withdrawing funds.

POST https://api.passimpay.io/v2/fees

The method returns up-to-date information about the network fee that will be charged for a transaction when withdrawing funds. This helps users estimate the cost of a transfer in advance.

Rate Limit: 1 requests per second

Note: The endpoint https://api.passimpay.io/v2/fees is accessible only if your IP address is whitelisted. If you need information about network fees for coins other than BTC, you can alternatively use the public endpoint https://api.passimpay.io/v2/currencies.

Headers

Name
Type
Description

x-signature

string

SHA-256 encrypted signature

Content-Type

string

application/json

Request Body

Name
Type
Description

platformId

integer

Platform Id

paymentId

integer

Currency ID. You can get the list of currency IDs here.

addressTo

string

Specify the recipient's wallet address. For Ripple (XRP) and TON, if it's necessary to add a tag or comment, use the following format: address:destinationTag

amount

string

The transaction amount.

Successful response (200)

Name
Type
Description

result

integer

Request result: 1: success

paymentId

integer

Payment ID

amountFull

string

The total amount that will be deducted from the user's balance, including all fees.

amount

string

The amount that will be sent to the recipient.

feeNetwork

string

The network fee.

feeService

The service fee.

Error Response (400)

Name
Type
Description

result

integer

Request result: 0: error

message

string

Error description

Last updated