API Documentation

This document details how to use our API system and provides examples for all requests. All methods could be used both via the clearnet link trocador.app or via the onion address. All methods are GET, and you just need to include your API Key code on the header to get responses from the server. To include the API key, use: headers = {'API-Key': 'Example-API-Key'}; Follow these steps to start using it:


  • Download the list of all coins from the server using the COINS method. You only need to do this once. You'll need to use both the ticker and the network of each coin to make the other requests, because there are coins on different networks that have the same ticker (e.g. Matic ERC20 and Polygon). Save these coins in your database.
  • Generate new quotes by sending the parameters along the GET method NEW_RATE. You need to specify both coins' tickers and networks to successfully generate rates, as well as the amount.
  • Use the rate ID provided along the rates to create a new transaction using the NEW_TRADE method. You must inform the chosen exchange and rate type (floating or fixed). In case you want to create a fixed rate payment, send also that variable via API request.
  • Pass the data to the user, so he can send his coins to the provider address.
  • Endpoints:
    • Regular: https://trocador.app/api/
    • Onion: http://trocadorfyhlu27aefre5u7zri66gudtzdyelymftvr4yjwcxhfaqsid.onion/api/
    • I2P: trocador.i2p/api/
  • This method returns all coins listed in our database, with their names, tickers, networks and minimum and maximum amounts. You can use this method to populate your database, and you must use these tickers and networks when creating transactions.


    • Parameters:

    • Examples:
      - https://trocador.app/api/coins
      - http://trocadorfyhlu27aefre5u7zri66gudtzdyelymftvr4yjwcxhfaqsid.onion/api/coins
      - trocador.i2p/api/coins

    • Results:
      - name: name of the coin;
      - ticker: ticker of the coin;
      - network: network of the coin;
      - memo: whether the coin uses memo/ExtraID. True or False;
      - image: icon of the coin;
      - minimum: minimum amount that can be traded;
      - maximum: maximum amount that can be traded;
  • This method returns all data from the coins that have the specified name or ticker. In case multiple coins have the same ticker, the method returns a list with all of them. At least one ticker or name is mandatory.


    • Parameters:
      - ticker: the ticker of the coin you want to retrieve, e.g. btc (Optional);
      - name: the name of the coin you want to retrieve, e.g. Bitcoin (Optional);

    • Examples:
      - https://trocador.app/api/coin?ticker=btc
      - https://trocador.app/api/coin?name=Bitcoin
      - http://trocadorfyhlu27aefre5u7zri66gudtzdyelymftvr4yjwcxhfaqsid.onion/api/coin?ticker=btc
      - http://trocadorfyhlu27aefre5u7zri66gudtzdyelymftvr4yjwcxhfaqsid.onion/api/coin?name=Bitcoin
      - trocador.i2p/api/coin?ticker=btc
      - trocador.i2p/api/coin?name=Bitcoin

    • Results:
      - name: name of the coin;
      - ticker: ticker of the coin;
      - network: network of the coin;
      - memo: whether the coin uses memo/ExtraID. True or False;
      - image: icon of the coin;
      - minimum: minimum amount to be traded;
      - maximum: maximum amount to be traded;
  • This method returns all non-deleted trades from the partner on our database, or an specific transaction that has the ID provided on the request. This can be used to show the user the updated transaction status. This is only possible if the transaction data is still stored in our database. After 14 days, or on user request, transaction data is deleted to protect the user's privacy.


    • Parameters:
      - id: the transaction identification string or number (Optional);

    • Examples:
      - https://trocador.app/api/trade
      - https://trocador.app/api/trade?id=ID
      - http://trocadorfyhlu27aefre5u7zri66gudtzdyelymftvr4yjwcxhfaqsid.onion/api/trade
      - http://trocadorfyhlu27aefre5u7zri66gudtzdyelymftvr4yjwcxhfaqsid.onion/api/trade?id=ID
      - trocador.i2p/api/trade
      - trocador.i2p/api/trade?id=ID

    • Results:
      - trade_id: the trade ID with us;
      - date: date and time of creation;
      - ticker_from: ticker of the coin to be sold;
      - ticker_to: ticker of the coin to be bought;
      - coin_from: name of coin to be sold;
      - coin_to: name of coin to be bought;
      - network_from: network of coin to be sold;
      - network_to: network of coin to be bought;
      - amount_from: amount of coin to be sold;
      - amount_to: amount of coin to be bought;
      - provider: chosen exchange;
      - fixed: True if fixed rate or False if floating rate;
      - status: status of the trade;
      - address_provider: address of the exchange;
      - address_provider_memo: memo/ExtraID of the address of the exchange;
      - address_user: address to receive the coins bought;
      - address_user_memo: memo/ExtraID of the address to receive the coins bought;
      - refund_address: address in which to receive a refund if needed;
      - refund_address_memo: memo/ExtraID of the address in which to receive a refund if needed;
      - password: password used together with the id_provider in order to see the transaction on the exchange's website, only used by some providers;
      - id_provider: the trade ID with the provider;
      - quotes:
       support: support data of the exchange;
       expiresAt: time and date when the swap expires;
      - details:
       hashout: hash of the payment transaction. Only available when the trade is finished;
      - payment: True or False, depending if it is a standard swap or payment;
  • This method checks if a given address can be used with a certain coin. If you don't want to check every address there's no need to, since the system always performs this check before creating a transaction. This function returns True or False depending on if the provided address fits the given coin and network.


    • Parameters:
      - ticker: the ticker of the coin you want to test, e.g. btc (Mandatory);
      - network: the network of the coin you want to test, e.g. Mainnet (Mandatory);
      - address: the address of the coin you want to test (Mandatory);

    • Examples:
      - https://trocador.app/api/validateaddress?ticker=&network=&address=
      - http://trocadorfyhlu27aefre5u7zri66gudtzdyelymftvr4yjwcxhfaqsid.onion/api/validateaddress?ticker=&network=&address=
      - trocador.i2p/api/validateaddress?ticker=&network=&address=

    • Results:
      - result: True if the address is valid or False if not;
  • This method generates a list of rates from all providers and organizes them from best to worst rate. Along with the rates goes the KYC Score of each exchange, from A (no KYC) to D (may hold user's funds indefinitely until verification). This method returns a unique ID that you must use if you want to create a transaction.


    • Parameters:
      - ticker_from: the ticker of the coin you want to sell, e.g. btc (Mandatory);
      - network_from: the network of the coin you want to sell, e.g. Mainnet (Mandatory);
      - ticker_to: the ticker of the coin you want to buy, e.g. xmr (Mandatory);
      - network_to: the network of the coin you want to buy, e.g. Mainnet (Mandatory);
      - amount_from or amount_to: the amount of the coin you want to sell or receive (amount_from is Mandatory for standard swaps, while amount_to is Mandatory for payments);
      - payment: True or False, depending if you want to create a fixed rate payment or standard swap (Optional);
      - min_kycrating: if you want to rate a coin only on exchanges with a minimum of A, B, C or D KYC rating, please provide this parameter (Optional);
      - min_logpolicy: if you want to rate a coin only on exchanges with a minimum of A, B or C log policy rating, please provide this parameter (Optional);
      - markup: we allow partners to specify their own commission, in percentage (Optional); it must be either 0, 1, 1.85 or 3 (as a %); if the partner provide markup=0 or doesnt provide this parameter at all, then Trocador will share half of its commission with the partner; be aware that by setting markup > 0 the final user will be offered higher rates, so prices will increase from those offered on Trocador;
      - best_only: if you only want to know the best rate for the provided parameters, provide True (Optional);

    • Examples:
      - https://trocador.app/api/new_rate?ticker_from=&ticker_to=&network_from=&network_to=&amount_from=
      - http://trocadorfyhlu27aefre5u7zri66gudtzdyelymftvr4yjwcxhfaqsid.onion/api/new_rate?ticker_from=&ticker_to=&network_from=&network_to=&amount_from=
      - trocador.i2p/api/new_rate?ticker_from=&ticker_to=&network_from=&network_to=&amount_from=

    • Results:
      - trade_id: the trade ID with us;
      - date: date and time of creation;
      - ticker_from: ticker of the coin to be sold;
      - ticker_to: ticker of the coin to be bought;
      - coin_from: name of coin to be sold;
      - coin_to: name of coin to be bought;
      - network_from: network of coin to be sold;
      - network_to: network of coin to be bought;
      - amount_from: amount of coin to be sold;
      - amount_to: amount of coin to be bought;
      - provider: exchange with the best rate;
      - fixed: rate type for the best rate, True for fixed and False for floating;
      - status: status of the trade;
      - quotes: list of all the other quotes generated, with their KYC rating and waste(spread) in percentage;
      - payment: True or False, depending if it is a standard swap or payment;
  • This method creates a transaction with the provided ID, on the selected exchange and rate type. It returns the address from the provider exchange, where the user must send his coins in order to receive the requested amount.


    • Parameters:
      - id: the ID number of the previously generated rate (Optional); if the partner does not provide ID of a previously generated new_rate method, then the transaction will be generated with the best rate found among the remaining parameters, as if it was created with the best_only parameter of the new_rate method;
      - ticker_from: the ticker of the coin you want to sell, e.g. btc (Mandatory);
      - network_from: the network of the coin you want to sell, e.g. Mainnet (Mandatory);
      - ticker_to: the ticker of the coin you want to buy, e.g. xmr (Mandatory);
      - network_to: the network of the coin you want to buy, e.g. Mainnet (Mandatory);
      - amount_from or amount_to: the amount of the coin you want to sell or receive (amount_from is Mandatory for standard swaps, while amount_to is Mandatory for payments);
      - address: the address where the user wants to receive his coins (Mandatory);
      - address_memo: the memo/ExtraID of the address where the user wants to receive his coins (Mandatory if the coin received uses memo/ExtraID - Use '0' for no memo);
      - refund: the address where the user wants to receive back his coins in case a problem occurs (Optional);
      - refund_memo: the memo/ExtraID of the address where the user wants to receive back his coins in case a problem occurs (Mandatory if refund is used and the coin sent uses memo/ExtraID - Use '0' for no memo);
      - provider: the desired exchange (Mandatory);
      - fixed: True for fixed rate or False for floating rate (Mandatory);
      - payment: True or False, depending if you want to create a fixed rate payment or standard swap (Optional);
      - min_kycrating: if you want to rate a coin only on exchanges with a minimum of A, B, C or D KYC rating, please provide this parameter (Optional);
      - min_logpolicy: if you want to rate a coin only on exchanges with a minimum of A, B or C log policy rating, please provide this parameter (Optional);
      - webhook: if you provide an URL on this parameter, every time the status of the transaction changes, you will receive on this URL a POST request sending you the transaction data; this avoids having to call so many times our server to check the transaction status (Optional);
      - markup: we allow partners to specify their own commission, in percentage (Optional); it must be either 0, 1, 2 or 3%; if the partner provides markup=0 or doesn't provide this parameter at all, then Trocador will share half of its commission with the partner; be aware that by setting markup > 0 the final user will be offered higher rates, so prices will increase when compared to those offered on Trocador;

    • Examples:
      - https://trocador.app/api/new_trade?id=&ticker_from=&ticker_to=&network_to=&network_from=&amount_from=&address=&provider=&fixed=
      - https://trocador.app/api/new_trade?id=&ticker_from=&ticker_to=&network_to=&network_from=&amount_from=&address=&provider=&fixed=&refund=
      - http://trocadorfyhlu27aefre5u7zri66gudtzdyelymftvr4yjwcxhfaqsid.onion/api/new_trade?id=&ticker_from=&ticker_to=&network_to=&network_from=&amount_from=&address=&provider=&fixed=
      - http://trocadorfyhlu27aefre5u7zri66gudtzdyelymftvr4yjwcxhfaqsid.onion/api/new_trade?id=&ticker_from=&ticker_to=&network_to=&network_from=&amount_from=&address=&provider=&fixed=&refund=
      - trocador.i2p/api/new_trade?id=&ticker_from=&ticker_to=&network_to=&network_from=&amount_from=&address=&provider=&fixed=
      - trocador.i2p/api/new_trade?id=&ticker_from=&ticker_to=&network_to=&network_from=&amount_from=&address=&provider=&fixed=&refund=

    • Results:
      - trade_id: the trade ID with us;
      - date: date of creation;
      - ticker_from: ticker of the coin to be sold;
      - ticker_to: ticker of the coin to be bought;
      - coin_from: name of coin to be sold;
      - coin_to: name of coin to be bought;
      - network_from: network of coin to be sold;
      - network_to: network of coin to be bought;
      - amount_from: amount of coin to be sold;
      - amount_to: amount of coin to be bought;
      - provider: chosen exchange;
      - fixed: True if fixed rate or False if floating rate;
      - status: status of the trade;
      - address_provider: address of the exchange;
      - address_provider_memo: memo/ExtraID of the address of the exchange;
      - address_user: address to receive the coins bought;
      - address_user_memo: memo/ExtraID of the address to receive the coins bought;
      - refund_address: the address where the user wants to receive back his coins in case a problem occurs;
      - refund_address_memo: memo/ExtraID of the the address where the user wants to receive back his coins in case a problem occurs;
      - password: password used together with the id_provider in order to see the transaction on the exchange's website, only used by some providers;
      - id_provider: the trade ID with the provider;
      - payment: True or False, depending if it is a standard swap or payment;
  • Get all prepaid and giftcards available for sale. You can now generate income by selling USD and EUR Visa and Mastercard prepaid cards, which your users can load using any crypto of your/their choice. To get the complete list of available cards for sale, use this method.


    • Parameters:

    • Examples:
      - https://trocador.app/api/cards
      - http://trocadorfyhlu27aefre5u7zri66gudtzdyelymftvr4yjwcxhfaqsid.onion/api/cards
      - trocador.i2p/api/cards

    • Results:
      - provider: the company that delivers the card;
      - currency_code: which currency that the card is denominated (USD, EUR, etc);
      - brand: either Visa or Mastercard;
      - amounts: list of values in which the card can be worth;
      - restricted_countries: list of countries where the card cannot be used (usage is not guaranteed and can lead to the card being blocked);
      - allowed_countries: list of countries where the card can be used;
      If the card has a list of restricted countries, then other countries out of this list usually accept the card. The opposite goes to the list of allowed countries. If a card has a list of allowed countries, then using it outside of these may lead to the card malfunctioning or being blocked.
  • Create an order to buy a prepaid card. We'll share 50% of our income with the partner that sells a card. Later, to get the status of your purchase, you need to use the regular method 'trade' from this API system. Card details, such as activation link, will go along the response of the method 'trade'.


    • Parameters:
      - provider: the provider of the card that your user want to purchase;
      - currency_code: the fiat currency of the card that you want to purchase;
      - ticker_from: the ticker of the crypto that you want to use for payment (example, Bitcoin);
      - network_from: the network of the crypto that you want to use for payment (example, Mainnet);
      - amount: the value in fiat of the card that your user want to purchase;
      - email: the e-mail that will receive the redeem code of the card;
      - card_markup: the commission that you want applied above the card, in percentage, for yourself; available values of 1, 2 or 3; if you set this parameter then we won't share our commission with you, instead, you'll receive the full markup (optional parameter);

    • Examples:
      - https://trocador.app/api/order_prepaidcard/?currency_code=&provider=&ticker_from=&network_from=&amount=&email=
      - http://trocadorfyhlu27aefre5u7zri66gudtzdyelymftvr4yjwcxhfaqsid.onion/api/order_prepaidcard/?currency_code=&provider=&ticker_from=&network_from=&amount=&email=
      - trocador.i2p/api/order_prepaidcard/?currency_code=&provider=&ticker_from=&network_from=&amount=&email=

    • Results:
      - trade_id: the trade ID with us;
      - date: date of creation;
      - ticker_from: ticker of the coin to be used as payment;
      - ticker_to: the settlement crypto, usually USDT;
      - coin_from: name of coin to be used as payment;
      - coin_to: the settlement crypto, usually Tether;
      - network_from: network of coin to be used as payment of the order;
      - network_to: network of coin settlement, usually TRC20 (for USDT);
      - amount_from: amount of coin to be used as payment;
      - amount_to: amount of crypto from the settlement to the provider (USDT);
      - provider: chosen exchange;
      - fixed: true;
      - status: status of the trade;
      - address_provider: address of the exchange;
      - address_provider_memo: memo/ExtraID of the address of the exchange;
      - address_user: address that will receive the settlement crypto to process the generation of the card;
      - address_user_memo: memo/ExtraID of the address to receive the coins bought;
      - refund_address: the address where the user wants to receive back his coins in case a problem occurs;
      - refund_address_memo: memo/ExtraID of the the address where the user wants to receive back his coins in case a problem occurs;
      - password: password used together with the id_provider in order to see the transaction on the exchange's website, only used by some providers;
      - id_provider: the trade ID with the provider;
      - details: useful data regarding the card redeem, as ID, value in fiat, e-mail and status if the card was already sent or if it failed;
      - payment: true;
  • Create an order to buy credits; If your user already has an access_code (for AML checks), your existing code will receive a top up; if your user does not hold an access_code, then a new one will be generated for you;


    • Parameters:
      - ticker_from: the coin you wish to use for payment of the order to purchase credits;
      - network_from: the network of the coin you wish to use for payment of the order to purchase credits;
      - amount: number of credits you want to purchase;
      - access_code: the access_code that you want to top up (optional);

    • Examples:
      - https://trocador.app/api/order_amlchecks/?ticker_from=&network_from=&amount=
      - http://trocadorfyhlu27aefre5u7zri66gudtzdyelymftvr4yjwcxhfaqsid.onion/api/order_amlchecks/?ticker_from=&network_from=&amount=
      - trocador.i2p/api/order_amlchecks/?ticker_from=&network_from=&amount=

    • Results:
      - trade_id: the trade ID with us;
      - date: date of creation;
      - ticker_from: ticker of the coin to be used as payment;
      - coin_from: name of coin to be used as payment;
      - network_from: network of coin to be used as payment of the order;
      - amount_from: amount of coin to be used as payment;
      - fixed: true;
      - payment: true;
      - status: status of the trade;
      - address_provider: address of the exchange;
      - address_provider_memo: memo/ExtraID of the address of the exchange;
      - details: useful data regarding the number_of_checks, access_code and fiat price of the purchase;
  • Create an assessment to check a transaction or an address; in case you want to check a transaction instead of an address, or in case the transaction still has no block confirmations, you should provide the hash involved (optional); if you want to check a transaction, then the result will show what is the AML risk of the token that was transfered on that hash; checking an address, on the opposite, will result on the combined AML risk of all tokens that are located on the address; if you check an address, you can provide parameters ticker and network of any of the current tokens that are being held on that address, since all of them will have the same network;


    • Parameters:
      - access_code: access_code previously purchased;
      - address: address that you want to check for AML;
      - ticker: ticker of the coin that is the native token of the network you want to perform the check;
      - network: network of the coin that you want to check for AML;
      - tx_hash: in case you want to check a transaction instead of an address, or in case the transaction still has no block confirmations, you should provide the hash involved (optional); if you want to check a transaction, then the result will show what is the AML risk of the token that was transfered on that hash; checking an address, on the opposite, will result on the combined AML risk of all tokens that are located on the address; if you check an address, you can provide parameters ticker and network of any of the current tokens that are being held on that address, since all of them will have the same network;;

    • Examples:
      - https://trocador.app/api/perform_amlcheck/?access_code=&address=&network=&tx_hash=
      - http://trocadorfyhlu27aefre5u7zri66gudtzdyelymftvr4yjwcxhfaqsid.onion/api/perform_amlcheck/?access_code=&address=&network=&tx_hash=
      - trocador.i2p/api/perform_amlcheck/?access_code=&address=&network=&tx_hash=

    • Results:
      - id: ID of the AML check;
      - date: date of check;
      - datetime: date and time of the check;
      - network: network name that was checked;
      - network_label: ticker of the network that was checked;
      - type: type of check, either address or transaction;
      - tx_hash_short: abreviated transaction hash;
      - tx_hash: transaction hash;
      - address_short: abreviated address checked;
      - address: address checked;
      - risk: total risk involved;
      - high_risk_signals: composition of high risk;
      - medium_risk_signals: composition of medium risk;
      - low_risk_signals: composition of low risk;
  • Get all possible networks to perform checks


    • Parameters:

    • Examples:
      - https://trocador.app/api/amlcheck_networks
      - http://trocadorfyhlu27aefre5u7zri66gudtzdyelymftvr4yjwcxhfaqsid.onion/api/amlcheck_networks
      - trocador.i2p/api/amlcheck_networks

    • Results:
      - name: name of the network;
      - ticker_trocador: ticker of the network (use these values when calling the AML methods);
  • Get all history of assessments for a certain access_code


    • Parameters:
      - access_code: your access_code (Mandatory);

    • Examples:
      - https://trocador.app/api/assessments/?access_code=
      - http://trocadorfyhlu27aefre5u7zri66gudtzdyelymftvr4yjwcxhfaqsid.onion/api/assessments/?access_code=
      - trocador.i2p/api/assessments/?access_code=

    • Results:
      - All data regarding the AML checks you performed with the given access_code;
  • This method creates two Bridge transactions with Monero as the intermediary. It returns the address from the provider exchange, where the user must send his coins in order to receive the requested amount. The Monero Bridge is composed by two transactions from different exchanges, with one exchange sending Monero to the other. The refund address from the first exchange is the user refund address, while the second swap has no refund address, but this second refund address can be overriden by a parameter from the partner.


    • Parameters:
      - ticker_from: the ticker of the coin you want to sell, e.g. btc (Mandatory);
      - network_from: the network of the coin you want to sell, e.g. Mainnet (Mandatory);
      - ticker_to: the ticker of the coin you want to buy, e.g. xmr (Mandatory);
      - network_to: the network of the coin you want to buy, e.g. Mainnet (Mandatory);
      - amount_from or amount_to: the amount of the coin you want to sell or receive (amount_from is Mandatory for standard swaps, while amount_to is Mandatory for payments);
      - address: the address where the user wants to receive his coins (Mandatory);
      - address_memo: the memo/ExtraID of the address where the user wants to receive his coins (Mandatory if the coin received uses memo/ExtraID - Use '0' for no memo);
      - refund: the address where the user wants to receive back his coins in case a problem occurs (Optional);
      - refund_memo: the memo/ExtraID of the address where the user wants to receive back his coins in case a problem occurs (Mandatory if refund is used and the coin sent uses memo/ExtraID - Use '0' for no memo);

    • Examples:
      - https://trocador.app/api/new_bridge/?ticker_from=&ticker_to=&network_from=&network_to=&amount_from=&address=&refund=

    • Results:
      First swap:
      - trade_id: the trade ID with us;
      - date: date of creation;
      - ticker_from: ticker of the coin to be sold;
      - ticker_to: xmr;
      - coin_from: name of coin to be sold;
      - coin_to: Monero;
      - network_from: network of coin to be sold;
      - network_to: Mainnet;
      - amount_from: amount of coin to be sold;
      - amount_to: amount of Monero to be bought;
      - provider: chosen exchange;
      - fixed: True if fixed rate or False if floating rate;
      - status: status of the trade;
      - address_provider: address of the exchange;
      - address_provider_memo: memo/ExtraID of the address of the exchange;
      - address_user: address to receive the coins bought;
      - address_user_memo: '';
      - refund_address: the address where the user wants to receive back his coins in case a problem occurs;
      - refund_address_memo: memo/ExtraID of the the address where the user wants to receive back his coins in case a problem occurs;
      - password: password used together with the id_provider in order to see the transaction on the exchange's website, only used by some providers;
      - id_provider: the trade ID with the provider;
      - payment: True or False, depending if it is a standard swap or payment;

      Second swap:
      - trade_id: the trade ID with us;
      - date: date of creation;
      - ticker_from: xmr;
      - ticker_to: ticker of the coin to be bought;
      - coin_from: Monero;
      - coin_to: name of coin to be bought;
      - network_from: Mainnet;
      - network_to: network of coin to be bought;
      - amount_from: amount of Monero to be sold;
      - amount_to: amount of coin to be bought;
      - provider: chosen exchange;
      - fixed: True if fixed rate or False if floating rate;
      - status: status of the trade;
      - address_provider: address of the exchange;
      - address_provider_memo: memo/ExtraID of the address of the exchange;
      - address_user: address to receive the coins bought;
      - address_user_memo: memo/ExtraID of the address to receive the coins bought;
      - refund_address: Trocador's XMR refund address or the partner XMR refund address;
      - refund_address_memo: '';
      - password: password used together with the id_provider in order to see the transaction on the exchange's website, only used by some providers;
      - id_provider: the trade ID with the provider;
      - payment: True or False, depending if it is a standard swap or payment;
  • List of all integrated crypto exchanges and their characteristics.


    • Examples:
      - https://trocador.app/api/exchanges/
  • These are all possible swap statuses you will find when calling Trocador API system.


    • - new: you have rates, but did not create the swap yet;
      - waiting: you created the swap but no deposit was detected;
      - confirming: deposit was detected and is yet to be confirmed;
      - sending: deposit confirmed and provider is sending the coins;
      - finished: there is already a payment hash to the user;
      - failed: something might have happened to the swap, please contact support;
      - expired: payment time expired;
      - halted: some issue happened with the swap, please contact support;
      - refunded: exchange claims to have refunded the user;