Enabling Buy/Sell options

You can choose to enable your end-users to perform only Buy, only Sell or both Buy and Sell trades. This is done by specifying the available payment methods using the transferInMedia and transferOutMedia query parameters.

By default the user is able to:

  1. Buy crypto using all available payment methods
  2. Sell crypto to all available payout methods

By limiting the transferInMedia and transferOutMedia available, you are effectively limiting the available payment methods.
This is used to limit what type of trades (Buy/Sell) the end-user is able to perform.

See how to use transferInMedia & transferOutMedia to enable/disable Buy/Sell options below.

How to limit payment methods

Use caseParametersComment
Disable Sell, allow buy via card or banktransferInMedia=card,bankSince blockchain is not available as transferInMedia, it's not possible to Sell crypto.
Disable Sell, allow all buy optionstransferOutMedia=blockchainThe difference from the above example is that if a new transferInMedia become available, they will be enabled by default.
Disable Sell, allow buy bank onlytransferInMedia=bankOnly bank transfer is allowed as the incoming transaction to pay for the trade. Similarly, if you use only card, the credit card payment becomes the only available payment option.
Disable buy, allow all sell optionstransferInMedia=blockchainIf new transfer out media become available, they will be enabled.