Перерахувати суму
Convert between EGP and one other currency at the Central Bank rate or at one bank. Selling foreign currency uses the bank's buy price, buying it uses the sell price.
GET
https://api.geneh.app/v1/convertВід тарифу FreeПараметри запиту
| Поле | Тип | Опис |
|---|---|---|
amount обов'язково | number | |
from обов'язково | string | |
to | string | Default egp. |
bank | string | Default cbe. |
Відповідь
| Поле | Тип | Опис |
|---|---|---|
from | string | |
to | string | |
amount | number | |
bank | string | |
rate | number | |
unit | number | |
result | number | Rounded to 2 decimals. |
updated_at | string |
Помилки
| 400 | Something in the request is wrong. The message says what. |
| 401 | missing_key, bad_key or wrong_environment. |
| 404 | We have nothing for this. |