Estimated
POST
https://api.passimpay.io/v2/estimated
This method provides an estimate of the amount to be received and the exchange rate for a given trade.
Headers
x-signature
string
SHA-256 encrypted signature
Content-Type
string
application/json
Request Body
platformId
integer
Platform Id
paymentFromId
integer
paymentToId
integer
amount
string
The exchange amount.
Successful response
result
integer
Request result:
1
: success
0
: error
from
string
The currency of the currency you want to exchange.
to
string
The currency of the currency you want to receive.
give
string
The amount of currency you are providing for the exchange.
receive
string
The estimated amount of currency you will receive after the exchange.
rate
string
The current exchange rate for the specified pair.
Error Response
result
integer
Request result:
1
: success
0
: error
message
string
Error description
Last updated