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
Name
Type
Description
x-signature
string
SHA-256 encrypted signature
Content-Type
string
application/json
Request Body
Successful response
Name
Type
Description
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
Name
Type
Description
result
integer
Request result:
1
: success
0
: error
message
string
Error description
Last updated