API документація
get
/api/v1/Psp/withdrawals/quotePrices a withdrawal before it is requested: what is taken from the account, fees, the exchange rate and what the bank account receives. The same checks as requesting are applied, so a refusal shows before confirming.
Psp
Параметри
accountId
query · integer
Обов'язковий
beneficiaryId
query · string
Обов'язковий
amount
query · number
Обов'язковий
provider
query · string
Необов'язково
version
path · string
Обов'язковий
Відповіді
- 200The price. Rates move, so the final figures can differ slightly.application/json
{ "accountAmount": 250, "accountCurrency": "USD", "recipientAmount": 213.4, "recipientCurrency": "EUR", "fee": 2, "feeCurrency": "USD", "transferFee": 0, "exchangeRate": 0.8605, "exchangeRateFrom": "USD", "exchangeRateTo": "EUR", "rows": [ { "label": "Taken from your account", "value": "250.00 USD" }, { "label": "Exchange rate", "value": "1 USD = 0.8605 EUR" }, { "label": "Fee", "value": "2.00 USD" }, { "label": "Recipient gets", "value": "213.40 EUR" } ] } - 400The withdrawal cannot be made, for example below the minimum. The body is a message to show the user.application/json
"string"
- 401Not authenticated.application/json
{} - 404Unknown method.application/json
{}