Orders
Perform several estimations in one request
This endpoint is equivalent to /orders/estimate except that several estimations can be performed in a single request.
post/orders/estimate/multiple
Request
- Base URLhttps://exchange.api.bity.com/v2
- Auth
- none
- or OAuth 2Authorization codehttps://connect.bity.com/oauth2/authToken URLhttps://connect.bity.com/oauth2/token
- or OAuth 2Client credentialsToken URLhttps://connect.bity.com/oauth2/tokenScopeshttps://auth.bity.com/scopes/exchange.place
- or OAuth 2Client credentialsToken URLhttps://connect.bity.com/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
[
{
"input": {
"currency": "BTC"
},
"output": {
"currency": "BTC"
}
}
]Response
Successful operation
Example response
[
{
"input": {
"currency": "BTC",
"minimum_amount": "12.34"
},
"output": {
"currency": "BTC",
"minimum_amount": "12.34"
},
"price_breakdown": {
"customer_trading_fee": {
"amount": "12.34",
"currency": "BTC"
},
"instant_payment_fee": {
"amount": "12.34",
"currency": "BTC"
},
"non-verified_fee": {
"amount": "12.34",
"currency": "BTC"
},
"output_transaction_cost": {
"amount": "12.34",
"currency": "BTC"
},
"partner_fee": {
"amount": "12.34",
"currency": "BTC"
}
}
}
]Changes
No recorded changes to this operation across all 1 revision of this API.