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

exchange_type
coin_type
coin_amount
fiat_currency
fiat_amount - (use the conversion endpoint to get this value)

Parameters for exchange_type fiat2coin

 exchange_type
 fiat_currency
 fiat_amount
 coin_type
 coin_amount - (use the conversion endpoint to get this value)

Parameters for exchange_type fiat2fiat

 exchange_type
 from_fiat_currency
 to_fiat_currency
 from_fiat_amount
 to_fiat_amount - (use the conversion endpoint to get this value)
ParameterTypeDescriptionRequired

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

{
     'Authorization': 'Bearer xhscIjHgpm2ZiPjzKos4ivl4GhyZp5',
      'Content-Type': 'application/json',
      'moni-signature': 'wed332eeddrdbdbdbdbvdvdvdvvsbsvsd'
 }

Last updated