How to integrate B2Trader

This instruction describes how to create a platform, product group and product that are required for enabling B2Trader via the Back Office.

Important

Before you start configuring the B2Trader platform and product in the Back Office, make sure that a connection to B2Trader has already been set up by your account manager who is assigned the permissions to manage external connections.

How to create a platform for B2Trader

  1. Navigate to Products > Platforms.

  2. Click Create in the upper-right corner of the page, and then select B2Trader from the drop-down menu.

  3. In the Create platform window, fill in the following fields:

  • In the Name field, enter a name that you want to use for the platform.

  • In the Caption field, enter a caption that will be applied to the platform in the Back Office.

  • From the Available connection providers drop-down list, select B2Trader.

  • From the Connection drop-down list, select B2Trader.

  1. Click Save.

  2. On the Edit connection page, specify the following settings:

  • From the Client email, select Real or Fake.

  • In the FrontOffice Client ID and FrontOffice Client Secret fields, specify the client ID and secret key value to access the B2Core UI.

  • In the BackOffice Client ID and BackOffice Client Secret fields, specify the client ID and secret key value to connect to the B2Core Back Office.

  1. Click Test connection to validate the connection settings.

  2. Make sure that No is selected in the Demo drop-down list.

  3. From the Status drop-down list, select Enabled.

  4. Click Save to create the platform.

How to create a product group for B2Trader

  1. Navigate to Products > Groups, and then click Create in the upper-right corner of the page.

  2. On the Edit group page, fill in the following fields:

  • In the Caption field, enter a caption that you want to use for the group.

  • In the Description field, enter a group description.

  • From the Type drop-down list, select Default.

  1. Make sure that Enabled is selected in the Status drop-down list.

  2. Click Save to create the product group.

How to create a product for B2Trader

  1. Navigate to Products > Products.

  2. Click Create in the upper-right corner of the page, and then select B2Trader from the drop-down menu.

  3. In the Create product window, fill in the following fields:

  • From the Platform Group drop-down list, select Bitcoin.

  • From the Currency drop-down list, select one or several currencies that you want to enable for the product.

  • In the Name field, enter a name that you want to use for the product.

  • From the Group drop-down list, select the previously created product group.

  • From the Type drop-down list, select Personal.

  1. Click Save.

  2. On the Edit product page, specify the appropriate settings for your product:

  • From the Rights and Default account rights drop-down lists, select the required permissions that will be applied to the product (such as Enabled, Deposit, Withdraw, Visible, Transfer deposit, Transfer withdraw and Exchange).

  • In the Max accounts field, enter an integer value to define the maximum number of accounts that clients can create when using this product.

    • To set no limit on the number of accounts, specify -1.

    • To forbid clients to create accounts, specify 0.

  • From the Auto creation on login drop-down list, select either of the two values:

    • Yes – to create the product automatically for all clients upon their first sign in to the B2Core UI.

    • No – to create the product manually.

  • From the Status drop-down list, select Enabled.

  • If you want to enable additional currencies for the product, add them on the Currencies tab.

Note

All the currencies enabled for the product will be added to the list of assets available to your clients on the exchange.

You may also want to configure the other product settings available on the Edit product page.

  1. Click Save to create the product.