Swap Express
This endpoint can be used to swap/exchange from one currency or coin to another
POST {{BASE_URL}}/trybe/exchange_express/
We have three swap/exchange choices and they are coin2fiat
, fiat2coin
, and fiat2fiat.
Parameters for exchange_type coin2fiat
Parameters for exchange_type fiat2coin
Parameters for exchange_type fiat2fiat
Parameter | Type | Description | Required |
---|---|---|---|
exchange_type | string | Type of swap/exchange you want to carry out | true |
coin_type | string | Preferred crypto type | false |
coin_amount | string | This could be the crypto amount you need or want to get via swap/exchange | false |
fiat_currency | string | Currency code (ISO 4217) | false |
fiat_amount | string | This could be the fiat amount you need or want to get via swap/exchange | false |
from_fiat_currency | string | The currency you want to give out [Currency code (ISO 4217)] | false |
to_fiat_currency | string | The currency you want to receive [Currency code (ISO 4217)] | false |
from_fiat_amount | string | The fiat amount you want to give out | false |
to_fiat_amount | string | The fiat amount you want to receive | false |
Last updated